- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- getty: cannot open "ttyd0p7". errno: 2
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
05-10-2005 02:51 AM
05-10-2005 02:51 AM
getty: cannot open "ttyd0p7". errno: 2
getty: cannot open "ttyd0p7". errno: 2
That serial connection is used by a printer. Obviously the printer isn't working. It is connected to port 7 of a 16 port mux.
Additionally, there is also a fax modem connected to the same mux and that isn't working either. It is connected to port 1 of the 16 port mux.
Looking at /dev/ I see no special file for ttyd0p7.
I'm not getting a getty error message for the serial connection of the fax modem so I don't know what special file name in /dev/ is needed for that.
Looking at /etc/inittab I see the following entries:
b4:3:respawn:/usr/sbin/getty -h tty2a15 19200
b5:3:respawn:/usr/sbin/getty -h tty2a16 19200
b6:3:respawn:/usr/sbin/getty -h tty2b1 19200
b7:3:respawn:/usr/sbin/getty -h tty2b10 19200
b8:3:respawn:/usr/sbin/getty -h tty2b11 19200
b9:3:respawn:/usr/sbin/getty -h tty2b12 19200
c0:3:respawn:/usr/sbin/getty -h tty2b2 19200
c1:3:respawn:/usr/sbin/getty -h tty2b3 19200
c2:3:respawn:/usr/sbin/getty -h tty2b4 19200
c3:3:respawn:/usr/sbin/getty -h tty2b9 19200
c4:3:respawn:/usr/sbin/getty -h tty2c1 19200
c5:3:respawn:/usr/sbin/getty -h tty2c10 19200
c6:3:respawn:/usr/sbin/getty -h tty2c12 19200
c7:3:respawn:/usr/sbin/getty -h tty2c13 19200
c8:3:respawn:/usr/sbin/getty -h tty2c2 19200
c9:3:respawn:/usr/sbin/getty -h tty2c3 19200
d0:3:respawn:/usr/sbin/getty -h tty2c4 19200
d1:3:respawn:/usr/sbin/getty -h tty2c9 19200
e8:3:respawn:/usr/sbin/getty -h ttyd2c8 9600M
f0:3:respawn:/usr/sbin/getty -h ttyd2a2 9600M
f1:3:respawn:/usr/sbin/getty -h ttyd2a3 9600M
f2:3:respawn:/usr/sbin/getty -h ttyd2a4 9600M
f3:3:respawn:/usr/sbin/getty -h ttyd2a5 9600M
f4:3:respawn:/usr/sbin/getty -h ttyd2b16 9600M
e9:3:off:/usr/sbin/getty -h ttyd2a1 9600M
f5:3:respawn:/usr/lbin/uucp/uugetty -r -t 60 -h ttyd0p7 19200
I tried running the command:
#insf -e
and it generated the following:
insf: Installing special files for mux2 instance 0 address 8/0/0
insf: Installing special files for sdisk instance 0 address 8/4.0.0
insf: Installing special files for sdisk instance 1 address 8/4.1.0
insf: Installing special files for sdisk instance 2 address 8/4.2.0
insf: Installing special files for sdisk instance 3 address 8/4.3.0
insf: Installing special files for sdisk instance 4 address 8/4.5.0
insf: Installing special files for sctl instance 0 address 8/4.7.0
insf: Installing special files for sdisk instance 5 address 8/4.8.0
insf: Installing special files for sdisk instance 23 address 8/4.9.0
insf: Installing special files for sdisk instance 6 address 8/4.10.0
insf: Installing special files for sdisk instance 7 address 8/4.11.0
insf: Installing special files for sdisk instance 8 address 8/4.12.0
insf: Installing special files for sdisk instance 9 address 8/4.13.0
insf: Installing special files for sdisk instance 21 address 8/4.14.0
insf: Installing special files for sdisk instance 24 address 8/4.15.0
insf: Installing special files for sdisk instance 11 address 8/8.0.0
insf: Installing special files for sdisk instance 12 address 8/8.1.0
insf: Installing special files for sdisk instance 13 address 8/8.2.0
insf: Installing special files for sdisk instance 14 address 8/8.3.0
insf: Installing special files for sctl instance 2 address 8/8.7.0
insf: Installing special files for sdisk instance 19 address 8/8.12.0
insf: Installing special files for sdisk instance 20 address 8/8.13.0
insf: Installing special files for sdisk instance 22 address 8/8.14.0
insf: Installing special files for sdisk instance 25 address 8/8.15.0
insf: Installing special files for CentIf instance 2 address 8/16/0
insf: Installing special files for stape instance 0 address 8/16/5.0.0
insf: Installing special files for sdisk instance 10 address 8/16/5.2.0
insf: Installing special files for sctl instance 1 address 8/16/5.7.0
insf: Installing special files for lan2 instance 0 address 8/16/6
insf: Installing special files for ps2 instance 0 address 8/16/7
insf: Installing special files for asio0 instance 1 address 8/20/2
insf: Installing special files for eisa_mux0 instance 2 address 8/20/5/1
insf: Installing special files for pseudo driver cn
insf: Installing special files for pseudo driver mm
insf: Installing special files for pseudo driver ptym
insf: Installing special files for pseudo driver ptys
insf: Installing special files for pseudo driver dmem
insf: Installing special files for pseudo driver diag0
insf: Installing special files for pseudo driver dev_config
insf: Installing special files for pseudo driver strlog
insf: Installing special files for pseudo driver sad
insf: Installing special files for pseudo driver echo
insf: Installing special files for pseudo driver dlpi
insf: Installing special files for pseudo driver ip
insf: Installing special files for pseudo driver arp
insf: Installing special files for pseudo driver rawip
insf: Installing special files for pseudo driver tcp
insf: Installing special files for pseudo driver udp
insf: Installing special files for pseudo driver stcpmap
insf: Installing special files for pseudo driver nuls
insf: Installing special files for pseudo driver netqa
insf: Installing special files for pseudo driver ptm
insf: Installing special files for pseudo driver pts
insf: Installing special files for pseudo driver beep
insf: Installing special files for pseudo driver tlclts
insf: Installing special files for pseudo driver tlcots
insf: Installing special files for pseudo driver tlcotsod
insf: Installing special files for pseudo driver telm
insf: Installing special files for pseudo driver klog
insf: Installing special files for pseudo driver sy
insf: Installing special files for pseudo driver kepd
insf: Installing special files for pseudo driver diag2
insf: Installing special files for pseudo driver tels
insf: Installing special files for pseudo driver root
Ioscan shows the following:
# ioscan -fnkCtty
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
tty 0 8/0/0 mux2 CLAIMED INTERFACE MUX
/dev/diag/mux0 /dev/diag/tty0p7 /dev/tty0p1
/dev/diag/tty0p0 /dev/mux0 /dev/tty0p7
/dev/diag/tty0p1 /dev/tty0p0
tty 1 8/20/2 asio0 CLAIMED INTERFACE Built-in RS-232C
/dev/diag/mux1 /dev/mux1 /dev/tty1p0
tty 2 8/20/5/1 eisa_mux0 CLAIMED INTERFACE EISA card HWP1520
/dev/diag/mux2 /dev/tty2a8 /dev/tty2c1
/dev/diag/mux2_1 /dev/tty2a9 /dev/tty2c10
/dev/diag/mux2_2 /dev/tty2b1 /dev/tty2c11
/dev/mux2 /dev/tty2b10 /dev/tty2c12
/dev/tty2a1 /dev/tty2b11 /dev/tty2c13
/dev/tty2a10 /dev/tty2b12 /dev/tty2c14
/dev/tty2a11 /dev/tty2b13 /dev/tty2c15
/dev/tty2a12 /dev/tty2b14 /dev/tty2c16
/dev/tty2a13 /dev/tty2b15 /dev/tty2c2
/dev/tty2a14 /dev/tty2b16 /dev/tty2c3
/dev/tty2a15 /dev/tty2b2 /dev/tty2c4
/dev/tty2a16 /dev/tty2b3 /dev/tty2c5
/dev/tty2a2 /dev/tty2b4 /dev/tty2c6
/dev/tty2a3 /dev/tty2b5 /dev/tty2c7
/dev/tty2a4 /dev/tty2b6 /dev/tty2c8
/dev/tty2a5 /dev/tty2b7 /dev/tty2c9
/dev/tty2a6 /dev/tty2b8
/dev/tty2a7 /dev/tty2b9
This leads me to believe that the number of the mux ports has changed after using the recover tape.
I edited /etc/inittab as follows:
#e9:3:off:/usr/sbin/getty -h ttyd2a1 9600M
e9:3:off:/usr/sbin/getty -h tty2a1 9600M
#f5:3:respawn:/usr/lbin/uucp/uugetty -r -t 60 -h ttyd0p7 19200
f5:3:respawn:/usr/lbin/uucp/uugetty -r -t 60 -h tty2a7 19200
and then issued the command:
#init q
I am no longer getting the error on the console, but the printer and the fax modem are still not working.
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2005 03:16 AM
05-10-2005 03:16 AM
Re: getty: cannot open "ttyd0p7". errno: 2
# /usr/sbin/mksf -d eisa_mux0 -H 8/20/5/1 -a2 -v
making ttyd2a1 c 236 0x020002
But now I still need to solve the printer problem. It is connected to the same mux but port 7 instead of 1.
My question now is how does the mksf command differ since the device is a printer instead of a fax modem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2005 03:45 AM
05-10-2005 03:45 AM
Re: getty: cannot open "ttyd0p7". errno: 2
#mksf -d eisa_mux0 -l 0 -p 7 -i /dev/ttyd0p7
The command returned no feedback but did not create /dev/ttyd0p7
I'm really not sure what else to try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2005 04:27 AM
05-10-2005 04:27 AM
Re: getty: cannot open "ttyd0p7". errno: 2
This is being added in case anyone has this problem in the future.
/usr/sbin/mksf -d eisa_mux0 -H 8/20/5/1 -p a7 -l -v
making c2a7_lp c 236 0x020600
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2005 04:27 AM
05-10-2005 04:27 AM