Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th March 2013, 10:59
sprion sprion is offline
Junior Member
 
Join Date: Nov 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Unable to start httpd suddenly. /var/log/ispconfig corrupt. suexec failure.

After the recent upgrade... CentOS release 5.8 (Final) 64 bit

My sites have been running on Ispconfig 3 for a while now, but suddenly the sites no longer respond.

On restart, httpd fails to start.

By disabling the 'ErrorLog' apache directives in each site's .vhost file,
allowed the site to run for a moment before they stopped responding.

Tracing that, I found the ispconfig log folder at /var/log/ispconfig had become inaccessible/invalid.


server log:
=====
return code: 1
suexec failure: could not open log file
=====

My service provider has not been able to fix the problems, does anyone have any ideas? Thanks!

Last edited by sprion; 15th March 2013 at 12:27. Reason: linux os
Reply With Quote
Sponsored Links
  #2  
Old 15th March 2013, 19:14
sprion sprion is offline
Junior Member
 
Join Date: Nov 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

*bump* Require help to get my sites back online..
Reply With Quote
  #3  
Old 16th March 2013, 10:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

Have you tried to disable SuExec?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 16th March 2013, 18:33
sprion sprion is offline
Junior Member
 
Join Date: Nov 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks!

I did this:

1. locate where is suexec by running the following:

whereis suexec

return
suexec: /usr/sbin/suexec /usr/share/man/man8/suexec.8.gz

2. rename the suexec to suexec_old
mv /usr/sbin/suexec /usr/sbin/suexec_old

3. restart httpd
service httpd restart


and everything works.. BUT for a while... then websites become unresponsive again after a few minutes/hits~
what else would I have to do? What could be the perfect/proper fix?

Anyway, /var/log/ispconfig became inaccessible again, so i deleted it and created a new '/var/log/ispconfig' folder,
then downloaded latest Ispconfig, and ran 'php -q update.php'

Everything is working now.. but suexec remains disabled.

Please advise! thanks~~

Last edited by sprion; 16th March 2013 at 18:49.
Reply With Quote
  #5  
Old 18th March 2013, 16:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

ensure that suexec is present and that the log file is owned by user ispconfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 20th March 2013, 04:56
sprion sprion is offline
Junior Member
 
Join Date: Nov 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello till,

what do you mean by ensuring it is present? I had it disabled.

Code:
[root@spark ~]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
                                                           [  OK  ]

Also, how would I go about making ispconfig own the log file?
thank you.

Last edited by sprion; 20th March 2013 at 04:58.
Reply With Quote
  #7  
Old 20th March 2013, 04:58
sprion sprion is offline
Junior Member
 
Join Date: Nov 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My sites died again. AND /var/log/ispconfig became invalid and inaccessible again.

I had to delete and recreate an empty folder.
Reply With Quote
  #8  
Old 20th March 2013, 08:05
SamTzu SamTzu is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Location: Helsinki
Posts: 426
Thanks: 33
Thanked 55 Times in 38 Posts
Send a message via Skype™ to SamTzu
 
Default

Clearly something is generating a lot of error messages (maybe file permissions/user rights?)
You should probably try to fix suexec.
It seems that is causing the errors.
__________________

Sami Mattila
Internet-Content

Telephone:
00358942833310
Email: firstname.lastname@internet-content.org
Shop: http://shop.internet-content.net
Site: http://www.internet-content.net
Blog: http://www.internet-content.net/en/blog
FB: https://www.facebook.com/internetcontent


Last edited by SamTzu; 20th March 2013 at 08:08.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
strange fail2ban behaviour > doesn't ban specific IP Djamu Server Operation 2 13th January 2012 02:29
/home ad symlink after rsync run DreamK General 4 8th March 2010 12:44
Forbidden 403; Samba access; config of maildeamon fawkes Installation/Configuration 4 14th January 2010 18:16
"Too many open files in system" problems Berry Installation/Configuration 3 10th November 2007 21:58
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19


All times are GMT +2. The time now is 03:35.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.