Current time: 05-02-2024, 05:45 AM Hello There, Guest! (LoginRegister)


Post Reply 
critical error just was encountered while executing function restart_httpd()
Author Message
mwlake Offline
Junior Member
*

Posts: 18
Joined: Oct 2008
Reputation: 0
Post: #1
critical error just was encountered while executing function restart_httpd()
A critical error just was encountered while executing function
restart_httpd() in /var/www/ispcp/engine/ispcp-serv-mngr.

Warning: DocumentRoot [/var/www/virtual/hawksandowls.com/htsdocs]
does not exist
Syntax error on line 29 of
/etc/apache2/mods-available/fcgid_ispcp.conf:
SocketPath cannot occur within <VirtualHost> section
----------------------------------------------------------
Since version 1.0.5 when I have come across this problem during the addition of new domains using ISPCP I have run the suggested few commands:

cd /etc/apache2/sites-available/
grep -v fcgid_ispcp.conf ispcp.conf > ispcp.conf.new
mv ispcp.conf.new ispcp.conf
apache2ctl configtest
apache2ctl restart

Which resolved the issue.
On this server I'm using Ubuntu 10.04 LTS and ISPCP version 1.0.7 and am using Secure htsdocs with certificate.

Once I run the "apache2ctl configtest" command I receive a warning:
[warn] VirtualHost 1.2.3.4:443 overlaps with VirtualHost 1.2.3.4:443, the first has precedence, perhaps you need a NameVirtualHost directive

Once I run "apache2ctl restart" apache doesn't start and the only way to get it running is by deleting the domain I initially created.

There is only one domain on the server prior to adding the second which I am having problems with. The first is using both http and https.

Any help to resolve this would be appreciated.
Also: since this has been happening since ISPCP version 1.0.5 a possibly to earlier versions shouldn't this problem be resolved by now?
02-17-2011 03:52 AM
Visit this user's website Find all posts by this user Quote this message in a reply
mwlake Offline
Junior Member
*

Posts: 18
Joined: Oct 2008
Reputation: 0
Post: #2
RE: critical error just was encountered while executing function restart_httpd()
(02-17-2011 03:52 AM)mwlake Wrote:  A critical error just was encountered while executing function
restart_httpd() in /var/www/ispcp/engine/ispcp-serv-mngr.

Warning: DocumentRoot [/var/www/virtual/newdomain.com/htsdocs]
does not exist
Syntax error on line 29 of
/etc/apache2/mods-available/fcgid_ispcp.conf:
SocketPath cannot occur within <VirtualHost> section
----------------------------------------------------------
Since version 1.0.5 when I have come across this problem during the addition of new domains using ISPCP I have run the suggested few commands:

cd /etc/apache2/sites-available/
grep -v fcgid_ispcp.conf ispcp.conf > ispcp.conf.new
mv ispcp.conf.new ispcp.conf
apache2ctl configtest
apache2ctl restart

Which resolved the issue.
On this server I'm using Ubuntu 10.04 LTS and ISPCP version 1.0.7 and am using Secure htsdocs with certificate.

Once I run the "apache2ctl configtest" command I receive a warning:
[warn] VirtualHost 1.2.3.4:443 overlaps with VirtualHost 1.2.3.4:443, the first has precedence, perhaps you need a NameVirtualHost directive

Once I run "apache2ctl restart" apache doesn't start and the only way to get it running is by deleting the domain I initially created.

There is only one domain on the server prior to adding the second which I am having problems with. The first is using both http and https.

Any help to resolve this would be appreciated.
Also: since this has been happening since ISPCP version 1.0.5 a possibly to earlier versions shouldn't this problem be resolved by now?

OK figured it out.
Simple solution was to clear the New domains section for port 443 in ispcp.conf ran the commands:
apache2ctl configtest : received syntax OK
apache2ctl restart

Still think this problem should be cleared in up coming releases. Bit of a pain to have to run these commands every time an administrator wants to add a new domain to the server!!!
02-18-2011 05:01 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)