LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-25-2013, 01:03 PM   #1
lce411
Member
 
Registered: Jul 2012
Posts: 50

Rep: Reputation: Disabled
syslog-ng service restart error


I upgraded syslog-ng from an rpm from the Balabit website that I got sometime back. When I restarted the service I got the following error:

Error resolving user; user='root'
Error resolving group; group='root'

It then proceeds to restart. I do not get this error when I do stop/start. The config file seems to check out (I compared with a working system running a slightly older version (4.0.1)). /etc/passwd and group both have 'root' entries in them. My support account with Balabit has lapsed, which is why I'm asking about this here. Does anyone have any suggestions?

This syslog-ng PE 4.2.3, running on RHEL 5.6
 
Old 06-26-2013, 04:13 AM   #2
algernone
LQ Newbie
 
Registered: Jun 2013
Location: Budapest, Hungary
Distribution: Debian
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by lce411 View Post
I upgraded syslog-ng from an rpm from the Balabit website that I got sometime back. When I restarted the service I got the following error:

Error resolving user; user='root'
Error resolving group; group='root'

It then proceeds to restart. I do not get this error when I do stop/start. The config file seems to check out (I compared with a working system running a slightly older version (4.0.1)). /etc/passwd and group both have 'root' entries in them. My support account with Balabit has lapsed, which is why I'm asking about this here. Does anyone have any suggestions?

This syslog-ng PE 4.2.3, running on RHEL 5.6
This usually happens when you're using a name service switch config (see nsswitch.conf(5) for more info) that does not use /etc/passwd (like, if you're using ldap or something similar). The following in the shell should help determine if this is the problem:

Code:
getent passwd root
getent group root
By the way, if you extend you support contract with BalaBit, we can help you better and faster with any kind of question, or issue you may have!

Regards,
Gergely Nagy, on behalf of BalaBit support
 
Old 06-26-2013, 12:01 PM   #3
lce411
Member
 
Registered: Jul 2012
Posts: 50

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by algernone View Post
This usually happens when you're using a name service switch config (see nsswitch.conf(5) for more info) that does not use /etc/passwd (like, if you're using ldap or something similar). The following in the shell should help determine if this is the problem:

Code:
getent passwd root
getent group root
By the way, if you extend you support contract with BalaBit, we can help you better and faster with any kind of question, or issue you may have!

Regards,
Gergely Nagy, on behalf of BalaBit support
We do have LDAP configured in the environment and those commands returned this:

[root@cde-dns1 ~]# getent passwd root
root:x:0:0:root:/root:/bin/bash
[root@cde-dns1 ~]# getent group root
root:x:0:root

Passwd, shadow and group, in nsswitch, are all set to: files ldap. And services are set to: files. Is there something in the syslog-ng.conf file that needs to be changed, since we are using LDAP?

Also, I have requested my access back to BOSS, but I don't know if my manager has contacted Balabit.

Last edited by lce411; 06-26-2013 at 01:06 PM.
 
  


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
[SOLVED] Syslog-ng,error when starts service pantdk Linux - Server 8 12-02-2011 03:22 AM
error in linux when restart network service chuikingman Linux - Server 1 06-20-2011 04:59 AM
How do I set the regulatory daemon to restart when I restart the network service? zahadumy Linux - Networking 0 11-05-2006 11:24 AM
proxy server giving an error while service restart srnerkar1 Linux - Networking 9 12-30-2005 11:41 PM
Normal User to restart syslog server lier74ok Linux - Security 2 05-12-2005 12:23 AM


All times are GMT -5. The time now is 09:49 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration