- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- syslog message
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 05:51 PM
02-07-2005 05:51 PM
Keeps getting this error message from syslog.
I was wondering what is it.
Feb 8 01:29:23 edw-dev : getty: cannot open "tty0p5". errno: 2
Feb 8 14:29:37 edw-dev above message repeats 59 times
Feb 8 01:29:23 edw-dev : getty: cannot open "tty0p1". errno: 2
Feb 8 14:29:37 edw-dev above message repeats 59 times
Feb 8 01:29:43 edw-dev : getty: cannot open "tty0p1". errno: 2
Feb 8 01:29:43 edw-dev : getty: cannot open "tty0p5". errno: 2
Feb 8 01:49:24 edw-dev : getty: cannot open "tty0p1". errno: 2
Feb 8 14:49:37 edw-dev above message repeats 59 times
Feb 8 01:49:24 edw-dev : getty: cannot open "tty0p5". errno: 2
Feb 8 14:49:37 edw-dev above message repeats 59 times
Feb 8 01:49:44 edw-dev : getty: cannot open "tty0p5". errno: 2
Feb 8 01:49:44 edw-dev : getty: cannot open "tty0p1". errno:
Regards,
Paul
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 05:56 PM
02-07-2005 05:56 PM
Re: syslog message
could you check this kernel parameters:
npty and nstrpty
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 06:24 PM
02-07-2005 06:24 PM
SolutionWhat does your /etc/inittab file say. If you are not using tty0px then simply replace "respawn" with "off" for these entries in inittab and save.
Then just say "#init -q", messages should stop.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 07:34 PM
02-07-2005 07:34 PM
Re: syslog message
Thanks for your reply, for the kernel parameters the value are both "60".
I already change "respawn" to "off", how will this affect the system?
Regards,
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 07:57 PM
02-07-2005 07:57 PM
Re: syslog message
Off means it will not try to restart a new process after error. In your case you got file not found error 2 and it restarts the process again and again and again...
Regards,
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 08:17 PM
02-07-2005 08:17 PM
Re: syslog message
it sounds to me as if something (newly installed?) is trying to use two non-existing device files. Do the files /dev/tty0p5 and /dev/tty0p1 actually exist?
It is difficult to say what causes this, but check if the time when the messages appear in syslog coincide with the starting up of crontab programs. Not a very scientific approach, but it may at least exclude something.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 08:21 PM
02-07-2005 08:21 PM
Re: syslog message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 11:08 PM
02-07-2005 11:08 PM
Re: syslog message
$ grep " 2 " /usr/include/sys/errno.h
#define ENOENT 2 /* No such file or directory */
That is on TAB infront of the number. And one behind.
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2005 12:48 AM
02-08-2005 12:48 AM
Re: syslog message
For everyone, decoding errno values is always tricky to remember so I created a script called errno. Run it with the errno number or the errno name (errno enoent) and will not only find the value in the header file (errno.h) but will also extract the description of the error from the errno(2) man page.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2005 07:41 AM
02-08-2005 07:41 AM