[nos-bbs] JNOS in TTY console on bootup

Wm Lewis thunderft at hotmail.com
Mon Jan 31 18:57:38 EST 2011


Answers inserted below:
 


> Sounds to m like something got upgraded and in turn "broken".
> 
> What does ls -l /dev/tty[0-9] produce? I'm betting that the permissions 
> are all wrong after a background update of some sort.
>
 
It produces this: (although I have no idea what it means.)
-------------------------------------------------------------------
root at linux:~# ls -l /dev/tty[0-9]
crw--w---- 1 root root 4, 0 2011-01-31 00:19 /dev/tty0
crw------- 1 root root 4, 1 2011-01-31 00:20 /dev/tty1
crw------- 1 root root 4, 2 2011-01-31 00:19 /dev/tty2
crw------- 1 root tty  4, 3 2011-01-31 15:03 /dev/tty3
crw--w---- 1 root tty  4, 4 2011-01-31 00:34 /dev/tty4
crw------- 1 root root 4, 5 2011-01-31 00:19 /dev/tty5
crw------- 1 root root 4, 6 2011-01-31 00:19 /dev/tty6
crw--w---- 1 root root 4, 7 2011-01-31 00:19 /dev/tty7
crw--w---- 1 root tty  4, 8 2011-01-31 00:19 /dev/tty8
crw--w---- 1 root tty  4, 9 2011-01-31 00:19 /dev/tty9
root at linux:~#
 
-------------------------------------------------------------
 
> Try this ;
> 
> # rm /dev/tty4
> # mknod /dev/tty4 c 4 4
>
 
 
Ok, done. Now I get this:
----------------------------------------------------------------
root at linux:~# ls -l /dev/tty[0-9]
crw--w---- 1 root root 4, 0 2011-01-31 00:19 /dev/tty0
crw------- 1 root root 4, 1 2011-01-31 00:20 /dev/tty1
crw------- 1 root root 4, 2 2011-01-31 00:19 /dev/tty2
crw------- 1 root tty  4, 3 2011-01-31 15:07 /dev/tty3
crw-r--r-- 1 root root 4, 4 2011-01-31 15:07 /dev/tty4
crw------- 1 root root 4, 5 2011-01-31 00:19 /dev/tty5
crw------- 1 root root 4, 6 2011-01-31 00:19 /dev/tty6
crw--w---- 1 root root 4, 7 2011-01-31 00:19 /dev/tty7
crw--w---- 1 root tty  4, 8 2011-01-31 00:19 /dev/tty8
crw--w---- 1 root tty  4, 9 2011-01-31 00:19 /dev/tty9
root at linux:~#
----------------------------------------------------------------
 
 
 Did a reboot and JNOS still didn't autorun.
 
Bill
 
 
 
 
 
> Mark
> 
> On 01/31/2011 04:19 AM, Wm Lewis wrote:
> > Hello All:
> >
> > In December of 2010 I started using JNOS on my new Ubuntu 10 machine.
> >
> > I wanted JNOS to automatically start when the computer booted, and a few
> > people helped me do that.
> >
> > First I was told I needed to change the file: /etc/init/tty4.conf to
> > read the following:
> >
> > ========================================================
> > # tty4 - getty
> > #
> > # This service maintains a getty on tty4 from the point the system is
> > # started until it is shut down again.
> > start on runlevel [23]
> > stop on runlevel [!23]
> > respawn
> > # exec /sbin/getty -8 38400 tty4
> > exec /jnos/startnos tty4
> > ========================================================
> >
> >
> >
> > Next I had to change the file: /jnos/startnos to read this
> >
> > ========================================================
> > rm -f /jnos/spool/mqueue/*.lck 2> /dev/null
> > rm -f /jnos/spool/mail/*.lck 2> /dev/null
> > exec /jnos/jnos -a 40 -d/jnos </dev/tty4> /dev/tty4 2>&1
> > ========================================================
> >
> >
> > After rebooting the computer, JNOS did indeed automatically run.
> >
> > Now, 3 weeks ago JNOS crashed with gibberish across the screen.
> > Since that time, JNOS will no longer automatically run on computer bootup.
> >
> > The tty4 console just has a blinking cursor and is non-responsive if I type
> > at the keyboard.
> >
> > I have tried using a different console to see if it was just a glitch in
> > tty4. No matter what
> > console I use, JNOS will no longer automatically run on startup of the
> > computer.
> >
> > I can go to any active console (say console 3) and change to the /JNOS
> > directory and
> > then run JNOS manually just fine.
> >
> > Looking at the logs for tty4 I see this:
> >
> > =============================================================
> > Jan 30 19:07:18 linux init: tty4 main process (14630) killed by TERM signal
> > Jan 30 19:07:25 linux init: tty4 main process (21223) terminated with
> > status 2
> > Jan 30 19:07:25 linux init: tty4 main process ended, respawning
> > Jan 30 19:07:25 linux init: tty4 main process (21226) terminated with
> > status 2
> > Jan 30 19:07:25 linux init: tty4 main process ended, respawning
> > Jan 30 19:07:25 linux init: tty4 main process (21229) terminated with
> > status 2
> > Jan 30 19:07:25 linux init: tty4 main process ended, respawning
> > Jan 30 19:07:25 linux init: tty4 main process (21232) terminated with
> > status 2
> > Jan 30 19:07:25 linux init: tty4 main process ended, respawning
> > Jan 30 19:07:25 linux init: tty4 main process (21235) terminated with
> > status 2
> > Jan 30 19:07:25 linux init: tty4 main process ended, respawning
> > Jan 30 19:07:25 linux init: tty4 main process (21238) terminated with
> > status 2
> > Jan 30 19:07:25 linux init: tty4 main process ended, respawning
> > Jan 30 19:07:25 linux init: tty4 main process (21241) terminated with
> > status 2
> > Jan 30 19:07:25 linux init: tty4 main process ended, respawning
> > Jan 30 19:07:25 linux init: tty4 main process (21244) terminated with
> > status 2
> > Jan 30 19:07:25 linux init: tty4 main process ended, respawning
> > Jan 30 19:07:25 linux init: tty4 main process (21247) terminated with
> > status 2
> > Jan 30 19:07:25 linux init: tty4 main process ended, respawning
> > Jan 30 19:07:25 linux init: tty4 main process (21250) terminated with
> > status 2
> > Jan 30 19:07:25 linux init: tty4 main process ended, respawning
> > Jan 30 19:07:25 linux init: tty4 main process (21253) terminated with
> > status 2
> > Jan 30 19:07:25 linux init: tty4 respawning too fast, stopped
> > =============================================================
> >
> >
> > My question is ... has anyone had a situtation like this ?
> >
> > I have no idea why JNOS wont automatically run on bootup now.
> >
> > Suggestions are appreciated.
> >
> > Bill
> > KG6BAJ
> >
> >
> >
> > _______________________________________________
> > nos-bbs mailing list
> > nos-bbs at tapr.org
> > https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs
> 
> -- 
> 
> 
> /\/\ark Phillips
> 
> _______________________________________________
> nos-bbs mailing list
> nos-bbs at tapr.org
> https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/nos-bbs_lists.tapr.org/attachments/20110131/49d17f33/attachment.html>


More information about the nos-bbs mailing list