• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved /etc/init.d/psa: No such file or directory AND bootstrapper.sh repair ERROR

SahinS

Basic Pleskian
Hi All,

some things do not go well for two days. admin and the site does not work.
- Myip.com:8880 <== not found
I made the latest e-mail update.


I try:
# /etc/init.d/psa restart
-bash: /etc/init.d/psa: No such file or directory

I try:
# /usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh repair
/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh: line 3704: [: psa-12: integer expression expected
/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh: line 3706: [: psa-12: integer expression expected
/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh: line 3706: [: psa-12: integer expression expected
/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh: line 3709: printf: psa-12: invalid number
/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh: line 3709: printf: 18-cos6: invalid number

online:
3704: if [ $major -lt 11 ] ; then
3705: echo "${major}${minor}"
3706: elif [ $major -eq 11 -a $minor -lt 1 ] || [ $major -eq 11 -a $minor -eq 1 -a $patch -lt 11 ]; then
3708 else
3709: printf "%03d%03d%03d" $major $minor $patch
3710 fi


var/log/sw-cp-server/error.log
Code:
2014/12/05 10:41:09 [error] 16218#0: *1727 open() "/usr/local/psa/admin/htdocs/robots.txt" failed (2: No such file or directory), client: 178.154.243.112, server: , request: "GET /robots.txt HTTP/1.1", host: "sehrimagazin.com:8880"
2014/12/05 11:59:53 [error] 16218#0: *1728 open() "/usr/local/psa/admin/htdocs/robots.txt" failed (2: No such file or directory), client: 66.249.65.25, server: , request: "GET /robots.txt HTTP/1.1", host: "www.ozlemgursoy.com:8443"
2014/12/06 18:26:12 [error] 16218#0: *1949 directory index of "/usr/local/psa/admin/htdocs/" is forbidden, client: 176.240.161.50, server: , request: "GET / HTTP/1.1", host: "192.99.253.195:8880"
 
File /etc/init.d/psa file is a part of plesk-core package. Do you have this package installed correctly? Looks like your Plesk is completely broken. Try to reinstall it with autoinstaller at least.
 
File /etc/init.d/psa file is a part of plesk-core package. Do you have this package installed correctly? Looks like your Plesk is completely broken. Try to reinstall it with autoinstaller at least.

Hello Dear IgorG

There are too many sites. reestablishes not :(
but I have a good news. I copy the same file:

psa file copy => /etc/rc.d/init.d/

and try again
# /etc/init.d/ps To restart

Now, can you help, please?
Thanks!

Code:
PSA is down, performing full restart.
Starting psa... Starting sw-engine-fpm: [09-Dec-2014 04:19:26] WARNING: Nothing matches the include pattern '/etc/sw-engine/pool.d/*.conf' from /etc/sw-engine/sw-engine-fpm.conf at line 6.
[09-Dec-2014 04:19:26] ERROR: No pool defined. at least one pool section must be specified in config file
[09-Dec-2014 04:19:26] ERROR: failed to post process the configuration
[09-Dec-2014 04:19:26] ERROR: FPM initialization failed
                                                           [FAILED]
                                                                      failed
Starting xinetd service...                                            done
Starting sw-cp-server service...                                      done
Starting mysqld service...                                            done
Starting named service...                                             done
Starting postgresql service...                                        not installed
Starting spamassassin service...                                      done
Plesk: Starting Mail Server...                                        not installed
Starting psa... Starting sw-engine-fpm: [09-Dec-2014 04:19:27] WARNING: Nothing matches the include pattern '/etc/sw-engine/pool.d/*.conf' from /etc/sw-engine/sw-engine-fpm.conf at line 6.
[09-Dec-2014 04:19:27] ERROR: No pool defined. at least one pool section must be specified in config file
[09-Dec-2014 04:19:27] ERROR: failed to post process the configuration
[09-Dec-2014 04:19:27] ERROR: FPM initialization failed
                                                           [FAILED]
                                                                      failed
Starting drwebd service...                                            done
 
What about bootstrapper repair now?

Hey See!
I again have a good news. I copy the same file:

/etc/sw-engine/pool.d
copy file: plesk.conf

and try again
# /etc/init.d/psa restart

Site is work.. but ples admin not found?

Code:
[root@ /]
PSA is down, performing full restart.
Starting psa... Starting sw-engine-fpm:                    [  OK  ]
                                                                      done
Starting xinetd service...                                            done
Starting sw-cp-server service...                                      done
Starting mysqld service...                                            done
Starting named service...                                             done
Starting postgresql service...                                        not installed
Starting spamassassin service...                                      done
Plesk: Starting Mail Server...                                        not installed
Starting psa... Starting sw-engine-fpm:
                                                                      done
Starting drwebd service...                                            done
[root@/]#
[root@ /]#
[root@ /]#
[root@ /]#
[root@ /]#
[root@ /]# /etc/init.d/psa restart
Stopping sw-engine-fpm:                                    [  OK  ]
Starting sw-engine-fpm:                                    [  OK  ]
 
What about bootstrapper repair now?

I've tried. but the problem continues. :/

Code:
# /usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh repair
/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh: line 3704: [: psa-12: integer expression expected
/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh: line 3706: [: psa-12: integer expression expected
/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh: line 3706: [: psa-12: integer expression expected
/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh: line 3709: printf: psa-12: invalid number
/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh: line 3709: printf: 18-cos6: invalid number
 
Have you checked that port 8443 is opened now? Just check it with

#lsof -i tcp:8443

If it is ok, you should be able login to admin interface.
 
Have you checked that port 8443 is opened now? Just check it with

#lsof -i tcp:8443

If it is ok, you should be able login to admin interface.

working on the site.
but unfortunately, plesk panel does not work.

# lsof -i tcp:8443
# lsof -i tcp:8880

myip: 8880 or myip: 8443 <-- plesk panel does not work. :(
 
Make sure that sw-cp-server is running:

# /etc/init.d/sw-cp-server status
sw-cp-serverd (pid 20736) is running...

# lsof -i tcp:8443
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
sw-cp-ser 20736 root 8u IPv4 71121336 0t0 TCP *:pcsync-https (LISTEN)
sw-cp-ser 20736 root 10u IPv6 71121338 0t0 TCP *:pcsync-https (LISTEN)
sw-cp-ser 20737 sw-cp-server 8u IPv4 71121336 0t0 TCP *:pcsync-https (LISTEN)
sw-cp-ser 20737 sw-cp-server 10u IPv6 71121338 0t0 TCP *:pcsync-https (LISTEN)
 
Make sure that sw-cp-server is running:

# /etc/init.d/sw-cp-server status
sw-cp-serverd (pid 20736) is running...

# lsof -i tcp:8443
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
sw-cp-ser 20736 root 8u IPv4 71121336 0t0 TCP *:pcsync-https (LISTEN)
sw-cp-ser 20736 root 10u IPv6 71121338 0t0 TCP *:pcsync-https (LISTEN)
sw-cp-ser 20737 sw-cp-server 8u IPv4 71121336 0t0 TCP *:pcsync-https (LISTEN)
sw-cp-ser 20737 sw-cp-server 10u IPv6 71121338 0t0 TCP *:pcsync-https (LISTEN)

# /etc/init.d/sw-cp-server status
sw-cp-serverd (pid 634) is running...
#
#
# lsof -i tcp:8443
There are no results. Seems to me to be empty. :(

Note: VPS O.S: CentOS 6
 
Maybe you have changed default port 8443 for Plesk admin interface? Try to check it in this case.
 
Maybe you have changed default port 8443 for Plesk admin interface? Try to check it in this case.

How can I check?
I also make no changes. The default ports are the same. Port numbers: 8880 and 8443 <- but does it work?
 
Default port of Plesk interface is 8443. Try to restart sw-cp-server and check log /var/log/sw-cp-server/error_log and /var/log/sw-cp-server/sw-engine.log after that.
 
Default port of Plesk interface is 8443. Try to restart sw-cp-server and check log /var/log/sw-cp-server/error_log and /var/log/sw-cp-server/sw-engine.log after that.

Ok I try:
# /etc/init.d/sw-cp-server restart
Stopping sw-cp-serverd: [ OK ]
Starting sw-cp-serverd: [ OK ]

There is a (new) error in the record.
Like everything okay? but plesk panel it does not work. ? //not found..

Code:
[09-Dec-2014 04:34:25] NOTICE: fpm is running, pid 3798
[09-Dec-2014 04:34:25] NOTICE: ready to handle connections
[09-Dec-2014 04:35:08] NOTICE: Terminating ...
[09-Dec-2014 04:35:08] NOTICE: exiting, bye-bye!
[09-Dec-2014 04:35:08] NOTICE: fpm is running, pid 3906
[09-Dec-2014 04:35:08] NOTICE: ready to handle connections
[09-Dec-2014 04:35:18] NOTICE: Terminating ...
[09-Dec-2014 04:35:18] NOTICE: exiting, bye-bye!
[09-Dec-2014 04:35:19] NOTICE: fpm is running, pid 3957
[09-Dec-2014 04:35:19] NOTICE: ready to handle connections
 
Hi SahinS,

you could check with "lsof -i | grep -i sw-cp-server" on wich ports your Plesk Control Panel is listening.
 
Hi SahinS,

you could check with "lsof -i | grep -i sw-cp-server" on wich ports your Plesk Control Panel is listening.

Hello UFHH01

Thank you, your reply.
I try, see:

Code:
# /etc/init.d/psa restart
Stopping sw-engine-fpm:                                    [  OK  ]
Starting sw-engine-fpm:                                    [  OK  ]
#
# lsof -i | grep -i sw-cp-server
#
is null ?
 
Could you please post your file: "/etc/sw-cp-server/conf.d/plesk.conf" ?
 
This config file is also part of plesk-core package:

# rpm -qf /etc/sw-cp-server/conf.d/plesk.conf
plesk-core-12.0.18-cos6.build1200140606.15.i386

# cat /etc/sw-cp-server/conf.d/plesk.conf
server {
listen 8443 ssl;
listen 8880;
include conf.d/*ipv6_ports.inc;


ssl_certificate /usr/local/psa/admin/conf/httpsd.pem;
ssl_certificate_key /usr/local/psa/admin/conf/httpsd.pem;

include conf.d/*plesk.inc;
include conf.d/*wpb.inc;
include conf.d/*cbm.inc;
include conf.d/*sso.inc;
include conf.d/*ppa.inc;
}
 
Hi SahinS,

please run this command as well please, in order to try to re-install some missing files:

/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --reinstall-patch --install-component base

This command does not remove any components and you don't have to be afraid about current domains on your system.
 
Back
Top