Operating System - HP-UX
1832673 Members
3053 Online
110043 Solutions
New Discussion

unable to open getty process

 
Peter Gillis
Super Advisor

unable to open getty process

HI.
ux 11.11v1 rp2470
I am tryi8ng to configure a modem connection on the server mainly for dialin.
I have created dev files and started getty .. or at least thoguth I had. On my gsp console I am getting messages:
getty: cannot open "ttyd0p4". errno: 25
getty: cannot open "ttyd0p2". errno: 25

Can anyone help me ...what does this mean??

thanks
maria
5 REPLIES 5
Rajeev  Shukla
Honored Contributor

Re: unable to open getty process

Hi Maria,

When you configure a serial device with HPUX you'll see a line in /etc/inittab file which runs a getty or uugetty proccess on the serial line which means it is listening for the inputs.
When you see the message as above you should be looking at the device file if it exists, its permission. Also for modem dialin i would suggest use /usr/lbin/uucp/uugetty instead of getty where you'll have an entry in inittab file as
a2:3:respawn:/usr/lbin/uucp/uugetty -r -t 60 -h ttyd2a3 9600

Cheers
Rajeev
Peter Gillis
Super Advisor

Re: unable to open getty process

Tahnks Rajeev,
I checked perms on dev file:
# ll /dev/ttyd0p2
crw--w---- 1 uucp bin 1 0x000206 Jul 7 16:02 /dev/ttyd0p2

and inittab is exactly as you specified. I do wonder though, what is the best way to make sure that I have actually specified the correct port number when defining config? I did it through sam.
thanks for helping
Maria
Rajeev  Shukla
Honored Contributor

Re: unable to open getty process

The last 2 digits "p2" tells the port number, which in your case is port 2 on the first mux card (or serial port card).
To verify i would dial into the number that is assigned to the port 2 and if it does pickup and you see the modem lights going on i would assume its working and connected to right port.
Also check in your inittab file that you dont have a duplicate entry for ttyd0p4 and ttyd0p2


Rajeev
Peter Gillis
Super Advisor

Re: unable to open getty process

Rajeev, no duplicate entries in inittab and I actually dialtone on both port 2 an port 4. so I still not know properly.
thanks for help anyway
maria
A. Clay Stephenson
Acclaimed Contributor

Re: unable to open getty process

Post your output from lsdev. Your system seems to think that character major device 1 is not a tty (ie serial device).
If it ain't broke, I can fix that.