1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

apache goes down on command prompt restart; httpd start script issue

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by S K Sirajuddin, Jan 19, 2012.

  1. S K Sirajuddin

    S K Sirajuddin New Pleskian

    22
    23%
    Joined:
    Apr 8, 2009
    Messages:
    5
    Likes Received:
    0
    After we moved Our servers to 10.4.4 we started facing httpd shut downs on each time we restart from command prompt. whereas able to start from Plesk service manager > starts httpd.

    We are now tired with bootstraper repair option , as this only restarts the httpd.
    ---------snip1---------
    [root@ns4 vhosts]# service httpd restart
    Stopping httpd: [ OK ]
    Starting httpd: [FAILED]
    [root@ns4 vhosts]# service httpd restart
    Stopping httpd: [FAILED]
    Starting httpd: [FAILED]
    [root@ns4 vhosts]#
    /usr/local/psa/bootstrapper/pp10.13.4-bootstrapper/bootstrapper.sh
    repair
    Changing shell for popuser.
    Shell not changed.
    Changing shell for mhandlers-user.
    Shell not changed.
    ===> Preparing upgrade
    Stopping psa... done
    psa is stopped
    Stopping psa... done
    ===> Cumulative database upgrade has been started
    ===> Upgrade completed.
    mknod: `/var/www/vhosts/chroot/dev/null': File exists
    /usr/local/psa/bootstrapper/pp10.13.4-bootstrapper/bootstrapper.sh:
    line 7373: Parse: command not found
    ===> Cumulative upgrade has been started
    ===> Upgrade completed.
    Stopping psa... done
    Starting psa... done
    Starting xinetd service... done
    Starting named service... done
    Starting mysqld service... done
    Starting postgresql service... done
    Starting psa-spamassassin service... done
    Plesk: Starting Mail Server... already started
    Starting psa... done
    Starting drwebd service... failed

    Congratulations!
    All stages of the upgrade were successful.
    psa is now running on your system.
    To complete the system configuration process, please proceed to URL:
    https://<DOMAINNAME>:8443/ or
    https://<IP>:8443/
    Use 'admin' and '<YOUR ADMIN PASSWORD>' as login name and password.

    Further, use the following commands to start and stop the system:
    /etc/init.d/psa start and
    /etc/init.d/psa stop respectively.

    [root@ns4 vhosts]# /etc/init.d/httpd graceful
    [root@ns4 vhosts]#
    ---------snip1--------------

    From Plesk panel also we can not able to start httpd after psa stopall , needed bootstarpper.sh repair option.

    -----------snip2---------
    [root@ns4 ~]# /etc/init.d/httpd status
    httpd (pid 21261) is running...
    [root@ns4 ~]# /etc/init.d/psa stopall
    Stopping psa... done
    Plesk: Stopping Mail Server... done
    Stopping mailer service... not installed
    Stopping postgresql service... done
    Stopping psa-spamassassin service... done
    Stopping drwebd service... done
    Stopping tomcat5 service... not installed
    Stopping httpd service... done
    [root@ns4 ~]# /etc/init.d/psa start
    Starting psa... done
    Starting xinetd service... done
    Starting named service... done
    Starting mysqld service... done
    Starting postgresql service... done
    Starting psa-spamassassin service... done
    Plesk: Starting Mail Server... done
    Service /etc/init.d/httpd failed to start
    Service /etc/init.d/httpd failed to start
    websrvmng: /usr/local/psa/admin/bin/apache_control_adapter execution failed:
    Service /etc/init.d/httpd failed to start
    Service /etc/init.d/httpd failed to start
    websrvmng: /usr/local/psa/admin/bin/apache_control_adapter execution failed:
    Service /etc/init.d/httpd failed to start
    Service /etc/init.d/httpd failed to start

    Starting psa... done
    Starting drwebd service... done

    -------snip2--------

    Than again we needed to run bootstrapper.sh repair to start httpd, as these time even from plesk service manager httpd fail to start.

    it seems this is bug as its happening to many of our servers.

    Hope some one has permanent solution.
     
Loading...