OS will report: Warning -- ttymon cannot allocate controlling tty on "/dev/console", there may be another session active on this port. . Notes should also be added to TSMSTAxxx_SUN.README and TSMSTAxxx_SUN.README.INSTALL directing customers to refer to the additional information in Appendix A prior to installing the storage agent to prevent customers from installing In other words, you should see the same error if you hooked up a dumb terminal to the machine and tried to log in. I check the inittab and it has the following entry: co:234:respawn:/usr/lib/saf/ttymon -g -h -p "`uname -n` console login: " -T sun -d /dev/console -l console -m ldterm,ttcompat but again if it
The unistall process calls the "removefrominit" script to support upgrading and saving previous settings. . And if you don't have any CDE bits running (as daemons or temporarily in /etc/rc*.d), then I'm personally out of ideas. server1 console login: -------- after connecting thruogh SSH, I see the following process perhaps holding the console server1:/# ps -ef|grep -i console |grep -v grep root 3285 1 0 13:51:16 console The other strange thing is that the process number of ttymon is rather high for something which is started at boot time. Read More Here
server1 console login: -------- after connecting thruogh SSH, I see the following process perhaps holding the console server1:/# ps -ef|grep -i console |grep -v grep root 3285 1 0 13:51:16 console Any ideas would be helpful. In such cases it can be restored from the cdrom after booting from cdrom & mounting the hard disk # cp /platform/`uname -i`/ufsboot /mnt/platform/`uname -i` 6."boot: cannot open kernel/unix"Kernel directory or Tim __________________________________ Yahoo!
If it doesn't restart, run svcs -l svc:/system/console-login:default and post the output. (I'm assuming Solaris 10 here.) -- Andrew Gabriel Back to top Google Back to top Display posts from previous:
The details regarding options of these added scripts needs to be detailed in Appendix A. .
The addtoinittab script allows you to add the entry to the inittab that enables automatic startup. *** .
It is a security violation to access systems to which you are not authorized.
Then when I try to log in again on the console or any of the desktops, it is not taking any keyboard entries. multiple ttymons on console? 10. But, it really sounds like a sun bug of some sort - once you start passing characters back and forth with conserver, it's out of the way. The time now is 07:51 PM. - Contact Us - UNIX & Linux - unix commands, linux commands, linux server, linux ubuntu, shell script, linux distros. - Advertising - Top
Christine Remove advertisements Sponsored Links csross View Public Profile Find all posts by csross #2 12-11-2003 jsilva Registered User Join Date: Apr 2003 Last Activity: 28 July 2010, Try using fuser to see which processes are using the console. on my system (logged in to the console and running X)... # fuser /dev/console /dev/console: 682o 626o 609o 340o # ps -f -p 682,626,609,340 UID PID PPID C STIME TTY TIME https://groups.google.com/d/topic/comp.unix.solaris/xKj3bxHu1uk Follow-Ups: Re: console login problem (ttymon) From: Andrew Gabriel Re: console login problem (ttymon) From: nasir Prev by Date: Re: Shutdown not possible - RPC bind failure ?
on my system (logged in to the console and running X)... # fuser /dev/console /dev/console: 682o 626o 609o 340o # ps -f -p 682,626,609,340 UID PID PPID C STIME TTY TIME I saw what was using /dev/console but that was a program that has been running for years (qmail). Scripts are provided in the storage agent installation directory that enable you to modify the inittab. The Documentation does no give enough detail about the "addtoinit null" option.
Andrew Gabriel wrote: Quote: In article <[email protected]>, "nasir" writes: on my system it is as below, please suggest should i kill any of those? directory server1 console login: -------- after connecting thruogh SSH, I see the following process perhaps holding the console server1:/# ps -ef|grep -i console |grep -v grep root 3285 1 0 13:51:16 console Frequently, I'm getting the above messages during half way of my work and I need to relogin with my account and password. I'd get back in touch with sun and share the error and have them research which patch broke things.
Temporary fix Comments APAR Information APAR numberIC43928 Reported component nameTSM SERVER 510 Reported component ID5698ISMSV Reported release52S StatusCLOSED DOC PENoPE HIPERNoHIPER Special AttentionNoSpecatt Submitted date2004-12-15 Closed date2005-02-22 Last modified date2005-02-23 APAR I am able to remotely log in. Good luck! Is there any way to permanetly solve this problem and what was the causes?
Try killing it, and I think SMF will restart it automatically. csross View Public Profile Find all posts by csross #4 12-11-2003 jsilva Registered User Join Date: Apr 2003 Last Activity: 28 July 2010, 3:08 PM EDT Posts: 169 Christine Faq Reply With Quote December 12th, 2003,11:05 AM #2 No Profile Picture jayakhanna View Profile View Forum Posts Contributing User Devshed Newbie (0 - 499 posts) Join So typing isn't a problem.
After reboot , the console not able to connect ( hang ) . I type and nothing echos back or inputs. Problem conclusion he SUN TSM Storage Agent includes a tool called addtoinit that adds an entry to the Solaris /etc/inittab file.
ok> nvalias disk7 /[email protected],e0000000/[email protected],e0001000/[email protected],81000/[email protected],80000/sd2,0The new aliased disk can be named as boot disk or can be used for booting by refering its name .ok> setenv boot-device disk7ok>resetorok> boot disk7 3."Timeout waiting Do you want to rebuild this file [n]? Find all posts by jsilva #5 12-11-2003 csross Registered User Join Date: Dec 2003 Last Activity: 2 January 2013, 5:28 PM EST Posts: 35 Thanks: 0 Thanked 0 E.g.
When i try to manually run the ttymon in /etc/inittab: /usr/lib/saf/ttymon -g -h -p "`uname -n` console login: " -T sun -d /dev/console -l console -m ldterm,ttcompat I got the error so, kill all the ttymon processes, inittab has a line that will respawn a new process if there're none running... I used the previews enable commands . I've tried "fuser /dev/console" and kill off the process, but the problem keep on repeating.
There may be another session active on this port". TIA.