[asterisk-users] Asterisk Problem

Ahmed torinto torinto1984 at hotmail.com
Sun Oct 19 14:50:26 CDT 2008


After installing a new box and asterisk. i have got these errors
 
 
[root at localhost ~]# asterisk
 
Unable to open pid file '/var/run/asterisk/asterisk.pid': No such file or directory
 
[root at localhost ~]# asterisk -vr
 
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
 
I didn't find a folder called asterisk in the directory /var/run
 
[root at localhost ~]# cd /var/run/
[root at localhost run]# ls
acpid.socket  dbus               iptraf     messagebus.pid  ntpd.pid       sendmail.pid   sudo         utmp
atd.pid       dhclient-eth0.pid  klogd.pid  mysqld          ppp            sm-client.pid  syslogd.pid  winbindd
console       haldaemon.pid      mdadm      netreport       rpc.statd.pid  spamassassin   tog-pegasus  xfs.pid
crond.pid     httpd.pid          mdmpd      nscd            saslauthd      sshd.pid       usb          xinetd.pid
[root at localhost run]#
[root at localhost run]# asterisk -cvvvvv
Unable to open pid file '/var/run/asterisk/asterisk.pid': No such file or directory
Unable to bind socket to /var/run/asterisk/asterisk.ctl: No such file or directory
  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Asterisk 1.2.28, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer <markster at digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'show license' for details.
=========================================================================
  == Parsing '/etc/asterisk/logger.conf': Found
Asterisk Event Logger Started /var/log/asterisk/event_log
  == Parsing '/etc/asterisk/dnsmgr.conf': Found
Asterisk Dynamic Loader loading preload modules:
  == Parsing '/etc/asterisk/modules.conf': Found
  == Manager registered action Ping
  == Manager registered action Events
  == Manager registered action Logoff
  == Manager registered action Hangup
  == Manager registered action Status
  == Manager registered action Setvar
  == Manager registered action Getvar
  == Manager registered action Redirect
  == Manager registered action Originate
  == Manager registered action Command
  == Manager registered action ExtensionState
  == Manager registered action AbsoluteTimeout
  == Manager registered action MailboxStatus
  == Manager registered action MailboxCount
  == Manager registered action ListCommands
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/manager_custom.conf': Found
[root at localhost run]#
 
How can i solve it please?
 
 
 
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081019/a0981d69/attachment.htm 


More information about the asterisk-users mailing list