View Single Post
  #19  
Old 28th March 2006, 10:18
Kamran Shah Kamran Shah is offline
Junior Member
 
Join Date: Oct 2005
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Looks ok. Maybe the logrotate cron job doesn't like symlinks. However, I woudn't worry about it, logrotate does still work.
I got below error again, is it possible to define how many IPSConfig access l ogs you want to keep and or the naming convention anywhere?

/etc/cron.daily/0logwatch:
Use of uninitialized value in numeric le (<=) at /etc/cron.daily/0logwatch line 683.

I see the error below when I list directory, obviously one fo the file has its symbolic link but does not exist.

HTML Code:
[root@portal httpd]# ls -latr
total 312
-rw-r--r--   1 root root    497 Mar 17 21:18 ssl_request_log.1
-rw-r--r--   1 root root    412 Mar 17 21:18 ssl_access_log.1
-rw-r--r--   1 root root   6491 Mar 18 00:56 ssl_error_log.2
-rw-r--r--   1 root root 134990 Mar 19 03:47 access_log.2
-rw-r--r--   1 root root      0 Mar 19 04:02 ssl_request_log
-rw-r--r--   1 root root      0 Mar 19 04:02 ssl_access_log
-rw-r--r--   1 root root  20103 Mar 19 04:02 error_log.2
-rw-r--r--   1 root root    630 Mar 22 20:46 ssl_error_log.1
lrwxrwxrwx   1 root root     46 Mar 26 00:52 ispconfig_access_log.1 -> /var/log/httpd/ispconfig_access_log_2006_03_26
-rw-r--r--   1 root root  75751 Mar 26 00:52 access_log.1
-rw-r--r--   1 root root   7842 Mar 26 04:02 error_log.1
-rw-r--r--   1 root root    378 Mar 26 04:02 ssl_error_log
-rw-r--r--   1 root root   6916 Mar 27 23:40 ispconfig_access_log_2006_03_27
drwxr-xr-x  14 root root   4096 Mar 27 23:59 ..
lrwxrwxrwx   1 root root     46 Mar 28 03:13 ispconfig_access_log -> /var/log/httpd/ispconfig_access_log_2006_03_28
-rw-r--r--   1 root root   2919 Mar 28 03:13 error_log
drwx------   2 root root   4096 Mar 28 03:13 .
-rw-r--r--   1 root root    453 Mar 28 04:12 ispconfig_access_log_2006_03_28
-rw-r--r--   1 root root   9952 Mar 28 04:12 access_log
Reply With Quote