• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Troubles installing on Debian 3.1 (Cant start server)

D

DiLDoG

Guest
Troubles installing on Debian 3.1 (Cant start server) + solution

I cant seem to install plesk8 on a fresh Debian 3.1 machine. I keep on getting this error:

Code:
db01296a:/tmp# apt-get install
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
12 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up psa-hotfix3 (8.0.1-debian3.1.build80060713.16) ...

done
 Trying to stop Admin server...
WARNING!
During the stop found some problems(see log file: /tmp/psa_8.0.1_Debian_3.1_build80060713.16_installing.log)

Continue...

 Trying to replace files and set up right permissions...  Trying to generate Admin server configuration...  Generating Admin server configuration... done
 Trying to start Admin server...
ERROR while trying to start Admin server
Check the error reason(see log file: /tmp/psa_8.0.1_Debian_3.1_build80060713.16_installing.log), fix and try again

Aborting...

dpkg: error processing psa-hotfix3 (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of psa-horde:
 psa-horde depends on psa-hotfix3 (>= 8.0.1); however:
  Package psa-hotfix3 is not configured yet.
dpkg: error processing psa-horde (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of psa-hotfix4:
 psa-hotfix4 depends on psa-hotfix3; however:
  Package psa-hotfix3 is not configured yet.
dpkg: error processing psa-hotfix4 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of psa-hotfix5:
 psa-hotfix5 depends on psa-hotfix3; however:
  Package psa-hotfix3 is not configured yet.
 psa-hotfix5 depends on psa-hotfix4; however:
  Package psa-hotfix4 is not configured yet.
dpkg: error processing psa-hotfix5 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of psa-hotfix6:
 psa-hotfix6 depends on psa-hotfix3; however:
  Package psa-hotfix3 is not configured yet.
 psa-hotfix6 depends on psa-hotfix4; however:
[...]
Errors were encountered while processing:
 psa-hotfix3
 psa-horde
 psa-hotfix4
 psa-hotfix5
 psa-hotfix6
 psa-hotfix7
 psa-imp
 psa-ingo
 psa-kronolith
 psa-mnemo
 psa-passwd
 psa-turba
E: Sub-process /usr/bin/dpkg returned an error code (1)
db01296a:/tmp#

This is in the logfile:

Code:
START LOGGING: Wed Nov  8 21:12:34 CET 2006
SCRIPT: /var/lib/dpkg/info/psa-hotfix3.postinst

done
 Trying to stop Admin server... It is problem with inet daemon

WARNING!
During the stop found some problems
Continue...

 Trying to replace files and set up right permissions... `/opt/psa/tmp/hotfix-80060713.16//opt/psa/admin/bin/httpsd' -> `/opt/psa/admin/bin/httpsd'
[...]
/usr/bin/mysqladmin  Ver 8.41 Distrib 4.1.11, for pc-linux-gnu on i386
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license

Server version          4.1.11-Debian_4sarge7-log
Protocol version        10
Connection              Localhost via UNIX socket
UNIX socket             /var/run/mysqld/mysqld.sock
Uptime:                 51 min 26 sec

Threads: 1  Questions: 266  Slow queries: 0  Opens: 146  Flush tables: 1  Open tables: 64  Queries per second avg: 0.086
0
 Trying to generate Admin server configuration...  Generating Admin server configuration... done
 Trying to start Admin server... It is problem with inet daemon

ERROR while trying to start Admin server

Aborting...


edit: scroll down for solution
 
This started last week sometime. I have submitted a support request, but since I have no official support contract at the moment, I doubt they'll be getting to me at any point.

This same problem prevents 8.1.0 ctp from installing too. I havn't bothered to test 7.5.4. This is actually forcing me to look at other hosting control panel options, as at the moment I can't install ANY of my servers.

Thanks,
Will
 
So this problem is caused by the netutils thingy? And if so cant I just install the normal inetd instead?
 
PS: This is my inetd.conf file content:

Code:
ident		stream	tcp	wait	identd	/usr/sbin/identd	identd

ftp      stream  tcp     nowait  root    /usr/sbin/tcpd  in.proftpd
smtp stream tcp nowait.1000 root /var/qmail/bin/tcp-env tcp-env  /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
smtps stream tcp nowait.1000 root /var/qmail/bin/tcp-env tcp-env  /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
poppassd stream tcp nowait/1000 root /usr/sbin/tcpd /opt/psa/admin/bin/poppassd
 
I found the error!!!!!

edit /etc/init.d/psa and add the red lines!

Code:
if [ -x ${rc_d}/xinetd ]; then
	inetd=xinetd
elif [ -x ${rc_d}/inet ]; then
	inetd=inet
elif [ -x ${rc_d}/inetd ]; then
	inetd=inetd
[color=red]elif [ -x ${rc_d}/inetutils-inetd ]; then
	inetd=inetutils-inetd[/color]
else
  echo "It is problem with inet daemon"
  exit 1
fi

yeeeey!!!

ps. plesk you might want to change that error message into something more understandable...
 
that didn't fix it for me, problem on my new installation was that /etc/init.d/inetd was missing, so i took it from another debian server, made it executable and then the psa service could be started
 
Fun it's a debian package problem. Someone should file a bug report.
 
A fix to this problem that doesn't involve editing a file from the psa package (thus causing it not to update)

in /etc/init.d/ find the filename containing inetd (for me it's openbsd-inetd) and do the following:
test:~# cd /etc/init.d
test:/etc/init.d# ln -s openbsd-inetd inetd

replacing with openbsd-inetd with your inetd script.

I have successfully done this with multiple fresh debian installs.
 
Back
Top