-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
systemctl start syslog-ng error #3402
Comments
|
Please start syslog-ng by hand the same way as |
|
thanks for reply, |
|
Via checking the log you provided I see that syslog-ng could start via this way. With similar reports the two most common issue I saw are the following:
Could you please verify if either of them can fix your issue ? |
|
I think
still |
|
There should not be much of a differences, can you show us your systemd service file for syslog-ng ? |
|
systemd service file: i'm not modified it. hmm.. where can i see the syslog-ng logs? |
|
The |
|
Removing the I used a new error has occurred. What should I do..? |
|
By default if capabilities are supported on the system that could cause issue (note that is likely still an issue in code). But disabling caps is possible and should resolve this issue: |
|
I tried to modify the following line: I wonder if I am doing well... |
|
Should I manage the syslog-ng service using bash shell instead of systemd? |
|
Nah systemd and syslog-ng are usually friends, and can work together. At this point I woud try to see if Also it would be nice if I could reproduces this issue locally, can you describe what distro/os are you using? And where/how you obtained the syslog-ng binary ? |
|
Oh I see you shared that it is a centos. I'll try to spin up one, do you have any customisation on that ? |
|
@DAEWOONPARK Did you run |
sorry, I don't understand exactly about customisation. As you say, i used centos7.4 and kernel version is |
Thank you for reply! yes, of course! |
|
syslog-ng got a permission denied error when opening /var/lib/syslog-ng
Check permissions of the directory.
…On Tue, Sep 8, 2020, 01:52 Paul Lee ***@***.***> wrote:
Hi,
I am having a similar issue with Ubuntu 18.04.4 when I install it from apt
install.
Any ideas?
Cheers
Paul
syslog-ng: Error setting capabilities, capability management disabled;
error='Operation not permitted'
[2020-09-08T11:35:54.213739] Unable to detect fully qualified hostname for
localhost, use_fqdn() will use the short hostname;
[2020-09-08T11:35:54.214592] Systemd is detected as the running init
system;
[2020-09-08T11:35:54.214901] Error opening control socket, bind() failed;
socket='/var/lib/syslog-ng/syslog-ng.ctl', error='Address already in use
(98)'
[2020-09-08T11:35:54.215312] Starting to read include file;
filename='/etc/syslog-ng/scl.conf', depth='1'
[2020-09-08T11:35:54.216211] Adding include file;
filename='/usr/share/syslog-ng/include/scl/apache/apache.conf', depth='2'
[2020-09-08T11:35:54.216236] Adding include file;
filename='/usr/share/syslog-ng/include/scl/cim/adapter.conf', depth='2'
[2020-09-08T11:35:54.216254] Adding include file;
filename='/usr/share/syslog-ng/include/scl/cim/template.conf', depth='2'
[2020-09-08T11:35:54.216271] Adding include file;
filename='/usr/share/syslog-ng/include/scl/cisco/plugin.conf', depth='2'
[2020-09-08T11:35:54.216289] Adding include file;
filename='/usr/share/syslog-ng/include/scl/default-network-drivers/plugin.conf',
depth='2'
[2020-09-08T11:35:54.216308] Adding include file;
filename='/usr/share/syslog-ng/include/scl/ewmm/ewmm.conf', depth='2'
[2020-09-08T11:35:54.216327] Adding include file;
filename='/usr/share/syslog-ng/include/scl/graphite/plugin.conf', depth='2'
[2020-09-08T11:35:54.216348] Adding include file;
filename='/usr/share/syslog-ng/include/scl/graylog2/plugin.conf', depth='2'
[2020-09-08T11:35:54.216366] Adding include file;
filename='/usr/share/syslog-ng/include/scl/iptables/iptables.conf',
depth='2'
[2020-09-08T11:35:54.216385] Adding include file;
filename='/usr/share/syslog-ng/include/scl/loadbalancer/plugin.conf',
depth='2'
[2020-09-08T11:35:54.216402] Adding include file;
filename='/usr/share/syslog-ng/include/scl/loggly/loggly.conf', depth='2'
[2020-09-08T11:35:54.216420] Adding include file;
filename='/usr/share/syslog-ng/include/scl/logmatic/logmatic.conf',
depth='2'
[2020-09-08T11:35:54.216437] Adding include file;
filename='/usr/share/syslog-ng/include/scl/mbox/mbox.conf', depth='2'
[2020-09-08T11:35:54.216454] Adding include file;
filename='/usr/share/syslog-ng/include/scl/nodejs/plugin.conf', depth='2'
[2020-09-08T11:35:54.216472] Adding include file;
filename='/usr/share/syslog-ng/include/scl/osquery/plugin.conf', depth='2'
[2020-09-08T11:35:54.216490] Adding include file;
filename='/usr/share/syslog-ng/include/scl/rewrite/cc-mask.conf', depth='2'
[2020-09-08T11:35:54.216507] Adding include file;
filename='/usr/share/syslog-ng/include/scl/snmptrap/snmptrapd-source.conf',
depth='2'
[2020-09-08T11:35:54.216525] Adding include file;
filename='/usr/share/syslog-ng/include/scl/solaris/plugin.conf', depth='2'
[2020-09-08T11:35:54.216542] Adding include file;
filename='/usr/share/syslog-ng/include/scl/sudo/sudo.conf', depth='2'
[2020-09-08T11:35:54.216560] Adding include file;
filename='/usr/share/syslog-ng/include/scl/syslogconf/plugin.conf',
depth='2'
[2020-09-08T11:35:54.216577] Adding include file;
filename='/usr/share/syslog-ng/include/scl/system/plugin.conf', depth='2'
[2020-09-08T11:35:54.216594] Adding include file;
filename='/usr/share/syslog-ng/include/scl/system/tty10.conf', depth='2'
[2020-09-08T11:35:54.216612] Adding include file;
filename='/usr/share/syslog-ng/include/scl/windowseventlog/plugin.conf',
depth='2'
[2020-09-08T11:35:54.216644] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/apache/apache.conf', depth='2'
[2020-09-08T11:35:54.228306] Registering candidate plugin;
module='tfgetent', context='template-func', name='getent'
[2020-09-08T11:35:54.228343] Registering candidate plugin;
module='json-plugin', context='parser', name='json-parser'
[2020-09-08T11:35:54.228348] Registering candidate plugin;
module='json-plugin', context='template-func', name='format_json'
[2020-09-08T11:35:54.228352] Registering candidate plugin;
module='geoip-plugin', context='parser', name='geoip'
[2020-09-08T11:35:54.228356] Registering candidate plugin;
module='geoip-plugin', context='template-func', name='geoip'
[2020-09-08T11:35:54.228361] Registering candidate plugin;
module='riemann', context='destination', name='riemann'
[2020-09-08T11:35:54.228366] Registering candidate plugin;
module='snmptrapd-parser', context='parser', name='snmptrapd-parser'
[2020-09-08T11:35:54.228370] Registering candidate plugin;
module='basicfuncs', context='template-func', name='grep'
[2020-09-08T11:35:54.228374] Registering candidate plugin;
module='basicfuncs', context='template-func', name='if'
[2020-09-08T11:35:54.228379] Registering candidate plugin;
module='basicfuncs', context='template-func', name='or'
[2020-09-08T11:35:54.228383] Registering candidate plugin;
module='basicfuncs', context='template-func', name='context-lookup'
[2020-09-08T11:35:54.228387] Registering candidate plugin;
module='basicfuncs', context='template-func', name='context-length'
[2020-09-08T11:35:54.228392] Registering candidate plugin;
module='basicfuncs', context='template-func', name='context-values'
[2020-09-08T11:35:54.228396] Registering candidate plugin;
module='basicfuncs', context='template-func', name='echo'
[2020-09-08T11:35:54.228400] Registering candidate plugin;
module='basicfuncs', context='template-func', name='length'
[2020-09-08T11:35:54.228403] Registering candidate plugin;
module='basicfuncs', context='template-func', name='substr'
[2020-09-08T11:35:54.228407] Registering candidate plugin;
module='basicfuncs', context='template-func', name='strip'
[2020-09-08T11:35:54.228411] Registering candidate plugin;
module='basicfuncs', context='template-func', name='sanitize'
[2020-09-08T11:35:54.228415] Registering candidate plugin;
module='basicfuncs', context='template-func', name='lowercase'
[2020-09-08T11:35:54.228419] Registering candidate plugin;
module='basicfuncs', context='template-func', name='uppercase'
[2020-09-08T11:35:54.228423] Registering candidate plugin;
module='basicfuncs', context='template-func', name='replace-delimiter'
[2020-09-08T11:35:54.228427] Registering candidate plugin;
module='basicfuncs', context='template-func', name='padding'
[2020-09-08T11:35:54.228431] Registering candidate plugin;
module='basicfuncs', context='template-func', name='binary'
[2020-09-08T11:35:54.228435] Registering candidate plugin;
module='basicfuncs', context='template-func', name='dirname'
[2020-09-08T11:35:54.228439] Registering candidate plugin;
module='basicfuncs', context='template-func', name='basename'
[2020-09-08T11:35:54.228442] Registering candidate plugin;
module='basicfuncs', context='template-func', name='list-concat'
[2020-09-08T11:35:54.228446] Registering candidate plugin;
module='basicfuncs', context='template-func', name='list-head'
[2020-09-08T11:35:54.228450] Registering candidate plugin;
module='basicfuncs', context='template-func', name='list-nth'
[2020-09-08T11:35:54.228455] Registering candidate plugin;
module='basicfuncs', context='template-func', name='list-tail'
[2020-09-08T11:35:54.228462] Registering candidate plugin;
module='basicfuncs', context='template-func', name='list-slice'
[2020-09-08T11:35:54.228466] Registering candidate plugin;
module='basicfuncs', context='template-func', name='list-count'
[2020-09-08T11:35:54.228470] Registering candidate plugin;
module='basicfuncs', context='template-func', name='list-append'
[2020-09-08T11:35:54.228474] Registering candidate plugin;
module='basicfuncs', context='template-func', name='+'
[2020-09-08T11:35:54.228478] Registering candidate plugin;
module='basicfuncs', context='template-func', name='-'
[2020-09-08T11:35:54.228481] Registering candidate plugin;
module='basicfuncs', context='template-func', name='*'
[2020-09-08T11:35:54.228492] Registering candidate plugin;
module='basicfuncs', context='template-func', name='/'
[2020-09-08T11:35:54.228495] Registering candidate plugin;
module='basicfuncs', context='template-func', name='%'
[2020-09-08T11:35:54.228497] Registering candidate plugin;
module='basicfuncs', context='template-func', name='sum'
[2020-09-08T11:35:54.228499] Registering candidate plugin;
module='basicfuncs', context='template-func', name='min'
[2020-09-08T11:35:54.228521] Registering candidate plugin;
module='basicfuncs', context='template-func', name='max'
[2020-09-08T11:35:54.228523] Registering candidate plugin;
module='basicfuncs', context='template-func', name='average'
[2020-09-08T11:35:54.228525] Registering candidate plugin;
module='basicfuncs', context='template-func', name='ipv4-to-int'
[2020-09-08T11:35:54.228554] Registering candidate plugin;
module='basicfuncs', context='template-func', name='indent-multi-line'
[2020-09-08T11:35:54.228558] Registering candidate plugin;
module='basicfuncs', context='template-func', name='env'
[2020-09-08T11:35:54.228561] Registering candidate plugin;
module='basicfuncs', context='template-func', name='template'
[2020-09-08T11:35:54.228564] Registering candidate plugin;
module='afprog', context='source', name='program'
[2020-09-08T11:35:54.228595] Registering candidate plugin;
module='afprog', context='destination', name='program'
[2020-09-08T11:35:54.228598] Registering candidate plugin;
module='affile', context='source', name='file'
[2020-09-08T11:35:54.228601] Registering candidate plugin;
module='affile', context='source', name='pipe'
[2020-09-08T11:35:54.228603] Registering candidate plugin;
module='affile', context='source', name='wildcard_file'
[2020-09-08T11:35:54.228606] Registering candidate plugin;
module='affile', context='source', name='stdin'
[2020-09-08T11:35:54.228609] Registering candidate plugin;
module='affile', context='destination', name='file'
[2020-09-08T11:35:54.228612] Registering candidate plugin;
module='affile', context='destination', name='pipe'
[2020-09-08T11:35:54.228617] Registering candidate plugin;
module='system-source', context='source', name='system'
[2020-09-08T11:35:54.228621] Registering candidate plugin;
module='tags-parser', context='parser', name='tags-parser'
[2020-09-08T11:35:54.228650] Registering candidate plugin;
module='appmodel', context='root', name='application'
[2020-09-08T11:35:54.228654] Registering candidate plugin;
module='appmodel', context='parser', name='app-parser'
[2020-09-08T11:35:54.228658] Registering candidate plugin;
module='csvparser', context='parser', name='csv-parser'
[2020-09-08T11:35:54.228662] Registering candidate plugin; module='redis',
context='destination', name='redis'
[2020-09-08T11:35:54.228666] Registering candidate plugin;
module='syslogformat', context='format', name='syslog'
[2020-09-08T11:35:54.228670] Registering candidate plugin;
module='syslogformat', context='parser', name='syslog-parser'
[2020-09-08T11:35:54.228674] Registering candidate plugin;
module='add-contextual-data', context='parser', name='add_contextual_data'
[2020-09-08T11:35:54.228678] Registering candidate plugin;
module='kvformat', context='parser', name='kv-parser'
[2020-09-08T11:35:54.228682] Registering candidate plugin;
module='kvformat', context='parser', name='linux-audit-parser'
[2020-09-08T11:35:54.228686] Registering candidate plugin;
module='kvformat', context='template-func', name='format-welf'
[2020-09-08T11:35:54.228690] Registering candidate plugin;
module='stardate', context='template-func', name='stardate'
[2020-09-08T11:35:54.228694] Registering candidate plugin;
module='graphite', context='template-func', name='graphite_output'
[2020-09-08T11:35:54.228698] Registering candidate plugin;
module='sdjournal', context='source', name='systemd-journal'
[2020-09-08T11:35:54.228702] Registering candidate plugin;
module='afuser', context='destination', name='usertty'
[2020-09-08T11:35:54.228706] Registering candidate plugin;
module='cryptofuncs', context='template-func', name='uuid'
[2020-09-08T11:35:54.228710] Registering candidate plugin;
module='cryptofuncs', context='template-func', name='hash'
[2020-09-08T11:35:54.228714] Registering candidate plugin;
module='cryptofuncs', context='template-func', name='sha1'
[2020-09-08T11:35:54.228718] Registering candidate plugin;
module='cryptofuncs', context='template-func', name='sha256'
[2020-09-08T11:35:54.228722] Registering candidate plugin;
module='cryptofuncs', context='template-func', name='sha512'
[2020-09-08T11:35:54.228726] Registering candidate plugin;
module='cryptofuncs', context='template-func', name='md4'
[2020-09-08T11:35:54.228730] Registering candidate plugin;
module='cryptofuncs', context='template-func', name='md5'
[2020-09-08T11:35:54.228750] Registering candidate plugin;
module='afsocket', context='source', name='unix-stream'
[2020-09-08T11:35:54.228754] Registering candidate plugin;
module='afsocket', context='destination', name='unix-stream'
[2020-09-08T11:35:54.228760] Registering candidate plugin;
module='afsocket', context='source', name='unix-dgram'
[2020-09-08T11:35:54.228764] Registering candidate plugin;
module='afsocket', context='destination', name='unix-dgram'
[2020-09-08T11:35:54.228769] Registering candidate plugin;
module='afsocket', context='source', name='tcp'
[2020-09-08T11:35:54.228772] Registering candidate plugin;
module='afsocket', context='destination', name='tcp'
[2020-09-08T11:35:54.228776] Registering candidate plugin;
module='afsocket', context='source', name='tcp6'
[2020-09-08T11:35:54.228780] Registering candidate plugin;
module='afsocket', context='destination', name='tcp6'
[2020-09-08T11:35:54.228784] Registering candidate plugin;
module='afsocket', context='source', name='udp'
[2020-09-08T11:35:54.228788] Registering candidate plugin;
module='afsocket', context='destination', name='udp'
[2020-09-08T11:35:54.228792] Registering candidate plugin;
module='afsocket', context='source', name='udp6'
[2020-09-08T11:35:54.228796] Registering candidate plugin;
module='afsocket', context='destination', name='udp6'
[2020-09-08T11:35:54.228800] Registering candidate plugin;
module='afsocket', context='source', name='syslog'
[2020-09-08T11:35:54.228805] Registering candidate plugin;
module='afsocket', context='destination', name='syslog'
[2020-09-08T11:35:54.228809] Registering candidate plugin;
module='afsocket', context='source', name='network'
[2020-09-08T11:35:54.228813] Registering candidate plugin;
module='afsocket', context='destination', name='network'
[2020-09-08T11:35:54.228817] Registering candidate plugin;
module='afsocket', context='source', name='systemd-syslog'
[2020-09-08T11:35:54.228820] Registering candidate plugin;
module='afamqp', context='destination', name='amqp'
[2020-09-08T11:35:54.228824] Registering candidate plugin;
module='disk-buffer', context='inner-dest', name='disk_buffer'
[2020-09-08T11:35:54.228829] Registering candidate plugin; module='cef',
context='template-func', name='format-cef-extension'
[2020-09-08T11:35:54.228833] Registering candidate plugin;
module='afstomp', context='destination', name='stomp'
[2020-09-08T11:35:54.228836] Registering candidate plugin; module='date',
context='parser', name='date-parser'
[2020-09-08T11:35:54.228841] Registering candidate plugin;
module='map-value-pairs', context='parser', name='map_value_pairs'
[2020-09-08T11:35:54.228844] Registering candidate plugin; module='afsql',
context='destination', name='sql'
[2020-09-08T11:35:54.228848] Registering candidate plugin;
module='afsmtp', context='destination', name='smtp'
[2020-09-08T11:35:54.228852] Registering candidate plugin; module='xml',
context='parser', name='xml'
[2020-09-08T11:35:54.228856] Registering candidate plugin;
module='mod-python', context='destination', name='python'
[2020-09-08T11:35:54.228860] Registering candidate plugin;
module='mod-python', context='root', name='python'
[2020-09-08T11:35:54.228864] Registering candidate plugin;
module='mod-python', context='parser', name='python'
[2020-09-08T11:35:54.228868] Registering candidate plugin;
module='mod-python', context='template-func', name='python'
[2020-09-08T11:35:54.228872] Registering candidate plugin;
module='afmongodb', context='destination', name='mongodb'
[2020-09-08T11:35:54.228876] Registering candidate plugin;
module='linux-kmsg-format', context='format', name='linux-kmsg'
[2020-09-08T11:35:54.228880] Registering candidate plugin;
module='dbparser', context='parser', name='db-parser'
[2020-09-08T11:35:54.228884] Registering candidate plugin;
module='dbparser', context='parser', name='grouping-by'
[2020-09-08T11:35:54.228890] Registering candidate plugin;
module='pseudofile', context='destination', name='pseudofile'
[2020-09-08T11:35:54.228949] Finishing include;
filename='/usr/share/syslog-ng/include/scl/apache/apache.conf', depth='2'
[2020-09-08T11:35:54.228962] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/cim/adapter.conf', depth='2'
[2020-09-08T11:35:54.229066] Module loaded and initialized successfully;
module='appmodel'
[2020-09-08T11:35:54.229092] Finishing include;
filename='/usr/share/syslog-ng/include/scl/cim/adapter.conf', depth='2'
[2020-09-08T11:35:54.229100] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/cim/template.conf', depth='2'
[2020-09-08T11:35:54.229237] Module loaded and initialized successfully;
module='json-plugin'
[2020-09-08T11:35:54.229322] Finishing include;
filename='/usr/share/syslog-ng/include/scl/cim/template.conf', depth='2'
[2020-09-08T11:35:54.229332] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/cisco/plugin.conf', depth='2'
[2020-09-08T11:35:54.229435] Finishing include;
filename='/usr/share/syslog-ng/include/scl/cisco/plugin.conf', depth='2'
[2020-09-08T11:35:54.229444] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/default-network-drivers/plugin.conf',
depth='2'
[2020-09-08T11:35:54.229501] Finishing include;
filename='/usr/share/syslog-ng/include/scl/default-network-drivers/plugin.conf',
depth='2'
[2020-09-08T11:35:54.229509] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/ewmm/ewmm.conf', depth='2'
[2020-09-08T11:35:54.229709] Finishing include;
filename='/usr/share/syslog-ng/include/scl/ewmm/ewmm.conf', depth='2'
[2020-09-08T11:35:54.229718] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/graphite/plugin.conf', depth='2'
[2020-09-08T11:35:54.229759] Finishing include;
filename='/usr/share/syslog-ng/include/scl/graphite/plugin.conf', depth='2'
[2020-09-08T11:35:54.229766] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/graylog2/plugin.conf', depth='2'
[2020-09-08T11:35:54.229901] Module loaded and initialized successfully;
module='basicfuncs'
[2020-09-08T11:35:54.229926] Finishing include;
filename='/usr/share/syslog-ng/include/scl/graylog2/plugin.conf', depth='2'
[2020-09-08T11:35:54.229934] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/iptables/iptables.conf',
depth='2'
[2020-09-08T11:35:54.229982] Finishing include;
filename='/usr/share/syslog-ng/include/scl/iptables/iptables.conf',
depth='2'
[2020-09-08T11:35:54.229990] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/loadbalancer/plugin.conf',
depth='2'
[2020-09-08T11:35:54.230083] Module loaded and initialized successfully;
module='confgen'
[2020-09-08T11:35:54.230102] Finishing include;
filename='/usr/share/syslog-ng/include/scl/loadbalancer/plugin.conf',
depth='2'
[2020-09-08T11:35:54.230111] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/loggly/loggly.conf', depth='2'
[2020-09-08T11:35:54.230169] Finishing include;
filename='/usr/share/syslog-ng/include/scl/loggly/loggly.conf', depth='2'
[2020-09-08T11:35:54.230177] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/logmatic/logmatic.conf',
depth='2'
[2020-09-08T11:35:54.230229] Finishing include;
filename='/usr/share/syslog-ng/include/scl/logmatic/logmatic.conf',
depth='2'
[2020-09-08T11:35:54.230237] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/mbox/mbox.conf', depth='2'
[2020-09-08T11:35:54.230267] Finishing include;
filename='/usr/share/syslog-ng/include/scl/mbox/mbox.conf', depth='2'
[2020-09-08T11:35:54.230273] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/nodejs/plugin.conf', depth='2'
[2020-09-08T11:35:54.230309] Finishing include;
filename='/usr/share/syslog-ng/include/scl/nodejs/plugin.conf', depth='2'
[2020-09-08T11:35:54.230316] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/osquery/plugin.conf', depth='2'
[2020-09-08T11:35:54.230378] Finishing include;
filename='/usr/share/syslog-ng/include/scl/osquery/plugin.conf', depth='2'
[2020-09-08T11:35:54.230385] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/rewrite/cc-mask.conf', depth='2'
[2020-09-08T11:35:54.230431] Global value changed;
define='balabit.credit-card-regexp',
value='(:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35d{3})d{11})'
[2020-09-08T11:35:54.230458] Finishing include;
filename='/usr/share/syslog-ng/include/scl/rewrite/cc-mask.conf', depth='2'
[2020-09-08T11:35:54.230465] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/snmptrap/snmptrapd-source.conf',
depth='2'
[2020-09-08T11:35:54.230504] Finishing include;
filename='/usr/share/syslog-ng/include/scl/snmptrap/snmptrapd-source.conf',
depth='2'
[2020-09-08T11:35:54.230511] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/solaris/plugin.conf', depth='2'
[2020-09-08T11:35:54.230546] Finishing include;
filename='/usr/share/syslog-ng/include/scl/solaris/plugin.conf', depth='2'
[2020-09-08T11:35:54.230553] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/sudo/sudo.conf', depth='2'
[2020-09-08T11:35:54.230598] Finishing include;
filename='/usr/share/syslog-ng/include/scl/sudo/sudo.conf', depth='2'
[2020-09-08T11:35:54.230605] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/syslogconf/plugin.conf',
depth='2'
[2020-09-08T11:35:54.230651] Module loaded and initialized successfully;
module='confgen'
[2020-09-08T11:35:54.230664] Finishing include;
filename='/usr/share/syslog-ng/include/scl/syslogconf/plugin.conf',
depth='2'
[2020-09-08T11:35:54.230674] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/system/plugin.conf', depth='2'
[2020-09-08T11:35:54.230766] Finishing include;
filename='/usr/share/syslog-ng/include/scl/system/plugin.conf', depth='2'
[2020-09-08T11:35:54.230772] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/system/tty10.conf', depth='2'
[2020-09-08T11:35:54.230780] Global value changed; define='tty10',
value='/dev/tty10'
[2020-09-08T11:35:54.230816] Finishing include;
filename='/usr/share/syslog-ng/include/scl/system/tty10.conf', depth='2'
[2020-09-08T11:35:54.230840] Starting to read include file;
filename='/usr/share/syslog-ng/include/scl/windowseventlog/plugin.conf',
depth='2'
[2020-09-08T11:35:54.230903] Finishing include;
filename='/usr/share/syslog-ng/include/scl/windowseventlog/plugin.conf',
depth='2'
[2020-09-08T11:35:54.230909] Finishing include;
filename='/etc/syslog-ng/scl.conf', depth='1'
[2020-09-08T11:35:54.231232] Module loaded and initialized successfully;
module='system-source'
[2020-09-08T11:35:54.231304] Module loaded and initialized successfully;
module='sdjournal'
[2020-09-08T11:35:54.231350] Finishing include; content='parser generator
app-parser', depth='2'
[2020-09-08T11:35:54.231508] Module loaded and initialized successfully;
module='kvformat'
[2020-09-08T11:35:54.231521] Finishing include; content='parser generator
iptables-parser', depth='3'
[2020-09-08T11:35:54.231668] Module loaded and initialized successfully;
module='csvparser'
[2020-09-08T11:35:54.231708] Finishing include; content='parser generator
sudo-parser', depth='3'
[2020-09-08T11:35:54.231725] Finishing include; content='parser generator
app-parser', depth='2'
[2020-09-08T11:35:54.231743] Finishing include; content='source generator
system', depth='1'
[2020-09-08T11:35:54.231843] Module loaded and initialized successfully;
module='affile'
[2020-09-08T11:35:54.232093] Module loaded and initialized successfully;
module='afuser'
[2020-09-08T11:35:54.232343] Module loaded and initialized successfully;
module='afsocket'
[2020-09-08T11:35:54.233279] Error creating persistent state file;
filename='/var/lib/syslog-ng/syslog-ng.persist-', error='Permission denied
(13)'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3402 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFOK5QUD7RJ4W6RWIJ3JXLSEVW5NANCNFSM4QLOMAUA>
.
|
|
Hi @DAEWOONPARK Did you manage to fix the permission error? I'm a bit confused about the last comments, sorry. :) |
Hi! |
|
Can you show us the latest |
Yes, and i used this command: |
|
Hi, I've quickly setup a vagrant environment with centos7 v1803.1 (centos 7.4). Only after this I've stopped the system-default syslog service rsyslog ( After restarting syslog-ng Based on the service file (mine is the same as your first version, WITHOUT --no-caps), syslog-ng doesn't send it's internal logs to journal. I've recently setup a mariadb server on this VM, configured syslog-ng, and I can successfully reproduce this issue. |
|
Okay, the culprit is SELinux, it's not about sql() destination. The problem is still with the network sources. You can check if SELinux is enabled (by default it is) with If you would like to configure SELinux policies, we made a blog post for tutorial, with reference to detailed documentations: |
|
Awesome! I need to look into the SELinux policies by reffering to the link you gave me. |
sourcessource s_local { source s_snet { source s_snet_tcp { destination d_messages { filter error_filter { log { log { log { Job for syslog-ng.service failed because the control process exited with error code. What should i do im gettinng this error |
|
@thiva-12 |
hi!
# syslog-ng -sis not a problem, but the service cannot be started...what should i do?
for your information,
if i remove this part in the
syslog-ng.conffile,it works well.
syslog-ng
Version of syslog-ng
Platform
CentOS Linux release 7.4.1708 (Core)
Debug bundle
Issue
Failure
and
Steps to reproduce
Configuration
The text was updated successfully, but these errors were encountered: