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.

eZ debug

Timing: Jan 19 2025 21:34:10
Script start
Timing: Jan 19 2025 21:34:10
Module start 'layout'
Timing: Jan 19 2025 21:34:10
Module start 'content'
Timing: Jan 19 2025 21:34:11
Module end 'content'
Timing: Jan 19 2025 21:34:11
Script end

Main resources:

Total runtime0.9678 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.1563152.6250
Module start 'layout' 0.00580.0028 741.781339.4609
Module start 'content' 0.00860.9578 781.2422579.5156
Module end 'content' 0.96640.0014 1,360.757816.1719
Script end 0.9678  1,376.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3274160.0002
Check MTime0.00130.1311160.0001
Mysql Total
Database connection0.00100.104210.0010
Mysqli_queries0.896492.6164630.0142
Looping result0.00070.0735610.0000
Template Total0.932896.420.4664
Template load0.00190.191720.0009
Template processing0.930996.184220.4655
Template load and register function0.00030.026210.0003
states
state_id_array0.00190.193610.0019
state_identifier_array0.00280.291920.0014
Override
Cache load0.00160.1658540.0000
Sytem overhead
Fetch class attribute can translate value0.00080.081020.0004
Fetch class attribute name0.00100.107670.0001
XML
Image XML parsing0.00370.378120.0018
class_abstraction
Instantiating content class attribute0.00000.0027100.0000
General
dbfile0.00420.4389240.0002
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 34
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs