Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st September 2005, 21:36
mconigliaro mconigliaro is offline
Junior Member
 
Join Date: Sep 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time referenc

im getting this error at the end of the installation procedure. this box is running sles9.

Code:
Stopping ispconfig_tcpserver
Starting ispconfig_tcpserver
/home/admispconfig/ispconfig/tools/tcpserver/ispconfig_tcpserver: relocation error: /home/admispconfig/ispconfig/tools/tcpserver/ispconfig_tcpserver: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
/home/admispconfig/ispconfig/tools/tcpserver/ispconfig_tcpserver: relocation error: /home/admispconfig/ispconfig/tools/tcpserver/ispconfig_tcpserver: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
Reply With Quote
Sponsored Links
  #2  
Old 1st September 2005, 22:46
mconigliaro mconigliaro is offline
Junior Member
 
Join Date: Sep 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

fyi, the fix for this was to set the LD_ASSUME_KERNEL environmental variable before starting ispconfig_tcpserver. ultimately, i added the following to line 61 of /etc/init.d/ispconfig_tcpserver

Code:
LD_ASSUME_KERNEL=2.4.1
so now it looks like this:

Code:
LD_ASSUME_KERNEL=2.4.1 $prog ${array[$index]} ftp `which vsftpd` /etc/vsftpd_${array[$index]}.conf &
i hope someone out there find this helpful.

Last edited by mconigliaro; 1st September 2005 at 23:38.
Reply With Quote
  #3  
Old 2nd September 2005, 09:41
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Thanks for this post. We will test it on the other supported linux distros and if it works we will include it in the default start script.
Reply With Quote
  #4  
Old 14th November 2005, 15:26
maurisor maurisor is offline
Junior Member
 
Join Date: Nov 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Very thanks

I had the same problem, but now I have resolved
Reply With Quote
  #5  
Old 14th September 2006, 15:43
tmdg tmdg is offline
Junior Member
 
Join Date: Sep 2006
Posts: 22
Thanks: 2
Thanked 1 Time in 1 Post
Default

Hi,
I'm getting the same problem but the solutions above have not helped me. What else can I try?

The system has Fedora Core 5 installed adn fully up to date with yum. It took me a few goes to get ISPConfig to compile due to some missing rpms. It was a clean install.

I added the LD_ASSUME_KERNEL=2.4.1 I tried adding symlinks but no joy. :-(
That changes the error to

/home/admispconfig/ispconfig/tools/tcpserver/ispconfig_tcpserver: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

So I added a sym link
# ln -sf /lib/libc-2.4.so /usr/lib/libc.so.6

no change so I tried
# ln -sf /usr/lib/libc.so /usr/lib/libc.so.6

/home/admispconfig/ispconfig/tools/tcpserver/ispconfig_tcpserver: error while loading shared libraries: /usr/lib/libc.so.6: invalid ELF header

So obviously that is not right either.

Can anyone give me a pointer to the cause of my problem.

Regards.
Tom.
Reply With Quote
  #6  
Old 15th September 2006, 20:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Replace vsftpd with ProFTPd because then the ispconfig_tcpserver isn't needed anymore.
__________________
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
  #7  
Old 6th May 2007, 15:09
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

I had the same error after upgrading from Debian Sarge to Etch, for me it worked fine...
Reply With Quote
  #8  
Old 6th May 2007, 17:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Quote:
Can anyone give me a pointer to the cause of my problem.
The problem is that the tcpserver binary is compiled with a old libc version. The tcpserver is OpenSource, but the complete project has disappeared some time ago from the web and we dont have the sources, so we can not recompile it. Also we did not find a replacement for the tcpserver yet.

If anyone as a tcp server that is able to start one vsftpd instance for every IP address, please contact me.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 6th May 2007, 19:32
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

What does the tcpserver do or what tasks does it have to do?
Maybe it would be possible to redevelop the way, vsftpd is implemented?
Reply With Quote
  #10  
Old 6th May 2007, 19:42
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
 
Default

The tcpserver listens on all IP addresses on your server and spawns a vsftpd instance for every IP. I have researched a bit too and this might be possibly reimplemented with a custom Xinetd setup, where xinetd starts a different vsftpd version for every IP on the server.

The main problem is, that vsftpd allows onyl one anan ftp connection per server and not per IP address and we need one anon ftp per IP address to be able to offer anonftp for websites in ISPConfig.
__________________
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


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


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