Patschi
Posts: 44
Joined: Thu Jun 07, 2012 1:04 am
Location: Austria
Contact: ICQ Website

Ajenti on Raspberry Pi: Illegal instruction

Tue Mar 19, 2013 10:07 pm

Hello,

I'm trying since hours to get "Ajenti" (http://ajenti.org) working on my Raspberry Pi. I used the repo of them and compiled the source from github (https://github.com/Eugeny/ajenti/), but I'm always getting the following error when starting the service:
Illegal instruction
Someone have ideas how to get it working? Thanks in advance.

Kind regards,
Patschi
My german homepage: http://pkern.at (Ofcourse Raspberry Pi articles too :D)

scorpion_tr
Posts: 18
Joined: Wed Jul 04, 2012 1:37 pm

Re: Ajenti on Raspberry Pi: Illegal instruction

Thu Mar 21, 2013 4:09 pm

I am having the same problem.

Patschi
Posts: 44
Joined: Thu Jun 07, 2012 1:04 am
Location: Austria
Contact: ICQ Website

Re: Ajenti on Raspberry Pi: Illegal instruction

Sun Mar 24, 2013 9:57 pm

No one knows any solution? :(
My german homepage: http://pkern.at (Ofcourse Raspberry Pi articles too :D)


Patschi
Posts: 44
Joined: Thu Jun 07, 2012 1:04 am
Location: Austria
Contact: ICQ Website

Re: Ajenti on Raspberry Pi: Illegal instruction

Mon Mar 25, 2013 12:09 am

Thanks for your answer, but I had no luck.

I installed them, but still won't work:

Code: Select all

wgethttp://ftp.at.debian.org/debian/pool/main/p/python-greenlet/python-greenlet_0.4.0-2_armhf.deb
dpkg -i python-greenlet_0.4.0-2_armhf.deb

Code: Select all

wget http://ftp.at.debian.org/debian/pool/main/p/python-gevent/python-gevent_0.13.7-3_armhf.deb
dpkg -i python-gevent_0.13.7-3_armhf.deb
Output:

Code: Select all

[email protected]:~# apt-get install ajenti
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  python-lxml python-openssl
Suggested packages:
  python-lxml-dbg python-openssl-doc python-openssl-dbg
The following NEW packages will be installed:
  ajenti python-lxml python-openssl
0 upgraded, 3 newly installed, 0 to remove and 120 not upgraded.
Need to get 1,636 kB of archives.
After this operation, 5,159 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://repo.ajenti.org/debian/ main/main ajenti all 0.6.3 [294 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian/ wheezy/main python-lxml armhf 2.3.2-1 [1,193 kB]
Get:3 http://mirrordirector.raspbian.org/raspbian/ wheezy/main python-openssl armhf 0.13-2+rpi1 [149 kB]
Fetched 1,636 kB in 6s (266 kB/s)
Selecting previously unselected package python-lxml.
(Reading database ... 59328 files and directories currently installed.)
Unpacking python-lxml (from .../python-lxml_2.3.2-1_armhf.deb) ...
Selecting previously unselected package python-openssl.
Unpacking python-openssl (from .../python-openssl_0.13-2+rpi1_armhf.deb) ...
Selecting previously unselected package ajenti.
Unpacking ajenti (from .../archives/ajenti_0.6.3_all.deb) ...
Setting up python-lxml (2.3.2-1) ...
Setting up python-openssl (0.13-2+rpi1) ...
Setting up ajenti (0.6.3) ...
Illegal instruction
Starting Ajenti
Processing triggers for python-support ...
[email protected]:~#
My german homepage: http://pkern.at (Ofcourse Raspberry Pi articles too :D)

1pi2much
Posts: 99
Joined: Sun Feb 24, 2013 6:58 pm

Re: Ajenti on Raspberry Pi: Illegal instruction

Mon Mar 25, 2013 12:32 am

Is that the unstable version of python-{gevent,greenlet) ?
I thought you need to get it from unstable repo (sid)

http://wooledge.org/~greg/sidfaq.html#3

Sorry I dont know much about ajenti, I just googled your question :)

--

Patschi
Posts: 44
Joined: Thu Jun 07, 2012 1:04 am
Location: Austria
Contact: ICQ Website

Re: Ajenti on Raspberry Pi: Illegal instruction

Mon Mar 25, 2013 12:39 am

It's sid, because I catched it up from this site:
http://packages.debian.org/de/sid/armhf/python-gevent
http://packages.debian.org/de/sid/armhf/python-greenlet

But thank you very much for your help. I also googled a little bit, but didn't found a working solution.
My german homepage: http://pkern.at (Ofcourse Raspberry Pi articles too :D)

User avatar
jojopi
Posts: 3055
Joined: Tue Oct 11, 2011 8:38 pm

Re: Ajenti on Raspberry Pi: Illegal instruction

Mon Mar 25, 2013 1:02 am

Debian armhf packages are compiled for ARMv7, but the Pi has only an ARMv6 core. Attempting to run ARMv7 code on a Pi will result in the fatal signal "Illegal instruction".

If the packages or versions you need are not in the Raspbian repositories then your only option is to compile them from source.

supraLalu
Posts: 1
Joined: Sun Mar 31, 2013 1:29 pm
Location: Namur, Belgium

Re: Ajenti on Raspberry Pi: Illegal instruction

Sun Mar 31, 2013 1:31 pm

I found the solution : )

Code: Select all

apt-get install python-pip
apt-get install python-dev
apt-get install libevent-dev
pip install -U gevent
pip install greenlet==dev
/etc/init.d/ajenti restart
Has done the trick : D

Patschi
Posts: 44
Joined: Thu Jun 07, 2012 1:04 am
Location: Austria
Contact: ICQ Website

Re: Ajenti on Raspberry Pi: Illegal instruction

Sun Mar 31, 2013 3:51 pm

Thank you! It's working fine! :)
My german homepage: http://pkern.at (Ofcourse Raspberry Pi articles too :D)

Fastfuel
Posts: 1
Joined: Mon Nov 25, 2013 8:38 am

Re: Ajenti on Raspberry Pi: Illegal instruction

Mon Nov 25, 2013 9:00 am

Thanks every one, this post helped me a lot.
As a big Newbie, I followed the instructions, but I still had an "Illegal Instruction" firing at ajenti-panel starting.
I saw on this post http://ajenti.userecho.com/topic/297963 ... i-rasbian/ that an old version of psutil could be the reason (maybe I wasn't careful enough).

To check the version of the package installed with pip :

Code: Select all

sudo pip freeze
(I got psutil==0.6.1)

To upgrade to the latest

Code: Select all

sudo pip install psutil --upgrade
(I now have psutil==1.2.0)

and ajenti-panel is firing nicely :-)

Thanks again for RPi and Ajenti.
FF

Return to “Troubleshooting”