[App_rpt-users] code 1
Geoff
ars.w5omr at gmail.com
Sun May 11 20:13:32 UTC 2014
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...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20140511/33ce4f00/attachment.html>
More information about the App_rpt-users
mailing list