Current time: 12-24-2024, 12:21 AM Hello There, Guest! (LoginRegister)


Post Reply 
error when i install ispCp on my server
Author Message
alaqsagate Offline
Junior Member
*

Posts: 11
Joined: Jun 2009
Reputation: 0
Post: #11
RE: error when i install ispCp on my server
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 
(This post was last modified: 06-15-2009 01:17 AM by alaqsagate.)
06-15-2009 01:17 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #12
RE: error when i install ispCp on my server
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
06-15-2009 03:57 AM
Visit this user's website Find all posts by this user Quote this message in a reply
alaqsagate Offline
Junior Member
*

Posts: 11
Joined: Jun 2009
Reputation: 0
Post: #13
RE: error when i install ispCp on my server
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?
(This post was last modified: 06-15-2009 03:35 PM by alaqsagate.)
06-15-2009 03:17 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #14
RE: error when i install ispCp on my server
Hi

you should have theese two files in this folder:

database.sql and languages.sql

see http://www.isp-control.net/ispcp/browser...t/database

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

/J
06-15-2009 04:18 PM
Visit this user's website Find all posts by this user Quote this message in a reply
alaqsagate Offline
Junior Member
*

Posts: 11
Joined: Jun 2009
Reputation: 0
Post: #15
RE: error when i install ispCp on my server
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 
(This post was last modified: 06-15-2009 04:49 PM by alaqsagate.)
06-15-2009 04:48 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #16
RE: error when i install ispCp on my server
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
06-15-2009 05:48 PM
Visit this user's website Find all posts by this user Quote this message in a reply
alaqsagate Offline
Junior Member
*

Posts: 11
Joined: Jun 2009
Reputation: 0
Post: #17
RE: error when i install ispCp on my server
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 
06-15-2009 07:06 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #18
RE: error when i install ispCp on my server
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
06-15-2009 07:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
alaqsagate Offline
Junior Member
*

Posts: 11
Joined: Jun 2009
Reputation: 0
Post: #19
RE: error when i install ispCp on my server
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 

06-15-2009 07:23 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #20
RE: error when i install ispCp on my server
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
06-15-2009 07:29 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)