<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
Woops - you caught me Michael.
<br />
<br />I <span style="font-weight: bold;">was</span> looking in /var/log/httpd at the access_log and error_log. I just missed putting the "httpd" in the entries a little while ago. But the previous statement still stands - I can hit that site and its not logging in those access or error log files.
<br />
<br />This was a BlueOnyx server that I reloaded - not BlueQuartz. And I do remember seeing the cmuImport run that fix_user_UID_and_GID.pl script at the end of the cmuImport. But it must not have fixed all problems. I just ran those two scripts from the command-line and everything seems to be good now. Thank you for that help.
<br />
<br />I just tested the logging again. While I click all over that site in a browser - nothing shows up in /var/log/httpd/access_log. Nothing at all for the entire day except that one entry I showed earlier. Same for the error_log - nothing for /home/.sites/143/site2 for today.
<br />
<br />Do you know of anything that would stop the logging for one site? I see entries for many other sites - this is the only one I know of that isn't loggin.
<br />
<br />Thanks Michael.
<br />
<br />
<br />Chuck
<br />
<br /><font size="2">
<br />
<br />
<br />
<br /><b>---------- Original Message
-----------</b>
<br />
From: Michael Stauber <mstauber@blueonyx.it>
<br />
To: BlueOnyx General Mailing List <blueonyx@blueonyx.it>
<br />
Sent: Thu, 16 Jul 2009 00:13:28 +0200
<br />
Subject: [BlueOnyx:01715] Re: Logs & file ownership problems
<br />
<br />> Hi Chuck,
<br />>
<br />>
> There was nothing in the /var/log/access_log or /var/log/error_log for this
<br />>
> site.
<br />>
<br />>
That's the wrong location. :o)
<br />>
<br />>
> And the only thing in the /home/sites/www.domain.com/logs is more
<br />>
> than a day old.
<br />>
<br />>
Logging works like this: All recent events go into the logfiles under
<br />>
/var/log/
<br />>
<br />>
During the daily logrotate a cronjob splits the logs and rotates the necessary
<br />>
bits and pieces into /home/sites/www.domain.com/logs/
<br />>
<br />>
So you should have been able to see traffic going to that webpage by checking
<br />>
...
<br />>
<br />>
/var/log/httpd/access_log
<br />>
...or...
<br />>
/var/log/httpd/error_log
<br />>
<br />>
> Worse - I can monitor all those log files while hitting
<br />>
> the website with a browser and nothing shows up in the logs.
<br />>
<br />>
You're looking at the wrong files. See above.
<br />>
<br />>
> And while looking around, I found a file ownership problem. The
"log"
<br />>
> directory under each site and the log files in it were all owned by a
<br />>
> different site! Yep, this was site2 and the log directory was owned
by
<br />>
> SITE5-logs. Another site I just checked is site20 and the log
directory is
<br />>
> owned by SITE12-logs.
<br />>
<br />>
Yeah, earlier versions of CMU (from a couple of months ago) had the same issue
<br />>
that the (stoock) BlueQuartz CMU still has:
<br />>
<br />>
The GID of SITEx-logs users is often set wrong on cmuImport. The current CMU
<br />>
of BlueOnyx has that fixed.
<br />>
<br />>
However, sites you imported with an older version of CMU still may have the
<br />>
wrong GID for their logfile users and the logfiles may be owned by the wrong
<br />>
user.
<br />>
<br />>
To fix this (permanently) run the following two scripts from SSH (as
"root")
<br />>
once:
<br />>
<br />>
/usr/sausalito/sbin/user_gid_fix.pl
<br />>
/usr/sausalito/sbin/fix_user_UID_and_GID.pl
<br />>
<br />>
That will repair those issues.
<br />>
<br />>
--
<br />>
With best regards
<br />>
<br />>
Michael Stauber
<br />>
<br />>
_______________________________________________
<br />>
Blueonyx mailing list
<br />>
Blueonyx@blueonyx.it
<br />>
<a target="_blank" href="http://www.blueonyx.it/mailman/listinfo/blueonyx">http://www.blueonyx.it/mailman/listinfo/blueonyx</a>
<br /><b>------- End of Original Message
-------</b>
<br />
</font>
</BODY>
</HTML>