Current time: 12-24-2024, 12:09 AM Hello There, Guest! (LoginRegister)


Post Reply 
Apache won't restart
Author Message
ceco91 Offline
Moderator
*****
Moderators

Posts: 95
Joined: Jan 2009
Reputation: 0
Post: #1
Apache won't restart
My Apache Won't Restart ...
(This post was last modified: 09-01-2009 05:52 AM by ceco91.)
09-01-2009 05:51 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #2
RE: Apache won't restart
(09-01-2009 05:51 AM)ceco91 Wrote:  My Apache Won't Restart ...
Why? Tongue
error message al /etc/init.d/apache2 restart? logs?
09-01-2009 05:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ceco91 Offline
Moderator
*****
Moderators

Posts: 95
Joined: Jan 2009
Reputation: 0
Post: #3
RE: Apache won't restart
No. It is restart using apachectl restart. The path is corrent. Only script don't restart (When I add a new domain/subdomain I wait for 5-10 minutes and after that I restart it manualy. The perl script has already finished withoud error!)
09-01-2009 05:56 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #4
RE: Apache won't restart
What ispcp version?
When you run on console apachectl restart what happend?
BTW what distro? Debian uses apache2ctl.
/var/log/syslog?
/var/log/apache2/users/default-error.log?
09-01-2009 06:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ceco91 Offline
Moderator
*****
Moderators

Posts: 95
Joined: Jan 2009
Reputation: 0
Post: #5
RE: Apache won't restart
Distro: Ubuntu
Ispcp: 1.00 Final
When restart using console no problems. No strange thing happens.

Apache is compiled from source.
PHP is compiled from source.
MySQL is compiled from source.

I love to sophisticate my live.
09-01-2009 04:32 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #6
RE: Apache won't restart
Quote:No. It is restart using apachectl restart

The panel is probably not using the correct apachectl script:

Code:
# grep CMD_HTTPD /etc/ispcp/ispcp.conf
CMD_HTTPD = /usr/sbin/apache2ctl

Replace this configuration directive and everything should be fine.

By the way, it's great if you like to sophisticate your life, but keep in mind that we don't. Next time you report an issue like this (my custom changes don't work), please include at least some proper debugging information:

- OS/Distro/version
- Versions of the involved software (ispcp XX, apache XX in this case)
- Possibly related configuration files (none in this case)
- Possibly related log files (/var/log/ispcp/ispcp-serv-mngr.stdout and /var/log/ispcp/ispcp-serv-mngr.stderr)

In any case, providing more info than needed is way better than not providing enough of it. Obviously, this:
ceco91 Wrote:My Apache Won't Restart ...
Is a clear example of epic failure bug report.
(This post was last modified: 09-01-2009 04:50 PM by kilburn.)
09-01-2009 04:49 PM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #7
RE: Apache won't restart
And remember: you have Moderatorstatus. Wink For the next time: don't post such Bugreports Smile
09-01-2009 04:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ceco91 Offline
Moderator
*****
Moderators

Posts: 95
Joined: Jan 2009
Reputation: 0
Post: #8
RE: Apache won't restart
I have checked everything. I have search all Perl files and can't find any place where is using APACHE_CMD. So my idea is to find in Perl scripts and try the exact command. Maybe my apachectl is bugged. It is my idea.
09-01-2009 08:33 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #9
RE: Apache won't restart
there are two lines with apachectl in the ispcp.config:

APACHE_CMD = /usr/sbin/apachectl
CMD_HTTPD = /usr/sbin/apachectl

check them!

/J
09-01-2009 08:46 PM
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)