Restarting syslog-ng

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
# 1  
Restarting syslog-ng

Environment: SUSE 10.3

I made a configuration change in '/etc/syslog-ng/syslog-ng.conf' file in a server.

An article found on web says "After the change '/etc/init.d/syslog-ng' should be restarted". But there is no 'syslog-ng' in /etc/init.d directory.

What is syslog-ng or a different I should restart to make this change effective?

# 2  
/etc/init.d/syslog is common to syslog and its alternatives syslog-ng and rsyslog
# 3  
When I ran this restart command I got below messages. Is this normal or something wrong?

# /etc/init.d/syslog restart
Shutting down syslog services
Starting syslog servicesError resolving user; user=’news’
Error resolving user; user=’news’
Error resolving user; user=’news’
# 4  
If the syslog-ng process is running then it has worked, and you can ignore this message.

If you want to get rid of the message, add a user "news" as follows:
useradd -c "News system" -d /etc/news -g 13 -u 9 -s /bin/bash news

Alternatively you can comment the "news" lines in /etc/syslog-ng/syslog-ng.conf.
This User Gave Thanks to MadeInGermany For This Post:
# 5  
useradd -c "News system" -d /etc/news -g 13 -u 9 -s /bin/bash news
I'd like to add a user 'news'. My question is what could be "News system"?
Is it a server name or ip address?

Could you explain more?

I appreciate your taking time to answer my questions.

---------- Post updated at 01:15 PM ---------- Previous update was at 12:45 PM ----------

Never mind.
The command MadeInGermany worked.

Thank you
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need help in restarting process

Hi friends, I have one unix command which is used to check the network status manually. followig is the command check_Network this command give follwoing status Network 1 is ok Network 2 is ok network 3 is ok network 4 is ok . . . . Network 10 is... (8 Replies)
Discussion started by: Nakul_sh
8 Replies

2. UNIX for Dummies Questions & Answers

Restarting a putty session

Hi, Is there any way to refresh the session(for the profile file changes get reflect) in putty? I am tired of closing reopening putty. Thanks, Pandeeesh CTRL + Q to Enable/Disable (4 Replies)
Discussion started by: pandeesh
4 Replies

3. UNIX for Dummies Questions & Answers

Restarting a process

Hi, How is it possible to restart only your process. I can get the process killed but I am not able to start it. For eg : i first did this ps -ef|grep _out --displays all the process with _out in the name then I killed kill -15 36044 -- process id. Now how can i start the same... (1 Reply)
Discussion started by: TH3M0Nk
1 Replies

4. Programming

Restarting the program

Hi, I use gfortran to run the code. Some times I need to stop the program and restart it. On restarting I need to run the program from the beginning. Is there any script or option available to restart the program from where it stopped? This script/option will be immensely useful for... (2 Replies)
Discussion started by: rpd25
2 Replies

5. Solaris

Restarting syslogd on Unix

Hi All, I can seem to find the syslog daemon in the /etc/init.d/ dir. i have made change to the syslog.conf i need to restart the daemon. am using solaris 10. i have no problem on version 9 Anyone with a template i can use for log review for auditing purposes. (1 Reply)
Discussion started by: lottiem
1 Replies

6. Solaris

server restarting

Hello people, My solaris server is rebooting, not sure how!!! Which log should I look in to? I checked /var/adm/messages and dmesg also. How do I check older dmesg logs? I checked lastlog and also ran the last command. Nothing useful pointing to why server rebooted. Also when server reboots I... (4 Replies)
Discussion started by: rcmrulzz
4 Replies

7. UNIX for Advanced & Expert Users

How to solve restarting problem

Hi! My unix os version is OSF1 CP1 V4.0 878 alpha. It startup normally but it restarts within 5 sec. I would like to know how to solve . Please reply to me. Thanks . akzin (2 Replies)
Discussion started by: akzin
2 Replies

8. UNIX for Dummies Questions & Answers

Restarting the Spooler

:confused: Everytime our UNIXWARE 7 Server is restarted we also have to restart the spooler. If the spooler is not restarted, print jobs get stuck in the queu. Once restarted by using the following command lpstop and lpstart everything works fine. Does anyone have any ideas what could be causing... (0 Replies)
Discussion started by: Yorgy
0 Replies

9. Shell Programming and Scripting

Restarting a Crashed Process

Hello, I host a couple of Call of Duty gameing servers. There are some hackers who love the crash them. When they crash them it simply causes a segmentaion fault and kills the PID. I was wondering it you could help me write a script to simply restart the program after it has been crashed. The... (9 Replies)
Discussion started by: Phobos
9 Replies

10. UNIX for Dummies Questions & Answers

restarting a while loop

I have a monitoring script that checks on the content of an alert file, I'm doing some checks on weather I have already reported on the alert (there is one alert per file). If I find that the content is the same as before how can I stop and restart the loop until there is differences bewteen the... (5 Replies)
Discussion started by: nhatch
5 Replies

Featured Tech Videos