HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   jailkit 2.15 ubuntu 12.10 wont install (http://www.howtoforge.com/forums/showthread.php?t=61080)

ldrrp 22nd March 2013 12:49

jailkit 2.15 ubuntu 12.10 wont install
 
cannot install jailkit 2.15 following this guide
http://www.howtoforge.com/perfect-se...ispconfig-3-p5

i have tried to change the symbolic link over to gcc 4.6 and 4.4 but it still will not work. currently it has 4.7

has anyone figured this out, or have a deb file you can send me for ubuntu 12.10 amd64

darinpeterson 22nd March 2013 14:44

Quote:

Originally Posted by ldrrp (Post 294501)
cannot install jailkit 2.15 following this guide
http://www.howtoforge.com/perfect-se...ispconfig-3-p5

i have tried to change the symbolic link over to gcc 4.6 and 4.4 but it still will not work. currently it has 4.7

has anyone figured this out, or have a deb file you can send me for ubuntu 12.10 amd64

I have successfully installed it on Debian Wheezy with no issues using:

Code:

wget http://olivier.sessink.nl/jailkit/jailkit-2.15.tar.gz
tar xvfz jailkit-2.15.tar.gz
cd jailkit-2.15
./debian/rules binary
cd ..
dpkg -i jailkit_2.15-1_*.deb

If this is not working for you, what errors are you receiving? I can build you a .deb in Wheezy if that will help.

ldrrp 22nd March 2013 17:17

im kind of currently switching from debian to ubuntu, so thats not an option.

This is an error i get using a precompiled deb file:
Selecting previously unselected package jailkit.
(Reading database ... 83201 files and directories currently installed.)
Unpacking jailkit (from jailkit_2.15-452~oneiric1_amd64.deb) ...
Setting up jailkit (2.15-452~oneiric1) ...
Starting jailkit: jk_socketdversion 2.15, no sockets specified in configfile /etc/jailkit/jk_socketd.ini or on commandline, nothing to do, exiting...
done.
Processing triggers for man-db ...
Processing triggers for ureadahead ...


And this is when i try to compile:
# Here the commands to compile the arch part of the package.
/usr/bin/make
make[1]: Entering directory `/tmp/jailkit-2.15'
make[2]: Entering directory `/tmp/jailkit-2.15/src'
gcc -lcap -o jk_socketd jk_socketd.o jk_lib.o utils.o iniparser.o
jk_socketd.c:474: error: undefined reference to 'pthread_create'
collect2: error: ld returned 1 exit status
make[2]: *** [jk_socketd] Error 1
make[2]: Leaving directory `/tmp/jailkit-2.15/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/jailkit-2.15'
make: *** [build-arch-stamp] Error 2

darinpeterson 23rd March 2013 00:42

I may be confused, but Ubuntu is a Debian based OS. I have actually used the Ubuntu 12.10 install to install ISPConfig 3 on Debian Wheezy.

This is exactly what jailkit says at the end of the installation process when installing the *.deb package:
Code:

Selecting previously unselected package jailkit.
(Reading database ... 83201 files and directories currently installed.)
Unpacking jailkit (from jailkit_2.15-452~oneiric1_amd64.deb) ...
Setting up jailkit (2.15-452~oneiric1) ...
Starting jailkit: jk_socketdversion 2.15, no sockets specified in configfile /etc/jailkit/jk_socketd.ini or on commandline, nothing to do, exiting...
done.
Processing triggers for man-db ...
Processing triggers for ureadahead ...

Which is what you have said you have seen... Why are you taking it further?

Darin

ldrrp 23rd March 2013 00:46

wait so does that mean it works, i can continue!!!

darinpeterson 23rd March 2013 05:59

From what I see, it should be working correctly. Run this command and see whether the fail2ban-server process shows up...

Code:

top

ldrrp 25th March 2013 06:51

Thanks
 
yea it worked, the big red warning the the tut makes you think twice about going ahead

darinpeterson 26th March 2013 13:31

Glad it's working for you...


All times are GMT +2. The time now is 19:43.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.