What's new

Scribe scribe 3.x_y - syslog-ng and logrotate installer

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

I know less than @cmkelley about github, but I think this will get you there. I spent 12 seconds googling for it:
Code:
https://github.com/cynicastic/scribe/tree/4a72b3275d7ab6ae8328576c70f34f5c534feb5e
 
Interesting. What's the contents of /jffs/addons/scribe.d/config ??
Give me a few minutes. Just drove from Upstate NY to NH to return my in-laws to their home.
 
Interesting. What's the contents of /jffs/addons/scribe.d/config ??

Code:
# cat /jffs/addons/scribe.d/config
SYSLOG_LOC=/jffs/syslog.log
 
I know less than @cmkelley about github, but I think this will get you there. I spent 12 seconds googling for it:
Code:
https://github.com/cynicastic/scribe/tree/4a72b3275d7ab6ae8328576c70f34f5c534feb5e
I thought we had it there. Turns out it's a gamma.

"This software was written by someone who very likely didn't know what they were doing. There is a non-zero chance this software will not function as intended, cause irreparable data loss and/or hardware damage, or accidentally trigger the annihilation of the earth. End user accepts all these potential outcomes as the unavoidable consequences of existing."

No SSL Cert so it won't download :(
 
So, let me check I got this right. I was running 2.4.4 and it was fine. Saw this update to 3.0.0 so I did the update but it broke my setup. I deleted everything and reinstalled and still had the same problem. Was advised here in this thread to uninstall and install it back - wouldn't install. I ask for help and I'm told to go elsewhere.
Have I missed anything?
Thanks for the blow-off!
@Ripshod Blowing up at someone because you are annoyed, then telling them to not take it personally may make you feel ok, but that doesn't make it right.

Vent your frustration elsewhere next time, please.
 
I apologise to anyone I've offended.
See ya!
 
@cmkelley more importantly (than the whiny, entitled, dummy-spit, throw-all-my-toys-out-of-the-cot behaviour) ...
How IS the grand-child?

:)
 
Last edited:
Thanks. At least that part is working correctly, lol.
okay, well there's one horribly embarrassing mistake of this, I totally munged the location of the scribe config file in rc.func.syslog-ng. I mean horribly, I have no idea what possessed me to put 'scribe_conf="/opt/jffs/addons/scribe/config"' in there. Not only is /jffs at root, not in /opt, but the subdirectory for the config file is scribe.d, not just scribe. Wow. I don't know how many times I must have seen that and my brain went "this is fine." Really proving my point, "this is why we don't do things late at night."
ANYWAYS, congrats on making the drive back safe. I was lucky enough one year to go on a business trip to the Lake Seneca area in early October and really enjoyed the multi-colored leaves as we drove from Syracuse - the leaves don't do that here, lol.
Lemme look a little harder for more fat finger issues and I'll post another gamma for you. I'll post here when I do.
 
okay, well there's one horribly embarrassing mistake of this, I totally munged the location of the scribe config file in rc.func.syslog-ng. I mean horribly, I have no idea what possessed me to put 'scribe_conf="/opt/jffs/addons/scribe/config"' in there. Not only is /jffs at root, not in /opt, but the subdirectory for the config file is scribe.d, not just scribe. Wow. I don't know how many times I must have seen that and my brain went "this is fine." Really proving my point, "this is why we don't do things late at night."
ANYWAYS, congrats on making the drive back safe. I was lucky enough one year to go on a business trip to the Lake Seneca area in early October and really enjoyed the multi-colored leaves as we drove from Syracuse - the leaves don't do that here, lol.
Lemme look a little harder for more fat finger issues and I'll post another gamma for you. I'll post here when I do.
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.
 
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.
# cat /tmp/scribelog
  scribe_conf = /opt/jffs/addons/scribe/config
       optmsg = /opt/var/log/messages
      jffslog = /jffs/syslog.log
       tmplog = /tmp/syslog.log
       isjffs = false
   syslog_loc = /tmp/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 a directory
tmplog is a link
# ls -al /jffs/syslog*
/jffs/syslog.log:
drwxrwxrwx    2 TheS1R   root           160 Apr 27 22:26 .
drwxr-xr-x   17 TheS1R   root          1992 Apr 27 22:26 ..

/jffs/syslog.log-1:
drwxrwxrwx    2 TheS1R   root           160 Apr 27 22:26 .
drwxr-xr-x   17 TheS1R   root          1992 Apr 27 22:26 ..


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 = /opt/jffs/addons/scribe/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 22:32 /jffs/syslog.log -> /opt/var/log/messages
-rw-rw-rw-    1 TheS1R   root            24 Apr 27 22:32 /jffs/syslog.log-1
 
Code:
# cd /opt/etc/init.d/
# ./S01syslog-ng restart
 Shutting down syslog-ng...              done.
 Starting syslog-ng...              done.
# cat /tmp/scribelog
  scribe_conf = /opt/jffs/addons/scribe/config
       optmsg = /opt/var/log/messages
      jffslog = /jffs/syslog.log
       tmplog = /tmp/syslog.log
       isjffs = false
   syslog_loc = /tmp/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 a directory
tmplog is a link
# ls -al /jffs/syslog*
/jffs/syslog.log:
drwxrwxrwx    2 TheS1R   root           160 Apr 27 22:26 .
drwxr-xr-x   17 TheS1R   root          1992 Apr 27 22:26 ..

/jffs/syslog.log-1:
drwxrwxrwx    2 TheS1R   root           160 Apr 27 22:26 .
drwxr-xr-x   17 TheS1R   root          1992 Apr 27 22:26 ..


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 = /opt/jffs/addons/scribe/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 22:32 /jffs/syslog.log -> /opt/var/log/messages
-rw-rw-rw-    1 TheS1R   root            24 Apr 27 22:32 /jffs/syslog.log-1
Okay, that's weird, the /opt/etc/init.d/S01syslog-ng file didn't update ... I don't get it.
 
Okay, that's weird, the /opt/etc/init.d/S01syslog-ng file didn't update ... I don't get it.
What version should I be running? scribe (gamma) didn't detect new version.
 
Last edited:
What version should I be running? scribe (gamma) didn't detect new version.
Run scribe again and see if it's there now. I've heard sometimes it takes a while to propagate across github's servers. It should have said there is a minor update to 3.0.4.
 
Run scribe again and see if it's there now. I've heard sometimes it takes a while to propagate across github's servers. It should have said there is a minor update to 3.0.4.
gamma or master?
 
Nevermind, I see what happened. A change didn't push for some reason.
It was weird, github desktop wash showing everything pushed, but when I went to github on the web it wasn't there. So I've pushed another tiny change to scribe and now it's showing updated on the web (at least for me).
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top