×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

add -t to syslog init, restart syslog cause reboot, port still visible

add -t to syslog init, restart syslog cause reboot, port still visible

add -t to syslog init, restart syslog cause reboot, port still visible

(OP)
I have 2 Solaris 8 servers running on identical hardware except for the amount of memory.  The software is not the same for patches (see below).

I wanted to turn off remote syslog (port 514) so I changed /etc/init.d/syslogd by adding a -t at syslogd start, and ran init.d/syslog stop and start.  Server #1 restarted without issue and the port is not longer visible in netstat -an.  For server #2, I immediately lost connectivity and the server rebooted itself.  My file systems required a fsck and the port is still visible in netstat -an.  What could cause this and why is the port still visible.

Any help would be appreciated.


DIFF -

<               /usr/sbin/syslogd -t >/dev/msglog 2>&1 &
---
>               /usr/sbin/syslogd >/dev/msglog 2>&1 &


1)  SunOS hccssun5 5.8 Generic_117350-50 sun4u sparc SUNW,Sun-Fire-V440

2)  SunOS hccssun5 5.8 Generic_117350-44 sun4u sparc SUNW,Sun-Fire-V440

RE: add -t to syslog init, restart syslog cause reboot, port still visible

(OP)
I discovered why the port is still visible but do not know why the server rebooted.  The port is visible because I made the change to init.d/syslog and someone removed the symbolic link in rc2.d/S74syslog to init.d/syslog.  

Why do you think the server rebooted?  

RE: add -t to syslog init, restart syslog cause reboot, port still visible

Are there any clues in /var/adm/messages from just before the reboot?


I hope that helps.

Mike

RE: add -t to syslog init, restart syslog cause reboot, port still visible

Or on the console, if the output is captured in any way?

Annihilannic.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close