[nos-bbs] JNOS in TTY console on bootup

Mark Phillips g7ltt at g7ltt.com
Mon Jan 31 05:42:05 EST 2011


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.

Try this ;

# rm /dev/tty4
# mknod /dev/tty4 c 4 4

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




More information about the nos-bbs mailing list