I never run it as root, I always create an "openser" user.
also, if you installed with "prefix=/" then the init script will never find cfg.

run it as root like so:

openser -c -f /path/to/openser.cfg

you'll get all the output on the console.


d

On Wed, Jun 25, 2008 at 7:38 PM, Hegner, Travis <thegner@trilliumit.com> wrote:
I would also make sure you ran the init.d script as root or with sudo.

I run into a similar issue all the time when I forget to start openser with sudo.

HTH

Travis

-----Original Message-----
From: users-bounces@lists.openser.org [mailto:users-bounces@lists.openser.org] On Behalf Of Eliass Salim
Sent: Wednesday, June 25, 2008 11:36 AM
To: David Villasmil; Users@lists.openser.org
Subject: Re: [OpenSER-Users] openser is not running

Yes, but I think there is a problem with the makefile, because when I
use "make all" the compilation stops on :

Linking xlog.so
gcc -shared  -Wl,-O2 -Wl,-E    xl_lib.o xlog.o   -o xlog.so
make[1]: Leaving directory
`/usr/local/src/openser-1.3.0/sip-server/modules/xlog'
cd utils/openserunix; make all
make[1]: Entering directory
`/usr/local/src/openser-1.3.0/sip-server/utils/openserunix'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/local/src/openser-1.3.0/sip-server/utils/openserunix'
if [ "no" = "yes" ]; then \
                       cd utils/db_berkeley; make all ; \
               fi ;


Eliass

David Villasmil wrote:
> Have you read ALL the documentation?
> Have you looked for error in /var/log/syslog?
> Do you understand the openser.cfg?
>
>
> d
>
> On Wed, Jun 25, 2008 at 4:00 PM, Eliass Salim <salim@enseirb.fr
> <mailto:salim@enseirb.fr>> wrote:
>
>     hi,
>
>     I've installed openser 1.3.0 ( by following instructions from
>     http://www.openser.org/dokuwiki/do [...] -from-svn)
>     <http://www.openser.org/dokuwiki/doku.php/install:openser-from-svn%29>
>     on my computer (fedora core 6,result of the command  uname -a: Linux
>     park 2.6.20-1.2952.fc6 #1 SMP Wed May 16 17:59:13 EDT 2007 i686 i686
>     i386 GNU/Linux), and when I launch OpenSER via /etc/ini.d/openser
>     start,
>     I've this:
>     [eliass@park ~]$ /etc/init.d/openser start
>     Starting openser: openser /var/run/openser/openser.pidListening on
>               udp: 127.0.0.1 <http://127.0.0.1> [127.0.0.1
>     <http://127.0.0.1>]:5060
>               udp: 192.168.10.110 <http://192.168.10.110>
>     [192.168.10.110 <http://192.168.10.110>]:5060
>               tcp: 127.0.0.1 <http://127.0.0.1> [127.0.0.1
>     <http://127.0.0.1>]:5060
>               tcp: 192.168.10.110 <http://192.168.10.110>
>     [192.168.10.110 <http://192.168.10.110>]:5060
>     Aliases:
>               tcp: localhost:5060
>               udp: localhost:5060
>
>     .
>     [eliass@park ~]$
>
>     OK, but when I check Openser status via /etc/ini.d/openser, I've:
>     Status of openser: openser is not running.
>     So, I don't undrstand why.
>     Can you help me?
>     Thanks
>
>     _______________________________________________
>     Users mailing list
>     Users@lists.openser.org <mailto:Users@lists.openser.org>
>     http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
>


_______________________________________________
Users mailing list
Users@lists.openser.org