← Back to team overview

rohc team mailing list archive

[Question #256082]: iprohc_server is not running

 

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.