- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Apache 's access_log file size is zero... what's t...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2003 04:03 AM
тАО07-22-2003 04:03 AM
Apache 's access_log file size is zero... what's the problem?
please let me know what the problem or cause is!
OS is HP-UX 11.00, and apache 's log file (usually access_log file) size is "0 byte"
this is the only problem. everything else is OK
thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2003 04:06 AM
тАО07-22-2003 04:06 AM
Re: Apache 's access_log file size is zero... what's the problem?
1) Check permissions on the file. Make sure the apache user can write to it.
2) Check for a mismatch between the file you are looking at and the file defined as access_log in httpd.conf
3) Is apache running? ps -ef | grep httpd
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2003 04:15 AM
тАО07-22-2003 04:15 AM
Re: Apache 's access_log file size is zero... what's the problem?
httpd is running. and the service is OK.
and there is a access_log file.
but sometimes, the file size is "0" byte.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2003 04:15 AM
тАО07-22-2003 04:15 AM
Re: Apache 's access_log file size is zero... what's the problem?
httpd is running. and the service is OK.
and there is a access_log file.
but sometimes, the file size is "0" byte.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2003 07:38 AM
тАО07-23-2003 07:38 AM
Re: Apache 's access_log file size is zero... what's the problem?
Check the httpd.conf file and apachectl file. Perhaps the log file is in a different directory, or with a different name. (uh...different from what you THINK it is supposed to be).
Check the permissions of the logs directory to make sure the unix user runnning apache can get to it.
Check the AGE of the 0 byte log file.
Log in at the user the runs apache, go to the logs directory and vi the log file. If the permissions are right, you should get there.
steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2003 09:34 AM
тАО07-23-2003 09:34 AM
Re: Apache 's access_log file size is zero... what's the problem?
In your second post you say that the size of access.log is -sometimes- 0 bytes. Do you mean sometimes there's data inthere ?
As Steve already said, do check your apache configuration for the location of the logfiles.
If however sometimes the file does contain data, that would mean permissions and locations are all ok, and something else happens to the log.
Do you have any kind of log-cleaning or log-rotating mechanism on the machine ?
'logrotate' for example can be configured to rotate logs (duh) which will create access.1, access.2 and so on.. it can also just 'empty' the file if configured so.
You might also want to check cron for any cool 'logfile-cleaning' script which a colleague might have implemented.
regards
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2003 09:53 AM
тАО07-23-2003 09:53 AM
Re: Apache 's access_log file size is zero... what's the problem?
bdf /var
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2003 10:42 AM
тАО07-23-2003 10:42 AM