[SR-Users] Acnnot get Kamailio to start ... GRRR

Nelson Pereira npereira at protus.com
Wed May 19 14:02:50 CEST 2010


root at qa-qsuitePBX-01:/usr/local/sbin# file /bin/bash
/bin/bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), stripped

root:x:0:0:root:/root:/bin/bash


Nelson Pereira


-----Original Message-----
From: marius zbihlei [mailto:marius.zbihlei at 1and1.ro] 
Sent: Wednesday, May 19, 2010 4:46 AM
To: Nelson Pereira
Cc: ramona at asipto.com; users at lists.kamailio.org
Subject: Re: [SR-Users] Acnnot get Kamailio to start ... GRRR

Nelson Pereira wrote:
>
> That's what Im following as instructions, and am now getting:
>
> root at qa-qsuitePBX-01:/etc/default# /etc/init.d/kamailio start
>
> /etc/init.d/kamailio: 97: arithmetic expression: expecting primary: ""
>
> root at qa-qsuitePBX-01:/etc/default#
>
> *From:* Elena-Ramona Modroiu [mailto:ramona at asipto.com]
> *Sent:* Tuesday, May 18, 2010 2:18 PM
> *To:* Nelson Pereira
> *Cc:* users at lists.kamailio.org
> *Subject:* Re: [SR-Users] Acnnot get Kamailio to start ... GRRR
>
> Hi Nelson,
>
> here it is a step by step tutorial to install Kamailio 3.0 for 
> Debian/Ubuntu
>
> http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.0.x-from-git
>
> Cheers,
> Ramona
>
>
> On 05/18/2010 06:55 PM, Nelson Pereira wrote:
>
> Basic install with source using the provided script:
>
> make_and_install install "standard"
>
> then try to do :
>
> /usr/local/sbin/kamctl start
>
> INFO: Starting Kamailio :
>
> ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start 
> failed
>
> root at qa-qsuitePBX-01:/usr/local/sbin#
>
> What am I doing wrong?
>
> *Nelson Pereira*
>
Hello Nelson

It might be a problem with Debian, it's default shell is changed from 
bash to something else (It happened on some systems). Can you please 
have a look and tell us that indeed you are using bash as a shell (check 
/etc/password and then `file /bin/sh`).

AFAIK, the new Ubuntu/Debian shell is dash.

Cheers
Marius



More information about the sr-users mailing list