[OpenSER-Users] openser is not running

David Villasmil david.villasmil.work at gmail.com
Thu Jun 26 15:17:07 CEST 2008


Elias,

     Obvously you did't read what I said:

/PATH/TO/openser.cfg

you were suposed to replace "/PATH/TO" with the actual path of your
openser.cfg....

but anyway, it seems like your config is in /usr/local/openser/etc

now start openser with

openser -E

to get errors on your console, or start openser while tail'ing the syslog
(that's /var/log/syslog)

On Thu, Jun 26, 2008 at 1:44 PM, Eliass Salim <salim at enseirb.fr> wrote:

> What Iget:
>
> [root at park sbin]# ./openser -c -f /path/to/openser.cfg
> Jun 26 12:40:44 [5288] ERROR:core:main: loading config
> file(/path/to/openser.cfg): No such file or directory
>
> [root at park sbin]# ./openser -c
> Jun 26 12:43:20 [5319] WARNING:core:fix_socket_list: could not rev. resolve
> 192.168.10.110
> Listening on
>            udp: 192.168.10.110 [192.168.10.110]:5060
> Aliases:
>
> Jun 26 12:43:20 [5319] NOTICE:core:main: config file ok, exiting...
>
>
>
> David Villasmil wrote:
>
>> run it as root:
>>
>> openser -c -f /path/to/openser.cfg
>>
>> so we discard possibilities
>>
>> On Thu, Jun 26, 2008 at 1:15 PM, Eliass Salim <salim at enseirb.fr <mailto:
>> salim at enseirb.fr>> wrote:
>>
>>    No OpenSER is not running, the result of the ps is:
>>
>>    root 3023 0.0 1.0 11816 5368 pts/1 S+ 10:00 0:00 emacs -nw
>>    /usr/local/etc/openser/openser.cfg
>>    root 3234 0.0 0.1 3884 656 pts/0 R+ 10:14 0:00 grep openser
>>
>>    I 've already create an openser user (with useradd) but I don't
>>    run it as root I've this error message (when I lauch
>>    /etc/init.d/openser) :
>>    Jun 26 12:01:21 [4365] CRITICAL:core:do_suid: cannot change gid to
>>    506: Operation not permitted
>>
>>    where 506 is the numerical value of the user's ID.
>>
>>    Eliass
>>
>>    Daniel-Constantin Mierla wrote:
>>
>>
>>
>>        On 06/25/08 18:36, Eliass Salim wrote:
>>
>>            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 ;
>>
>>        it is nothing wrong with the compilation. After you start
>>        openser, try:
>>
>>        ps auxw | grep openser
>>
>>        to see if openser is running.
>>
>>        Cheers,
>>        Daniel
>>
>>
>>            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 at enseirb.fr <mailto:salim at enseirb.fr>
>>                <mailto:salim at enseirb.fr <mailto:salim at 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 at 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> <http://127.0.0.1>
>>                [127.0.0.1 <http://127.0.0.1>
>>                <http://127.0.0.1>]:5060
>>                udp: 192.168.10.110 <http://192.168.10.110>
>>                <http://192.168.10.110>
>>                [192.168.10.110 <http://192.168.10.110>
>>                <http://192.168.10.110>]:5060
>>                tcp: 127.0.0.1 <http://127.0.0.1> <http://127.0.0.1>
>>                [127.0.0.1 <http://127.0.0.1>
>>                <http://127.0.0.1>]:5060
>>                tcp: 192.168.10.110 <http://192.168.10.110>
>>                <http://192.168.10.110>
>>                [192.168.10.110 <http://192.168.10.110>
>>                <http://192.168.10.110>]:5060
>>                Aliases:
>>                tcp: localhost:5060
>>                udp: localhost:5060
>>
>>                .
>>                [eliass at 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 at lists.openser.org
>>                <mailto:Users at lists.openser.org>
>>                <mailto:Users at lists.openser.org
>>                <mailto:Users at lists.openser.org>>
>>                http://lists.openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>>
>>            _______________________________________________
>>            Users mailing list
>>            Users at lists.openser.org <mailto:Users at lists.openser.org>
>>            http://lists.openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.openser.org
>> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20080626/cc02292a/attachment.htm 


More information about the Users mailing list