Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th March 2009, 18:24
sylvester_0 sylvester_0 is offline
Junior Member
 
Join Date: Mar 2007
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
Post ISPConfig 3.0.1 and broken jailkit

Hello all - first I'd like to show my gushing gratitude to all of the developers for this great thing that is ISPConfig!

Just yesterday I installed the final version of ISPConfig 3 onto a fresh Intrepid 8.10 inside of a VPS. All is working well so far except for the jailkit functionality.

Here are some errors that I'm seeing when trying to log in with a newly created shell user.

/var/log/auth.log:
Code:
sshd[24199]: error writing /proc/self/oom_adj: Operation not permitted
last message repeated 2 times
sshd[24199]: Accepted password for mydomain_tldadmin from 10.1.1.208 port 43759 ssh2
sshd[24199]: pam_unix(sshd:session): session opened for user mydomain_tldadmin by (uid=0)
jk_chrootsh[24202]: now entering jail /var/www/clients/client3/web3 for user web3 (1002)
jk_chrootsh[24202]: abort, username web3 differs from jail username mydomain_tldadmin for user ID 1002, check /etc/passwd and /var/www/clients/client3/web3/etc/passwd
sshd[24199]: pam_unix(sshd:session): session closed for user mydomain_tldadmin
/etc/passwd:
Code:
web3:x:1002:118::/var/www/clients/client3/web3/./home/web3:/bin/false
mydomain_tldadmin:x:1002:118::/var/www/clients/client3/web3/./home/mydomain_tldadmin:/usr/sbin/jk_chrootsh
/var/www/clients/client3/web3/etc/passwd:
Code:
root:x:0:0:root:/root:/bin/bash
mydomain_tldadmin:x:1002:118:::/bin/bash
The only other reference to this error that I can find is here: link.

In the end I'm hoping to use jailkit/ssh as a replacement for the insecure FTP service.

Thanks for any help!
Reply With Quote
Sponsored Links
  #2  
Old 27th March 2009, 12:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Did you install jailkit before you installed ISPConfig or after you installed ISPConfig. nd especially which jailkit version did you install?

The error "error writing /proc/self/oom_adj: Operation not permitted" seems to be a problem with your vps.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 27th March 2009, 20:48
sylvester_0 sylvester_0 is offline
Junior Member
 
Join Date: Mar 2007
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
Default

I did install it afterwards (I copy and pasted the install lines and forgot to run the make install because I was having problems compiling it because of limited VPS resources prior to that). I did find some instructions that said to run update.php if you install jailkit afterwards so I did so.

I installed the version located here: http://olivier.sessink.nl/jailkit/jailkit-2.5.tar.gz as set fourth in the instructions.

I'm just starting out so it wouldn't be hard to do a complete re-install if you think it's necessary.
Reply With Quote
  #4  
Old 27th March 2009, 22:23
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
 
Default

Maybe a reinstall is the cleanest and also fastest way. Jailkit works fine on my test systems as long as it is installed before ispconfig. If it is installed afterwards you might get various problems and thst not easy to debug. If possible I recoomend to use debian instead of ubuntu, they are very similar but debian is tested more and is known to run more stable with ISPConfig 3 then ubuntu.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Tags
ispconfig 3, jailkit

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Restoring Broken ISPConfig kextra1 General 4 16th April 2009 13:05
bzcat broken pipe after ISPConfig update jdubuke Installation/Configuration 3 11th July 2007 16:57
Broken link within ISPConfig? Hans General 2 12th December 2006 20:34
httpd broken after ISPConfig install ACDII Installation/Configuration 5 21st September 2006 20:16
Upgrading failed, ispconfig broken and ispconfig won't upgrade again dfriis Installation/Configuration 7 14th June 2006 17:54


All times are GMT +2. The time now is 00:03.


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