[Asterisk-Dev] What would prevent logs from being recreated if they are deleted?

Chuck Bunn chuck.bunn at networkdoc.com
Wed Dec 14 09:37:24 MST 2005


Hi,

I have tried giving it full open permissions (777, presently it match 
the other files 644) with no effect I have even changed the owner and 
group to asterisk...

ls -la output:

[root at tomato asterisk]# ls -la
total 208
drwxrwxr-x   4 asterisk asterisk   4096 Dec 14 07:27 .
drwxr-xr-x  11 root     root       4096 Dec 11 04:02 ..
drwxr-xr-x   2 asterisk asterisk   4096 Nov  8 21:39 cdr-csv
drwxr-xr-x   2 asterisk asterisk   4096 Nov  8 21:39 cdr-custom
-rw-r--r--   1 asterisk asterisk      0 Dec 14 07:27 event_log
-rw-r--r--   1 asterisk asterisk   1186 Nov 12 07:43 event_log.0
-rw-r--r--   1 root     root          0 Nov 17 06:41 event_log.1
-rw-r--r--   1 root     root          0 Nov 17 06:45 event_log.2
-rw-r--r--   1 root     root          0 Nov 18 06:38 event_log.3
-rw-r--r--   1 root     root          0 Dec  5 08:22 event_log.4
-rw-r--r--   1 root     root          0 Dec  5 11:13 event_log.5
-rw-r--r--   1 root     root          0 Dec  8 11:09 event_log.6
-rw-r--r--   1 root     root          0 Dec 14 07:20 event_log.7
-rw-r--r--   1 asterisk asterisk      0 Dec 14 07:27 full
-rw-r--r--   1 asterisk asterisk      0 Dec 14 07:21 messages
-rw-r--r--   1 asterisk asterisk 184135 Dec 14 09:29 queue_log

Thanks


Matt Riddell wrote:

>Chuck Bunn wrote:
>  
>
>>Hi,
>>
>>Do you mean with 'touch' I have done this and it does not work also I
>>tried 'service syslog restart' and this does not work either. I had
>>deleted the full and messages logs, queue_log and event_log work just fine.
>>    
>>
>
>check the files exist and have the correct permissions.
>
>  
>




More information about the asterisk-dev mailing list