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

Newbie Question : Cannot Start WebServer Services

Discussion in 'Plesk for Linux - 8.x and Older' started by fire692, Feb 27, 2005.

  1. fire692

    fire692 Guest

    0
     
    Hi There,

    We recently had Plesk 7.5.2 installed by SW-Soft on a Linux machine. We can access the admin control panel but noticed cannot start WebServices (error message is below), thus
    nothing is resolving via http.

    I'm pretty sure that Apache is not running and that port 80 and 443 are closed.

    I have root access to the machine but I have asked the hosting
    to open the ports (I am a Linux Ultra Novice) so that I can try to start httpd.

    Am I on the right track here? Any help or direction is appreciated.


    <<<
    Unable to make action: Unable to manage service by websrvmng: websrvmng: Service httpd failed to restart

    --------------------------------------------------------------------------------

    0: /usr/local/psa/admin/htdocs/server/restart_services.php:19 psaerror(string "Unable to make action: Unable to manage service by websrvmng: websrvmng: Service httpd failed to restart")
    >>>

    Thanks,
    Scott Mehaffey
     
  2. etan

    etan Guest

    0
     
    try starting apache by being user root

    command = /usr/local/psa/rc.d/httpd start

    failing this

    /usr/local/psa/rc.d/psa stop
    /usr/local/psa/rc.d/psa start

    this will restart all services.

    if you have an error, post that here.....

    also check /usr/local/psa/apache/log/error_log this may give you some indication as to what is going on.

    Cheers
     
  3. fire692

    fire692 Guest

    0
     
    Thanks for the reply.

    I don't seem to have a "rc.d" directory below psa.

    I will keep looking.
     
  4. etan

    etan Guest

    0
     
    sorry.

    The directory structure must be different for linux users

    try
    /usr/local/etc/rc.d/
     
  5. fire692

    fire692 Guest

    0
     
    Hi etan,

    Again I am seeing no such directory in the folder you've suggested.

    I am also not seeing any reference to Apache in any like folder so I think thinking that I need to confirm that Apache is installed and running first (I know ...duh!)

    Thank you for the help.

    SM

    <<<<<Edit by Fire692>>>>> March 12, 2005

    Our issue was solved by confirming that Apache services were not set to run on boot and OS start up. Our issue was solved once we reconfigured Apache through the help of the hosting provider.

    Thanks to all..

    Scott
     
  6. clockwood

    clockwood Guest

    0
     
    This error popped up unexpectedly

    I am also getting this error:

    I've made no changes to the server which was running with no probs. Well mostly no probs. We have to restart the webserver quite often because of load problems, but that is another story.


    I'm unable to Stop or Start the web server as suggested in this and the other threads.

    I've checked to make sure the old httpd.pid file is not there (and its not).

    Here is my error log.
    ----------------------------------------------------------
    websrvmng: Service httpd failed to status: No such file or directory
    spammng: PID file exists but process (pid 702) is not running.
    websrvmng: Service httpd failed to restart: Operation not permitted
    Processing config directory: /usr/local/psa/admin/conf/httpsd.*.include

    [Fri Mar 11 12:00:43 2005] [warn] pid file /usr/local/psa/admin/logs/httpsd.pid overwritten -- Unclean shutdown of previous Apac
    he run?
    [Fri Mar 11 12:00:43 2005] [notice] Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7a PHP/4.3.10 configured -- resuming normal
    operations
    [Fri Mar 11 12:00:43 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
    websrvmng: Service httpd failed to status: No such process
    websrvmng: Service httpd failed to restart: Operation not permitted
    websrvmng: Service httpd failed to status: No such process
    websrvmng: Service httpd failed to restart: Operation not permitted
    Processing config directory: /usr/local/psa/admin/conf/httpsd.*.include
    [Sat Mar 12 22:44:29 2005] [warn] pid file /usr/local/psa/admin/logs/httpsd.pid overwritten -- Unclean shutdown of previous Apac
    he run?
    [Sat Mar 12 22:44:29 2005] [notice] Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7a PHP/4.3.10 configured -- resuming normal
    operations
    [Sat Mar 12 22:44:29 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
    websrvmng: Service httpd failed to status: No such process
    websrvmng: Service httpd failed to restart: Operation not permitted
    -------------------------------------------------------

    Like I said, this problem just occurred out of the blue. Any suggestions?
     
  7. networker@

    networker@ New Pleskian

    22
     
    Joined:
    Mar 17, 2005
    Messages:
    3
    Likes Received:
    0
    Apache cannot start

    I had the same problem... The problem was that the host name was not registered correctly in /etc/hosts.

    Just open etc/hosts and edit it to reflect your real host name / Server IP.

    I have done that and was able to start Apache normally through the PSA.

    Antoine
     
Loading...