I already have reinstalled scribe but this has not helped me
But it starts okay if you run
scribe start
in a terminal?
So check that S01syslog-ng is in /opt/etc/init.d, as well as rc.func.syslog-ng. Check that /jffs/scripts/post-mount has a line calling /jffs/addons/diversion/mount-entware.div. Check that both are executable.
Are you running any other amtm scripts? Diversion?
If you look in the system log after a reboot, when it hasn't started, there should be a line after post-mount runs where klogd and syslogd exit and syslog-ng starts. Is there an error message there? It should look something like this:
Code:
Sep 21 08:14:50 RT-AC86U fs at /dev/sda1 mounted on /tmp/mnt/Cruzer.
Sep 21 08:14:50 RT-AC86U kernel: EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: user_xattr
Sep 21 08:14:50 RT-AC86U custom_script: Running /jffs/scripts/post-mount (args: /tmp/mnt/Cruzer)
Sep 21 08:14:50 RT-AC86U kernel: Adding 2097148k swap on /tmp/mnt/Cruzer/myswap.swp. Priority:-1 extents:15 across:2424832k
Sep 21 08:14:50 RT-AC86U Diversion: Starting Entware and Diversion services on /tmp/mnt/Cruzer
Sep 21 08:14:50 RT-AC86U kernel: klogd: exiting
Sep 21 08:14:50 RT-AC86U syslogd exiting
Sep 21 08:14:50 RT-AC86U syslog-ng[8335]: syslog-ng starting up; version='3.33.2
Sep 21 08:14:50 RT-AC86U elorimer: Started haveged from /jffs/scripts/post-mount.
You can see the starting sequence. The USB stick is mounted; post-mount is triggered; that includes starting the swap file, then triggering the mount-entware.div script; then entware starts and fires up S01syslog-ng, which in turn calls rc.func.syslog-ng to kill klogd and syslogd and starts syslog-ng. I included the last line as it moves on to S02, etc.