Howdy Folks, My allstar box has been down for a few months due to not having Internet connection. I got internet back finally and I just fired it up my allstar box today it has my node 29332 and 29265 in it. once it boots up, I get Asterisk end with exit status 1 Asterisk died with code 1 Automatically restarting Asterisk mpg123: no process killed that will keep repeating over and over until I shut the machine off. can someone tell me why this is doing this. the system was running fine before the internet was lost 73 Russ WL7LP
Russ, Once it boots up login and type the command # service asterisk stop Then read the log file # nano /var/log/asterisk/messages You will have to scroll to the bottom of the file to find out the problem. Usually I run the following sequence of commands # service asterisk stop # rm -Rf /var/log/asterisk/messages # service asterisk start Let it run until you get the error then: # service asterisk stop # nano /var/log/asterisk/messages -- Regards, Chris Andrist, KC7WSU On Apr 19, 2014, at 5:34 PM, "Russ WL7LP" <wl7lp@yahoo.com<mailto:wl7lp@yahoo.com>> wrote: Howdy Folks, My allstar box has been down for a few months due to not having Internet connection. I got internet back finally and I just fired it up my allstar box today it has my node 29332 and 29265 in it. once it boots up, I get Asterisk end with exit status 1 Asterisk died with code 1 Automatically restarting Asterisk mpg123: no process killed that will keep repeating over and over until I shut the machine off. can someone tell me why this is doing this. the system was running fine before the internet was lost 73 Russ WL7LP _______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org<mailto:App_rpt-users@ohnosec.org> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
No need to do that just do - tail /var/log/asterisk/messages tail returns the last 10 lines of the file or add a number to return the number of lines. tail -20 <filename> 73 Doug WA3DSP http://www.crompton.com/hamradio From: chris@yeahmon.net CC: app_rpt-users@ohnosec.org Date: Sat, 19 Apr 2014 23:56:40 +0000 Subject: Re: [App_rpt-users] code 1 Russ, Once it boots up login and type the command # service asterisk stop Then read the log file # nano /var/log/asterisk/messages You will have to scroll to the bottom of the file to find out the problem. Usually I run the following sequence of commands # service asterisk stop # rm -Rf /var/log/asterisk/messages # service asterisk start Let it run until you get the error then: # service asterisk stop # nano /var/log/asterisk/messages -- Regards, Chris Andrist, KC7WSU On Apr 19, 2014, at 5:34 PM, "Russ WL7LP" <wl7lp@yahoo.com> wrote: Howdy Folks, My allstar box has been down for a few months due to not having Internet connection. I got internet back finally and I just fired it up my allstar box today it has my node 29332 and 29265 in it. once it boots up, I get Asterisk end with exit status 1 Asterisk died with code 1 Automatically restarting Asterisk mpg123: no process killed that will keep repeating over and over until I shut the machine off. can someone tell me why this is doing this. the system was running fine before the internet was lost 73 Russ WL7LP _______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem. _______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
On 04/19/2014 06:56 PM, Chris Andrist wrote:
Russ,
Once it boots up login and type the command
# service asterisk stop
Then read the log file
# nano /var/log/asterisk/messages
Uhm... I'm just picking on nits here, but why use nano to 'read' a log file? isn't nano an editor? Use the universal commands in the OS. ~#> less /var/log/asterisk/messages You can even use the option +F with less to see the file grow in real-time. then use the up/down arrows, page up/down keys to see what you want. If you *know* the error message is in say the last 50 lines of the file, then ~#> tail -50 /path/to/file/to/view There are several tty (terminal) screens available (if you're at the local console), Alt F1, Alt F2, etc... If you need another screen to look at, while your system is running...
participants (4)
-
Chris Andrist -
Doug Crompton -
Geoff -
Russ WL7LP