Hi,
I deleted the files and ran 'logger restart' - no dice, 'logger rotate'
- no dice, 'reload' - no dice, 'restart gracefully' - no dice. Logs are
not recreated???
Any other ideas
Thanks
Marco Supino wrote:
The user running asterisk doesnt have permission to write on the
files, delete them , and asterisk will recreate them as user asterisk,
or chown them, or change them to 777
best of all, delete them!
Marco.
Chuck Bunn wrote:
Hi,
A while back I made the stupid mistake of deleting my log files
'full' and 'messages' for asterisk. I recreated the files by 'touch'
filename and I have gone into the Asterisk CLI and tried both 'logger
restart' and 'logger rotate' but the logs still show nothing. I run
'logger show channels' and the output below shows up. I have
recompiled Asterisk 1.2 and still the logs do not show up. I am
getting data into the 'queue_log' and the 'events' logs however so I
know logger is running. Any suggestions to fix this???
****************
CLI output
tomato*CLI> logger show channels
Channel Type Status Configuration
------- ---- ------ -------------
tomato*CLI>
tomato*CLI>
************************
Output from /var/log/asterisk directory
[EMAIL PROTECTED] asterisk]# ls -la
total 140
drwxr-xr-x 4 asterisk asterisk 4096 Dec 5 08:22 .
drwxr-xr-x 11 root root 4096 Dec 4 04:03 ..
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 root root 0 Dec 5 08:22 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 Nov 18 06:37 full
-rw-r--r-- 1 root root 0 Nov 18 06:37 messages
-rw-r--r-- 1 asterisk asterisk 111711 Dec 5 08:23 queue_log
*******************
Thanks
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users