r...@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.zbih...@1and1.ro] Sent: Wednesday, May 19, 2010 4:46 AM To: Nelson Pereira Cc: ram...@asipto.com; us...@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: > > r...@qa-qsuitepbx-01:/etc/default# /etc/init.d/kamailio start > > /etc/init.d/kamailio: 97: arithmetic expression: expecting primary: "" > > r...@qa-qsuitepbx-01:/etc/default# > > *From:* Elena-Ramona Modroiu [mailto:ram...@asipto.com] > *Sent:* Tuesday, May 18, 2010 2:18 PM > *To:* Nelson Pereira > *Cc:* us...@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 > > r...@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 _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users