Can't start IOU with iouyap 0.95
Page 1 of 1

Author:  rochey [ Fri Jul 11, 2014 11:36 am ]
Post subject:  Can't start IOU with iouyap 0.95

Hi Grossmj,

I'm trying to use the 0.95 version of iouyap so that I can do packet capturing but when ever I try to start the IOU instance I get
Server error [-3200] from Could not start iouyap: [Errno 8] Exec format error

If I change to the other version I have of iouyap then the IOU instance works. I've also tried to run iouyap from the cli and that returns the Exec format error.
I'm using xubuntu 14.04 (32bit) and alpha8.

Another little bug I've noticed is that my folders are named "Projects" and "Images" (caps first letter). If I choose an IOU image in the preferences menu and hit save and apply the path changes to "images" (non caps first letter) and a new folder path is created from the images level e.g.
real path
new folders created path
/home/rochey/images/IOU/<IOU-name.bin> <--------- In my linux filemanger this is shown as a shortcut and not the IOU image.
This goes the same for the projects folder I don't know when it happened but I've now got a "projects" folder as well as a "Projects" folder. Seems to be a few issues with caps in the path.

If you need anything from me just let me know.


Author:  rochey [ Mon Jul 28, 2014 3:28 pm ]
Post subject:  Re: Can't start IOU with iouyap 0.95

I have had the chance to upgrade to GNS3 1.0-beta1 and I am still having issues using the iouyap 0.95. I even went as far as re-installing xubuntu 14.04 32bit and re-installing GNS3 (which then gave me websocket errors because of tornado version 4 - which I had to downgrade). As soon as I try to use the iouyap 0.95 I get the exec error as above.

Can anybody help? Has anyone managed to get GNS3 1.0-beta1 working on xubuntu 14.04 32bit?

Author:  rnewman [ Tue Jul 29, 2014 3:00 pm ]
Post subject:  Re: Can't start IOU with iouyap 0.95

Yes, I am running Kubuntu 14.04 32bit.
I have no issues running iouyap. But I have also compiled iouyap from source.
It sounds like the iouyap executable you have is a 64bit exec and not a 32bit exec.

Hope this helps.


Author:  rochey [ Wed Jul 30, 2014 10:19 am ]
Post subject:  Re: Can't start IOU with iouyap 0.95

Cheers for the reply rnewman.

I have been trying to get this working with the precompiled iouyap 0.95 from grossmj (the one he links to in the members area). I did try to compile my own but couldn't install iniparser.

Don't suppose you can give me some quick bullet points on how you compiled it on kubuntu please?
If you can that would be much appreciated.

Author:  rnewman [ Wed Jul 30, 2014 12:18 pm ]
Post subject:  Re: Can't start IOU with iouyap 0.95

Hi Rochey,
Sure. iniparser was a pain. I ended up downloading the sources (and pre-reqs) and compiling and installing. (copied to /usr/lib/
From there I also ended up copying the iniparser header to the iouyap directory and modifying the source to point to the local copies. (changed the <iniparser.h> to "iniparser.h")

Hope this helps. Let me know if you need anything else.

Author:  rochey [ Sat Aug 02, 2014 7:35 am ]
Post subject:  Re: Can't start IOU with iouyap 0.95

Hi again rnewman,

I'm still struggling with compiling iouyap, need your help again if possible.

I've compiled iniparser, moved the lib, moved the .h file into iouyap and modified the config.c and iouyap.c to use "iniparser.h". I've also installed bison and flex but when I try to compile I get an error "cannot find liniparser".
[email protected]:~/iouyap$ sudo make
gcc  -g -DDEBUG -Wall   -c -o iouyap.o iouyap.c
bison -y -d netmap_parse.y
mv -f netmap_parse.c
gcc  -g -DDEBUG -Wall   -c -o netmap_parse.o netmap_parse.c
flex  -t netmap_scan.l > netmap_scan.c
gcc  -g -DDEBUG -Wall   -c -o netmap_scan.o netmap_scan.c
gcc  -g -DDEBUG -Wall   -c -o netmap.o netmap.c
gcc  -g -DDEBUG -Wall   -c -o config.o config.c
gcc    iouyap.o netmap_parse.o netmap_scan.o netmap.o config.o  -liniparser -lpthread -o iouyap
/usr/bin/ld: cannot find -liniparser
collect2: error: ld returned 1 exit status
make: *** [iouyap] Error 1
rm netmap_scan.c netmap_parse.c
How did you overcome this? Is there something else I need to install?
I found a thread that said to iouyap you need the following to compile "gcc, flex, bison, libiniparser-devel, glibc-devel" but libiniparser.devel and glibc-devel are not available when I search for them.
I'm so close! Can you help again please?

Author:  rnewman [ Mon Aug 04, 2014 1:23 pm ]
Post subject:  Re: Can't start IOU with iouyap 0.95

Hi Rochey,

Here is what I've found on building iouyap. It doesn't use the standard make. I ended up building a script which I use to recompile when updates get posted.

bison --yacc -dv netmap_parse.y
flex netmap_scan.l
gcc -Wall -g *.c -o iouyap -liniparser -lpthread -L/home/rnewman/src/iniparser

I hope this helps.
Let me know if you run into further issues and I'll see what I can do.


Author:  rochey [ Wed Aug 06, 2014 2:04 pm ]
Post subject:  Re: Can't start IOU with iouyap 0.95

Thanks rnewman, I've got it all working now - packet capture goodness.

I've actually got it all working now on xbuntu 14.04, linux mint 17 32bit and linux mint 17 64bit (my current favorite).
I also managed to find some compile instructions for mint and iouyap that I thought I would repost to maybe help someone in the future.
sudo apt-get install bison flex

git clone
cd iniparser
sudo cp libiniparser.* /usr/lib/
sudo cp src/iniparser.h /usr/local/include
sudo cp src/dictionary.h /usr/local/include

git clone
cd iouyap
chmod +x iouyap
sudo cp iouyap /usr/local/bin/
These aren't specific to linux mint as they work on xubuntu as well.

Thanks again for your help rnewman.

Author:  rnewman [ Wed Aug 06, 2014 3:35 pm ]
Post subject:  Re: Can't start IOU with iouyap 0.95

Hi Rochey,
Very glad to hear it is all working.

I am very happy with how the new version is progressing. I am still waiting for QEMU support so I can run the PIX and IDS/IPS code.

Let me know if I can assist further.


Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group