From: Tony P. <To...@pl...> - 2007-05-03 16:58:29
|
<html><head><meta name=3D"Generator" content=3D"PSI HTML/CSS Generator"/> <style type=3D"text/css"><!-- body{font-family:'Tahoma';font-size:10pt;font-color:'#000000';} LI{display:list-item;margin:0.00in;} p{display:block;margin:0.00in;} body{} --></style> </head><BODY ><div><SPAN style=3D"font-size:10pt;">In the asterisk.conf file I= have the following:</SPAN></div> <div><SPAN style=3D"font-family:'Courier= New';font-size:9pt;">[options]</SPAN></div> <div><SPAN style=3D"font-family:'Courier New';font-size:9pt;">verbose =3D= 20 ;= Verbosity level for logging (-v)</SPAN></div> <div><SPAN style=3D"font-family:'Courier New';font-size:9pt;">highpriority =3D= yes ; Execute with= high priority (-p)</SPAN></div> <div> </div> <div><SPAN style=3D"font-size:10pt;">If I remove the verbose, the asterisk= will fork its process, with the verbose, it does not fork.</SPAN></div> <div> </div> <div><SPAN style=3D"font-size:10pt;">Just so you know, asterisk runs just= fine, but the console is not available and the mini-http never= loads.</SPAN></div> <div> </div> <div><SPAN style=3D"font-size:10pt;">Screen is great when dealing with a= console, but the problem is that I cannot log into the single default= console because of the above issue, therefore, screen is not= available.</SPAN></div> <div> </div> <div><SPAN style=3D"font-size:10pt;">Having the second console assures that= if/when the main console gets blocked (at least on the i586 platform), you= have a separate login point.<br /><br /></span></div> <div><SPAN style=3D"font-size:10pt;color:navy;">> On 5/3/07, Tony Plack= wrote:</SPAN></div> <div><SPAN style=3D"font-size:10pt;color:navy;">></SPAN></div> <div><SPAN style=3D"font-size:10pt;color:maroon;">>> I know I posted= this before, but when you run Asterisk in verbose</SPAN></div> <div><SPAN style=3D"font-size:10pt;color:maroon;">>> mode, Asterisk does= not release the console and fork a new thread.</SPAN></div> <div><SPAN style=3D"font-size:10pt;color:maroon;">>></SPAN></div> <div><SPAN style=3D"font-size:10pt;color:maroon;">>> In AstLinux, this= leaves the server "hung" just after the</SPAN></div> <div><SPAN style=3D"font-size:10pt;color:maroon;">>> asterisk init= script and no other scripts run.  Because it is</SPAN></div> <div><SPAN style=3D"font-size:10pt;color:maroon;">>> hung, the inittab= never runs and you do not get the console</SPAN></div> <div><SPAN style=3D"font-size:10pt;color:maroon;">>>= prompt.</SPAN></div> <div><SPAN style=3D"font-size:10pt;color:maroon;">>></SPAN></div> <div><SPAN style=3D"font-size:10pt;color:maroon;">>> Is it possible to= add a "&" after the "asterisk -p" line in the</SPAN></div> <div><SPAN style=3D"font-size:10pt;color:maroon;">>>= /etc/init.d/asterisk script?  I don't think it will break= things</SPAN></div> <div><SPAN style=3D"font-size:10pt;color:maroon;">>> when verbose mode= is not used.</SPAN></div> <div><SPAN style=3D"font-size:10pt;color:maroon;">>></SPAN></div> <div><SPAN style=3D"font-size:10pt;color:maroon;">>> It would also be= nice to have a couple more tty entries in</SPAN></div> <div><SPAN style=3D"font-size:10pt;color:maroon;">>> inittab for the= console.  I am not sure the impact of this with</SPAN></div> <div><SPAN style=3D"font-size:10pt;color:maroon;">>> non i586 devices,= but it is nice to have the extra consoles when</SPAN></div> <div><SPAN style=3D"font-size:10pt;color:maroon;">>> tty1 gets hung on= the inittab.</SPAN></div> <div><SPAN style=3D"font-size:10pt;color:maroon;">>></SPAN></div> <div><SPAN style=3D"font-size:10pt;color:maroon;">>> Any= thoughts?</SPAN></div> <div><SPAN style=3D"font-size:10pt;color:maroon;">>></SPAN></div> <div><SPAN style=3D"font-size:10pt;color:navy;">> Tony,</SPAN></div> <div><SPAN style=3D"font-size:10pt;color:navy;">></SPAN></div> <div><SPAN style=3D"font-size:10pt;color:navy;">> I run Asterisk in verbose= mode all of the time.  What changes did</SPAN></div> <div><SPAN style=3D"font-size:10pt;color:navy;">> you make (command line= arguments, config files, etc).  I don't ever</SPAN></div> <div><SPAN style=3D"font-size:10pt;color:navy;">> have the problems that= you are describing.</SPAN></div> <div><SPAN style=3D"font-size:10pt;color:navy;">></SPAN></div> <div><SPAN style=3D"font-size:10pt;color:navy;">> As far as extra ttys -= screen is included by default.  It is a much</SPAN></div> <div><SPAN style=3D"font-size:10pt;color:navy;">> more flexible and memory= efficient way to support multiple ttys.</SPAN></div> <div><SPAN style=3D"font-size:10pt;color:navy;">> Are you familiar with= it?</SPAN></div> </body></html> |