tseitlin@post.tau.ac.il (tseitlin) wrote in message news:<b843499b.0407040234.66bee8da@posting.google. com>...
> gerryt@vcn.bc.ca (Gerry T) wrote in message news:<bff0f017.0407010537.468db23@posting.google.c om>...
> > tseitlin@post.tau.ac.il (tseitlin) wrote in message news:<b843499b.0406302242.3155b2c4@posting.google. com>...
> > > gerryt@vcn.bc.ca (Gerry T) wrote in message news:<bff0f017.0406250500.34929cb6@posting.google. com>...
> > > > tseitlin@post.tau.ac.il (tseitlin) wrote in message news:<b843499b.0406232250.4f64b9aa@posting.google. com>...
>
> > > > > My Apache server is running on a Solaris box,
> > > > Version of Solaris might be helpful...
> > and version of Apache : >
> > > > > but the access_log is empty.
> > > > > There are hits, the permissions are set and in the httpd.conf the
> > > > > access_log path is wrigth. I tried to restart the server but it didn't
> > > > > help.
> > > > > If enyone has an idea please help.
> > > > Use "fuser" to see if you are running the httpd you think you are.
> > > > Then try ./httpd -V
> > > > and examine the output for the location of error_log.
> > > here are some more details: the vertion of Solaris is 7, the machine
> > > is ours,
> > > the permitions are set to : 'x' for the path and 'r' for the files,
> > > the ownership is : wwwuser.
> > What I have:
> > -rw-r--r-- 1 root other 9872 Jul 1 06:22 access_log
> > > "fuser" shows that the httpd has opened the error_log but not the
> > > access_log (the one not being written),
> That kind of makes sense : >
> > > httpd -V showed the wright path (logs/access_log ,
> > Yes but thats not the FULL path.
> > > logs/error_log), yet only the error_log is being written.
> > Something else to try would be "lsof" which is obtainable
> > from www.sunfreeware.com. It will install in /usr/local : <
> > Once installed you can look for open files.
> > Usage Example:
> > lsof -p `lsof -i :80|awk '/root/ {print $2}'`|grep access
> > You get a full path name to the access_log file.
> > It feels like a config error or 'alteration' in httpd.conf file so far.
> > I take it this is a custom install from source as Solaris 7 didnt come
> > with a built in Apache.. Hmm maybe you can upgrade to Solaris 9 : >
> My Apache version is 1.3.22
Ancient.
> The 'lsof' also shows only the /usr/local/apache/logs/error_log is opened.
> here is some relevant parts from the httpd.conf:
> ServerRoot "/usr/local/apache"
> User wwwuser
> Group wwwuser
> ErrorLog /usr/local/apache/logs/error_log
> CustomLog /usr/local/apache/logs/access_log combined
> nothing seems wrong, if you have any idea i'd be glad to try.
OK replace "combined" with "common" and restart apache.
I still think the error is in httpd.conf from what Ive heard so far.
If you have an original httpd.conf-dist file maybe you could compare it
with your httpd.conf.
> enyway upgrading won't be possible in the nearest future.
I hate hearing that : >