The connection refused

Author Message

Aleksandar Adam

Monday 21 November 2005 2:35:41 pm

Hi,
I have tried to install ezpublish 3.7.2 on linux Mandriva 2006. I have Mandriva installed as guest operating system in vmware 5.5 beta.

When I try to complete the rest of the installation I got the message
"The connection refused when attempting to connect localhost:8085"

when I tried with:
/opt/ezpublish/bin/ezpublish start"

I got the following:

Starting MySQL.../opt/ezpublish/mysql-4.1.14/libexec/mysqld: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

/opt/ezpublish/mysql-4.1.14/libexec/mysqld: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

/opt/ezpublish/mysql-4.1.14/libexec/mysqld: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

/opt/ezpublish/mysql-4.1.14/libexec/mysqld: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
done
Starting Apache...done

What is the possible problem and how to solve it?
Any answer is appreciated.

Łukasz Serwatka

Monday 21 November 2005 11:36:09 pm

Hi Aleksandar,

Check if libstdc++.so.5 (the library for gcc 3.2.x) is installed in /usr/local/lib?

If not, use urpmi and install missing library.

If yes, then create symbolic links to folder /usr/lib/:

ln -s /usr/local/lib/libstdc++.so.5 /usr/lib/libstdc++.so.5
ln -s /usr/local/lib/libgcc_s.so.1 /usr/lib/libgcc_s.so.1

I hope it will help you.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Aleksandar Adam

Tuesday 22 November 2005 2:10:37 pm

Now I got the different error, I have done I as you wrote but I got the error, if you need the output I can copy it but is one page long, the lines at the end are:

InnoDB: Doing recovery: scanned up to log sequence number 0 43634
051122 22:19:05 InnoDB: Flushing modified pages from the buffer pool...
051122 22:19:05 InnoDB: Started; log sequence number 0 43634
051122 22:19:05 [ERROR] Fatal error: Can't open privilege tables: Table 'mysql.host' doesn't exist
done
Starting Apache...done

Do you have any suggestions?

Łukasz Serwatka

Wednesday 30 November 2005 3:24:20 am

If you have already run the db installer (mysql_install_db), then you're not giving mysql the correct data directory. Check configuration file for mysql and make sure that correct path to datadir is used.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Aleksandar Adam

Thursday 01 December 2005 9:51:50 am

It still doesn't find libstdc++.so.5, I have symbolic links like this:

[root@localhost lib]# pwd
/usr/local/lib
[root@localhost lib]# ls -l
totalt 0
lrwxrwxrwx 1 root root 22 dec 4 10:36 libgcc_s.so.1 -> /usr/lib/libgcc_s.so.1
lrwxrwxrwx 1 root root 23 dec 4 10:34 libstdc++.so.5 -> /usr/lib/libstdc++.so.5*

and I got the same error as in the beginning:

[root@localhost mysql]# /opt/ezpublish/bin/ezpublish start
Starting MySQL.../opt/ezpublish/mysql-4.1.14/libexec/mysqld: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

Is there some other place where I can point to libstdc++.so.5 ?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.