Operating System - HP-UX
1833832 Members
2516 Online
110063 Solutions
New Discussion

Reading console message from a remote telnet session

 
SOLVED
Go to solution
Rui Vilao
Regular Advisor

Reading console message from a remote telnet session

Reading console message from a remote telnet session

Greetings,

I am remotely connected to a server of our customer using hyperterminal.

I would like to check whether some kind of message appears on the console (I want to check if a given HP-OV DM license is permanent)
when I enter a given command.

I have tried "tail -f /dev/console" but
without success.

Any help or suggestion is highly appreciated.

TIA,

Kind Regards,

Rui.
"We should never stop learning"_________ rui.vilao@rocketmail.com
3 REPLIES 3
Helen French
Honored Contributor

Re: Reading console message from a remote telnet session

Hi Rui:

Some points:

1) If you have a web console, then you can administer the console operations remotely. You will be able to read all console messages.

2) Check the /etc/syslog.conf file. Specify an additional file along with the /dev/console entry and restart the syslogd daemon. This way, you can redirect OR log all messages which appears on the console to a file. Then you can read that file.

3) Check the /var/adm/syslog/syslog.log file. Normally system related messages will appear on this file too.

HTH,
Shiju
Life is a promise, fulfill it!
Rui Vilao
Regular Advisor

Re: Reading console message from a remote telnet session

Thanks Shiju,

1) Sorry, no web console. Only a modem and hyperterminal.

2) It is not a syslog message... I have tried your suggestion and it does not
work.

Note: The command I run is ovstart -v

3) No message in /var/adm/syslog/syslog.log either...

Regards,

Rui.
"We should never stop learning"_________ rui.vilao@rocketmail.com
Martin Johnson
Honored Contributor
Solution

Re: Reading console message from a remote telnet session

The ovstart does not normally write to the console. The -v option will show the progress/status of the startup. You can use ovstatus to verify everything is up an running.

If one of the components is experiencing a problem, a message is usually written to /var/opt/OV/log/OpC/mgmt_sv/opcerror not the console.

If you are not seeing any messages using the tail -f and there is nothing in the syslog, then the probability is high (near 100%) that no messages were issued.