Again, there’s some glitch that didn’t manifest right away: ssbackups:
# /usr/libexec/ssbackups.sh
Traceback (most recent call last):
File "/usr/bin/foris-client", line 11, in <module>
load_entry_point('foris-client==0.9.5', 'console_scripts', 'foris-client')()
File "/usr/lib/python3.6/site-packages/foris_client/client/__main__.py", line 116, in main
options.module, options.action, data, controller_id=options.controller_id)
AttributeError: 'Namespace' object has no attribute 'controller_id'
Error opening include file; filename=‘/etc/syslog-ng.d/’, depth=‘1’
Include file/directory not found; filename=‘/etc/syslog-ng.d/’, include-path=‘/etc:/usr/share/syslog-ng/include’, error=‘Invalid argument (22)’
Error parsing pragma, Error including /etc/syslog-ng.d/ in /etc/syslog-ng.conf:
5 # syslog-ng Open Source Edition 3.16 - Release Notes
6
7 @version: 3.19
8 @include “scl.conf”
9 @include “/etc/syslog-ng.d/” # Put any customization files in this directory
10---->
10----> ^
11 options {
12 chain_hostnames(no); # Enable or disable the chained hostname format.
13 create_dirs(yes);
14 keep_hostname(yes); # Enable or disable hostname rewriting.
15 log_fifo_size(256); # The number of messages that the output queue can store.
Error parsing config, syntax error, unexpected LL_ERROR, expecting $end in /etc/syslog-ng.conf:
4 # More details about these settings can be found here:
5 # syslog-ng Open Source Edition 3.16 - Release Notes
6
7 @version: 3.19
8 @include “scl.conf”
9-----> @include “/etc/syslog-ng.d/” # Put any customization files in this directory
9-----> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10---->
11 options {
12 chain_hostnames(no); # Enable or disable the chained hostname format.
13 create_dirs(yes);
14 keep_hostname(yes); # Enable or disable hostname rewriting.
kernel log still showing
BTRFS: failed to read the system array on sda3
BTRFS: open_ctree failed
The update failed, and keep failing when trying to repeat it manually:
pkgupdate
INFO:Detected existing journal. Trying to recover it.
line not found
line not found
line not found
line not found
DIE:
[string “backend”]:1194: [string “backend”]:1185: Failed to lock the lock file //var/lock/opkg.lock: Resource temporarily unavailable
Aborted
Done that but the outcome does not change. See the difference in outputs between 3.11.2 and 3.11.3 RC
3.11.2
ps | grep syslog-ng
2505 root 9076 S /usr/sbin/syslog-ng -F
3971 root 1112 R grep syslog-ng
ps | syslog-ng
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.;
WARNING: syslog-ng dropped support for POSIX regexp implementations in syslog-ng 3.14 in favour of PCRE, which should be upward compatible. All ‘posix’ regexps are automatically switched to ‘pcre’. Please ensure that your regexps work with PCRE and specify type(‘pcre’) explicitly or increase @version to remove this warning;
311.3 RC
ps | grep syslog-ng
5012 root 1112 S grep syslog-ng
ps | syslog-ng
Error opening include file; filename=‘/etc/syslog-ng.d/’, depth=‘1’
Include file/directory not found; filename=‘/etc/syslog-ng.d/’, include-path=‘/etc:/usr/share/syslog-ng/include’, error=‘Invalid argument (22)’
Error parsing pragma, Error including /etc/syslog-ng.d/ in /etc/syslog-ng.conf:
5 # syslog-ng Open Source Edition 3.16 - Release Notes
6
7 @version: 3.19
8 @include “scl.conf”
9 @include “/etc/syslog-ng.d/” # Put any customization files in this directory
10---->
10----> ^
11 options {
12 chain_hostnames(no); # Enable or disable the chained hostname format.
13 create_dirs(yes);
14 keep_hostname(yes); # Enable or disable hostname rewriting.
15 log_fifo_size(256); # The number of messages that the output queue can store.
Error parsing config, syntax error, unexpected LL_ERROR, expecting $end in /etc/syslog-ng.conf:
4 # More details about these settings can be found here:
5 # syslog-ng Open Source Edition 3.16 - Release Notes
6
7 @version: 3.19
8 @include “scl.conf”
9-----> @include “/etc/syslog-ng.d/” # Put any customization files in this directory
9-----> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10---->
11 options {
12 chain_hostnames(no); # Enable or disable the chained hostname format.
13 create_dirs(yes);
14 keep_hostname(yes); # Enable or disable hostname rewriting.
What do you find suspicious about it? It provides a process snapshot (ps) whilst initiating a startup of the specified process. Which is short and dirty way to assist with debugging startup issues. Alternatively and more sophisticated certainly is strace.
This commit changes the code base for syslog-ng between 3.11.2 and 3.11.3. I am sure the developer will figure out where it goes wrong.
Are you sure it should be ps | and not ps && ? I still don’t get it - you take the output of ps and pipe it to the input of syslog-ng (which probably doesn’t read stdin at all)