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