use "man rsyslogd" for details. To run rsyslog interactively, use "rsyslogd -n"to run it in debug mo

zjtest7-frontend:/root# service rsyslog start
Starting system logger: usage: rsyslogd [options]
use "man rsyslogd" for details. To run rsyslog interactively, use "rsyslogd -n"to run it in debug mode use "rsyslogd -dn"
For further information see http://www.rsyslog.com/doc
                                                           [FAILED]
zjtest7-frontend:/root# rsyslogd -v
rsyslogd 8.21.0, compiled with:
	PLATFORM:				x86_64-redhat-linux-gnu
	PLATFORM (lsb_release -d):		
	FEATURE_REGEXP:				Yes
	GSSAPI Kerberos 5 support:		No
	FEATURE_DEBUG (debug build, slow code):	No
	32bit Atomic operations supported:	Yes
	64bit Atomic operations supported:	Yes
	memory allocator:			system default
	Runtime Instrumentation (slow code):	No
	uuid support:				Yes
	Number of Bits in RainerScript integers: 64

See http://www.rsyslog.com for more information.


zjtest7-frontend:/etc/rsyslog.d# which rsyslogd
/sbin/rsyslogd
zjtest7-frontend:/etc/rsyslog.d# cd /usr/sbin/
zjtest7-frontend:/usr/sbin# ls -ltr *rsyslog*
-rwxr-xr-x 1 root root 2741283 Aug  4 15:27 rsyslogd

原因有两个rsyslogd

转载于:https://www.cnblogs.com/zhaoyangjian724/p/6199158.html

你可能感兴趣的:(use "man rsyslogd" for details. To run rsyslog interactively, use "rsyslogd -n"to run it in debug mo)