Current time: 11-30-2024, 04:56 AM Hello There, Guest! (LoginRegister)


Post Reply 
AWStats Error 503
Author Message
ShinZan Offline
Junior Member
*

Posts: 43
Joined: Aug 2008
Reputation: 0
Post: #1
AWStats Error 503
I continually receive 503 errors when i visit http://www.mydomain.tld/stats and authenticate. It used to work but then it just suddenly stopped. I do get the password box and it does authenticate but i get the 503 service unavailable.

I have read at least a dozen posts of 503 errors but i cant seem to figure this problem out, any thoughts?

I'm running ISPCP 1.0 clean install on Debian.

Best Regards,

David
(This post was last modified: 03-20-2010 03:02 PM by ShinZan.)
03-20-2010 03:00 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: #2
RE: AWStats Error 503
We need some extra info to diagnose your problems. Specifically:

- OS/Distro/Version?
- Ispcp version?
- Awstats mode (static or dynamic)?
- Relevant lines of /var/log/apache2/suexec.log, /var/log/apache2/users/your.master.domain-access.log, and /var/log/apache2/users/default-error.log ?
03-20-2010 05:59 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ShinZan Offline
Junior Member
*

Posts: 43
Joined: Aug 2008
Reputation: 0
Post: #3
RE: AWStats Error 503
(03-20-2010 05:59 PM)kilburn Wrote:  We need some extra info to diagnose your problems. Specifically:

- OS/Distro/Version?
- Ispcp version?
- Awstats mode (static or dynamic)?
- Relevant lines of /var/log/apache2/suexec.log, /var/log/apache2/users/your.master.domain-access.log, and /var/log/apache2/users/default-error.log ?

Linux version 2.6.26-1-686 (Debian 2.6.26-13lenny2) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Fri Mar 13 18:08:45 UTC 2009

ISCP 1.0 clean install
AWStats Dynamic

Log File from today
var/log/apache2/suexec.log tail -n 100

Code:
[2010-03-20 02:10:23]: target uid/gid (2004/2004) mismatch with directory (2001/2001) or program (2001/2001)
[2010-03-20 02:35:47]: uid: (2004/vu2004) gid: (2004/vu2004) cmd: php5-fcgi-starter
[2010-03-20 02:35:47]: target uid/gid (2004/2004) mismatch with directory (2001/2001) or program (2001/2001)
[2010-03-20 04:26:53]: uid: (2004/vu2004) gid: (2004/vu2004) cmd: php5-fcgi-starter
[2010-03-20 04:26:53]: target uid/gid (2004/2004) mismatch with directory (2001/2001) or program (2001/2001)
[2010-03-20 04:28:08]: uid: (2004/vu2004) gid: (2004/vu2004) cmd: php5-fcgi-starter
[2010-03-20 04:28:08]: target uid/gid (2004/2004) mismatch with directory (2001/2001) or program (2001/2001)
[2010-03-20 04:30:11]: uid: (2004/vu2004) gid: (2004/vu2004) cmd: php5-fcgi-starter
[2010-03-20 04:30:11]: target uid/gid (2004/2004) mismatch with directory (2001/2001) or program (2001/2001)
[2010-03-20 06:26:30]: uid: (2004/vu2004) gid: (2004/vu2004) cmd: php5-fcgi-starter
[2010-03-20 06:26:30]: target uid/gid (2004/2004) mismatch with directory (2001/2001) or program (2001/2001)
[2010-03-20 06:30:17]: uid: (2004/vu2004) gid: (2004/vu2004) cmd: php5-fcgi-starter
[2010-03-20 06:30:17]: target uid/gid (2004/2004) mismatch with directory (2001/2001) or program (2001/2001)
[2010-03-20 06:54:17]: uid: (2004/vu2004) gid: (2004/vu2004) cmd: php5-fcgi-starter
[2010-03-20 06:54:17]: target uid/gid (2004/2004) mismatch with directory (2001/2001) or program (2001/2001)
[2010-03-20 06:54:28]: uid: (2004/vu2004) gid: (2004/vu2004) cmd: php5-fcgi-starter
[2010-03-20 06:54:28]: target uid/gid (2004/2004) mismatch with directory (2001/2001) or program (2001/2001)
[2010-03-20 07:27:36]: uid: (2016/vu2016) gid: (2016/vu2016) cmd: php5-fcgi-starter
[2010-03-20 07:27:37]: uid: (2016/vu2016) gid: (2016/vu2016) cmd: php5-fcgi-starter
[2010-03-20 07:51:24]: uid: (2016/vu2016) gid: (2016/vu2016) cmd: php5-fcgi-starter
[2010-03-20 07:51:24]: uid: (2016/vu2016) gid: (2016/vu2016) cmd: php5-fcgi-starter
[2010-03-20 08:35:47]: uid: (2004/vu2004) gid: (2004/vu2004) cmd: php5-fcgi-starter
[2010-03-20 08:35:47]: target uid/gid (2004/2004) mismatch with directory (2001/2001) or program (2001/2001)
[2010-03-20 09:29:18]: uid: (2004/vu2004) gid: (2004/vu2004) cmd: php5-fcgi-starter
[2010-03-20 09:29:18]: target uid/gid (2004/2004) mismatch with directory (2001/2001) or program (2001/2001)
[2010-03-20 09:29:26]: uid: (2004/vu2004) gid: (2004/vu2004) cmd: php5-fcgi-starter
[2010-03-20 09:29:26]: target uid/gid (2004/2004) mismatch with directory (2001/2001) or program (2001/2001)
[2010-03-20 09:43:18]: uid: (2016/vu2016) gid: (2016/vu2016) cmd: php5-fcgi-starter
[2010-03-20 09:46:44]: uid: (2016/vu2016) gid: (2016/vu2016) cmd: php5-fcgi-starter
[2010-03-20 09:47:28]: uid: (2004/vu2004) gid: (2004/vu2004) cmd: php5-fcgi-starter
[2010-03-20 09:47:28]: target uid/gid (2004/2004) mismatch with directory (2001/2001) or program (2001/2001)
[2010-03-20 10:07:38]: uid: (2016/vu2016) gid: (2016/vu2016) cmd: php5-fcgi-starter
[2010-03-20 11:23:17]: uid: (2016/vu2016) gid: (2016/vu2016) cmd: php5-fcgi-starter

/var/log/apache2/users/domain.access log has nothing of relevance to the error

/var/log/apache2/users/default-error.log tail -n 100
Code:
[Sat Mar 20 09:47:28 2010] [error] [client 66.235.124.15] Premature end of script headers: index.php
[Sat Mar 20 09:48:23 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sat Mar 20 09:48:34 2010] [notice] mod_fcgid: process 16922 going graceful shutdown, sending SIGTERM
[Sat Mar 20 09:48:34 2010] [notice] mod_fcgid: process 32215 going graceful shutdown, sending SIGTERM
[Sat Mar 20 09:49:58 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sat Mar 20 10:00:06 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sat Mar 20 10:05:46 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sat Mar 20 10:06:58 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sat Mar 20 10:07:28 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sat Mar 20 10:14:05 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sat Mar 20 10:23:41 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sat Mar 20 10:23:51 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sat Mar 20 10:36:06 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sat Mar 20 10:36:57 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sat Mar 20 10:46:24 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sat Mar 20 10:47:25 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sat Mar 20 10:51:12 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sat Mar 20 10:52:02 2010] [notice] mod_fcgid: process 876 going graceful shutdown, sending SIGTERM
[Sat Mar 20 10:53:06 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sat Mar 20 10:56:43 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sat Mar 20 10:56:47 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sat Mar 20 11:22:47 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sat Mar 20 11:26:13 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sat Mar 20 11:26:25 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sat Mar 20 11:32:32 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Sat Mar 20 11:42:55 2010] [error] (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:80 (localhost) failed
[Sat Mar 20 11:42:55 2010] [error] ap_proxy_connect_backend disabling worker for (localhost)



Thanks so much for the help!

David
(This post was last modified: 07-21-2011 06:46 AM by ShinZan.)
03-21-2010 01:57 AM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #4
RE: AWStats Error 503
Hello ;

1.0.0,
or
1.0.2,
or
1.0.3,
or
1.0.3-1,
or
1.0.4

??????????????

Tongue
03-21-2010 11:33 PM
Quote this message in a reply
ShinZan Offline
Junior Member
*

Posts: 43
Joined: Aug 2008
Reputation: 0
Post: #5
RE: AWStats Error 503
1.0.0
03-22-2010 04:14 AM
Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #6
RE: AWStats Error 503
Try to upgrade to ispCP 1.0.3-1 or 1.0.4 first and check if it works.
03-22-2010 04:38 AM
Visit this user's website 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: #7
RE: AWStats Error 503
Quote:[2010-03-20 02:35:47]: uid: (2004/vu2004) gid: (2004/vu2004) cmd: php5-fcgi-starter
[2010-03-20 02:35:47]: target uid/gid (2004/2004) mismatch with directory (2001/2001) or program (2001/2001)
[2010-03-20 04:26:53]: uid: (2004/vu2004) gid: (2004/vu2004) cmd: php5-fcgi-starter
[2010-03-20 04:26:53]: target uid/gid (2004/2004) mismatch with directory (2001/2001) or program (2001/2001)
[2010-03-20 04:28:08]: uid: (2004/vu2004) gid: (2004/vu2004) cmd: php5-fcgi-starter
[2010-03-20 04:28:08]: target uid/gid (2004/2004) mismatch with directory (2001/2001) or program (2001/2001)
You have been fiddling with the user's permissions. Correct the ownership of the /var/www/fcgi/* folders (and their contents).

Quote:[Sat Mar 20 11:42:55 2010] [error] (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:80 (localhost) failed
Apache is not listening to the localhost address, which is really strange because awstats is served from there... Check "apache2ctl -S" and/or your defined virtualhosts in /etc/apache2/sites-{enabled,available}
03-22-2010 09:19 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ShinZan Offline
Junior Member
*

Posts: 43
Joined: Aug 2008
Reputation: 0
Post: #8
RE: AWStats Error 503
First thank you very much for the help you definatley know more about linux than I, can you give me a better indication on how to resolve the ownership problems? I mean i know how to set owners and groups but I can't figure out why only this one domain is fubar. I did bring these domain backups from a RC version of ISP-CP from way back in the day but all my other domains are fine and i simply reset owner.group recursively.

Indeed the output of apache2ctl-s is

VirtualHost configuration:
127.0.0.1:80 is a NameVirtualHost
default server domain.tld.local (/etc/apache2/sites-enabled/01_awstats.conf:28) and all other domain.tlds are named virtual hosts on the public ip address.

i actually went so far as to delete the domain from admin and re add it so now im on vu2018 for this domain and the var/www/virtual/domain.tld is set www-data.vu2018 and everything seems find there. However when i dump a simple phpinfo() info.php in there it still doesn't work. Apache trys to let me download info.php vs processing it so it just further validates the fcgi permissions. php5-fcgi-starter is correct (contents matches the other php5-fcgi-starter files only the path is different)

under /var/www/fcgi/domain.tld the owner.group matches up there as vu2018.vu2018 recursively for all files and folders and the permissions on the /var/www/fcgi/domain.tld is 755 with files 750 and 650 just like all the other domains show. So I'm at a loss on where to correct the ownership.

As for the /sites-enabled i have nothing in there for this domain at all. I think the problem is two pronged. First awstats does work on any domain but my one specific domain wont process php at all!

Thanks so much for your hard work so far!

David


(03-22-2010 09:19 AM)kilburn Wrote:  
Quote:[2010-03-20 02:35:47]: uid: (2004/vu2004) gid: (2004/vu2004) cmd: php5-fcgi-starter
[2010-03-20 02:35:47]: target uid/gid (2004/2004) mismatch with directory (2001/2001) or program (2001/2001)
[2010-03-20 04:26:53]: uid: (2004/vu2004) gid: (2004/vu2004) cmd: php5-fcgi-starter
[2010-03-20 04:26:53]: target uid/gid (2004/2004) mismatch with directory (2001/2001) or program (2001/2001)
[2010-03-20 04:28:08]: uid: (2004/vu2004) gid: (2004/vu2004) cmd: php5-fcgi-starter
[2010-03-20 04:28:08]: target uid/gid (2004/2004) mismatch with directory (2001/2001) or program (2001/2001)
You have been fiddling with the user's permissions. Correct the ownership of the /var/www/fcgi/* folders (and their contents).

Quote:[Sat Mar 20 11:42:55 2010] [error] (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:80 (localhost) failed
Apache is not listening to the localhost address, which is really strange because awstats is served from there... Check "apache2ctl -S" and/or your defined virtualhosts in /etc/apache2/sites-{enabled,available}
(This post was last modified: 05-16-2010 03:19 PM by ShinZan.)
05-16-2010 03:13 PM
Find all posts by this user Quote this message in a reply
ShinZan Offline
Junior Member
*

Posts: 43
Joined: Aug 2008
Reputation: 0
Post: #9
RE: AWStats Error 503
Well I don't konw how I could have possibly fiddled with permissions since i dont konw why i would ever want to do that. What I think is more likely is that I copied this folder from another ISPCP box /domain.tld/ into my var/www/virtual/ then i changed all the permissions for that folder to vu2016.vu2016 after i made the domain in the new boxes control panel. Since then stats have never worked.

cd /var/www/fcgi/mydomain.com
ls-la

Code:
drwxr-x---  2 vu2016 vu2016 4096 2009-10-25 13:16 php5
-rwxr-x---  1 vu2016 vu2016  199 2009-10-25 13:16 php5-fcgi-starter

all subfolders and contents are vu2016.vu2016 owner and group, which is the propper owner.group for this domain.tld

This is the tail for:

/var/log/apache2/users/default-error.log

Code:
[Wed Jul 20 16:00:32 2011] [notice] mod_fcgid: process 24752 going graceful shutdown, sending SIGTERM
[Wed Jul 20 16:01:10 2011] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Wed Jul 20 16:01:16 2011] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Wed Jul 20 16:01:41 2011] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Wed Jul 20 16:02:25 2011] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Wed Jul 20 16:02:31 2011] [notice] mod_fcgid: process 24741 going graceful shutdown, sending SIGTERM
[Wed Jul 20 16:02:31 2011] [notice] mod_fcgid: process 24941 going graceful shutdown, sending SIGTERM
[Wed Jul 20 16:02:31 2011] [notice] mod_fcgid: process 24939 going graceful shutdown, sending SIGTERM
[Wed Jul 20 16:03:05 2011] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Wed Jul 20 16:03:19 2011] [error] [client x.x.x.x<-removed by poster] user stats not found: /stats/
[Wed Jul 20 16:04:30 2011] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Wed Jul 20 16:04:36 2011] [notice] mod_fcgid: process 24929 going graceful shutdown, sending SIGTERM
[Wed Jul 20 16:05:21 2011] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Wed Jul 20 16:06:11 2011] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Wed Jul 20 16:06:36 2011] [notice] mod_fcgid: process 24710 going graceful shutdown, sending SIGTERM
[Wed Jul 20 16:06:36 2011] [notice] mod_fcgid: process 24942 going graceful shutdown, sending SIGTERM
[Wed Jul 20 16:06:42 2011] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Wed Jul 20 16:07:29 2011] [error] (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:80 (localhost) failed
[Wed Jul 20 16:07:29 2011] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Jul 20 16:07:52 2011] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Wed Jul 20 16:11:27 2011] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function

Here is the log tail from /apache2/suexec.log
Code:
[2011-07-20 16:01:28]: uid: (2016/vu2016) gid: (2016/vu2016) cmd: php5-fcgi-star                                                                             ter
[2011-07-20 16:04:36]: uid: (2016/vu2016) gid: (2016/vu2016) cmd: php5-fcgi-star                                                                             ter
[2011-07-20 16:04:36]: uid: (2016/vu2016) gid: (2016/vu2016) cmd: php5-fcgi-star                                                                             ter

Any other thoughts on what i should do specifically to fix these permissions? I actually really need these stats for a customer, I am having trouble getting awstats to work for all my domains not just this one.

David
(This post was last modified: 07-21-2011 06:47 AM by ShinZan.)
07-21-2011 06:28 AM
Find all posts by this user Quote this message in a reply
ShinZan Offline
Junior Member
*

Posts: 43
Joined: Aug 2008
Reputation: 0
Post: #10
RE: AWStats Error 503
Would a reinstall of the latest 1.1 fix the problem possibly?

I hate to do that but I'm getting desperate Sad

David
08-02-2011 03:11 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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