AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  Which process generates text on terminal

    Posted 03/14/11 10:39 AM

    Originally posted by: keyboarder2k


    Hello,

    when the application-admin starts a specific software on my AIX 5.3 every 10 minutes he gets the text "Access is denied" to his terminal. But his logs don't show any errors. Also the error-log is empty.
    How can I find out, which action/command/script returns in this message on his screen?

    Thank four help,
    Janko
    #AIX-Forum


  • 2.  Re: Which process generates text on terminal

    Posted 03/14/11 12:04 PM

    Originally posted by: mmveiga


    Janko,

    Have you tried to start that application using truss : http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds3/man.htm

    Marcelo.
    #AIX-Forum


  • 3.  Re: Which process generates text on terminal

    Posted 03/15/11 05:22 AM

    Originally posted by: keyboarder2k


    With truss, I can see the message in the output, but I can not identify what caused it.
    #AIX-Forum


  • 4.  Re: Which process generates text on terminal

    Posted 03/15/11 06:20 AM

    Originally posted by: keyboarder2k


    Now it seems, that I have found the error. Thanks for your help.

    Janko
    #AIX-Forum


  • 5.  Re: Which process generates text on terminal

    Posted 03/14/11 11:40 PM

    Originally posted by: SystemAdmin


    You could use syslog.

    1.Edit syslog.conf

    #vi /etc/syslog.conf

    2.Add the following line.
    *.debug /tmp/syslog.out

    3.
    #refresh -s syslogd

    Now you can just keep track of syslog.out.

    Henrique Tancredi
    #AIX-Forum


  • 6.  Re: Which process generates text on terminal

    Posted 03/15/11 03:45 AM

    Originally posted by: keyboarder2k


    Syslog didn't help, because it does not log anything (except the refresh of syslogd itself).

    Now I'll try truss.
    #AIX-Forum