Displaying 20 results from an estimated 10000 matches similar to: "Disable root shell from CLI"
2008 May 11
2
Use safe_asterisk manually, you get colors in CLI. Crontab it, you don't.
2007 Jan 09
2
Fax through Sangoma A102
Hello,
in our company we are trying to do this:
Fax <--> Traditional PBX <--> Asterisk <--> PSTN
In practice, we have put an Asterisk equipped with a Sangoma A102 (2 PRI
ports) between our PBX (Siemens HiCom) and the PSTN in order to have a VoIP
network along the traditional telephony network.
The problem is with the fax. We just want to send and receive faxes from/to
our fax
2015 Dec 22
2
Asterisk CLI and database problem
Hello,
I have a problem related to the Asterisk CLI, when I enter "asterisk -rv", it cannot display the Asterisk CLI and instaed, I have this message "Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)."
When I check with "locate asterisk.ctl", it is indeed in the repertory "/var/run/".
So after searching I have found we can enter
2004 Mar 31
2
safe_asterisk with non-root user
Hello,
I've found a couple of previous posts on this subject, but with no
posted resolution...
I'm attempting to run * as a non-root user (asterisk), following the
guidelines on the wiki:
http://voip-info.org/tiki-index.php?page=Asterisk%20non-root
I can run * as my new user with "/usr/sbin/asterisk -vvvvc" without
problem.
However, I'm unable to run * using
2007 Mar 15
2
A200 card problem
Hi -
I just got an A200 card with 1 FXO and 1 FXS module. Sadly, I can't
make it work- currently, asterisk will not startup because of a bad
module. Below are some log files/config files. If anyone has any
suggestions, I'd appreciate it.
I used Trixbox 2.0 and followed instructions on (http://
sangoma.editme.com/wanpipe-linux-asterisk-atHome) - no problems
running through or
2006 Oct 31
1
Strange Characters in CLI on TTY9
When I look at TTY9 (using init.d and safe_asterisk to start the
asterisk process), I am getting some strange characters. When a
application is run the and the CLI shows the application executing the
languange almost looks russian...??
Anyone seen this before?
http://picasaweb.google.com/jonforrest.beck/AsteriskCLI
2007 Feb 13
2
problem with safe_asterisk
Hi all,
I have installed some Asterisk machine, all with the same problem.
My typical configuration is:
- Asterisk 1.2.14 (or 1.4.0beta3)
- CentOS 4.4 server.
The problem is this:
When I start Asterisk with the default init script (/etc/init.d/asterisk
start) distributed with the source, and kill (or kill -9) Asterisk-pid,
then safe_asterisk doesn't correctly work (it dies and not restart
2007 Jun 15
2
Run as root?
In looking at the safe_asterisk script, it would appear that it is
encouraging the running of the Asterisk application as root user. My
natural inclination is to run it as a non-privileged user. What is
recommendation?
+++++++++++++
This e-mail was checked by the TecInfo Content Scanning Service for potentially harmful content, such as viruses or Spam For more information, call 800.863.5415
2010 Jan 25
1
ASTSBINDIR not being picked up by safe_asterisk
Recently safe_asterisk is failing to pick up ASTSBINDIR. I've never had
this problem before and even when I move to back versions I have the
issue. I did upgrade safe_asterisk and the init.d scripts a version or
so ago but even when I try older ones I still have the problem. When I
hard code the location things seem to work. The problem that occurs is:
cat:
2011 Jan 20
2
Asterisk 1.6 SSH Console Colors Debian Lenny
Hi All,
I'm running * 1.6.0.28 on Debian Lenny. The init'd script starts the
asterisk daemon not the safe_asterisk daemon so when asterisk is
running and I ssh tot he server then 'asterisk -vr' to attach to the
asterisk console there are no colors. If I use the safe_asterisk
script to start asterisk, the colors are fine when I attach through
SSH.
I found this in the init
2008 Jun 03
2
Asterisk Seg faulting.... No core dump.
I have a instance of Asterisk 1.2.14 that is being run from safe_asterisk.
Asterisk is seg faulting and NOT generating a core dump.
Why would that be? How can I make it dump core? Is there a setting in the safe_asterisk script that I am missing?
Thanks,
Doug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Apr 03
1
Seg Fault after upgrade to Asterisk 1.6.0.8
Went from 1.6.0.6 to 1.6.0.8 and resulted in segmentation fault.
Reverted to 1.6.0.6 and back to normal.
------------------
Linux asterisk.hulber.com 2.6.18-128.1.1.el5 #1 SMP Mon Jan 26 13:58:24
EST 2009 x86_64 x86_64 x86_64 GNU/Linux
Apr 3 11:49:56 asterisk kernel: asterisk[3780]: segfault at
00002ce1ac0537a8 rip 0000003e980715a8 rsp 00007fff5bf00c30 error 4
Apr 3 11:50:00 asterisk
2010 Mar 23
4
Safe_asterisk doesn't exists???
Hello my friends,
I'm very worry about a problem i'm having...my asterisk got freez some
times, every 5 or 6 days with NO trace in /var/log/asterisk/messages
What i want to know is if safe_asterisk has something to be with this?
This is what i have on my server:
[root at mypbx ~]# ps -A | grep asterisk
9118 ? 00:01:30 asterisk
[root at dreampbx ~]# ps aux | grep asterisk
root
2011 Jul 01
1
Starting asterisk: /usr/sbin/safe_asterisk: line 86: ulimit: open files: cannot modify limit: Operation not permitted
Hi
Please help me understand about the below issue ?
[root at asterisk1 ~]# /etc/init.d/asterisk restart
Stopping safe_asterisk: [ OK ]
Shutting down asterisk: [ OK ]
Starting asterisk: /usr/sbin/safe_asterisk: line 86: ulimit: open
files: cannot modify limit: Operation not permitted
2004 Dec 20
2
Can asterisk be run as non root anymore?
safe_asterisk used to work fine but with v1.0.3 I am getting all kinds of
permission errors, intermittant failures, etc. Even with file permissions
relaxed and ownership set to asterisk it craps out. Seems to work fine
when run as root. Comments???
--
Andrew McRory - President/CTO
Linux Systems Engineers, Inc. - http://www.linuxsys.com
Located in beautiful Tallahassee, Florida
Office
2010 Mar 17
2
Asterisk 1.6.0.5 and app_system FAILED using TRYSYSTEM
Dear All,
i have following CLI error while try to run this command from Dialplan
*TrySystem("DAHDI/45-1", "asterisk -rx "dialplan add extension
1234111,1,Goto(incomingdundi,s,1) into dundilookup"") in new stack
WARNING[32626]: app_system.c:81 system_exec_helper: Unable to execute
'asterisk -rx "dialplan add extension 1234111,1,Goto(incomingdundi,s,1) into
2003 Nov 17
1
mpg123 core when stopping asterisk
I typically start asterisk with the safe_asterisk script:
22865 pts/3 S 0:00 /bin/sh /usr/sbin/safe_asterisk
22867 pts/3 S 0:31 asterisk -vvvg -c
22871 pts/3 S 0:00 mpg123 -q -s --mono -r 8000 -b 2048 For-You.mp3 for.m
22873 pts/3 S 0:00 mpg123 -q -s --mono -r 8000 -b 2048 For-You.mp3 for.m
But when I do a "stop now" from the CLI, the mpg123 causes a
2009 Nov 04
3
Asterisk 1.6.1.6 crashing
Hello all,
I have a pretty much standard installation of an Asterisk 1.6.1.6 with no
PRI cards of any type (full VoIP).
Occasionally (it happens every 2 weeks or so), it just stops running. I was
using safe_asterisk but it seems that safe_asterisk did not restart it. I do
have the core dump file at /tmp/core.myservername-2009-10-20T18:36:20+0200
but it seems it's from an earlier crash. When
2011 Jul 01
1
Starting asterisk: /usr/sbin/safe_asterisk: line 86: ulimit: open files: cannot modify limit: Operation not permitted
Hi
Please help me understand about the below issue ?
[root at asterisk1 ~]# /etc/init.d/asterisk restart
Stopping safe_asterisk: [ OK ]
Shutting down asterisk: [ OK ]
Starting asterisk: /usr/sbin/safe_asterisk: line 86: ulimit: open
files: cannot modify limit: Operation not permitted
2015 Mar 18
1
Asterisk 13.2.0 Video issues
If you take a look at the safe_asterisk shell script, usually located at
/usr/sbin/safe_asterisk (for CentOS at least), you'll be able to find where
the core files are located. If it's not located there, then you'll need to
look at the Asterisk init script for the scripts location. I hope this
helps.
Regards;
John
-----Original Message-----
From: asterisk-users-bounces at