jailkit 2.15 ubuntu 12.10 wont install

Discussion in 'Installation/Configuration' started by ldrrp, Mar 22, 2013.

  1. ldrrp

    ldrrp New Member

  2. darinpeterson

    darinpeterson Member

    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.
     
  3. ldrrp

    ldrrp New Member

    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
     
  4. darinpeterson

    darinpeterson Member

    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
     
  5. ldrrp

    ldrrp New Member

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

    darinpeterson Member

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

    Code:
    top
     
  7. ldrrp

    ldrrp New Member

    Thanks

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

    darinpeterson Member

    Glad it's working for you...
     

Share This Page