InCAM提示gen_com-5004-Socket bind problem问题

前几天,早上一开机,发现incamd没启动,昨天还好好的,这到底是肿么了呀,查log如下:

***********INFORMATION 02Apr2014.184803.420 incamd 5032  2.22 (122875) Linux 64 Bit
no-juniors mode=1
***********ACTION     02Apr2014.184812.468 incamd 5032  2.22 (122875) Linux 64 Bit
incamd version: 2.22.122875 31Mar14 125418
***********INTERNAL   02Apr2014.184812.502 incamd 5032  2.22 (122875) Linux 64 Bit
Assertion failed: status == 0, file gen_com.c, line 364
***********ERROR      02Apr2014.184812.536 incamd 5032  2.22 (122875) Linux 64 Bit
Socket error : Cannot assign requested address at gen_com.c 364
Status raised : module - csl_com.c, line - 619
***********ERROR      02Apr2014.184812.603 incamd 5032  2.22 (122875) Linux 64 Bit
gen_com-5004-Socket bind problem
***********INFORMATION 02Apr2014.184812.636 incamd 5032  2.22 (122875) Linux 64 Bit
Main incamd exits: PID 5032


百思不得其解, 以为是自己incamd的问题,遂修改connection_data.xml文件,指向一正运行的服务器incamd。InCAM仍然起不来,log如下:

[~]% incam
STARTING CONNECTION ...
ENDING CONNECTION ...
Loading analyses and DFM actions ...
Finished loading analyses and DFM actions ...
***********INTERNAL   02Apr2014.183427.828 InCAM 4818 incam 2.22PR (122828) Linux 64 Bit
Assertion failed: status == 0, file gen_com.c, line 364
***********ERROR      02Apr2014.183427.829 InCAM 4818 incam 2.22PR (122828) Linux 64 Bit
Socket error : Resource temporarily unavailable at gen_com.c 364
Status raised : module - csl_com.c, line - 619
Status raised : module - ../src/CslServerPort.cpp, line - 48
Status raised : module - ../src/CmdProcessMngr.cpp, line - 93
Status raised : module - ../src/CmdRunnerAsync.cpp, line - 40
Status raised : module - ../src/CmdRunnerMulti.cpp, line - 89
Status raised : module - ../src/UaiRunnerMulti.cpp, line - 98
Status raised : module - ../src/CamApplication.cpp, line - 1264
Status raised : module - ../src/UaiApplication.cpp, line - 564
Status raised : module - ../src/UaiApplication.cpp, line - 335
Status raised : module - ../src/CamApplication.cpp, line - 494
Status raised : module - ../src/main.cpp, line - 544
Status raised : module - ../src/main.cpp, line - 532
***********ERROR      02Apr2014.183427.844 InCAM 4818 incam 2.22PR (122828) Linux 64 Bit
gen_com-5004-Socket bind problem
***********ERROR      02Apr2014.183427.845 InCAM 4818 incam 2.22PR (122828) Linux 64 Bit
gen_com-5004-Socket bind problem

纠结了好几天啊!终于把这问题搞定了,总结步骤如下:

1.在浏览器输入网址:<你本机的IP地址>:1947, 查看是否有Sentinel Admin Control Center的页面出现, 若没有,恭喜你,中奖了。

2.查看IP地址是否与以前一样,并设置IP地址为静态IP地址,并设置DNS Server的IP。

3.还是不行,查看hosts文件是否有定义incamd server的IP地址和主机名。

windows hosts文件的位置:C:\Windows\System32\drivers\etc

Linux hosts文件的位置:/etc/hosts

4.还是不行,重装aksusbd服务。




你可能感兴趣的:(socket,bind,problem,InCAM,gen_com-5004)