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 13th October 2009, 12:35
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,216 Times in 4,089 Posts
Default

May you please check with "ls -la" if /bin/bash and /bin/sh are files or symlinks inside the crashed system. If they are symlinks, please check if the files that the symlinks point to exist.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Sponsored Links
  #12  
Old 13th October 2009, 12:37
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,216 Times in 4,089 Posts
Default

To all posters in this thread: May you please confirm to me that you are using jailkit 2.8 on your systems that had these problems.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #13  
Old 13th October 2009, 12:58
xerc xerc is offline
Junior Member
 
Join Date: Oct 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I used JailKit 2.8

/bin/bash and /bin/sh were files, no symlinks
Reply With Quote
  #14  
Old 13th October 2009, 13:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,216 Times in 4,089 Posts
Default

Is this a 32bit or 64bit linux system?

Below in the quoted area a few questions from Olivier. Please try to run the suggested comands on the binaries from the broken system and report the results.

Quote:
possibly the library loader (/lib/ld-linux.so.2) is corrupt, or it is a
dangling symlink ? That could cause a 'no such file or directory' error.

what does 'file /bin/bash' report? what does `ldd /bin/bash` report?

does someone have a virtual machine which can be used to reproduce the
problem? (I've tried on Ubuntu 9.04 but I found no problems)
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #15  
Old 13th October 2009, 16:35
xerc xerc is offline
Junior Member
 
Join Date: Oct 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It is 64 bit.

All files and all symlinks where correct.

I'm currently reinstalling the server because we need it so much, could not wait any longer, but I still have the HD Dump.


file bash
Code:
bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped
static:~/rescue_backup/rescue/bin# ldd bash
Code:
static:~/rescue_backup/rescue/bin# ldd bash
        linux-vdso.so.1 =>  (0x00007fffb61fe000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x00007f5aadc8c000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f5aada88000)
        libc.so.6 => /lib/libc.so.6 (0x00007f5aad735000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f5aadecb000)
Reply With Quote
  #16  
Old 13th October 2009, 16:37
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,216 Times in 4,089 Posts
Default

I was able to reproduce the problem now. It occurs only on 64Bit systems. I'am just preparing a virtual machine image to send it to Olivier.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #17  
Old 14th October 2009, 13:14
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,216 Times in 4,089 Posts
Default

The problem in jailkit has been fixed. The current CVS version of jailkit is working fine for me now and Olivier will release a fixed jailkit version soon. To get the fixed cvs release, use this command:

Code:
cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/jailkit co jailkit
and then run ./configure && make && make install

inside the jailkit directory.

If you have a 64Bit test system, it would be great if you might be able to test it. We have also found a typo in the jk_init.ini file which is delivered by ispconfig, this is not related directly to the problem in this thread but as the CVS version of jailkit has a better config file parser, it complains about the syntax error in the old file. This has been fixed in ispconfig SVN too and I attached the fixed file as .zip to this post here too.

Description of the error and possible solutions to make the system accessible again:

There was a error in the jailkit scripts in jailkit 2.8 that copy the system librarys which only affects directorys or files that are symlinked. In Debian and Ubuntu 64 bit, the lib64 directory is a symlink to the lib directory which causes the librarys in lib to be oevrwritten or removed. A possible solution to to make a broken system accessible again is to copy the librarys in lib from a working linux system or rescue cd (must be the same version and distribution of course) to your broken system and then reboot.
Attached Files
File Type: zip jk_init.zip (1.6 KB, 207 views)
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #18  
Old 14th October 2009, 16:31
sh1ny sh1ny is offline
Junior Member
 
Join Date: Mar 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, i will test this on a virtual machine soon.
Reply With Quote
  #19  
Old 14th October 2009, 16:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,216 Times in 4,089 Posts
Default

Thanks. Please let me know if it works.

Here is a download link for the upcoming ISPConfig 3.0.1.6 which contains the changed jk_init.ini file and some fixes in the update script.

http://www.ispconfig.org/downloads/I...-stable.tar.gz
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #20  
Old 15th October 2009, 09:48
Nikola Nikola is offline
Member
 
Join Date: Mar 2009
Posts: 33
Thanks: 25
Thanked 3 Times in 1 Post
 
Default

is new version

14-10-2009: Jailkit 2.9 released.

http://olivier.sessink.nl/jailkit/index.html#news
Reply With Quote
Reply

Bookmarks

Tags
chroot, crashed, debian, jalkit

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
Apache LoadBalanced, Ldirector. eterzella HOWTO-Related Questions 6 7th February 2009 15:43
Connection dropped by IMAP server gublym Server Operation 5 23rd January 2009 09:47
Rejecting outbound mail tristanlee85 General 11 20th May 2007 17:04
Problems with Postfix Mysql Courier PatrickAdrichem Installation/Configuration 3 13th April 2007 15:44
550-The recipient cannot be verified email problem safoo Installation/Configuration 7 29th November 2006 19:55


All times are GMT +2. The time now is 02:57.


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