← Back to team overview

rohc team mailing list archive

Re: [Question #256082]: iprohc_server is not running

 

Question #256082 on rohc changed:
https://answers.launchpad.net/rohc/+question/256082

    Status: Open => Answered

nick wernicke proposed the following answer:
I had a very similar problem. The problem for me was that I was not
specifying the underlying interface (eth1 in my case).

On Wed, Oct 22, 2014 at 11:36 PM, gordon <
question256082@xxxxxxxxxxxxxxxxxxxxx> wrote:

> New question #256082 on rohc:
> https://answers.launchpad.net/rohc/+question/256082
>
> Hi, I encounter some troubles,
> I have installed iprohc
> (refer to https://rohc-lib.org/wiki/doku.php?id=iprohc-install )
> and I follow the steps of building rohc tunnel
> (refer to https://rohc-lib.org/wiki/doku.php?id=iprohc-run )
>
> but it didn't work
>
> I do "Copy the generated PKCS#12 file
> demoCA/certs/IpRohcServer/newcert.p12 as /etc/ssl/server_voip.p12 on the
> server system."
> and create the yaml file from /etc/iprohc_server.conf
> # Config file for iprohc server
>
> general:
>     port: 3126                           # the TCP port to listen client
> requests on
>     pidfile: /var/run/iprohc_server.pid  # the file in which to record the
> PID file
>     p12file: /etc/ssl/server_voip.p12    # the server certificate and
> private key (PKCS12 format)
>
> tunnel:
>     ipaddr: 192.168.136.138   # The local IP address assigned by the
> server on the tunnel interface
>                            # (clients will get assigned one IP address in
> the associated /24 range)
>     packing: 5             # The packing level, ie. do not put more than N
> packets together in a tunnel frame
>     maxcid:  15            # The maximum allowed CID in the ROHC compressor
>     unidirectional: 1      # The ROHC mode (1 = unidirectional, 0 =
> bidirecional)
>     keepalive: 60          # The maximum time (in seconds) to receive
> keepalive before dying
>                            # (keepalives are sent every third of this
> value)
>
> # vim:ft=yaml
>
> where ipaddr: 192.168.136.138 is the client IP and I can ping to it
> successfully. (But /var/run/iprohc_server.pid doesn't exist)
>
> Then, I execute "/etc/init.d/iprohc_server start" and check by "grep
> iprohc_server /var/log/messages | tail -n 20"
> only receiving the message
> Oct 22 23:19:10 ubuntu iprohc_server[27808]: server stops with exit code 1
> Oct 22 23:19:10 ubuntu iprohc_server[27808]: close syslog session
>
> (I found others have encountered the similar problems but they have more
> detail debugging message)
> e.g.
> "Apr 22 23:55:07 Linux iprohc_server[9295]: load server certificate from
> file '/etc/ssl/client.p12'
> Apr 22 23:55:07 Linux iprohc_server[9295]: too few certificates in PKCS#12
> file '/etc/ssl/client.p12'
> Apr 22 23:55:07 Linux iprohc_server[9295]: remove pidfile
> '/var/run/iprohc_server.pid'   "
> Apr 22 23:55:07 Linux iprohc_server[9295]: server stops with exit code 1
> Apr 22 23:55:07 Linux iprohc_server[9295]: close syslog session
>
> So I'm not sure what's the problem I can't run.
> Can somebody help me?
>
> BR,
> Midi
>
> --
> You received this question notification because you are a member of ROHC
> Team, which is an answer contact for rohc.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~rohc
> Post to     : rohc@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~rohc
> More help   : https://help.launchpad.net/ListHelp
>

-- 
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.