Visit Our UNIX and Linux User Community

Logserver in solaris 10

Thread Tools Search this Thread
Operating Systems Solaris Logserver in solaris 10
# 1  
Old 10-13-2009
Logserver in solaris 10

Hi Gurus,

I am trying to configure a central server for log, however i am unable to get it work Smilie.

I did folliwng to configure the same

i entered the loghost entry in /etc/inet/hosts against the server whcih is going to work as logserver.

then i did the changes in /etc/syslog.conf as below

*.err;kern.notice;auth.notice                   ifdef(`LOGHOST`, /dev/console, @loghost)
*.err;kern.debug;daemon.notice;mail.crit        ifdef(`LOGHOST`, /var/adm/messages, @loghost)

and rester the service 

svcadm refresh svc:/system/system-log

After that for test i executed logger -p notice " test from sun2", i cant see any entery in log server. Not sure what else i have to follow.

Please help!
# 2  
Old 10-16-2009
# 3  
Old 10-17-2009
dont we need to issue the m4 processor command
#/usr/ccs/bin/m4 -D LOGHOST /etc/syslog.conf
#/usr/ccs/bin/m4 /etc/syslog.conf
in both the systems...?

also please tell me how the
logger -p notice "test from sun2: works? and where will this message be seen?
I am familiar with this format ..logger -p <facility.severitylevel> "<message>"

Previous Thread | Next Thread
Test Your Knowledge in Computers #484
Difficulty: Medium
A compiler transforms source code into object code, a floating point number format that machines understand.
True or False?

3 More Discussions You Might Find Interesting

1. Solaris

How to add Solaris text console to Solaris grub2 menu?

Hi, I am new to sloaris and just instlled the solaris 11.2, i know little more about linux, i open the /boot/grub/grub.cfg in solaris and there is many other entries forl solaris 11.2 one of them is for 'Oracle Solaris 11.2 text console' but at boot grub2 only show the first default entry that... (1 Reply)
Discussion started by: shamsat
1 Replies

2. Solaris

dual boot solaris/solaris zfs file system

Hi, I am running into a some problems creating a dual boot system of 2 solaris instances using ZFS file system and I was wondering if someone can help me out. First some back ground. I have been asked to change the file system of our server from UFS to ZFS. Currently we are using Solaris... (3 Replies)
Discussion started by: estammis
3 Replies

3. Solaris

Unable to login using ssh,telnet onto my solaris machine with solaris 10 installed

Hi, I am unable to login into my terminal hosting Solaris 10 and get the below error message "Server refused to allocate pty sh: fatal: open failed: No such file or directory " Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
7 Replies

Featured Tech Videos