<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: getty: cannot open &amp;quot;ttyd0p7&amp;quot;. errno: 2 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/getty-cannot-open-quot-ttyd0p7-quot-errno-2/m-p/4901151#M404072</link>
    <description>:)</description>
    <pubDate>Tue, 10 May 2005 11:27:38 GMT</pubDate>
    <dc:creator>Edward Alfert_2</dc:creator>
    <dc:date>2005-05-10T11:27:38Z</dc:date>
    <item>
      <title>getty: cannot open "ttyd0p7". errno: 2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getty-cannot-open-quot-ttyd0p7-quot-errno-2/m-p/4901147#M404068</link>
      <description>Ok... after using a recovery tape I now have the following error that keeps popping up on the console:&lt;BR /&gt;&lt;BR /&gt;getty: cannot open "ttyd0p7". errno: 2&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Looking at /dev/ I see no special file for ttyd0p7.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Looking at /etc/inittab I see the following entries:&lt;BR /&gt;&lt;BR /&gt;b4:3:respawn:/usr/sbin/getty -h tty2a15 19200&lt;BR /&gt;b5:3:respawn:/usr/sbin/getty -h tty2a16 19200&lt;BR /&gt;b6:3:respawn:/usr/sbin/getty -h tty2b1 19200&lt;BR /&gt;b7:3:respawn:/usr/sbin/getty -h tty2b10 19200&lt;BR /&gt;b8:3:respawn:/usr/sbin/getty -h tty2b11 19200&lt;BR /&gt;b9:3:respawn:/usr/sbin/getty -h tty2b12 19200&lt;BR /&gt;c0:3:respawn:/usr/sbin/getty -h tty2b2 19200&lt;BR /&gt;c1:3:respawn:/usr/sbin/getty -h tty2b3 19200&lt;BR /&gt;c2:3:respawn:/usr/sbin/getty -h tty2b4 19200&lt;BR /&gt;c3:3:respawn:/usr/sbin/getty -h tty2b9 19200&lt;BR /&gt;c4:3:respawn:/usr/sbin/getty -h tty2c1 19200&lt;BR /&gt;c5:3:respawn:/usr/sbin/getty -h tty2c10 19200&lt;BR /&gt;c6:3:respawn:/usr/sbin/getty -h tty2c12 19200&lt;BR /&gt;c7:3:respawn:/usr/sbin/getty -h tty2c13 19200&lt;BR /&gt;c8:3:respawn:/usr/sbin/getty -h tty2c2 19200&lt;BR /&gt;c9:3:respawn:/usr/sbin/getty -h tty2c3 19200&lt;BR /&gt;d0:3:respawn:/usr/sbin/getty -h tty2c4 19200&lt;BR /&gt;d1:3:respawn:/usr/sbin/getty -h tty2c9 19200&lt;BR /&gt;e8:3:respawn:/usr/sbin/getty -h ttyd2c8 9600M&lt;BR /&gt;f0:3:respawn:/usr/sbin/getty -h ttyd2a2 9600M&lt;BR /&gt;f1:3:respawn:/usr/sbin/getty -h ttyd2a3 9600M&lt;BR /&gt;f2:3:respawn:/usr/sbin/getty -h ttyd2a4 9600M&lt;BR /&gt;f3:3:respawn:/usr/sbin/getty -h ttyd2a5 9600M&lt;BR /&gt;f4:3:respawn:/usr/sbin/getty -h ttyd2b16 9600M&lt;BR /&gt;e9:3:off:/usr/sbin/getty -h ttyd2a1 9600M&lt;BR /&gt;f5:3:respawn:/usr/lbin/uucp/uugetty -r -t 60 -h ttyd0p7 19200&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I tried running the command:&lt;BR /&gt;&lt;BR /&gt;#insf -e&lt;BR /&gt;&lt;BR /&gt;and it generated the following:&lt;BR /&gt;&lt;BR /&gt;insf: Installing special files for mux2 instance 0 address 8/0/0&lt;BR /&gt;insf: Installing special files for sdisk instance 0 address 8/4.0.0&lt;BR /&gt;insf: Installing special files for sdisk instance 1 address 8/4.1.0&lt;BR /&gt;insf: Installing special files for sdisk instance 2 address 8/4.2.0&lt;BR /&gt;insf: Installing special files for sdisk instance 3 address 8/4.3.0&lt;BR /&gt;insf: Installing special files for sdisk instance 4 address 8/4.5.0&lt;BR /&gt;insf: Installing special files for sctl instance 0 address 8/4.7.0&lt;BR /&gt;insf: Installing special files for sdisk instance 5 address 8/4.8.0&lt;BR /&gt;insf: Installing special files for sdisk instance 23 address 8/4.9.0&lt;BR /&gt;insf: Installing special files for sdisk instance 6 address 8/4.10.0&lt;BR /&gt;insf: Installing special files for sdisk instance 7 address 8/4.11.0&lt;BR /&gt;insf: Installing special files for sdisk instance 8 address 8/4.12.0&lt;BR /&gt;insf: Installing special files for sdisk instance 9 address 8/4.13.0&lt;BR /&gt;insf: Installing special files for sdisk instance 21 address 8/4.14.0&lt;BR /&gt;insf: Installing special files for sdisk instance 24 address 8/4.15.0&lt;BR /&gt;insf: Installing special files for sdisk instance 11 address 8/8.0.0&lt;BR /&gt;insf: Installing special files for sdisk instance 12 address 8/8.1.0&lt;BR /&gt;insf: Installing special files for sdisk instance 13 address 8/8.2.0&lt;BR /&gt;insf: Installing special files for sdisk instance 14 address 8/8.3.0&lt;BR /&gt;insf: Installing special files for sctl instance 2 address 8/8.7.0&lt;BR /&gt;insf: Installing special files for sdisk instance 19 address 8/8.12.0&lt;BR /&gt;insf: Installing special files for sdisk instance 20 address 8/8.13.0&lt;BR /&gt;insf: Installing special files for sdisk instance 22 address 8/8.14.0&lt;BR /&gt;insf: Installing special files for sdisk instance 25 address 8/8.15.0&lt;BR /&gt;insf: Installing special files for CentIf instance 2 address 8/16/0&lt;BR /&gt;insf: Installing special files for stape instance 0 address 8/16/5.0.0&lt;BR /&gt;insf: Installing special files for sdisk instance 10 address 8/16/5.2.0&lt;BR /&gt;insf: Installing special files for sctl instance 1 address 8/16/5.7.0&lt;BR /&gt;insf: Installing special files for lan2 instance 0 address 8/16/6&lt;BR /&gt;insf: Installing special files for ps2 instance 0 address 8/16/7&lt;BR /&gt;insf: Installing special files for asio0 instance 1 address 8/20/2&lt;BR /&gt;insf: Installing special files for eisa_mux0 instance 2 address 8/20/5/1&lt;BR /&gt;insf: Installing special files for pseudo driver cn&lt;BR /&gt;insf: Installing special files for pseudo driver mm&lt;BR /&gt;insf: Installing special files for pseudo driver ptym&lt;BR /&gt;insf: Installing special files for pseudo driver ptys&lt;BR /&gt;insf: Installing special files for pseudo driver dmem&lt;BR /&gt;insf: Installing special files for pseudo driver diag0&lt;BR /&gt;insf: Installing special files for pseudo driver dev_config&lt;BR /&gt;insf: Installing special files for pseudo driver strlog&lt;BR /&gt;insf: Installing special files for pseudo driver sad&lt;BR /&gt;insf: Installing special files for pseudo driver echo&lt;BR /&gt;insf: Installing special files for pseudo driver dlpi&lt;BR /&gt;insf: Installing special files for pseudo driver ip&lt;BR /&gt;insf: Installing special files for pseudo driver arp&lt;BR /&gt;insf: Installing special files for pseudo driver rawip&lt;BR /&gt;insf: Installing special files for pseudo driver tcp&lt;BR /&gt;insf: Installing special files for pseudo driver udp&lt;BR /&gt;insf: Installing special files for pseudo driver stcpmap&lt;BR /&gt;insf: Installing special files for pseudo driver nuls&lt;BR /&gt;insf: Installing special files for pseudo driver netqa&lt;BR /&gt;insf: Installing special files for pseudo driver ptm&lt;BR /&gt;insf: Installing special files for pseudo driver pts&lt;BR /&gt;insf: Installing special files for pseudo driver beep&lt;BR /&gt;insf: Installing special files for pseudo driver tlclts&lt;BR /&gt;insf: Installing special files for pseudo driver tlcots&lt;BR /&gt;insf: Installing special files for pseudo driver tlcotsod&lt;BR /&gt;insf: Installing special files for pseudo driver telm&lt;BR /&gt;insf: Installing special files for pseudo driver klog&lt;BR /&gt;insf: Installing special files for pseudo driver sy&lt;BR /&gt;insf: Installing special files for pseudo driver kepd&lt;BR /&gt;insf: Installing special files for pseudo driver diag2&lt;BR /&gt;insf: Installing special files for pseudo driver tels&lt;BR /&gt;insf: Installing special files for pseudo driver root&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Ioscan shows the following:&lt;BR /&gt;&lt;BR /&gt;# ioscan -fnkCtty&lt;BR /&gt;Class     I  H/W Path  Driver      S/W State H/W Type  Description&lt;BR /&gt;===================================================================&lt;BR /&gt;tty       0  8/0/0     mux2        CLAIMED   INTERFACE MUX&lt;BR /&gt;                      /dev/diag/mux0    /dev/diag/tty0p7  /dev/tty0p1     &lt;BR /&gt;                      /dev/diag/tty0p0  /dev/mux0         /dev/tty0p7     &lt;BR /&gt;                      /dev/diag/tty0p1  /dev/tty0p0     &lt;BR /&gt;tty       1  8/20/2    asio0       CLAIMED   INTERFACE Built-in RS-232C&lt;BR /&gt;                      /dev/diag/mux1  /dev/mux1       /dev/tty1p0   &lt;BR /&gt;tty       2  8/20/5/1  eisa_mux0   CLAIMED   INTERFACE EISA card HWP1520&lt;BR /&gt;                      /dev/diag/mux2    /dev/tty2a8       /dev/tty2c1     &lt;BR /&gt;                      /dev/diag/mux2_1  /dev/tty2a9       /dev/tty2c10    &lt;BR /&gt;                      /dev/diag/mux2_2  /dev/tty2b1       /dev/tty2c11    &lt;BR /&gt;                      /dev/mux2         /dev/tty2b10      /dev/tty2c12    &lt;BR /&gt;                      /dev/tty2a1       /dev/tty2b11      /dev/tty2c13    &lt;BR /&gt;                      /dev/tty2a10      /dev/tty2b12      /dev/tty2c14    &lt;BR /&gt;                      /dev/tty2a11      /dev/tty2b13      /dev/tty2c15    &lt;BR /&gt;                      /dev/tty2a12      /dev/tty2b14      /dev/tty2c16    &lt;BR /&gt;                      /dev/tty2a13      /dev/tty2b15      /dev/tty2c2     &lt;BR /&gt;                      /dev/tty2a14      /dev/tty2b16      /dev/tty2c3     &lt;BR /&gt;                      /dev/tty2a15      /dev/tty2b2       /dev/tty2c4     &lt;BR /&gt;                      /dev/tty2a16      /dev/tty2b3       /dev/tty2c5     &lt;BR /&gt;                      /dev/tty2a2       /dev/tty2b4       /dev/tty2c6     &lt;BR /&gt;                      /dev/tty2a3       /dev/tty2b5       /dev/tty2c7     &lt;BR /&gt;                      /dev/tty2a4       /dev/tty2b6       /dev/tty2c8     &lt;BR /&gt;                      /dev/tty2a5       /dev/tty2b7       /dev/tty2c9     &lt;BR /&gt;                      /dev/tty2a6       /dev/tty2b8     &lt;BR /&gt;                      /dev/tty2a7       /dev/tty2b9     &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This leads me to believe that the number of the mux ports has changed after using the recover tape.&lt;BR /&gt;&lt;BR /&gt;I edited /etc/inittab as follows:&lt;BR /&gt;&lt;BR /&gt;#e9:3:off:/usr/sbin/getty -h ttyd2a1 9600M&lt;BR /&gt;e9:3:off:/usr/sbin/getty -h tty2a1 9600M&lt;BR /&gt;#f5:3:respawn:/usr/lbin/uucp/uugetty -r -t 60 -h ttyd0p7 19200&lt;BR /&gt;f5:3:respawn:/usr/lbin/uucp/uugetty -r -t 60 -h tty2a7 19200&lt;BR /&gt;&lt;BR /&gt;and then issued the command:&lt;BR /&gt;&lt;BR /&gt;#init q&lt;BR /&gt;&lt;BR /&gt;I am no longer getting the error on the console, but the printer and the fax modem are still not working.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;</description>
      <pubDate>Tue, 10 May 2005 09:51:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getty-cannot-open-quot-ttyd0p7-quot-errno-2/m-p/4901147#M404068</guid>
      <dc:creator>Edward Alfert_2</dc:creator>
      <dc:date>2005-05-10T09:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: getty: cannot open "ttyd0p7". errno: 2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getty-cannot-open-quot-ttyd0p7-quot-errno-2/m-p/4901148#M404069</link>
      <description>I fixed the fax modem problem by doing the following:&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/mksf -d eisa_mux0 -H 8/20/5/1 -a2 -v&lt;BR /&gt;        making ttyd2a1 c 236 0x020002&lt;BR /&gt;&lt;BR /&gt;But now I still need to solve the printer problem.  It is connected to the same mux but port 7 instead of 1.&lt;BR /&gt;&lt;BR /&gt;My question now is how does the mksf command differ since the device is a printer instead of a fax modem?</description>
      <pubDate>Tue, 10 May 2005 10:16:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getty-cannot-open-quot-ttyd0p7-quot-errno-2/m-p/4901148#M404069</guid>
      <dc:creator>Edward Alfert_2</dc:creator>
      <dc:date>2005-05-10T10:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: getty: cannot open "ttyd0p7". errno: 2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getty-cannot-open-quot-ttyd0p7-quot-errno-2/m-p/4901149#M404070</link>
      <description>In searching various places, I found documentation saying that I should do the following to recreate the special file for the printer connected to port 7 of the mux.&lt;BR /&gt;&lt;BR /&gt;#mksf -d eisa_mux0 -l 0 -p 7 -i /dev/ttyd0p7&lt;BR /&gt;&lt;BR /&gt;The command returned no feedback but did not create /dev/ttyd0p7&lt;BR /&gt;&lt;BR /&gt;I'm really not sure what else to try.</description>
      <pubDate>Tue, 10 May 2005 10:45:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getty-cannot-open-quot-ttyd0p7-quot-errno-2/m-p/4901149#M404070</guid>
      <dc:creator>Edward Alfert_2</dc:creator>
      <dc:date>2005-05-10T10:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: getty: cannot open "ttyd0p7". errno: 2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getty-cannot-open-quot-ttyd0p7-quot-errno-2/m-p/4901150#M404071</link>
      <description>Ok... problem solved.&lt;BR /&gt;&lt;BR /&gt;This is being added in case anyone has this problem in the future.&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/mksf -d eisa_mux0 -H 8/20/5/1 -p a7 -l -v&lt;BR /&gt;        making c2a7_lp c 236 0x020600</description>
      <pubDate>Tue, 10 May 2005 11:27:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getty-cannot-open-quot-ttyd0p7-quot-errno-2/m-p/4901150#M404071</guid>
      <dc:creator>Edward Alfert_2</dc:creator>
      <dc:date>2005-05-10T11:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: getty: cannot open "ttyd0p7". errno: 2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getty-cannot-open-quot-ttyd0p7-quot-errno-2/m-p/4901151#M404072</link>
      <description>:)</description>
      <pubDate>Tue, 10 May 2005 11:27:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getty-cannot-open-quot-ttyd0p7-quot-errno-2/m-p/4901151#M404072</guid>
      <dc:creator>Edward Alfert_2</dc:creator>
      <dc:date>2005-05-10T11:27:38Z</dc:date>
    </item>
  </channel>
</rss>

