Syslog-ng does not start Solaris 9


 
Thread Tools Search this Thread
Operating Systems Solaris Syslog-ng does not start Solaris 9
# 1  
Old 05-14-2008
Syslog-ng does not start Solaris 9

I have been installing syslog-ng on our Solaris 9 servers. All ov them are working except two which return the following error:

Code:
    # /etc/init.d/syslog start
    syslog-ng service starting.
    Error binding socket; addr='AF_INET(0.0.0.0:514)', error='Address already in use (125)'
    Error initializing source driver; source='inputs'
    #

Any ideas what I'm missing here?
# 2  
Old 05-14-2008
I think its because you have in.rshd enabled in /etc/inetd.conf
Try to comment out the following 2 lines, and kill -HUP the inetd process
Code:
shell   stream  tcp     nowait  root    /usr/sbin/in.rshd       in.rshd
shell   stream  tcp6    nowait  root    /usr/sbin/in.rshd       in.rshd

Tornado
# 3  
Old 05-14-2008
I'd have though it was becuase the old version of syslog is still running - port 514 (0.0.0.0:514) is listed as the syslog port in /etc/services...

Use ps -ef | grep syslog to make sure it's not already running something on that port.

If not and you still get the error, check netstat -an | grep 514 to see if anything else is holding the port open.
If it does and you have lsof, then use lsof -i :514 to find the culprit
# 4  
Old 05-15-2008
Quote:
Originally Posted by Tornado
I think its because you have in.rshd enabled in /etc/inetd.conf
Try to comment out the following 2 lines, and kill -HUP the inetd process
Code:
shell   stream  tcp     nowait  root    /usr/sbin/in.rshd       in.rshd
shell   stream  tcp6    nowait  root    /usr/sbin/in.rshd       in.rshd

That was it! The rshd processes were suppose to have been disabled during hardening, but I guess a couple slipped through the cracks.

Thanks to both of you for the great responses!
# 5  
Old 05-15-2008
Glad to be of help.. Maybe you can help me now.
I posted a question and have had no responses regarding the syslog-ng.conf file. Have a look here and comment if you can.

Thanks
Tornado
# 6  
Old 10-09-2008
syslog-ng-does-not-start-solaris-9

It is possible to change the listening port of syslog-ng from syslog-ng.conf file.
You can add the following line to the conf file:

source remote_src { tcp(ip(yr.ip.add.ress) port(1099) ); };

Then, syslog-ng will listen on tcp port 1099.

Thanks
# 7  
Old 12-05-2008
Or instead of using tcp port 514, you could use udp port 514
Tornado
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Not able to start cron service in Solaris 10

Hi, This is Solaris-10 x86. I am not able to start cron service, configured in FMRI. It is in maintenance and when I clear it, it seems like calling and failing on /etc/init.d/tcs-rtm script. I am not able to figure out, why cron is calling that script, if this failure is because of that. Cron... (5 Replies)
Discussion started by: ron323232
5 Replies

2. Solaris

Cannot start system-log on Solaris 10

Hi everyone, I hope you are doing well.. I am having the following issue that need your advice. I am configuring syslog on Solaris 10. I have edited the /etc/syslog.conf by adding the following entry: *.err;kern.debug;daemon.notice;mail.crit;auth.debug;user.debug;local6.info @<IP Address of... (7 Replies)
Discussion started by: michael_hoang
7 Replies

3. Solaris

How to remotely start ssh on Solaris?

Hi everyone, I have a Solaris machine: SunOS 5.10 Generic_127127-11 sun4v sparc SUNW,SPARC-Enterprise-T5220 After reboot, I can't ssh to this machine. Error message: ssh: connect to host xxxx port 22: Connection refused It seems ssh daemon is not running, but I don't have... (5 Replies)
Discussion started by: Zaiwen Gong
5 Replies

4. Solaris

Not able to start non global zone on Solaris 11

I have configured three zones on Solaris-11. These are non-global zones contain Solaris-11 only. One of the zone is not booting up, complaining about IP address in use, while it is not. root@tdpdmsp02 # zoneadm list -icv ID NAME STATUS PATH BRAND IP... (3 Replies)
Discussion started by: solaris_1977
3 Replies

5. Solaris

Start of VNC with Solaris

Hello, We have machines running Solaris 2.8 These are part of a process control system. A selection menu after the launch of Solaris can be selected whether the Solaris desktop or Leitsoftware to start. VNC server is up and running when the Solaris user interface is started or when the... (1 Reply)
Discussion started by: eckart.t
1 Replies

6. Solaris

solaris reboots as it start loading

hello, my problem is the one of the title , as I press enter on Solaris voice in the grub, my computer reboots , is there an option, a flag ,I can add to the Solaris voice , that allow me to see where is the problem ? something that avoid the computer reboot on error? I can't find a way to know... (7 Replies)
Discussion started by: freeware
7 Replies

7. Solaris

samba wouldn't start on solaris 10

I've configured the copy of samba that ships with solaris 10. when i try to start the samba services, i get the following errors sundb01 root > svcs -vx nmbd svc:/application/nmbd:default (Samba) State: online since 9 December 2008 15:47:38 GMT See:... (4 Replies)
Discussion started by: soliberus
4 Replies

8. Solaris

Database can't start automatically on solaris

Hi, I have installed oracle 9i on solaris 10 sucessfully. I have configured listener & tnsname.ora file sucessfuly. Even i can start database manully by starting listener first and from sqlplus promt data base sucessfully. Now i want to start the database automatically after system reboots. I... (2 Replies)
Discussion started by: Sachin Vaidya
2 Replies

9. Solaris

Start up in Solaris

Hello everyOne My OS is Soraris 9. I can't find how I can execute script when OS start up. Namely, where is stored "Start up" such as in Window? Best Regards Anar (1 Reply)
Discussion started by: anar_s2001
1 Replies

10. UNIX for Dummies Questions & Answers

how to start and stop the network in Solaris 9??

Hi how do I start or stop the network interfaces in Solaris 9 I have tried "/etc/init.d/network stop" but it doesn't work thanks (1 Reply)
Discussion started by: eldiego
1 Replies
Login or Register to Ask a Question