[Users] Re: how to run openser through monit daemon?

Padmaja RV padmaja.rv at vodcalabs.com
Tue May 30 14:50:57 CEST 2006


Hi!
 there is something I need to mention here with respect to openser not 
working.....

Initially I had openser installed from .tar.gz and i could run it from 
/usr/local/sbin/openser. It worked fine that way without any authentication. 
I could see local registration of my sip UAs with the openser being 
successful.  then i set up mysql. It too started successfulyy thru webmin. 
next I tried to create the openser database in mysql from 
/usr/sbin/openser_mysql.sh create. It prompted me for the root password of 
mysql, the domain name and then failed stating that the Ha1 calculation 
failed. also when i tried to modify the openser.cfg file to support mysql 
database i found that there is no mysql.so module in the 
/usr/local/lib/openser/modules/ path.

Because of the above problems, I tried installing openser from CVS and here 
all the modules and configuration files are present in the respective 
locations as mentioned in the web link for installing openser. I could even 
create the openser database structures in mysql. i tried uncommenting the 
needed modules for database suppport. now when i try to run openser thru 
monit, there is absolutely no response and openser does not look like 
running............

I am a newbie at openser......please help me which way i should run 
openser.....

thanks and regards,
Padmaja
----- Original Message ----- 
From: "Bogdan-Andrei Iancu" <bogdan at voice-system.ro>
To: "Padmaja RV" <padmaja.rv at vodcalabs.com>
Cc: <users at openser.org>
Sent: Tuesday, May 30, 2006 2:08 PM
Subject: Re: how to run openser through monit daemon?


>
> may openser fails to start due a configuration error - check the log for 
> potential errors and hints.
>
> regards,
> bogdan
>
> Padmaja RV wrote:
>
>> Hi!
>> Thank you for the mail.
>>
>> I have already followed all the steps mentioned in the links .
>> http://openser.org/dokuwiki/doku.php?id=install_and_maintain_openser_from_cvs
>> http://openser.org/dokuwiki/doku.php?id=make_openser.init_script_work
>>
>> ... pls see my previous mail below.... after all these steps when i 
>> actually want to run openser from  /etc/init.d/openser start command, it 
>> starts monit daemon and then the command prompt appears back..... when i 
>> go to the directory /var/run/ i cant see the openser.pid file and also 
>> the monit daemon after a while responds that it could nt start openser. 
>> this i can see at http://localhost:2812 where the web interface for the 
>> monit is running...........
>>
>> Please let me know the problem free and preferred source of running 
>> openser.... which is the best way to run openser (is it from binary or 
>> cvs)?
>>
>> Thanks and Regards,
>> Padmaja
>> ----- Original Message ----- From: "Bogdan-Andrei Iancu" 
>> <bogdan at voice-system.ro>
>> To: "Padmaja RV" <padmaja.rv at vodcalabs.com>
>> Cc: <users at openser.org>
>> Sent: Tuesday, May 30, 2006 1:20 PM
>> Subject: Re: [Users] how to run openser through monit daemon?
>>
>>
>>> Hi,
>>>
>>> See 
>>> http://openser.org/dokuwiki/doku.php?id=make_openser.init_script_work
>>>
>>> regards,
>>> bogdan
>>>
>>> Padmaja RV wrote:
>>>
>>>> Hi all!
>>>> I have installed openser through CVS from the following link
>>>> http://openser.org/dokuwiki/doku.php?id=install_and_maintain_openser_from_cvs
>>>>
>>>> till the 8 th step in the link everything went well fine. in the 9 th 
>>>> step, there is a link to make oepnser.init script work and i did all 
>>>> the steps as described. I downloaded and installed the monit daemon to 
>>>> start openser thru it. however, now if i type /etc/init.d/openser 
>>>> start, it says command monit to start openser and then the command 
>>>> prompt appears back. i dont see the tcp and udp ports (5060 ) and other 
>>>> information etc when the openser is started.....and i cant figure out 
>>>> if it is running at all.....if i issue ps command, i dont see any pid 
>>>> for openser.....if i open the web interface of the monit daemon, i see 
>>>> that it is trying to start the openser but after some time it shows 
>>>> failed to start......
>>>>
>>>> please let me know what to do asap.....
>>>> Thanks
>>>>
>>>
>>>
>>
>
> 





More information about the sr-users mailing list