1829598 Members
1688 Online
109992 Solutions
New Discussion

hp-ux logfile issue

 
Shehan
Super Advisor

hp-ux logfile issue

Any body can help me on this ,

I'm using hp-ux 11.11i.im having an issue, these log files wont update

1.logindex
2.logproc
3. logdev
4. logappl
5. logtran
6.logglobal

It updated after the server rebooted,but now it has stoped .
can anybody can help on this issue

Thank you
shehan
10 REPLIES 10
Vijay Dsouza
Frequent Advisor

Re: hp-ux logfile issue

Hi Shehan,

Just try stopping the syslogd daemon and see if things get working cause i understand that the syslogd has connection to additional logging not very sure but am sure this would do you no harm

sbin/init.d/syslogd stop
/sbin/init.d/syslogd start

Cheers
Vijay
Shehan
Super Advisor

Re: hp-ux logfile issue

If its all about the sys log daemon.once we restart the server the above daemon also get restarted,but again it wont updated ,your saying stop the sys log daemon .

shehan
Ivan Krastev
Honored Contributor

Re: hp-ux logfile issue

What is the usage of this file? Which process use it ?
These are not standart OS log files as far as i know.

Check with lsof or fuser which process hold the files.
Check also syslog configuration files.

regards,
ivan
Rasheed Tamton
Honored Contributor

Re: hp-ux logfile issue

The config file for syslogd is /etc/syslog.conf

You can either restart the daemon as above or send a hangup

kill -HUP `cat /var/run/syslog.pid`

If someone edited the syslog.conf recently then make sure that there are no spaces used in between the fields instead of using tab.

Regards.
Rasheed Tamton
Honored Contributor

Re: hp-ux logfile issue

>If its all about the sys log daemon.once we restart the server the above daemon also get restarted,but again it wont updated ,your saying stop the sys log daemon .

Rebooting the server might start the services. Unless it is turned off from /etc/rc.config.d dir (syslog/syslog-ng)

Check whether the syslog is running:
ps -ef|grep syslog

As Ivan said, using fuser logindex or lsof logindex will show the open files for it.

F Verschuren
Esteemed Contributor

Re: hp-ux logfile issue

make sure that all pipe files are emty:
ll /dev/log
prw-rw-rw- 1 root root 0 Aug 5 14:22 /dev/log

and that non of the logfiles (in the systlog.conf exeest more that 2 gig (normal syslog confs will not alow big files.
Bill Hassell
Honored Contributor

Re: hp-ux logfile issue

These are not syslog files but are created by Measureware (Glance) in the /var/opt/perf/datafiles. They will not be updated if mwa is not running correctly. Check mwa like this:

mwa status

You'll see some messages that look like this:

OVPA status:
Running scopeux (OVPA data collector) pid 4892
Running midaemon (Measurement Interface daemon) pid 4366
Running ttd (ARM registration daemon) pid 4260

OVPA Server status:

Running ovcd (OV control component) pid 5357
Running ovbbccb (BBC5 communication broker) pid 5414
Running coda (perf component) pid(s) 5574
Configured DataSources(2) SCOPE
CODA

Running perfalarm (alarm generator) pid(s) 5342

OVPA Server status:

Running perflbd (location broker) pid 5427

The following data sources have running repository servers:
PID DATA SOURCE
Running rep_server 28462 SCOPE

If you see processes that are not runnning, something has gone wrong. Start by looking at /var/adm/syslog/syslog.log to see if there are any errors related to Measureware. Then look in the bootup log: /rtc/rc.log

You can start Measureware by hand using:

mwa start

You may have mixed versions of the components which will cause problems:

mwa version

which looks something like this:

OVPA executables in the directory /opt/perf/bin
ttd C.04.50.00 10/11/05 HP-UX 11
midaemon C.04.50.57 02/10/07 HP-UX 11
scopeux C.04.50.57 02/10/07 HP-UX 11
perfalarm C.04.50.57 02/10/07 HP-UX 11
extract C.04.50.57 02/10/07 HP-UX 11
utility C.04.50.57 02/10/07 HP-UX 11
dsilog C.04.50.00 10/11/05 HP-UX 11
sdlcomp C.04.50.57 02/10/07 HP-UX 11
sdlgendata C.04.50.00 10/11/05 HP-UX 11
sdlutil C.04.50.00 10/11/05 HP-UX 11
perflbd C.04.50.00 10/11/05 HP-UX 11
rep_server C.04.50.57 02/10/07 HP-UX 11
alarmgen C.04.50.57 02/10/07 HP-UX 11
agdbserver C.04.50.00 10/11/05 HP-UX 11
agsysdb C.04.50.00 10/11/05 HP-UX 11

OVPA libraries in the directory /opt/perf/lib
libarm.sl C.04.50.57 02/10/07 HP-UX 11
libnums.sl C.04.50.57 02/10/07 HP-UX 11
libscope.sl C.04.50.57 02/10/07 HP-UX 11

OVPA metric description file in the directory /opt/perf/lib
metdesc C.04.50.57 02/10/07

OVPA libraries in the directory /opt/OV/lib
libOvScopeAccess.sl C.04.50.57 02/10/07 HP-UX 11

All critical OVPA files are accessible


Bill Hassell, sysadmin
Kapil Jha
Honored Contributor

Re: hp-ux logfile issue

Hello Sehan,
BIll is right there are mwasure ware files.
and its not like that after reboot they are updating.Its actually
mwa stop
mwa start

Anyways what u mean by updating....is it there size not increasing or what??
You can see /var/opt/perf/parm file where you can specify size of various files in MB over here.
maintime parameter truncated fiels daily at specified time.
logproc---logs processes
logappl>>> for application.

Search or read some mwa docs.
BR,
Kapil+
I am in this small bowl, I wane see the real world......
Kapil Jha
Honored Contributor

Re: hp-ux logfile issue

man utility
will give you some insight of this.
can you post
utility -xs logproc
BR,
Kapil+
I am in this small bowl, I wane see the real world......
Shehan
Super Advisor

Re: hp-ux logfile issue

as kapil say.yes the files size not increasing,even the date and time wont change,it changes after rebooting.we cant reboot it every time coz this is a live system