php installation problems

djtamse.eu

Verified User
Joined
May 31, 2009
Messages
41
so i am trying to install a script with a php install it says it can import database and database was found but when i press finish it doesent import my database and i havet grant privilliges to yes all is set to yes what could cause the problem ?

[Sun May 13 02:08:05 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sun May 13 02:08:05 2012] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Sun May 13 02:08:05 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8o DAV/2 PHP/5.2.17 configured -- resuming normal operations
[Sun May 13 02:09:01 2012] [notice] SIGHUP received. Attempting to restart
[Sun May 13 02:09:02 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sun May 13 02:09:02 2012] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Sun May 13 02:09:02 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8o DAV/2 PHP/5.2.17 configured -- resuming normal operations
[Sun May 13 02:09:45 2012] [error] [client 95.166.247.112] File does not exist: /var/www/html/favicon.ico
[Sun May 13 02:09:45 2012] [error] [client 95.166.247.112] File does not exist: /var/www/html/404.shtml
[Sun May 13 02:10:02 2012] [notice] caught SIGTERM, shutting down
[Sun May 13 02:10:05 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sun May 13 02:10:05 2012] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Sun May 13 02:10:05 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun May 13 02:10:06 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sun May 13 02:10:06 2012] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Sun May 13 02:10:06 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8o DAV/2 PHP/5.2.17 configured -- resuming normal operations
sh: host: command not found
sh: host: command not found
sh: host: command not found
sh: host: command not found
sh: host: command not found
sh: host: command not found
sh: host: command not found
sh: host: command not found
sh: host: command not found
[Sun May 13 11:12:24 2012] [error] [client 180.76.5.63] File does not exist: /var/www/html/robots.txt
[Sun May 13 11:12:24 2012] [error] [client 180.76.5.63] File does not exist: /var/www/html/404.shtml
sh: host: command not found
sh: host: command not found
sh: /usr/bin/mysql: No such file or directory
sh: /usr/bin/mysql: No such file or directory
sh: /usr/bin/mysql: No such file or directory
sh: /usr/bin/mysql: No such file or directory
sh: host: command not found
sh: host: command not found
sh: host: command not found
sh: /usr/bin/mysql: No such file or directory
[Sun May 13 16:07:10 2012] [notice] caught SIGTERM, shutting down
[Sun May 13 16:07:13 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sun May 13 16:07:13 2012] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Sun May 13 16:07:13 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun May 13 16:07:14 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sun May 13 16:07:14 2012] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Sun May 13 16:07:14 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8o DAV/2 PHP/5.2.17 configured -- resuming normal operations
sh: mysqldump: command not found
sh: mysqldump: command not found
sh: /usr/bin/mysql: No such file or directory
sh: host: command not found
sh: /usr/bin/mysql: No such file or directory
sh: host: command not found
 
Last edited:
Dont do commercial on the post.

Regarding your problem probably the script try to create the database while you need to create the db from directadmin and import the .sql file manually, or, the script should ask already for a db name user and pass where just to import the database without creating it.

Regards
 
Dont do commercial on the post.

Regarding your problem probably the script try to create the database while you need to create the db from directadmin and import the .sql file manually, or, the script should ask already for a db name user and pass where just to import the database without creating it.

Regards

i imported the sql file manualley but the installer script should do it by it self else some thing must be wrong with directadmin if it can't import a sql database with an installer script

when i didnt had directadmin i could import the sql normalley with out importing the sql installer manualley so i figure its a directadmin problem
 
Last edited:
No, it isnt, the database you create have limit in permission for security.

No user can create databases outside directadmin. That's totally normal, for example, wordpress dont give those problem cause on install script you define user pass and dbname, and wp installer import just tables and data without instance to CREATE DATABASE into mysql.

If you need to use that script, remove the create database line on that script, or, import it manually.

Regards
 
so i figure its a directadmin problem

If it would be true, we would have here tons of similar reports, don't you think so?
So if you need help, I guess you should show what you did step by step... beginning with creating MySQL DB on directadmin page.
 
Ive just read again your first post caus eyou edited it.

It's strange he dont find mysql and mysqldump binary, try reinstall mysql or check paths, cause should just work.

Regards
 
The first post was different before, made me think that the script wanst able to create the database (dont remember exactly first post but made me think on a create database error).

Regards
 
The first post was different before, made me think that the script wanst able to create the database (dont remember exactly first post but made me think on a create database error).

Regards

im just lost with this
 
Back
Top