LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 11-11-2005, 06:36 AM   #1
ERBRMN
Member
 
Registered: Mar 2005
Location: Japan
Distribution: TurboLinux, RHEL, SUSE
Posts: 96

Rep: Reputation: 15
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.
 
Old 11-11-2005, 06:40 AM   #2
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
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.
 
Old 11-11-2005, 06:46 AM   #3
ERBRMN
Member
 
Registered: Mar 2005
Location: Japan
Distribution: TurboLinux, RHEL, SUSE
Posts: 96

Original Poster
Rep: Reputation: 15
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 !!!!
 
Old 11-11-2005, 07:00 AM   #4
Back_to_Linux
Member
 
Registered: Sep 2005
Location: PARIS
Distribution: Mandriva 10.0 Communoty
Posts: 117

Rep: Reputation: 15
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.
 
Old 11-11-2005, 07:05 AM   #5
ERBRMN
Member
 
Registered: Mar 2005
Location: Japan
Distribution: TurboLinux, RHEL, SUSE
Posts: 96

Original Poster
Rep: Reputation: 15
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
 
Old 11-11-2005, 07:37 AM   #6
Back_to_Linux
Member
 
Registered: Sep 2005
Location: PARIS
Distribution: Mandriva 10.0 Communoty
Posts: 117

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Clear web.cache and log files on server DogByte Linux - Newbie 1 09-20-2005 06:51 PM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
Web server/File Sharing Server sschoenb Solaris / OpenSolaris 1 06-24-2004 03:56 PM
Problem with Linux RH 5 Web Server... JBF Linux - Networking 15 08-25-2003 12:50 PM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration