visortgw
Very Senior Member
Okay, @visortgw, please have a go at it. Same as before, copy the /tmp/scribelog file each time. This time though, please also check 'ls -al /jffs/syslog*' between running S01syslog-ng restart and scribe restart. I'm hopeful, but not positive, lol.
Code:
# cd /opt/etc/init.d/
# ./S01syslog-ng restart
Shutting down syslog-ng... done.
Starting syslog-ng... done.
TheS1R@GT-AX6000-9980:/tmp/mnt/TheS1RsUSB/entware/etc/init.d# cat /tmp/scribelog
scribe_conf =
optmsg =
jffslog =
tmplog =
isjffs =
syslog_loc =
syslog_loc is null
Found scribe_conf
scribe_conf = /jffs/addons/scribe.d/config
optmsg = /opt/var/log/messages
jffslog = /jffs/syslog.log
tmplog = /tmp/syslog.log
isjffs = true
syslog_loc = /jffs/syslog.log
optmsg is NOT a link
syslog_loc is a link
syslog_loc is a link
jffslog is NOT a directory
tmplog is a link
jffslog is NOT a directory
tmplog is a link
TheS1R@GT-AX6000-9980:/tmp/mnt/TheS1RsUSB/entware/etc/init.d# ls -al /jffs/syslog*
lrwxrwxrwx 1 TheS1R root 21 Apr 27 23:44 /jffs/syslog.log -> /opt/var/log/messages
-rw-rw-rw- 1 TheS1R root 24 Apr 27 23:44 /jffs/syslog.log-1
Code:
# scribe restart
_
_ ( )
___ ___ _ __ (_)| |_ __
/',__) /'___)( '__)| || '_`\ /'__`\
\__, \( (___ | | | || |_) )( ___/
(____/`\____)(_) (_)(_,__/'`\____)
syslog-ng and logrotate installation
v3.0_4 (gamma) Coded by cmkelley
stopping syslog-ng ... Checking syslog-ng... alive.
Shutting down syslog-ng... done.
starting system klogd and syslogd ...
Done.
syslog-ng will be started at next reboot; you
may type 'scribe restart' at shell prompt, or
select rs from scribe menu to restart syslog-ng
syslog-ng NOT running! Starting ...
Starting syslog-ng... done.
Restarting uiScribe ...Mounting WebUI page for uiScribe
Mounted uiScribe WebUI page as Main_LogStatus_Content.asp
checking syslog-ng daemon ... alive.
checking system for necessary scribe hooks ...
checking S01syslog-ng ... present.
checking service-event ... present.
checking post-mount ... present.
checking unmount ... present.
checking logrotate cron job ... updated.
checking directory links ... present.
checking syslog-ng configuration ...
syslog-ng.conf version check ... in sync. (3.38)
syslog-ng.conf syntax check ... okay!
scribe installed version: v3.0_4 (gamma)
scribe GitHub version: v3.0_4 (gamma)
scribe is up to date!
# cat /tmp/scribelog
scribe_conf =
optmsg =
jffslog =
tmplog =
isjffs =
syslog_loc =
syslog_loc is null
Found scribe_conf
scribe_conf = /jffs/addons/scribe.d/config
optmsg = /opt/var/log/messages
jffslog = /jffs/syslog.log
tmplog = /tmp/syslog.log
isjffs = true
syslog_loc = /jffs/syslog.log
optmsg is a link
syslog_loc is NOT a link
syslog_loc is a link
jffslog is NOT a directory
tmplog is NOT a link
jffslog is NOT a directory
tmplog is a link
# ls -al /jffs/syslog*
lrwxrwxrwx 1 TheS1R root 21 Apr 27 23:47 /jffs/syslog.log -> /opt/var/log/messages
-rw-rw-rw- 1 TheS1R root 24 Apr 27 23:47 /jffs/syslog.log-1