06-09-2011
Thanks for your response bartus11. So both these files contains system generated error messages right??Do i need to make any changes in /etc/syslog.conf to get /var/log/syslog messages.Or it is a default setting in the OS?
Thanks in Advance
10 More Discussions You Might Find Interesting
1. Solaris
Solaris 8/ sun 420R
Checked /var/adm/messages file and got the following message:
Dec 4 16:40:05 serverXYZ ConfigProvider: get_pkg_instdate: getdate failed for the standard C locale (7)
Does anyone know what this means? Looked up getdate but do not understand....
Thanks. (1 Reply)
Discussion started by: finster
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
No log entry is found in messages files. The file size is 0. We are using Solaris 9. Anyone knows what could be wrong. (3 Replies)
Discussion started by: FrankC
3 Replies
3. Solaris
hi experts,
i'm having more error log on /var/adm/messages could anyone help to description what is this error logs means???? and how to fix it? below is the logs :
Nov 22 20:03:40 USSDGtbs-1 unix:
Nov 22 20:03:40 USSDGtbs-1 ^Mpanic/thread=3001345edc0:
Nov 22 20:03:40 USSDGtbs-1 unix: ... (2 Replies)
Discussion started by: bucci
2 Replies
4. Solaris
Check message file and result posted below.
Can anyone tell me what this is a sign of, what does it mean?
server1% more messages.0
Dec 02 09:35:06 server1 bsd-gw: Inval
id protocol request (65): AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA^\\2... (6 Replies)
Discussion started by: finster
6 Replies
5. Solaris
hi sirs
can u tell the difference between /var/log/syslogs and /var/adm/messages
in my working place i am having two servers.
in one servers messages file is empty and syslog file is going on increasing..
and in another servers message file is going on increasing but syslog file is... (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies
6. Solaris
Can anyone explain me the difference between difference between dmesg and /var/adm/messages in solaris. I tried to find out the difference but I didn't get much info on that. As per my knowledge both are used to check the logs.. (3 Replies)
Discussion started by: rogerben
3 Replies
7. UNIX for Advanced & Expert Users
The /var/adm/messages in Solaris seem to log more system messages/errors compared to /var/log/messages in Linux.
I checked the log level in Linux and they seem OK.
Is there any other log file that contains the messages or is it just that Linux doesn't log great many things? (2 Replies)
Discussion started by: gomes1333
2 Replies
8. Shell Programming and Scripting
grep \"^`date "+%b %d %T"`\" /var/adm/messages | egrep \"emerg|alert|crit|err|warning\
but get an output like this
ksh: alert: not found
ksh: crit: not found
ksh: err: not found
ksh: warning": not found
grep: can't open "19"
grep: can't open "16:27:16"" (1 Reply)
Discussion started by: arch12
1 Replies
9. Solaris
what is the difference between tha /var/adm and /var/sadm files in solaris 10 Os
please can any one respond quickly
thanking you (2 Replies)
Discussion started by: wkbn86
2 Replies
10. Shell Programming and Scripting
I have been searching and reading about syslog. I would like to know how to Transfer the logs being thrown into /var/log/messages into another file example /var/log/volumelog.
tail -f /var/log/messages
dblogger: msg_to_dbrow: no logtype using missing
dblogger: msg_to_dbrow_str: val ==... (2 Replies)
Discussion started by: kenshinhimura
2 Replies
LEARN ABOUT CENTOS
pmdarsyslog
PMDARSYSLOG(1) Performance Co-Pilot PMDARSYSLOG(1)
NAME
pmdarsyslog - rsyslog (reliable and extended syslog) PMDA
DESCRIPTION
pmdarsyslog is a Performance Metrics Domain Agent (PMDA) which exports metric values from the rsyslogd(8) server. Further details about
rsyslog can be found at http://www.rsyslog.com/.
INSTALLATION
If you want access to the names and values for the rsyslog performance metrics, do the following as root:
# cd $PCP_PMDAS_DIR/rsyslog
# ./Install
If you want to undo the installation, do the following as root:
# cd $PCP_PMDAS_DIR/rsyslog
# ./Remove
pmdarsyslog is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is
installed or removed.
In order to use this agent, rsyslog stats gathering must be enabled. This is done by adding the lines:
$ModLoad impstats
$PStatsInterval 5 # log every 5 seconds
syslog.info |/var/log/pcp/rsyslog/stats
to your rsyslog.conf(5) configuration file after installing the PMDA. Take care to ensure the syslog.info messages do not get logged in
any other file, as this could unexpectedly fill your filesystem. Syntax useful for this is syslog.!=info for explicitly excluding these.
FILES
/var/log/pcp/rsyslog/stats
named pipe containing statistics exported from rsyslog, usually created by the PMDA Install script.
$PCP_PMDAS_DIR/rsyslog/Install
installation script for the pmdarsyslog agent
$PCP_PMDAS_DIR/rsyslog/Remove
undo installation script for the pmdarsyslog agent
$PCP_LOG_DIR/pmcd/rsyslog.log
default log file for error messages from pmdarsyslog
SEE ALSO
pmcd(1), rsyslog.conf(5), rsyslogd(8).
3.8.10 Performance Co-Pilot PMDARSYSLOG(1)