LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-21-2016, 05:03 PM   #1
fanoflq
Member
 
Registered: Nov 2015
Posts: 235

Rep: Reputation: Disabled
rsyslogd : unable to start daemon


Quote:
[root@localhost ~]# systemctl status rsyslogd
● rsyslogd.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
[root@localhost ~]# which rsyslogd
/sbin/rsyslogd
[root@localhost ~]# systemctl restart rsyslogd
Failed to restart rsyslogd.service: Unit rsyslogd.service failed to load: No such file or directory.
[root@localhost ~]# systemctl restart $(which rsyslogd)
Failed to restart sbin-rsyslogd.mount: Unit sbin-rsyslogd.mount failed to load: No such file or directory.
Why?
Thank you.

Last edited by fanoflq; 07-21-2016 at 05:06 PM.
 
Old 07-22-2016, 09:58 AM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Start your service by hand and you will [hopefully] get more verbose error messages.
 
Old 07-22-2016, 11:39 AM   #3
fanoflq
Member
 
Registered: Nov 2015
Posts: 235

Original Poster
Rep: Reputation: Disabled
@Emerson:
Quote:
Start your service by hand and you will [hopefully] get more verbose error messages.
Not sure what you mean.
I thought command line is starting by hand.... :-)
Please advice.
 
Old 07-22-2016, 12:47 PM   #4
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Below is the command I'd use to start my syslog by hand. There is a configuration file with options. You do not see them when you use systemctl script.
Code:
/usr/sbin/syslog-ng --persist-file /var/lib/syslog-ng/syslog-ng.persist --cfgfile /etc/syslog-ng/syslog-ng.conf --pidfile /run/syslog-ng.pid
 
1 members found this post helpful.
Old 07-22-2016, 04:16 PM   #5
fanoflq
Member
 
Registered: Nov 2015
Posts: 235

Original Poster
Rep: Reputation: Disabled
@Emerson:

Thank you.
This is the first time I have heard of syslog-ng,
but then I am a newbie.....
I will look into.
Is rsyslog deprecated?

>> "systemd - no"
Can you explain its meaning?

Last edited by fanoflq; 07-22-2016 at 04:17 PM.
 
Old 07-22-2016, 04:42 PM   #6
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
There are several applications providing logging, the choice is yours.

My footnote means I do not like systemd and I do not use systemd.
 
Old 07-22-2016, 05:56 PM   #7
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,158
Blog Entries: 10

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
Quote:
Originally Posted by fanoflq View Post
I thought command line is starting by hand
Just admit you don't know how.
 
Old 07-22-2016, 06:07 PM   #8
Doug G
Member
 
Registered: Jul 2013
Posts: 593

Rep: Reputation: Disabled
Make sure rsyslog is installed on your distribution, on some Fedora versions it wasn't installed as part of the initial installation.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What happens to the new syslog messages when rsyslogd daemon is stopped? neo3matrix Linux - Software 1 08-11-2015 07:16 PM
unable to start sshd daemon due libcrypto issue gulab614 Linux - Networking 17 12-13-2014 04:35 AM
rsyslogd crashes while running as rsyslogd(rsyslogd -M /lib/rsyslog running well) vipul prajapati Linux - Server 1 03-22-2014 04:02 AM
iptables unable to log to rsyslogd BlackHawk Linux - Software 13 05-19-2011 05:26 AM
Rsyslogd start problem parmeshwer Linux - Software 1 02-03-2010 04:58 PM


All times are GMT -5. The time now is 10:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration