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
  #11  
Old 30th November 2011, 09:37
lollollollol lollollollol is offline
Member
 
Join Date: Nov 2011
Location: Madagascar
Posts: 44
Thanks: 7
Thanked 6 Times in 5 Posts
Default Jailkit issue

Hello,
After having upgrade to 3.0.4.1 release, I noticed that jailkit isn't working anymore...

Code:
# vdir /usr
...
lrwxrwxrwx   1 root root     24 27 nov.  16:40 jk_init.ini -> /etc/jailkit/jk_init.ini
lrwxrwxrwx   1 root root     27 27 nov.  16:40 jk_socketd.ini -> /etc/jailkit/jk_socketd.ini
...
Code:
# ls /etc/jail*
ls: impossible d'accéder ŕ /etc/jail*: Aucun fichier ou dossier de ce type
I don't know how to restore jailkit...
Help will be very appreciate.

Thank you.
Reply With Quote
Sponsored Links
  #12  
Old 30th November 2011, 13:20
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,792
Thanks: 821
Thanked 5,338 Times in 4,188 Posts
Default

Create the directory /etc/jailkit and then rerun the update as described in the manual update procedure in the first post and choose to reconfigure services.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #13  
Old 30th November 2011, 21:31
lollollollol lollollollol is offline
Member
 
Join Date: Nov 2011
Location: Madagascar
Posts: 44
Thanks: 7
Thanked 6 Times in 5 Posts
Default

Hello Till,
Thank you for your quick response.

After reflection, it's perhaps when upgrading to 3.0.4 that the problem occurred (not the 3.0.4.1), I'm not sure...

I performed the operation suggested. I'm not sure the problem is fully resolved.
My test user is still not jailrooted.

One link is still dead (jk_socketd.ini)

Code:
# vdir /usr/jk*
lrwxrwxrwx 1 root root 24 27 nov.  16:40 /usr/jk_init.ini -> /etc/jailkit/jk_init.ini
lrwxrwxrwx 1 root root 27 27 nov.  16:40 /usr/jk_socketd.ini -> /etc/jailkit/jk_socketd.ini

# vdir /etc/jailkit/
-rw-r--r-- 1 root root  272 30 nov.  20:49 jk_chrootsh.ini
-rw-r--r-- 1 root root 5034 30 nov.  20:49 jk_init.ini
As I do not know exactly how it works, I do not want to mess up my system...
The jailkit used by ispconfig is there? http://olivier.sessink.nl/jailkit/

I'll try to delete my test user and create a new one.

Thank you for your help.

Edit: I tried... and failed.

Code:
# tail -f /var/log/auth.log |grep "usermod\|sshd"
...
usermod[16394]: change user 'test' shell from '/bin/bash' to '/bin/false'
usermod[16394]: lock user 'test' password
usermod[16417]: change user 'test' shell from '/bin/false' to '/usr/sbin/jk_chrootsh'
usermod[16417]: unlock user 'test' password
sshd[16469]: User test not allowed because shell /usr/sbin/jk_chrootsh does not exist
sshd[16469]: Failed none for invalid user test from 41.xxx.xxx.xxx port 1692 ssh2
sshd[16469]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=my.domain.tld  user=test
sshd[16469]: Failed password for invalid user test from 41.xxx.xxx.xxx port 1692 ssh2

Last edited by lollollollol; 1st December 2011 at 07:05.
Reply With Quote
  #14  
Old 1st December 2011, 08:58
lollollollol lollollollol is offline
Member
 
Join Date: Nov 2011
Location: Madagascar
Posts: 44
Thanks: 7
Thanked 6 Times in 5 Posts
Default

Hi,

I've checked, lot of files concerning jalkit seems to be missing... in /usr/bin, /usr/sbin, /etc.
Like if jailkit was uninstalled, but I'have found nothing about jailkit in /var/lib/dpkg

Not sur it's a good idea...
I want to compil && install jailkit.deb made with http://olivier.sessink.nl/jailkit/jailkit-2.14.tar.bz2

It seems to be the same than the one used by ispconfig.

An advice would be very valuable before I mess up my system...
Reply With Quote
  #15  
Old 1st December 2011, 09:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,792
Thanks: 821
Thanked 5,338 Times in 4,188 Posts
Default

Quote:
It seems to be the same than the one used by ispconfig.
Jailkit is always a external package, it has to be installed separately before ispconfig is installed as described in the perfect setup guide. So jailkit is not part of ispconfig, ispconfig can use any jailkit version that is installed on the system. I dont think that your problem is related to a ispconfig update as ispconfig do not install or uninstall jailkit.

The best way to fix your setup is to install jailkit as you suggested and then run the ispconfig update again as ispconfig reconfigues some jailkit settings.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
lollollollol (1st December 2011)
  #16  
Old 1st December 2011, 15:50
lollollollol lollollollol is offline
Member
 
Join Date: Nov 2011
Location: Madagascar
Posts: 44
Thanks: 7
Thanked 6 Times in 5 Posts
Default

Quote:
Originally Posted by till View Post
I dont think that your problem is related to a ispconfig update as ispconfig do not install or uninstall jailkit.
Hi, Till,
Indeed, it's probably not a problem from upgrading ISPConfig.
The jailkit is reinstalled, the ISP upgrade performed. The jailkit still does not work (a dark problem of <jail> /. / <home>...).

I will not spoil more here!
Thank you for your help, and for the great work on this great tool: ISPConfig!

Bravo!
Reply With Quote
  #17  
Old 10th December 2011, 12:26
zicguy zicguy is offline
HowtoForge Supporter
 
Join Date: Dec 2011
Posts: 21
Thanks: 0
Thanked 2 Times in 2 Posts
Default Unable to create or edit email account

Since the last update (3.0.4.1), I can't create new email account. When I try that by clicking the "Add" button, I have a 500 error. What's wrong with this feature??? Can someone help me please. It's a blocker issue cause I have to create email accounts for our customers.

Thanks for helping me!
Reply With Quote
  #18  
Old 11th December 2011, 21:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Any errors in your logs?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #19  
Old 12th December 2011, 17:30
Sheebypanda Sheebypanda is offline
Junior Member
 
Join Date: Oct 2011
Location: France, mummy's home
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Mailboxes not editable since 3.0.4.1

Hi everyone.

Am I the only one to get mailbox list not editable ?
I guess this JS code must be executed on clic, but it just no happens :
<a onclick="loadContent('mail/mail_user_edit.php?id=37');" href="#">debat@maison.fr</a>

Well done to the team for the amazing job !
Reply With Quote
  #20  
Old 12th December 2011, 18:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,792
Thanks: 821
Thanked 5,338 Times in 4,188 Posts
 
Default

Quote:
Am I the only one to get mailbox list not editable ?
At least we have no other reports after several thousand installs of the new version. So its very likely a config issue on your system.

Just a guess, have you added a alias for "mail" somewhere in the apache config files?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

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
ISPConfig 3.0.3 released till General 52 2nd December 2010 17:24
ISPConfig 3.0.2.2 released till General 45 5th September 2010 17:58
ISPConfig 3.0.1 released till General 36 29th March 2009 14:30
ISPConfig 3.0.0.6 Beta released till General 38 21st September 2008 19:15
ISPConfig 2.3.3-dev released till General 10 12th March 2008 21:08


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


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