• 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.

start httpd

P

pixel

Guest
OS: RedHat
Plesk 8.0

I Got error when i tried to start httpd

Starting httpd: [Sun Aug 27 10:57:28 2006] [warn] module php4_module is already loaded, skipping

httpd: could not open document config file /home/httpd/vhosts/DOMAINNAME/conf/httpd.include [FAILED]

and here the logs

0: /usr/local/psa/admin/plib/common_func.php3:172

psaerror(string 'Unable to make action: Unable to manage service by websrvmng: websrvmng: Service httpd failed to start')

1: /usr/local/psa/admin/htdocs/server/restart_services.php:30


I also restart the whole server & disable that domain but same problem
 
I suppose you could try recreating the domain httpd.include file and see if httpd comes up.
httpd.include owned by root:root
Code:
# ATTENTION!
# DO NOT MODIFY THIS FILE OR ANY PART OF IT. THIS CAN RESULT IN IMPROPER PLESK
# FUNCTIONING OR FAILURE, CAUSE DAMAGE AND LOSS OF DATA. IF YOU REQUIRE CUSTOM
# MODIFICATIONS TO BE APPLIED TO THE CONFIGURATION, PLEASE, PERFORM THEM IN THE
# FOLLOWING FILE(S):
# /home/httpd/vhosts/DOMAINNAME/conf/vhost.conf
# /home/httpd/vhosts/DOMAINNAME/subdomains/<subdomain-name>/conf/vhost.conf

<VirtualHost 207.44.235.36:80>
        ServerName   DOMAINNAME:80
        SuexecUserGroup         USERNAME psacln
        ServerAdmin  "serveradmin"
        DocumentRoot /home/httpd/vhosts/DOMAINNAME/httpdocs
        CustomLog  /home/httpd/vhosts/DOMAINNAME/statistics/logs/access_log plesklog
        ErrorLog   /home/httpd/vhosts/DOMAINNAME/statistics/logs/error_log
<IfModule mod_userdir.c>
        UserDir /home/httpd/vhosts/DOMAINNAME/web_users
</IfModule>
        ScriptAlias  /cgi-bin/ /home/httpd/vhosts/DOMAINNAME/cgi-bin/
        Alias  /plesk-stat /home/httpd/vhosts/DOMAINNAME/statistics/
        Alias  /webstat /home/httpd/vhosts/DOMAINNAME/statistics/webstat
        Alias  /webstat-ssl /home/httpd/vhosts/DOMAINNAME/statistics/webstat-ssl
        Alias  /ftpstat /home/httpd/vhosts/DOMAINNAME/statistics/ftpstat
        Alias  /anon_ftpstat /home/httpd/vhosts/DOMAINNAME/statistics/anon_ftpstat
        <IfModule mod_ssl.c>
                SSLEngine off
        </IfModule>
        <Directory /home/httpd/vhosts/DOMAINNAME/httpdocs>
        <IfModule mod_perl.c>
        <Files ~ (\.pl$)>
                SetHandler perl-script
                PerlHandler ModPerl::Registry
                Options ExecCGI
                allow from all
                PerlSendHeader On
        </Files>
        </IfModule>
        <IfModule mod_perl.c>
        <Files ~ (\.asp$)>
                SetHandler perl-script
                PerlHandler Apache::ASP
                PerlSetVar Global /tmp
        </Files>
        </IfModule>
        <IfModule sapi_apache2.c>
                php_admin_flag engine on
                php_admin_flag safe_mode off
                php_admin_value open_basedir "/home/httpd/vhosts/DOMAINNAME/httpdocs:/tmp"
        </IfModule>
        <IfModule mod_php5.c>
                php_admin_flag engine on
                php_admin_flag safe_mode off
                php_admin_value open_basedir "/home/httpd/vhosts/DOMAINNAME/httpdocs:/tmp"
        </IfModule>
        <IfModule mod_python.c>
        <Files ~ (\.py$)>
                SetHandler python-program
                PythonHandler   mod_python.cgihandler
        </Files>
        </IfModule>
                Options +Includes +ExecCGI
        </Directory>
        <Directory /home/httpd/vhosts/DOMAINNAME/web_users>
        <IfModule sapi_apache2.c>
                php_admin_flag engine off
        </IfModule>
        <IfModule mod_php5.c>
                php_admin_flag engine off
        </IfModule>
        </Directory>
</VirtualHost>
I know that there is a command somewhere that will check and rebuild them if they don't exist, but I can not for the life of me remember what it is... and if you edit properly, this should essentially do the same thing.

*edit* Found it.
Code:
/usr/local/psa/admin/bin/websrvmng --reconfigure-vhost --vhost-name=<domain_name>
 
Thanks my dear

Acutely I delete this domain and added again now is working fine
But I suspect this domain user is do something wrong

Anyways
10x for help
 
Back
Top