Facing problem in configuring syslog server in Solaris


 
Thread Tools Search this Thread
Operating Systems Solaris Facing problem in configuring syslog server in Solaris
# 1  
Old 07-21-2014
Facing problem in configuring syslog server in Solaris

I am trying to configure central syslog server

On hostA, in /etc/syslog.conf file,I am adding below line
Code:
*.err;kern.debug;daemon.notice;mail.crit        @hostB

then I am restarting syslog service
Code:
svcadm restart /system/system-log

In hostA, I have already added hostB entry in /etc/hosts file & in hostB , I have also added hostA entry in /etc/hosts file. Both server are pinging as well.

Now when I am running below command on hostA, it is logging to local /var/adm/messages file but not in hostB /var/adm/messages file
Code:
logger -p user.err  system will reboot

Please let me know where I am missing

Last edited by rbatte1; 07-26-2014 at 06:12 PM.. Reason: Code tags
# 2  
Old 07-21-2014
Did you notify the syslog service (syslogd) by
Code:
pkill -HUP -x syslogd

or
Code:
svcadm refresh svc:/system/system-log:default

?
# 3  
Old 07-21-2014
Did you use spaces or tabs in syslog.conf? You need to use only tabs.
# 4  
Old 07-21-2014
Thanks for the input.

I have refresh the syslog services even restarted also as well as using only tab but still facing the same issue.

hostA is a client & hostB is syslog server.

Is there anything I need to do at syslog server side(hostB) or anything at network side or enabling any services?

Last edited by amity; 07-21-2014 at 03:39 PM..
# 5  
Old 07-26-2014
It would help if you could post here the entire syslog.conf of both servers.

Is there a firewall between them?
# 6  
Old 07-27-2014
Is there anything listening on port 514 on the target system?
Code:
netstat -an | grep 514

If not, that's your problem. See "man syslogd".

Read here, too:

The Blog of Ben Rockwood
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. SuSE

Facing issue configuring network

Please let me know how to configure network in suse Linux, I have configured the network using ifup and network manager, it is not giving any error but not working, using suse Linux 11.0 sp3 I have checked network connectivity is working. (0 Replies)
Discussion started by: manoj.solaris
0 Replies

2. Solaris

Configuring Centralized Solaris Server to Receive Syslogs

Hello, I am new to Solaris. However, I was able to configure the Syslog server on Solaris. I am using a windows client to send logs to my Solaris syslog server. this is working fine. however, I have 23 servers which are sending their logs to the syslog server and it is very difficult to read all... (2 Replies)
Discussion started by: ravmohun
2 Replies

3. HP-UX

Problem in Configuring kerberos Server on HPUX

Hi, I am getting this error during kerberos server setup in HPUX 11.31 : kdb_create: unknown LDAP backend error while adding master entry to the database ps -ef|grep ldap root 3905 1 0 13:11:36 ? 0:00 /opt/ldapux/bin/ldapclientd Unable to find out the meaning of this... (1 Reply)
Discussion started by: Amit Kulkarni
1 Replies

4. Solaris

Facing problem with installing CF engine software in solaris 10

Dear experts, I am using solaris 10 OS.I am installing CF engine software in the server while doing so ,i am getting following error checking for BerkeleyDB location in default... configure: error: >> Cannot find BerkeleyDB I am installing the Berkely DB 5.3.I am strugging... (1 Reply)
Discussion started by: muraliinfy04
1 Replies

5. Red Hat

Configuring SYSLOG Server

Hello, I have successfully configured a syslog server on Centos 5.7, I have to add few clients which are CISCO switches - can someone suggest how should I configure on SYSLOG server, so the each client's log messages should go to different location on syslog server not a default location... (9 Replies)
Discussion started by: bobby320
9 Replies

6. Shell Programming and Scripting

Facing Issue after configuring logrotate

Hi, I have a logrotate configuration which rotates a log every night 1 min before midnight, but somehow its not working and unfortunately not showing any error message as well. Sharing the code for the cron job as well as the conf file, I am using, if some one coule help me..whats wrong with... (2 Replies)
Discussion started by: Neeryan
2 Replies

7. Solaris

Facing problem while doing FTp to solaris server

Hi All, I am facing problem while doing FTp to solaris server through Windows XP machine. showing msg as follows 220 matrix FTP server ready. User (*.*.*.*:(none)): Sun 331 Password required for Sun. Password: 530 Login incorrect. Login failed. ftp> bye also while doing vi or... (2 Replies)
Discussion started by: sunray
2 Replies

8. Infrastructure Monitoring

Facing problem while configuring snmp

HI, I am facing these two errors while configuring snmp can any body guide me. vi /var/log/snmpd.log Error opening specified endpoint "udp:161" Server Exiting with code 1 i also tried bash-3.00# netstat -a | grep snm *.snmpd Idle bash-3.00# lsof -i :161 bash: lsof: command not... (2 Replies)
Discussion started by: nir1785
2 Replies

9. Shell Programming and Scripting

need help on configuring LDAP server on solaris

HI All I need help to understand how the ldap works in Solaris 9 & Solaris 10. Kindly provide me some helpful commands related to LDAP Regards Jagan (2 Replies)
Discussion started by: jaganblore
2 Replies
Login or Register to Ask a Question