Problems here are: 1.
Failed to start rsyslogd.service
ls: cannot access '/dev/log': No such file or directory
ls -l /var/logmost log file's size is 0
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeStack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
Explore Stack InternalProblems here are: 1.
Failed to start rsyslogd.service
ls: cannot access '/dev/log': No such file or directory
ls -l /var/log most log file's size is 0Problems here are: 1.
Failed to start rsyslogd.service
ls: cannot access '/dev/log': No such file or directory
ls -l /var/log most log file's size is 0UPDATE:
# service rsyslog stop # sudo rsyslogd -dn It throw out too much message,below is the bottom part.
n 'action 10' suspended, next retry is Fri Jul 28 15:53:12 2017 [v8.16.0 try 8362.328566192:main Q:Reg/w0 : strm 0x7fcba0002ce0: file 5(syslog) flush, buflen 316 8362.328570816:main Q:Reg/w0 : strmPhysWrite, stream 0x7fcba0002ce0, len 316 8362.328586444:main Q:Reg/w0 : strm 0x7fcba0002ce0: file 5 write wrote 316 bytes 8362.328589679:main Q:Reg/w0 : Action 2 transitioned to state: rdy 8362.328591806:main Q:Reg/w0 : Action 2 transitioned to state: itx 8362.328593516:main Q:Reg/w0 : Action 2 transitioned to state: rdy 8362.328598004:main Q:Reg/w0 : actionCommit, in retry loop, iRet 0 8362.328601175:main Q:Reg/w0 : actionCommitAll: action 10, state 4, nbr to commit 0 isTransactional 0 8362.328605534:main Q:Reg/w0 : processBATCH: batch of 2 elements has been processed 8362.328609132:main Q:Reg/w0 : regular consumer finished, iret=0, szlog 0 sz phys 2 8362.328614785:main Q:Reg/w0 : DeleteProcessedBatch: we deleted 2 objects and enqueued 0 objects 8362.328619497:main Q:Reg/w0 : doDeleteBatch: delete batch from store, new sizes: log 0, phys 0 8362.328622914:main Q:Reg/w0 : regular consumer finished, iret=4, szlog 0 sz phys 0 8362.328627150:main Q:Reg/w0 : main Q:Reg/w0: worker IDLE, waiting for work.
after press ctrl+c it throw another part,here it's the bottom part.
refcount of 1 8298.063855209:main thread : Unloading module builtin:smtradfile 8298.063859789:main thread : module lmnet NOT unloaded because it still has a refcount of 1 8298.063864036:main thread : Unloading module builtin:smfwd 8298.063867569:main thread : module lmnet NOT unloaded because it still has a refcount of 1 8298.063871954:main thread : Unloading module builtin:smtradfwd 8298.063877149:main thread : module lmnet NOT unloaded because it still has a refcount of 1 8298.063882664:main thread : Unloading module imuxsock 8298.063919486:main thread : module lmnet NOT unloaded because it still has a refcount of 1 8298.063930573:main thread : Unloading module imklog 8298.063947001:main thread : module lmnet NOT unloaded because it still has a refcount of 1 8298.063954221:main thread : file conf.c released module 'lmnet', reference count now 0 8298.063959456:main thread : module 'lmnet' has zero reference count, unloading... 8298.063961230:main thread : Unloading module lmnet 8298.063984987:main thread : rsyslog runtime de-initialized, current users 0 8298.063995081:main thread : Clean shutdown completed, bye
UPDATE:
# service rsyslog stop # sudo rsyslogd -dn It throw out too much message,below is the bottom part.
n 'action 10' suspended, next retry is Fri Jul 28 15:53:12 2017 [v8.16.0 try 8362.328566192:main Q:Reg/w0 : strm 0x7fcba0002ce0: file 5(syslog) flush, buflen 316 8362.328570816:main Q:Reg/w0 : strmPhysWrite, stream 0x7fcba0002ce0, len 316 8362.328586444:main Q:Reg/w0 : strm 0x7fcba0002ce0: file 5 write wrote 316 bytes 8362.328589679:main Q:Reg/w0 : Action 2 transitioned to state: rdy 8362.328591806:main Q:Reg/w0 : Action 2 transitioned to state: itx 8362.328593516:main Q:Reg/w0 : Action 2 transitioned to state: rdy 8362.328598004:main Q:Reg/w0 : actionCommit, in retry loop, iRet 0 8362.328601175:main Q:Reg/w0 : actionCommitAll: action 10, state 4, nbr to commit 0 isTransactional 0 8362.328605534:main Q:Reg/w0 : processBATCH: batch of 2 elements has been processed 8362.328609132:main Q:Reg/w0 : regular consumer finished, iret=0, szlog 0 sz phys 2 8362.328614785:main Q:Reg/w0 : DeleteProcessedBatch: we deleted 2 objects and enqueued 0 objects 8362.328619497:main Q:Reg/w0 : doDeleteBatch: delete batch from store, new sizes: log 0, phys 0 8362.328622914:main Q:Reg/w0 : regular consumer finished, iret=4, szlog 0 sz phys 0 8362.328627150:main Q:Reg/w0 : main Q:Reg/w0: worker IDLE, waiting for work.
after press ctrl+c it throw another part,here it's the bottom part.
refcount of 1 8298.063855209:main thread : Unloading module builtin:smtradfile 8298.063859789:main thread : module lmnet NOT unloaded because it still has a refcount of 1 8298.063864036:main thread : Unloading module builtin:smfwd 8298.063867569:main thread : module lmnet NOT unloaded because it still has a refcount of 1 8298.063871954:main thread : Unloading module builtin:smtradfwd 8298.063877149:main thread : module lmnet NOT unloaded because it still has a refcount of 1 8298.063882664:main thread : Unloading module imuxsock 8298.063919486:main thread : module lmnet NOT unloaded because it still has a refcount of 1 8298.063930573:main thread : Unloading module imklog 8298.063947001:main thread : module lmnet NOT unloaded because it still has a refcount of 1 8298.063954221:main thread : file conf.c released module 'lmnet', reference count now 0 8298.063959456:main thread : module 'lmnet' has zero reference count, unloading... 8298.063961230:main thread : Unloading module lmnet 8298.063984987:main thread : rsyslog runtime de-initialized, current users 0 8298.063995081:main thread : Clean shutdown completed, bye
UPDATE:
# service rsyslog stop # sudo rsyslogd -dn It throw out too much message,below is the bottom part.
n 'action 10' suspended, next retry is Fri Jul 28 15:53:12 2017 [v8.16.0 try 8362.328566192:main Q:Reg/w0 : strm 0x7fcba0002ce0: file 5(syslog) flush, buflen 316 8362.328570816:main Q:Reg/w0 : strmPhysWrite, stream 0x7fcba0002ce0, len 316 8362.328586444:main Q:Reg/w0 : strm 0x7fcba0002ce0: file 5 write wrote 316 bytes 8362.328589679:main Q:Reg/w0 : Action 2 transitioned to state: rdy 8362.328591806:main Q:Reg/w0 : Action 2 transitioned to state: itx 8362.328593516:main Q:Reg/w0 : Action 2 transitioned to state: rdy 8362.328598004:main Q:Reg/w0 : actionCommit, in retry loop, iRet 0 8362.328601175:main Q:Reg/w0 : actionCommitAll: action 10, state 4, nbr to commit 0 isTransactional 0 8362.328605534:main Q:Reg/w0 : processBATCH: batch of 2 elements has been processed 8362.328609132:main Q:Reg/w0 : regular consumer finished, iret=0, szlog 0 sz phys 2 8362.328614785:main Q:Reg/w0 : DeleteProcessedBatch: we deleted 2 objects and enqueued 0 objects 8362.328619497:main Q:Reg/w0 : doDeleteBatch: delete batch from store, new sizes: log 0, phys 0 8362.328622914:main Q:Reg/w0 : regular consumer finished, iret=4, szlog 0 sz phys 0 8362.328627150:main Q:Reg/w0 : main Q:Reg/w0: worker IDLE, waiting for work.
after press ctrl+c it throw another part,here it's the bottom part.
refcount of 1 8298.063855209:main thread : Unloading module builtin:smtradfile 8298.063859789:main thread : module lmnet NOT unloaded because it still has a refcount of 1 8298.063864036:main thread : Unloading module builtin:smfwd 8298.063867569:main thread : module lmnet NOT unloaded because it still has a refcount of 1 8298.063871954:main thread : Unloading module builtin:smtradfwd 8298.063877149:main thread : module lmnet NOT unloaded because it still has a refcount of 1 8298.063882664:main thread : Unloading module imuxsock 8298.063919486:main thread : module lmnet NOT unloaded because it still has a refcount of 1 8298.063930573:main thread : Unloading module imklog 8298.063947001:main thread : module lmnet NOT unloaded because it still has a refcount of 1 8298.063954221:main thread : file conf.c released module 'lmnet', reference count now 0 8298.063959456:main thread : module 'lmnet' has zero reference count, unloading... 8298.063961230:main thread : Unloading module lmnet 8298.063984987:main thread : rsyslog runtime de-initialized, current users 0 8298.063995081:main thread : Clean shutdown completed, bye
UPDATE:
# service rsyslog stop # sudo rsyslogd -dn It throw out too much message,below is the bottom part.
n 'action 10' suspended, next retry is Fri Jul 28 15:53:12 2017 [v8.16.0 try 8362.328566192:main Q:Reg/w0 : strm 0x7fcba0002ce0: file 5(syslog) flush, buflen 316 8362.328570816:main Q:Reg/w0 : strmPhysWrite, stream 0x7fcba0002ce0, len 316 8362.328586444:main Q:Reg/w0 : strm 0x7fcba0002ce0: file 5 write wrote 316 bytes 8362.328589679:main Q:Reg/w0 : Action 2 transitioned to state: rdy 8362.328591806:main Q:Reg/w0 : Action 2 transitioned to state: itx 8362.328593516:main Q:Reg/w0 : Action 2 transitioned to state: rdy 8362.328598004:main Q:Reg/w0 : actionCommit, in retry loop, iRet 0 8362.328601175:main Q:Reg/w0 : actionCommitAll: action 10, state 4, nbr to commit 0 isTransactional 0 8362.328605534:main Q:Reg/w0 : processBATCH: batch of 2 elements has been processed 8362.328609132:main Q:Reg/w0 : regular consumer finished, iret=0, szlog 0 sz phys 2 8362.328614785:main Q:Reg/w0 : DeleteProcessedBatch: we deleted 2 objects and enqueued 0 objects 8362.328619497:main Q:Reg/w0 : doDeleteBatch: delete batch from store, new sizes: log 0, phys 0 8362.328622914:main Q:Reg/w0 : regular consumer finished, iret=4, szlog 0 sz phys 0 8362.328627150:main Q:Reg/w0 : main Q:Reg/w0: worker IDLE, waiting for work.
after press ctrl+c it throw another part,here it's the bottom part.
refcount of 1 8298.063855209:main thread : Unloading module builtin:smtradfile 8298.063859789:main thread : module lmnet NOT unloaded because it still has a refcount of 1 8298.063864036:main thread : Unloading module builtin:smfwd 8298.063867569:main thread : module lmnet NOT unloaded because it still has a refcount of 1 8298.063871954:main thread : Unloading module builtin:smtradfwd 8298.063877149:main thread : module lmnet NOT unloaded because it still has a refcount of 1 8298.063882664:main thread : Unloading module imuxsock 8298.063919486:main thread : module lmnet NOT unloaded because it still has a refcount of 1 8298.063930573:main thread : Unloading module imklog 8298.063947001:main thread : module lmnet NOT unloaded because it still has a refcount of 1 8298.063954221:main thread : file conf.c released module 'lmnet', reference count now 0 8298.063959456:main thread : module 'lmnet' has zero reference count, unloading... 8298.063961230:main thread : Unloading module lmnet 8298.063984987:main thread : rsyslog runtime de-initialized, current users 0 8298.063995081:main thread : Clean shutdown completed, bye