Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-11-2005, 06:36 AM
|
#1
|
Member
Registered: Mar 2005
Location: Japan
Distribution: TurboLinux, RHEL, SUSE
Posts: 96
Rep:
|
I have some problem on my Linux Web server log file.
Please advise me, ....
I have some problem on my Linux Web server log file.
Access log and error log file are not changed.
It means "access_log" and "error_log" are not changed to "access_log.1(2,3,4...)" and "error_log.1(2,3,4,...)" .
Only one (access_log nad error_log) file from the first day when i config web server and NOW size is VERY VERY BIG ...
How can I solve this problem, please help.
|
|
|
11-11-2005, 06:40 AM
|
#2
|
Senior Member
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284
Rep:
|
You need to look at using logrotate and set it as a cron job evert day or once a week, or however you regularly you want your logs rotating. Otherwise you logs simply sit there until full as they are currently.
|
|
|
11-11-2005, 06:46 AM
|
#3
|
Member
Registered: Mar 2005
Location: Japan
Distribution: TurboLinux, RHEL, SUSE
Posts: 96
Original Poster
Rep:
|
Quote:
Originally posted by fouldsy
You need to look at using logrotate and set it as a cron job evert day or once a week, or however you regularly you want your logs rotating. Otherwise you logs simply sit there until full as they are currently.
|
thk u fouldsy
I have another Web server (same linux and Appach version is same) , But another server WEB server LOG is rotating for AUTO.
I could not understand !!!!
|
|
|
11-11-2005, 07:00 AM
|
#4
|
Member
Registered: Sep 2005
Location: PARIS
Distribution: Mandriva 10.0 Communoty
Posts: 117
Rep:
|
are you loading the module for rotate the log in httpd.conf (mod_logs.so or something like use : loadmodule or add module with DSO enable).
verify the charged module by :
httpd -V or httpd -l (i don't remember, try httpd -h to know all options.
|
|
|
11-11-2005, 07:05 AM
|
#5
|
Member
Registered: Mar 2005
Location: Japan
Distribution: TurboLinux, RHEL, SUSE
Posts: 96
Original Poster
Rep:
|
Quote:
Originally posted by Back_to_Linux
are you loading the module for rotate the log in httpd.conf (mod_logs.so or something like use : loadmodule or add module with DSO enable).
verify the charged module by :
httpd -V or httpd -l (i don't remember, try httpd -h to know all options.
|
thk u Back_to_Linux
I tryed "httpd -l" result is :
Compiled -in modules:
http_core.c
mod_so.c
suexec: disacled ; invalid wrapper /user/sbin/suexec
What can I do
|
|
|
11-11-2005, 07:37 AM
|
#6
|
Member
Registered: Sep 2005
Location: PARIS
Distribution: Mandriva 10.0 Communoty
Posts: 117
Rep:
|
you need to see the corresponding module in lib directory of apache source. you need too see a line in httpd.conf, which load the corresponding module.
it semmes like :
LoadModule mod_log.c
or
AddModule mod_log.so
excuse me for the non exact name.
|
|
|
All times are GMT -5. The time now is 11:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|