HIPL 1.0.7 compiling problems

Asked by changyou xing

Hi, I compiled the HIPL 1.0.7 source code sucessfully. But when testing it, it did not work peoperly. For example.

(1) When using command "service hipd restart", the system outputs "Restarting hipd (via systemctl): Job failed. See system logs and 'systemctl status' for details.";

(2) When using command "hipconf daemon add hi default", the system outputs the following informations.

Using hostname: zm
Using format dsa and file (null)
hit: 2001:001f:946d:753c:22b8:bf9d:1fec:d727
hi is private rsa/dsa
DSA HIT: f4ff:c84e:f4ff:c84e:0100:0000:4020:b84e
Sending user message 65 to HIPD on socket 3
Sent 2440 bytes
Waiting to receive daemon info.
recv() peek error (is the daemon running?)
Sending msg failed.
Failed to send user message.
(Check syntax for hipconf. Is the daemon running or root privilege needed?)
Error: Cannot configure the daemon.

(3) When starting hipd, it outputs the following information.

iinfo(hipd/hipd.c:303@hipd_main): hipd pid=2213 starting
info(lib/core/hostid.c:729@hip_serialize_host_id_action): Using hostname: zm
error(lib/core/gpl/nlink.c:879@parse_rtattr): Deficit len 28, rta_len=0
error(hipd/hidb.c:755@hip_hidb_associate_default_hit_lsi): Error no lsi associated to hit
info(lib/core/conf.c:2772@hip_do_hipconf): User message was sent successfully to the HIP daemon.
info(lib/core/conf.c:2772@hip_do_hipconf): User message was sent successfully to the HIP daemon.
info(lib/core/conf.c:2772@hip_do_hipconf): User message was sent successfully to the HIP daemon.
info(lib/core/conf.c:1589@conf_handle_debug): Displaying INFO debugging messages
info(lib/core/conf.c:2772@hip_do_hipconf): User message was sent successfully to the HIP daemon.
info(hipd/init.c:1048@hipd_init): Initializing HIP relay / RVS.
info(hipd/init.c:1063@hipd_init): Initializing modules.
info(modules/heartbeat/hipd/heartbeat.c:447@hip_heartbeat_init): Initializing heartbeat extension
error(lib/core/cert.c:130@cert_load_x509_certificate): Could not open file for reading: /etc/hip/host-cert.der
info(modules/heartbeat_update/hipd/hb_update.c:87@hip_hb_update: Initializing tunnel updates for heartbeat extension
error(lib/core/hostsfiles.c:487@hip_map_id_to_ip_from_hosts_fil: Failed to map id to hostname
error(lib/core/gpl/nlink.c:879@parse_rtattr): Deficit len 28, rta_len=0
error(lib/core/hostsfiles.c:432@hip_map_hit_to_lsi_from_hosts_f: Failed to map id to hostname

Could you tell me what's wrong with my installation? Thank you very much.

Question information

Language:
English Edit question
Status:
Solved
For:
HIPL Edit question
Assignee:
No assignee Edit question
Solved by:
changyou xing
Solved:
Last query:
Last reply:
Revision history for this message
changyou xing (chyouxing) said :
#1

I have solved the problem, which was caused by my Linux configuration, thank you.