Unable to start ASP: cannot find sisp_amf

Submitted by cchang5 on Fri, 2007-06-22 13:01.

Hello, I've been trying to go through the evaluation kit and have got to section 5.2 in the evaluation guide where I'm trying to start the ASP. However I'm returned this error

[root@merry_0 ~]# sisp/etc/init.d/sisp start
Set up Environment
Starting sisp_amf: sisp_amf is not in /root/sisp/bin.
[FAILED]

Also I apparently don't ahve clIoc.ko and clIocUdpKernelXport.ko also.

insmod: can't read '/root/sisp/modules/clIoc.ko': No such file or directory
insmod: can't read '/root/sisp/modules/clIocUdpKernelXport.ko': No such file or directory

I just did an ./install.sh just like the installation guide told me to. Did I forget to configure something? Help is greatly appreciated. Thanks!

Submitted by AndrewStone on Fri, 2007-06-22 15:00.

sisp_amf is the main executable that starts everything else up, so it seems like you don't have a good build.

Once you do an install, you then have to create an "eval" project, build, deploy, etc. Did you do these steps? If so, please send me the output of your build, and also "uname -a" and "env" & please tell me which version of ASP you are using, and what linux distribution.

Thanks,
Andrew

Submitted by cchang5 on Fri, 2007-06-22 15:43.

After my installation I ran cl-eval-wizard. I'm not sure if that created an eval project or not. I'm using openclovis 2.2 (I think that's the ASP version?) and Fedora 5. Here's the "uname -a" and "env".
Thanks for the help!
-Jason

[root@merry_0 ~]# uname -a
Linux merry_0.ilc.hep.uiuc.edu 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 i686 i386 GNU/Linux

[root@merry_0 ~]# env
HOSTNAME=merry_0.ilc.hep.uiuc.edu
TERM=xterm
SHELL=/bin/bash
HISTSIZE=1000
SSH_CLIENT=192.168.206.12 42555 22
SSH_TTY=/dev/pts/2
USER=root
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/root
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/libexec:/root/bin
INPUTRC=/etc/inputrc
PWD=/root
LANG=en_US.UTF-8
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=1
HOME=/root
LOGNAME=root
SSH_CONNECTION=192.168.206.12 42555 192.168.206.103 22
LESSOPEN=|/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES=1
_=/bin/env

Submitted by AndrewStone on Tue, 2007-06-26 03:56.

With respect to the OpenClovis version, I am wondering if you downloaded 2.2.oss1 alpha or 2.2 GA candidate. The 2.2 GA candidate installs easily on RHEL4 or CentOS only. 2.2.oss1 has been tested on Fedora 6 and a variety of other Linux distributions, so that is your best bet. An easy way to tell them apart is to see if you have files named "preinstall-.sh" in the same directory as "install.sh" (or just read the readme or release doc).

Submitted by cchang5 on Tue, 2007-06-26 09:15.

I downloaded the alpha one.
I think I might of found my problem. I didn't run cl-create-project-area and do a ./configure -> make. I'm assuming this step is used to create the nesscary files.
However, now that I'm doing this, I run into this problem when I run make:

/root/clovis/projects/SISP/components/ioc/server/clIocCore.c: In function ‘iocRunTask’:
/root/clovis/projects/SISP/components/ioc/server/clIocCore.c:4098: warning: assignment from incompatible pointer type
/root/clovis/projects/SISP/components/ioc/server/clIocCore.c:4105: error: incompatible types in assignment
make[5]: *** [/root/clovis/projects/SISP/components/ioc/server/clIocCore.o] Error 1
make[4]: *** [_module_/root/clovis/projects/SISP/components/ioc/server] Error 2
make[4]: Leaving directory `/usr/src/kernels/2.6.20-1.2320.fc5-i686'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/clovis/projects/SISP/components/ioc/server'
make[2]: *** [server] Error 2
make[2]: Leaving directory `/root/clovis/projects/SISP/components/ioc'
make[1]: *** [ioc] Error 2
make[1]: Leaving directory `/root/clovis/projects/SISP/components'
make: *** [components] Error 2

If you can help me in any way that would be great. I don't speak C language so I don't know how to fix this. Nevertheless, thanks again Andrew!
-Jason

Submitted by cchang5 on Wed, 2007-06-27 15:30.

Alright... I'll try to install Core6 and see what happens. Thanks
-Jason

Submitted by AndrewStone on Tue, 2007-06-26 16:39.

This is almost always because your distro is running a slightly different version of the c compiler then we tested. We tested a variety of popular versions ranging from 4.3 to 4.1.2. I may need to install FC5 here and try it. But meanwhile, issue:
"gcc --version"
on the command line and paste the output. This will tell me what compiler version you are using.
If you have not "updated" your distro, and don't mind doing so that may also get you a later version of the compiler.

Andrew

Submitted by cchang5 on Mon, 2007-07-02 11:31.

gcc (GCC) 4.1.2 20070626 (Red Hat 4.1.2-13)

I'm also running Fedora Core6 now. I'm still getting this error though:

/openclovis/SISP/components/ioc/server/clIocCore.c: In function ‘iocRunTask’:
/openclovis/SISP/components/ioc/server/clIocCore.c:4098: warning: assignment from incompatible pointer type
/openclovis/SISP/components/ioc/server/clIocCore.c:4105: error: incompatible types in assignment

I really don't know what to do to have make work. =(

By the way, I'm noticing that everytime I run ./install.sh again, net-snmp V5.4, openhpi V2.6.3, openhpi-subagent V2.3.4 all have to be reinstalled everytime. Is that suppose to happen? Thanks!
-Jason