I have install rt1.0.7 on Rh linux 7.0 with perl vers 5.6 and MySQL
3.23…Everything appear to be done ok from the installation, but when i
try to run bin/rtadmin, i got this error message…
Mysql->connect(database=rt;host=localhost) failed: Can’t connect to local
MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (111) at
/usr/local/rt/lib/rt/database.pm line 24
[connectdb] Database connect failed: Can’t connect to local MySQL server
through socket ‘/var/lib/mysql/mysql.sock’ (111)
Compilation failed in require at /usr/local/rt/lib/rt/database/admin.pm line 8.
Compilation failed in require at /usr/local/rt/bin/rtmux.pl line 40.
I’m also, manualy able (using “mysql -D rt -h localhost”) to access the rt
Dtabase!!!
Mysql->connect(database=rt;host=localhost) failed: Can’t connect to local
MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (111) at
/usr/local/rt/lib/rt/database.pm line 24
the socket may be in /tmp instead, often is…
Terence C. Giufre-Sweetser
| TereDonn Telecommunications Ltd | Phone +61-[0]7-32369366 |
| 1/128 Bowen St, SPRING HILL | FAX +61-[0]7-32369930 |
| PO BOX 1054, SPRING HILL 4004 | Mobile +61-[0]414-663053 |
| Queensland Australia | http://www.tdce.com.au |
I have install rt 1.0.7 and it is working fine. Now i’m trying to install
the latest version 2.0.4 but i have a lot of trouble!!!
When i use fixdeps…it return two major error:
1 - when installing Apache::Cookie, it return this error
In file included from apache_request.c:58:
apache_request.h:5:19: httpd.h: Aucun fichier ou r?pertoire de ce type
apache_request.h:6:25: http_config.h: Aucun fichier ou r?pertoire de ce type
apache_request.h:7:23: http_core.h: Aucun fichier ou r?pertoire de ce type
apache_request.h:8:22: http_log.h: Aucun fichier ou r?pertoire de ce type
apache_request.h:9:23: http_main.h: Aucun fichier ou r?pertoire de ce type
apache_request.h:10:27: http_protocol.h: Aucun fichier ou r?pertoire de ce type
apache_request.h:11:25: util_script.h: Aucun fichier ou r?pertoire de ce type
make[1]: *** [apache_request.o] Erreur 1
make[1]: Quitte le répertoire `/root/.cpan/build/libapreq-0.31/c’
make: *** [subdirs] Erreur 2
/usr/bin/make – NOT OK
2 - When installing Apache::Session
t/99mysqllock…DBD::mysql::st execute failed: MySQL server has gone
away at blib/lib/Apache/Session/Lock/MySQL.pm line 70.
(in cleanup) DBD::mysql::st execute failed: MySQL server has gone
away at blib/lib/Apache/Session/Lock/MySQL.pm line 70.
what this mean? My mysql daemon is properly running!!!, and accessible
by rt1.0.7!!***
t/99mysqllock…ok
t/99mysqlstore…ok
t/99mysql…DBI->connect(sessions) failed: Access denied for user:
’@localhost’ to database ‘sessions’ at
blib/lib/Apache/Session/Lock/MySQL.pm line 36
(in cleanup) DBI->connect(sessions) failed: Access denied for
user: ‘@localhost’ to database ‘sessions’ at
blib/lib/Apache/Session/Lock/MySQL.pm line 36
t/99mysql…dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-8
Failed 8/8 tests, 0.00% okay
Can someone ahve an idea on these errors? Why Apache::Session is trying to
access teh database session without user name?
1: looks like you haven’t installed apache’s headers properly, so libapreq
can’t build against them.
2: known bug in the apache::session install. it’s trying to write to the ‘test’ database. a force install of that is safe.
-jesseOn Tue, Jul 31, 2001 at 09:37:19PM +0000, Adiel A. AKPLOGAN wrote:
Hello,
I have install rt 1.0.7 and it is working fine. Now i’m trying to install
the latest version 2.0.4 but i have a lot of trouble!!!
When i use fixdeps…it return two major error:
1 - when installing Apache::Cookie, it return this error
In file included from apache_request.c:58:
apache_request.h:5:19: httpd.h: Aucun fichier ou r?pertoire de ce type
apache_request.h:6:25: http_config.h: Aucun fichier ou r?pertoire de ce type
apache_request.h:7:23: http_core.h: Aucun fichier ou r?pertoire de ce type
apache_request.h:8:22: http_log.h: Aucun fichier ou r?pertoire de ce type
apache_request.h:9:23: http_main.h: Aucun fichier ou r?pertoire de ce type
apache_request.h:10:27: http_protocol.h: Aucun fichier ou r?pertoire de ce type
apache_request.h:11:25: util_script.h: Aucun fichier ou r?pertoire de ce type
make[1]: *** [apache_request.o] Erreur 1
make[1]: Quitte le répertoire `/root/.cpan/build/libapreq-0.31/c’
make: *** [subdirs] Erreur 2
/usr/bin/make – NOT OK
2 - When installing Apache::Session
t/99mysqllock…DBD::mysql::st execute failed: MySQL server has gone
away at blib/lib/Apache/Session/Lock/MySQL.pm line 70.
(in cleanup) DBD::mysql::st execute failed: MySQL server has gone
away at blib/lib/Apache/Session/Lock/MySQL.pm line 70.
what this mean? My mysql daemon is properly running!!!, and accessible
by rt1.0.7!!***
t/99mysqllock…ok
t/99mysqlstore…ok
t/99mysql…DBI->connect(sessions) failed: Access denied for user:
‘@localhost’ to database ‘sessions’ at
blib/lib/Apache/Session/Lock/MySQL.pm line 36
(in cleanup) DBI->connect(sessions) failed: Access denied for
user: ‘@localhost’ to database ‘sessions’ at
blib/lib/Apache/Session/Lock/MySQL.pm line 36
t/99mysql…dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-8
Failed 8/8 tests, 0.00% okay
Can someone ahve an idea on these errors? Why Apache::Session is trying to
access teh database session without user name?
1: looks like you haven’t installed apache’s headers properly, so libapreq
can’t build against them.
what do you sugest? did i have to reinstall appache server? or only the
header? if i can install only the headers, do you where ican dowload one?
2: known bug in the apache::session install. it’s trying to write to the
‘test’ database. a force install of that is safe.
I use MCPAN to install it! please what is the syntaxe for force installation?
Thank in advance for you help.
–Adiel
-jesse
Hello,
I have install rt 1.0.7 and it is working fine. Now i’m trying to install
the latest version 2.0.4 but i have a lot of trouble!!!
When i use fixdeps…it return two major error:
1 - when installing Apache::Cookie, it return this error
In file included from apache_request.c:58:
apache_request.h:5:19: httpd.h: Aucun fichier ou r?pertoire de ce type
apache_request.h:6:25: http_config.h: Aucun fichier ou r?pertoire de ce
type
apache_request.h:7:23: http_core.h: Aucun fichier ou r?pertoire de ce type
apache_request.h:8:22: http_log.h: Aucun fichier ou r?pertoire de ce type
apache_request.h:9:23: http_main.h: Aucun fichier ou r?pertoire de ce type
apache_request.h:10:27: http_protocol.h: Aucun fichier ou r?pertoire de
ce type
apache_request.h:11:25: util_script.h: Aucun fichier ou r?pertoire de
ce type
make[1]: *** [apache_request.o] Erreur 1
make[1]: Quitte le répertoire `/root/.cpan/build/libapreq-0.31/c’
make: *** [subdirs] Erreur 2
/usr/bin/make – NOT OK
2 - When installing Apache::Session
t/99mysqllock…DBD::mysql::st execute failed: MySQL server has gone
away at blib/lib/Apache/Session/Lock/MySQL.pm line 70.
(in cleanup) DBD::mysql::st execute failed: MySQL server has gone
away at blib/lib/Apache/Session/Lock/MySQL.pm line 70.
what this mean? My mysql daemon is properly running!!!, and accessible
by rt1.0.7!!***
t/99mysqllock…ok
t/99mysqlstore…ok
t/99mysql…DBI->connect(sessions) failed: Access denied for user:
‘@localhost’ to database ‘sessions’ at
blib/lib/Apache/Session/Lock/MySQL.pm line 36
(in cleanup) DBI->connect(sessions) failed: Access denied for
user: ‘@localhost’ to database ‘sessions’ at
blib/lib/Apache/Session/Lock/MySQL.pm line 36
t/99mysql…dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-8
Failed 8/8 tests, 0.00% okay
Can someone ahve an idea on these errors? Why Apache::Session is trying to
access teh database session without user name?