- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Device is locked when I run pppd
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
06-26-2000 09:52 PM
06-26-2000 09:52 PM
I can see messages "pppd: Fatal error: Can't open '/dev/ttyd0p4':Device is locked"
in /var/adm/pppd.log after run pppd on server with script below
#!/bin/sh
PATH=/usr/bin:/usr/etc:/etc:/bin
PPPHOME=/home/ppp
export PATH PPPHOME
stty -tostop
exec pppd `hostname` :172.19.31.222 idle 150
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2000 11:15 PM
06-26-2000 11:15 PM
SolutionRemove the lock file with rm (i.e. rm /var/spool/locks/lockfile).
This lock file is created uugetty.
To prevent this from happening in the future,
replace
/usr/lbin/uucp/uugetty
by
/usr/sbin/getty
in
/etc/inittab
for all PPP ports.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2000 11:25 PM
06-26-2000 11:25 PM
Re: Device is locked when I run pppd
Find out any process is runing for the particular device by using "ps -ef|grep ttyd0pX"
if it's running kill it by using "kill -9 PID"
you can try with recreating device file for the serial port by using "insf -e -H H/W PATH"
Find out whether "getty" process is runing or not if it is not runing, See the "respawn" entry is in /etc/inittab file,if not make it respawn for the device.
All the best
suren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2000 01:05 AM
06-27-2000 01:05 AM
Re: Device is locked when I run pppd
I can not go any where except server that I dialed to only ,
I can ping only server that I connected.
How can I solve this problem ?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2000 02:37 AM
06-27-2000 02:37 AM