07-07-2009
Now that I think about it, both the title and my explanation are probably misleading.
Each user is assigned specific ttys. If they don't log out properly, it is *only* their ttys that are busy. I think "Assigned pty cannot be opened." is the informative part of the error.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
SCO Unix OpenServer 5
I have this old impact printer that prints invoices, after about 15 pages it becomes misaligned.
ditty -a ttya04 shows -ixon -ixoff -ixany, which is not the right setting..
so, i type
ditty /dev/ttya04 ixon ixoff -ixany
when i ditty -a ttya04 again, the... (2 Replies)
Discussion started by: LowOrderBit
2 Replies
2. Programming
I need to spawn a number of foreground process by reading a configuration file. Each process needs some form of I/O. Hence I need to run it on different terminals.
How it can be done programatically , i.e. , my module needs to find which terminal is not in use, then open it, execute the process... (2 Replies)
Discussion started by: S.P.Prasad
2 Replies
3. UNIX for Advanced & Expert Users
We are having a problem on an AIX 4.3 system, whereby users somehow exit the system in a way such that their process continues to run.
In the who listing, the user may or may not be listed. Processes are still listed in ps, and are still assigned to the pseudo-tty. Processes continue to... (1 Reply)
Discussion started by: markat2k
1 Replies
4. Solaris
Hi I have a system that gave me some messages on bootup that I was not used to seeing:
pseudo: pseudo-device: vol0
genunix: vol0 is /pseudo/vol@0
these came with these:
Feb 13 17:42:17 system1 eri: SUNW,eri0 : 100 Mbps full duplex link up
Feb 13 17:42:21 system1sendmail: My unqualified... (0 Replies)
Discussion started by: mndavies
0 Replies
5. Solaris
Hi all,
what does this mean?
if
then
<something>
fi
here is what i know..
it checks if the specified argument no($devid) in some function call is made into a block device and then proceeds with the execution of the loop.
However am not understand what lofi@0:means?
also is there... (3 Replies)
Discussion started by: wrapster
3 Replies
6. UNIX for Advanced & Expert Users
Hi All,
I have putty on my system (Vista). I need some server details to login via internet for my personnel practice. Can any body help me out.
In case this not feasible, just let me know any other way to work with UNIX terminal on Windows Vista itself.
Please help me since i am desparately... (3 Replies)
Discussion started by: vikas_kesarwani
3 Replies
7. UNIX for Dummies Questions & Answers
Sometimes when I open up the terminal (like just now) it says
Last login: Wed Jun 17 07:29:25 on console
sometimes it says ttys (like when I exit and open a new window/tab). What's the difference? and is something fishy going on? (6 Replies)
Discussion started by: Straitsfan
6 Replies
8. UNIX for Advanced & Expert Users
Hi,
We have a filesystem mystery on our hands. Given:
2 machines, A and Aa.
Machine Aa is the problem machine.
Machine A is running Ubuntu, kernel 2.6.22.9 #1 SMP Wed Feb 20 08:46:16 CST 2008 x86_64 GNU/Linux. Machine Aa is running RHEL5.3, kernel 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38... (2 Replies)
Discussion started by: mschwage
2 Replies
9. UNIX for Dummies Questions & Answers
How can i view what my colleague is doing in the terminal pts/1 while i have logged into terminal pts/2 ?? Both have remotely logged in via ssh. (4 Replies)
Discussion started by: proactiveaditya
4 Replies
10. AIX
Hi ,
Following alerts are coming for %busy device on a server
Disk Device hdisk5 is 100% busy
Please assist how do I analyse this and also how do I check the %age busy for hdisk5.
Best regards,
Vishal (4 Replies)
Discussion started by: Vishal_dba
4 Replies
INIT(8) System Manager's Manual INIT(8)
NAME
init, rc - process control initialization
SYNOPSIS
/etc/init
/etc/rc
DESCRIPTION
Init is invoked as the last step of the boot procedure (see boot(8)). Generally its role is to create a process for each typewriter on
which a user may log in.
When init first is executed the console typewriter /dev/console. is opened for reading and writing and the shell is invoked immediately.
This feature is used to bring up a single-user system. If the shell terminates, init comes up multi-user and the process described below
is started.
When init comes up multiuser, it invokes a shell, with input taken from the file /etc/rc. This command file performs housekeeping like
removing temporary files, mounting file systems, and starting daemons.
Then init reads the file /etc/ttys and forks several times to create a process for each typewriter specified in the file. Each of these
processes opens the appropriate typewriter for reading and writing. These channels thus receive file descriptors 0, 1 and 2, the standard
input, output and error files. Opening the typewriter will usually involve a delay, since the open is not completed until someone is
dialed up and carrier established on the channel. Then /etc/getty is called with argument as specified by the last character of the ttys
file line. Getty reads the user's name and invokes login(1) to log in the user and execute the shell.
Ultimately the shell will terminate because of an end-of-file either typed explicitly or generated as a result of hanging up. The main
path of init, which has been waiting for such an event, wakes up and removes the appropriate entry from the file utmp, which records cur-
rent users, and makes an entry in /usr/adm/wtmp, which maintains a history of logins and logouts. Then the appropriate typewriter is
reopened and getty is reinvoked.
Init catches the hangup signal SIGHUP and interprets it to mean that the system should be brought from multi user to single user. Use
`kill -1 1' to send the hangup signal.
FILES
/dev/tty?, /etc/utmp, /usr/adm/wtmp, /etc/ttys, /etc/rc
SEE ALSO
login(1), kill(1), sh(1), ttys(5), getty(8)
INIT(8)