To be honest, I never looked at syslog-ng memory usage. I always had 96-ish% memory used, and I think ~110 megs of swap used, so I never really looked at it. I'll have a look at my AC86U and my AC3200 when I get home tonight (if I remember ...)
I've seen that on occasion. Two things to check.Hey people. Not sure why but Skynet stopped logging dropped packets. Everything else seems to work fine. I rebooted and no correction as well as restarting scribe. Any ideas to try? I made no changes, just rebooted is all.
/opt/var/log/skynet-0.log
In the past, this has always been resolved by updating Entware. Yours appears to be updated, but you're also getting a segfault during that check, so you may be getting an erroneous result. from the command line, try:Hi all,
I cannot install scribe, because i get the error: error while loading shared libraries, cannot open shared object file, no such file or library. syslog-ng version 3.19 or higher required.
View attachment 21804
I rebooted my AC68U, I updated amtm, but it did not find any update, so my system is up to date. FW 384.15
View attachment 21805
View attachment 21806
I removed scribe, then re-added, but I still get this error. Any suggestions, please?
opkg update
opkg list-upgradable
Thank you for your reaction. I tried to check USB drive for errors, but it seemed OK. I have 2 file systems on the USB. EXT2 and windows FAT format (I don't know exactly if it is FAT32 or NTFS, but one of them). The drive is 256GB, but I think this shouldn't be a problem. I have to be careful with reformatting, because I use SMB file server on tis drive with many folders and different access rights, but I will try it.The line in your second screen shot that says "Segmentation fault" looks grim. That might be an entirely separate error to track down.
I think the error message about 3.19 being required is generated because syslog-ng is faulting out. I suspect that might be a sign the entware installation is faulty. I would be inclined to use diversion to save your files (if you can), save your scripts, and copy all of it somewhere else, and then blow up your USB drive: reformat it and start over. With amtm it doesn't really take long.
But maybe you will get a more informed response.
Thank you for your reply. I tried to force update amtm, but after force update, scribe still did not install. I think my syslog-ng should not be too old, because I am using amtm and skynet for about 2 weeks only.In the past, this has always been resolved by updating Entware. Yours appears to be updated, but you're also getting a segfault during that check, so you may be getting an erroneous result. from the command line, try:
I suspect you'll get a segfault with one of those. If not, I think you'll find that Entware is actually not up to date. If you do get a segfault, then you have some other issue that I don't know how to fix, sorry.Code:opkg update opkg list-upgradable
Segmentation fault is a memory / operating system error, not an error on a filesystem. Your USB drive is fine, you have something going on with a program trying to access memory that does not belong to it.Thank you for your reaction. I tried to check USB drive for errors, but it seemed OK. I have 2 file systems on the USB. EXT2 and windows FAT format (I don't know exactly if it is FAT32 or NTFS, but one of them). The drive is 256GB, but I think this shouldn't be a problem. I have to be careful with reformatting, because I use SMB file server on tis drive with many folders and different access rights, but I will try it.
Do you mean it could also indicate an error within the router firmware, or in this case it only refers to the installed entware packages?Segmentation fault is a memory / operating system error, not an error on a filesystem. Your USB drive is fine, you have something going on with a program trying to access memory that does not belong to it.
A bit out of my league, but probably an Entware package. Could be hardware problem as well I think. Almost certainly not a firmware "problem" or else countless others would have the same.Do you mean it could also indicate an error within the router firmware, or in this case it only refers to the installed entware packages?
I finally succeeded, however I still don't know the reason of the segmentation faultA bit out of my league, but probably an Entware package. Could be hardware problem as well I think. Almost certainly not a firmware "problem" or else countless others would have the same.
Segmentation fault was the key to solution - thanks for pointing this out!The line in your second screen shot that says "Segmentation fault" looks grim. That might be an entirely separate error to track down.
I think the error message about 3.19 being required is generated because syslog-ng is faulting out. I suspect that might be a sign the entware installation is faulty. I would be inclined to use diversion to save your files (if you can), save your scripts, and copy all of it somewhere else, and then blow up your USB drive: reformat it and start over. With amtm it doesn't really take long.
But maybe you will get a more informed response.
Use uiScribe to exclude it. Uiscribe scrubs the log directory or the syslog-ng.d directory, I forget, and displays what it finds unless it is excluded.Now my logserver logging is not working anymore. I am using papertrail for external logging, but I don't know where to set it up again in this new UI. Is there a way to set up a logserver address at all?
Also please take a look on the screenshot below. I have a null line... Is that normal?
If papertrail needs just the IP address and port, temporarily uninstall uiScribe and you will see those in the standard WebGUI - uiScribe replaces that.I finally succeeded, however I still don't know the reason of the segmentation fault
What I did is in amtm I chose ep (manage packages), then update and upgrade packages (1) , which then downloaded something again, and when I checked for updates after that, there was no segmentation fault error anymore... And also found an update for skynet. Then I could install scribe and uiscribe too without a problem.
Now my logserver logging is not working anymore. I am using papertrail for external logging, but I don't know where to set it up again in this new UI. Is there a way to set up a logserver address at all?
Also please take a look on the screenshot below. I have a null line... Is that normal?
View attachment 21830
Thank you for the tips and help
OK your're right. I forgot to check what options are there for uiscribe. I excluded the null log. Thanks!Use uiScribe to exclude it. Uiscribe scrubs the log directory or the syslog-ng.d directory, I forget, and displays what it finds unless it is excluded.
I'm not familiar with papertrail, but to send log messages to an external destination, you need to define that destination, and a filter if you want, and then a logging statement. Scribe operates as a waterfall, filtering messages in order and removing them from further processing. The order is by line within a file, and by file in syslog-ng.d by alphabet. So if you want a message to be in both places, you need a file that comes first in syslog-ng.d, without the "flags(final)" statement. It's laid out somewhere in this thread.
Thank you! I have the IP and port, and it used to work until I installed scribe. Does this mean that external syslog server will not receive logs anymore with scribe installed..?If papertrail needs just the IP address and port, temporarily uninstall uiScribe and you will see those in the standard WebGUI - uiScribe replaces that.
That is a question primarily for @Jack Yaz to answer. I mentioned him in another thread if the underlying System Log functions were still operative, just web page overly changes. There was no reply, let's see if this gets his attention.Thank you! I have the IP and port, and it used to work until I installed scribe. Does this mean that external syslog server will not receive logs anymore with scribe installed..?
Yes, that is an interesting question. For me it seems that there is some conflict. The log below shows the time when I installed scribe and uiscribe at 12:18 klogd exiting...That is a question primarily for @Jack Yaz to answer. I mentioned him in another thread if the underlying System Log functions were still operative, just web page overly changes. There was no reply, let's see if this gets his attention.
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!