sipwitch-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sipwitch-devel] sipwitch install problem: sipwitch: command: offlin


From: David Sugar
Subject: Re: [Sipwitch-devel] sipwitch install problem: sipwitch: command: offline
Date: Sat, 20 Jul 2013 08:36:51 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7

The pre-packages sipwitch no doubt starts the sipwitch server
(/usr/sbin/sipw) as part of it's post-install script.  The debian
packages I have made do this also.

Simply doing a "make install" will not start the sipw deamon by itself.
 Hence, since sipw is not already running, "sipwitch reload" would not
work either, and why you get the offline error, even as root.

You can start /usr/bin/sipw by hand directly, or you can run it through
the init script.  Then sipwitch reload (and other things) will work.

Incidentally, if "sipw" is started manually under ordinary user (rather
than root) permissions, it will create local runtime and config files
for that user (such as /tmp/sipwitch-user), rather than using
/var/run/sipwitch.  This means also sipwitch reload would also work for
that user only, you can place a local configuration for the daemon under
~/.sipwitch, and test changes under purely user privs without effecting
a global instance that might also be running.

On 07/19/2013 08:21 PM, bryan wrote:
> 1. Install sipwitch by apt-get install in the ubuntu
> 
> sudo apt-get install sipwitch sipwitch-plugin-forward is ok
> I can execute the sipwitch reload command, and there is no problem.
> 
> 
> 2. Install sipwitch by build the source, there is a problem
> 
> 2.1 install ucommon.
> 2.2 install libosip2
> 2.3 install libeXosip2
> 2.4 install sipwitch by './configure, make, sudo make install'
> Execute the 'sipwitch reload', and there are a error: *** sipwitch:
> command: offline
> 
> address@hidden:/home/blueprint# sipwitch reload
> *** sipwitch: command: offline
> address@hidden:/home/blueprint#
> 
> how can i fix it?
> 

Attachment: dyfet.vcf
Description: Vcard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]