[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference csc32::consolemanager

Title:POLYCENTER Console Manager
Notice:Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS:
Moderator:CSC32::BUTTERWORTH
Created:Thu Aug 06 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1541
Total number of notes:6564

700.0. "Monitor syslog through pseudo terminal" by IJSAPL::SINKE () Fri Apr 28 1995 15:00

    Question,
    
    I would like to setup a PCM configuration in which PCM monitors it's
    own syslog messages.
    
    The system is running ULTRIX V4.3, PCM V1.5.
    
    I tried some of the hints i picked up in note 593, but i can't get it
    to work.
    
    This is what i have done sofar,
    
    In the configuration editor i created a system called dcuws2 and
    assigned it a pseudo terminal.
    In the command section i entered 'tail /usr/spool/mqueue/syslog'
    
    Database verication gives no errors.
    But after reconfiguring the icon comes up grey and from the system
    status i read 'Open Failure'
    
    Any hints would be much appriciated,
    
    Arthur.
T.RTitleUserPersonal
Name
DateLines
700.1Try -f optionZENDIA::DBIGELOWInnovate, Integrate, EvaporateFri Apr 28 1995 15:1710
    Arthur,
    
        try 'tail -f /usr/spool/mqueue/syslog'
    
    Without the -f option, the tail program just exits in the
    pseudoterminal and PCM gathers from this that it has lost the
    connection. The -f option causes the tail ptogram not to terminate.
    
    Dave
    
700.2Solution ...IJSAPL::SINKEFri Apr 28 1995 16:0912
    Dave,
    
    You're right about the missing -f switch.
    But this wasn't the real problem. In the meanwhile i found that a
    absolute path to the tail command had to be provided.
    
    Thus : "/usr/ucb/tail -f /usr/spool/mqueue/syslog" is the correct
    command to enter.
    
    Thanks,
    
    Arthur