- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: error code
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
Discussions
Discussions
Forums
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
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
тАО10-13-2009 12:38 PM
тАО10-13-2009 12:38 PM
error code
getty: cannot open "tty0p1". errno: 2
Thanks much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 01:06 PM
тАО10-13-2009 01:06 PM
Re: error code
getty: cannot open "tty0p1". errno: 2
- check your inittab file , getty respawns the port from there,
# cat /etc/inittab | grep -i getty
# Also check the port device file is available in /dev/pts/ or under /dev/tty/
-tty0p1 is the port number you are trying to access , however it is not accessible.
Hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 01:10 PM
тАО10-13-2009 01:10 PM
Re: error code
Standard error #2 is called 'ENOENT' and means "No such file or directory". See: '/usr/include/sys/errno.h'
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 01:27 PM
тАО10-13-2009 01:27 PM
Re: error code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 01:36 PM
тАО10-13-2009 01:36 PM
Re: error code
-What are you trying to connect, ?
-and where are you getting this message,is it in syslog or scrolling on console, or somewhere else.?
- Is the device file present in the system , under /dev/pty/ or /dev/pts/ ,
-or can you run a find command like:# find /dev -type f "tty0p1" -exec ls -l {} \;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 01:48 PM
тАО10-13-2009 01:48 PM
Re: error code
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 02:04 PM
тАО10-13-2009 02:04 PM
Re: error code
Can you check :
# cat /etc/inittab | grep -i getty
Do you see anything for tty0p1,
Hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 04:55 PM
тАО10-13-2009 04:55 PM
Re: error code
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 05:15 PM
тАО10-13-2009 05:15 PM
Re: error code
DO you have tty files in /dev directory?
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 12:51 AM
тАО10-14-2009 12:51 AM
Re: error code
if it doesn't work, gives the result of a
ioscan -fnkC tty
Some hardware don't have a p1 on GSP
if it is the case, comment the line getty for tty0p1 in your /etc/inittab