L&LD
Part of the Furniture
Ahh, see, I'm not even smart enough to know what the bug was.
I highly doubt that.
Ahh, see, I'm not even smart enough to know what the bug was.
Sorry I didn't see this earlier, I've been super slammed with work and personal commitments, and even now I'm not actually at home. I'm sorry the scribe installation didn't work for you, I can try to help you out if you want to try again, although I must be honest, right now my plate is very full.I redirected the skynet log file and now looks good
I did not get the "v1.0_0 is still installed" doing the update just now. Not that I'm complaining.scribe v1.1_0 is up.
Note that when v2.0_0 is eventually released (with a menu), you will not be able to go directly from v1.0_0 to v2.0_0, you will need to be on v1.1_0 or later to upgrade to v2.0_0. Okay, technically you could, but it would involve editing a line in scribe.
There was a minor logic error in v1.0_0, when you upgrade to v1.1_0, after the upgrade it will print that v1.0_0 is still installed. Not to fear, it isn't, if you run "scribe status" you will see that v1.1_0 is installed.
Other than that, a bit of tweaking to the colors and wording, and the logic to support upgrading to v2.0_0 whenever I get around to adding the menu.
_ ( )
___ ___ _ __ (_)| |_ __
/',__) /'___)( '__)| || '_`\ /'__`\
\__, \( (___ | | | || |_) )( ___/
(____/`\____)(_) (_)(_,__/'`\____)
syslog-ng and logrotate installation
v1.0_0 (master) Coded by cynicastic
scribe installed version: v1.0_0 (master)
scribe GitHub version: v1.1_0 (master)
New version available!
Do you wish to upgrade [y|n] y
Do you want to update syslog-ng and logrotate example files? [y|n] y
fetching scribe from GitHub master branch ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 122 0 122 0 0 266 0 --:--:-- --:--:-- --:--:-- 356
100 21727 0 21727 0 0 25088 0 --:--:-- --:--:-- --:--:-- 25088
.... %< snip ------------
setting up scribe ... done.
copying rc.func.syslog-ng to /opt/etc/init.d ... done.
scribe updated!
syslog-ng and logrotate example files updated!
checking configuration for necessary scribe hooks ...
checking S01syslog-ng ... present.
checking service-event ... present.
checking post-mount ... present.
checking logrotate cron job ... present.
checking syslog-ng daemon ...
syslog-ng syntax check ... okay!
checking syslog-ng daemon ... alive.
scribe installed version: v1.1_0 (master)
scribe GitHub version: v1.1_0 (master)
scribe is up to date!
Oh, ooops, you'll only get the installed version still being v1.0_0 if you don't update the example files. I'll update the post.I did not get the "v1.0_0 is still installed" doing the update just now. Not that I'm complaining.
Code:_ ( ) ___ ___ _ __ (_)| |_ __ /',__) /'___)( '__)| || '_`\ /'__`\ \__, \( (___ | | | || |_) )( ___/ (____/`\____)(_) (_)(_,__/'`\____) syslog-ng and logrotate installation v1.0_0 (master) Coded by cynicastic scribe installed version: v1.0_0 (master) scribe GitHub version: v1.1_0 (master) New version available! Do you wish to upgrade [y|n] y Do you want to update syslog-ng and logrotate example files? [y|n] y fetching scribe from GitHub master branch ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 122 0 122 0 0 266 0 --:--:-- --:--:-- --:--:-- 356 100 21727 0 21727 0 0 25088 0 --:--:-- --:--:-- --:--:-- 25088 .... %< snip ------------ setting up scribe ... done. copying rc.func.syslog-ng to /opt/etc/init.d ... done. scribe updated! syslog-ng and logrotate example files updated! checking configuration for necessary scribe hooks ... checking S01syslog-ng ... present. checking service-event ... present. checking post-mount ... present. checking logrotate cron job ... present. checking syslog-ng daemon ... syslog-ng syntax check ... okay! checking syslog-ng daemon ... alive. scribe installed version: v1.1_0 (master) scribe GitHub version: v1.1_0 (master) scribe is up to date!
Ok, I can see that. I used to check against example files on GitHub, but now know I leave them alone, so unless you have changed something in them to improve handling, I never look at them, just trust to update.Oh, ooops, you'll only get the installed version still being v1.0_0 if you don't update the example files. I'll update the post.
_
_ ( )
___ ___ _ __ (_)| |_ __
/',__) /'___)( '__)| || '_`\ /'__`\
\__, \( (___ | | | || |_) )( ___/
(____/`\____)(_) (_)(_,__/'`\____)
syslog-ng and logrotate installation
v1.1_0 (master) Coded by cynicastic
fetching scribe from GitHub master branch ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 122 0 122 0 0 99 0 --:--:-- 0:00:01 --:--:-- 233
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (60) SSL certificate problem: self signed certificate in certificate chain
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
scribe GitHub repository is unavailable! -- Aborting.
I migrated to 384.11_2 last night. I just tried to install scribe with the following curl error:
Code:_ _ ( ) ___ ___ _ __ (_)| |_ __ /',__) /'___)( '__)| || '_`\ /'__`\ \__, \( (___ | | | || |_) )( ___/ (____/`\____)(_) (_)(_,__/'`\____) syslog-ng and logrotate installation v1.1_0 (master) Coded by cynicastic fetching scribe from GitHub master branch ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 122 0 122 0 0 99 0 --:--:-- 0:00:01 --:--:-- 233 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 curl: (60) SSL certificate problem: self signed certificate in certificate chain More details here: https://curl.haxx.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above. scribe GitHub repository is unavailable! -- Aborting.
I added a '-k' flag to the curl line (in the 'scribe' script) to ignore the verification part, BUT it had lots of problems running the script !!! (lots of dirs/files not found !!!???)I migrated to 384.11_2 last night. I just tried to install scribe with the following curl error:
Code:_ _ ( ) ___ ___ _ __ (_)| |_ __ /',__) /'___)( '__)| || '_`\ /'__`\ \__, \( (___ | | | || |_) )( ___/ (____/`\____)(_) (_)(_,__/'`\____) syslog-ng and logrotate installation v1.1_0 (master) Coded by cynicastic fetching scribe from GitHub master branch ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 122 0 122 0 0 99 0 --:--:-- 0:00:01 --:--:-- 233 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 curl: (60) SSL certificate problem: self signed certificate in certificate chain More details here: https://curl.haxx.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above. scribe GitHub repository is unavailable! -- Aborting.
Downloading http://bin.entware.net/armv7sf-k2.6/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
syslog-ng already installed!
Forcing installation may overwrite modified configuration files!
Do you want to force re-installation of syslog-ng [y|n]? y
Checking syslog-ng... dead.
Removing package syslog-ng from root...
Not deleting modified conffile /opt/etc/syslog-ng.conf.
Installing syslog-ng (3.19.1-2) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/syslog-ng_3.19.1-2_armv7-2.6.ipk
Configuring syslog-ng.
Collected errors:
* resolve_conffiles: Existing conffile /opt/etc/syslog-ng.conf is different from the conffile in the new package. The new conffile will be placed at /opt/etc/syslog-ng.conf-opkg.
syslog-ng version 3.19 or higher required!
Please update your Entware packages and run scribe install again.
Removing package syslog-ng from root...
Not deleting modified conffile /opt/etc/syslog-ng.conf.
Xentrk@RT-AC88U-8248:/jffs/scripts# opkg list-installed | grep syslog
Xentrk@RT-AC88U-8248:/jffs/scripts# opkg install syslog-ng
Installing syslog-ng (3.19.1-2) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/syslog-ng_3.19.1-2_armv7-2.6.ipk
Configuring syslog-ng.
Collected errors:
* resolve_conffiles: Existing conffile /opt/etc/syslog-ng.conf is different from the conffile in the new package. The new conffile will be placed at /opt/etc/syslog-ng.conf-opkg.
checking configuration for necessary scribe hooks ...
checking S01syslog-ng ... updated.
checking service-event ...sed: /jffs/scripts/service-event: No such file or directory
grep: /jffs/scripts/service-event: No such file or directory
updated.
checking post-mount ... updated.
checking logrotate cron job ... updated.
checking syslog-ng daemon ...
syslog-ng syntax check ...[2019-05-19T12:11:39.217635] WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode. Please update it to use the syslog-ng 3.19 format at your time of convenience. To upgrade the configuration, please review the warnings about incompatible changes printed by syslog-ng, and once completed change the @version header at the top of the configuration file.;
okay!
checking syslog-ng daemon ... dead.
scribe installed version: v1.1_0 (master)
scribe GitHub version: v1.1_0 (master)
scribe is up to date!
Search in this thread. There are some posts from @Butterfly Bones that are helpful.can someone help you how to set up loggly?
Included from /opt/etc/syslog-ng.conf:
11 # source net function to get udp log messages from local network commented out
12 # destination log_server function added (commented out) to illustrate sending udp log messages to server on local network
13
14 @version: 3.19
15 @include "/opt/etc/syslog-ng.d/" # Put any customization files in this directory
16---->
16----> ^
17 options {
18 chain_hostnames(no); # Enable or disable the chained hostname format.
19 create_dirs(yes);
20 keep_hostname(yes); # Enable or disable hostname rewriting.
21 log_fifo_size(256); # The number of messages that the output queue can store.
syslog-ng documentation: https://www.balabit.com/support/documentation?product=syslog-ng-ose
contact: https://lists.balabit.hu/mailman/listinfo/syslog-ng
FAILED!
checking syslog-ng daemon ... dead.
scribe installed version: v1.1_0 (master)
scribe GitHub version: v1.1_0 (master)
scribe is up to date!
Xentrk@RT-AC88U-8248:/jffs/scripts# /opt/etc/init.d/S01syslog-ng start
Starting syslog-ng... done.
Xentrk@RT-AC88U-8248:/jffs/scripts# /opt/etc/init.d/S01syslog-ng check
Checking syslog-ng... dead.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!