1834187 Members
2526 Online
110064 Solutions
New Discussion

error executing finger

 
SOLVED
Go to solution
Steve G. Casino
Occasional Advisor

error executing finger

Hi everyone

I'm trying to execute a finger command and got the following error:

finger: error STATing /dev/ttyp4

I executed this as a user and as root, no difference

I have no idea what this means. Can anobody help me? Thanks!
5 REPLIES 5
RAC_1
Honored Contributor

Re: error executing finger

Does who command work???

Anil
There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: error executing finger

Could be finger was disabled because it was a security hazard.

Please check /etc/inetd.conf and see if its commented out.

Also check your TERM variable.


SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sundar_7
Honored Contributor
Solution

Re: error executing finger

Try this

# insf -e
# finger

Learn What to do ,How to do and more importantly When to do ?
Sundar_7
Honored Contributor

Re: error executing finger

disabling finger in /etc/inetd.conf doesnt have any affect on running finger locally in a node.

It looks like one of the user is logged on to the tty /dev/ttyp4 and the device file is no longer present in the system.

insf -e will recreate the device files for you and finger should work.
Learn What to do ,How to do and more importantly When to do ?
Steve G. Casino
Occasional Advisor

Re: error executing finger

thanks to everybody for taking time to reply.

I tried Sundar's solution and it worked