Turned out to be a dumb mistake on my part.

when su'ing to my non-root user, I was losing my PATH info.

safe_asterisk assumes /usr/sbin is in the PATH.

Cheers
Ryan

On 31-Mar-04, at 5:59 PM, Ryan Courtnage wrote:

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 safe_asterisk with my new user:

        Asterisk ended with exit status 127
        Asterisk died with code 127.  Aborting.

safe_asterisk is trying to use tty9 and I have changed the ownership appropriately:

# ls -l /dev/tty9
crw-rw-rw-    1 asterisk tty        4,   9 Mar 31 17:37 /dev/tty9

Any idea about what is wrong?

thx!
Ryan

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to