ispCP - Board - Support
error when i install ispCp on my server - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: error when i install ispCp on my server (/thread-6944.html)

Pages: 1 2 3


RE: error when i install ispCp on my server - alaqsagate - 06-15-2009 01:17 AM

thank you sir joximu i solve problem,,,, but this problem showed to me !

PHP Code:
Starting Installation...
useraddcannot create directory /var/www/fcgi/master
ERROR
External command '/usr/sbin/useradd -d  /var/www/fcgi/master -m -c vu-master -g vu2000 -s /bin/false -u 2000 vu2000' returned '12' status 



RE: error when i install ispCp on my server - joximu - 06-15-2009 03:57 AM

Quote: 12
can’t create home directory

reither the folder already exists or ther's something other wrong... (e.g. not existing /var/www/fcgi)...

/J


RE: error when i install ispCp on my server - alaqsagate - 06-15-2009 03:17 PM

thank you joximu but this error showed to me!

PHP Code:
Starting Installation...
ERRORFile '/etc/ispcp/database/database.sql' does not exist 


I'm look for "/etc/ispcp/database" folder .. file "database.sql" doesn't!
Do I have to create an empty file?



RE: error when i install ispCp on my server - joximu - 06-15-2009 04:18 PM

Hi

you should have theese two files in this folder:

database.sql and languages.sql

see http://www.isp-control.net/ispcp/browser/trunk/configs/redhat/database

they are also in the ispcp-tar file you downloaded:
folder, configs/redhat/database ...

/J


RE: error when i install ispCp on my server - alaqsagate - 06-15-2009 04:48 PM

thank you very much ,, what about this error
PHP Code:
Starting Installation...
ERRORExternal command '/usr/bin/mysql --host="localhost" --user="root" --pass="111111" < /tmp/db.sql 1>/tmp/db.sql.stdout 2>/tmp/db.sql.stderr' returned '127' status 



RE: error when i install ispCp on my server - joximu - 06-15-2009 05:48 PM

Sorry, you may need to modify line 1 and line 3 of database.sql {DATABASE_NAME} -> the DB Name for ispcp (should be mentioned in /etc/iospcp/ispcp.conf)

and then: what's in /tmp/db.sql.stdout and /tmp/db.sql.stderr ?

/J


RE: error when i install ispCp on my server - alaqsagate - 06-15-2009 07:06 PM

this is 3 line ... yes?

PHP Code:
create database root CHARACTER SET utf8 COLLATE utf8_unicode_ci;

use 
root

and ,, file "db.sql.stdout" is empty

file "db.sql.stderr" have this code

PHP Code:
sh: /usr/bin/mysqlNo such file or directory 



RE: error when i install ispCp on my server - joximu - 06-15-2009 07:15 PM

hm - normally the database_name is "ispcp" and not "root" (which is the user name) - but the lines are the ones I meant...

but sorry - forget this, don't replace the placeholders (sorry...):
Code:
create database {DATABASE_NAME} CHARACTER SET utf8 COLLATE utf8_unicode_ci;

use {DATABASE_NAME};

the setup routine will replace them...


New error:
have you installed mysql? where is the binary located? normally it's /usr/bin/mysql.

/J


RE: error when i install ispCp on my server - alaqsagate - 06-15-2009 07:23 PM

did you mean i don't change these?

PHP Code:
create database {DATABASE_NAMECHARACTER SET utf8 COLLATE utf8_unicode_ci;

use {
DATABASE_NAME}; 
Quote:New error:
have you installed mysql? where is the binary located? normally it's /usr/bin/mysql.

this is path

PHP Code:
/usr/local/mysql 




RE: error when i install ispCp on my server - joximu - 06-15-2009 07:29 PM

yes - don't change the database.sql (leave the {...} as they are...)


you may need to correct some paths in /etc/ispcp/ispcp.conf - e.g the path to mysql (CMD_MYSQL) - and maybe other values?
I don't know redhat very well...

/J