[Devel] openserctl start error!

Stephen Varga varga at zbzoom.net
Sat Mar 10 06:28:09 CET 2007


Kerry,

Most likely there is a syntax error in your config file. Verify your
config file is correct by doing the following

openser -c <config_file>

After you have valid config file, start openser manually to verify
everything is working properly by doing the following

openser -f <config_file>

verify that openser will complete its start up process. Once openser can
startup up manually, using openserctl start should work without any issues.

As long as you have fork=yes in your configuration, you don't have to do
anything special to have openser run as daemon.

Steve

sukerry wrote:
> Hi  all,
>
> when I used "openserctl start" to start openser,  a dead lock occured after "Starting OpenSER :  /usr/local/sbin/openser -P /var/run/openser.pid  1>/dev/null 2>/dev/null " printed.
> I added '&' after "/dev/null" in order to make openser run in daemon. however , an error still occurs:
>
> Starting OpenSER :  /usr/local/sbin/openser -P /var/run/openser.pid  1>/dev/null 2>/dev/null & 
> ERROR: PID file /var/run/openser.pid does not exist -- OpenSER start failed
>
> I am really confused about the result, can anybody help me? 
> Any clues will be appreciated.
>
> Best Regards
> Kerry
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>   




More information about the Devel mailing list