I never run it as root, I always create an "openser" user.<br>also, if you installed with "prefix=/" then the init script will never find cfg.<br><br>run it as root like so:<br><br>openser -c -f /path/to/openser.cfg<br>
<br>you'll get all the output on the console.<br><br><br>d<br><br><div class="gmail_quote">On Wed, Jun 25, 2008 at 7:38 PM, Hegner, Travis <<a href="mailto:thegner@trilliumit.com">thegner@trilliumit.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I would also make sure you ran the init.d script as root or with sudo.<br>
<br>
I run into a similar issue all the time when I forget to start openser with sudo.<br>
<br>
HTH<br>
<font color="#888888"><br>
Travis<br>
</font><div><div></div><div class="Wj3C7c"><br>
-----Original Message-----<br>
From: <a href="mailto:users-bounces@lists.openser.org">users-bounces@lists.openser.org</a> [mailto:<a href="mailto:users-bounces@lists.openser.org">users-bounces@lists.openser.org</a>] On Behalf Of Eliass Salim<br>
Sent: Wednesday, June 25, 2008 11:36 AM<br>
To: David Villasmil; <a href="mailto:Users@lists.openser.org">Users@lists.openser.org</a><br>
Subject: Re: [OpenSER-Users] openser is not running<br>
<br>
Yes, but I think there is a problem with the makefile, because when I<br>
use "make all" the compilation stops on :<br>
<br>
Linking xlog.so<br>
gcc -shared -Wl,-O2 -Wl,-E xl_lib.o xlog.o -o xlog.so<br>
make[1]: Leaving directory<br>
`/usr/local/src/openser-1.3.0/sip-server/modules/xlog'<br>
cd utils/openserunix; make all<br>
make[1]: Entering directory<br>
`/usr/local/src/openser-1.3.0/sip-server/utils/openserunix'<br>
make[1]: Nothing to be done for `all'.<br>
make[1]: Leaving directory<br>
`/usr/local/src/openser-1.3.0/sip-server/utils/openserunix'<br>
if [ "no" = "yes" ]; then \<br>
cd utils/db_berkeley; make all ; \<br>
fi ;<br>
<br>
<br>
Eliass<br>
<br>
David Villasmil wrote:<br>
> Have you read ALL the documentation?<br>
> Have you looked for error in /var/log/syslog?<br>
> Do you understand the openser.cfg?<br>
><br>
><br>
> d<br>
><br>
> On Wed, Jun 25, 2008 at 4:00 PM, Eliass Salim <<a href="mailto:salim@enseirb.fr">salim@enseirb.fr</a><br>
> <mailto:<a href="mailto:salim@enseirb.fr">salim@enseirb.fr</a>>> wrote:<br>
><br>
> hi,<br>
><br>
> I've installed openser 1.3.0 ( by following instructions from<br>
> <a href="http://www.openser.org/dokuwiki/do" target="_blank">http://www.openser.org/dokuwiki/do</a> [...] -from-svn)<br>
> <<a href="http://www.openser.org/dokuwiki/doku.php/install:openser-from-svn%29" target="_blank">http://www.openser.org/dokuwiki/doku.php/install:openser-from-svn%29</a>><br>
> on my computer (fedora core 6,result of the command uname -a: Linux<br>
> park 2.6.20-1.2952.fc6 #1 SMP Wed May 16 17:59:13 EDT 2007 i686 i686<br>
> i386 GNU/Linux), and when I launch OpenSER via /etc/ini.d/openser<br>
> start,<br>
> I've this:<br>
> [eliass@park ~]$ /etc/init.d/openser start<br>
> Starting openser: openser /var/run/openser/openser.pidListening on<br>
> udp: <a href="http://127.0.0.1" target="_blank">127.0.0.1</a> <<a href="http://127.0.0.1" target="_blank">http://127.0.0.1</a>> [<a href="http://127.0.0.1" target="_blank">127.0.0.1</a><br>
> <<a href="http://127.0.0.1" target="_blank">http://127.0.0.1</a>>]:5060<br>
> udp: <a href="http://192.168.10.110" target="_blank">192.168.10.110</a> <<a href="http://192.168.10.110" target="_blank">http://192.168.10.110</a>><br>
> [<a href="http://192.168.10.110" target="_blank">192.168.10.110</a> <<a href="http://192.168.10.110" target="_blank">http://192.168.10.110</a>>]:5060<br>
> tcp: <a href="http://127.0.0.1" target="_blank">127.0.0.1</a> <<a href="http://127.0.0.1" target="_blank">http://127.0.0.1</a>> [<a href="http://127.0.0.1" target="_blank">127.0.0.1</a><br>
> <<a href="http://127.0.0.1" target="_blank">http://127.0.0.1</a>>]:5060<br>
> tcp: <a href="http://192.168.10.110" target="_blank">192.168.10.110</a> <<a href="http://192.168.10.110" target="_blank">http://192.168.10.110</a>><br>
> [<a href="http://192.168.10.110" target="_blank">192.168.10.110</a> <<a href="http://192.168.10.110" target="_blank">http://192.168.10.110</a>>]:5060<br>
> Aliases:<br>
> tcp: localhost:5060<br>
> udp: localhost:5060<br>
><br>
> .<br>
> [eliass@park ~]$<br>
><br>
> OK, but when I check Openser status via /etc/ini.d/openser, I've:<br>
> Status of openser: openser is not running.<br>
> So, I don't undrstand why.<br>
> Can you help me?<br>
> Thanks<br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.openser.org">Users@lists.openser.org</a> <mailto:<a href="mailto:Users@lists.openser.org">Users@lists.openser.org</a>><br>
> <a href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.openser.org">Users@lists.openser.org</a><br>
</div></div><div><div></div><div class="Wj3C7c"><a href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>