PDA

View Full Version : symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time referenc


mconigliaro
1st September 2005, 21:36
im getting this error at the end of the installation procedure. this box is running sles9.


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

mconigliaro
1st September 2005, 22:46
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


LD_ASSUME_KERNEL=2.4.1


so now it looks like this:


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.

till
2nd September 2005, 09:41
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.

maurisor
14th November 2005, 15:26
I had the same problem, but now I have resolved
:) :)

tmdg
14th September 2006, 15:43
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.

falko
15th September 2006, 20:16
Replace vsftpd with ProFTPd because then the ispconfig_tcpserver isn't needed anymore.

Ben
6th May 2007, 15:09
I had the same error after upgrading from Debian Sarge to Etch, for me it worked fine...

till
6th May 2007, 17:48
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.

Ben
6th May 2007, 19:32
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?

till
6th May 2007, 19:42
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.

Ben
27th May 2007, 13:35
Are there any news about that / a bug opened?

falko
28th May 2007, 17:31
No, unfortunately not...