Current time: 10-05-2024, 09:59 AM Hello There, Guest! (LoginRegister)


Post Reply 
Problem with mysql - Ubuntu at the end of the installation
Author Message
bluetxxth Offline
Junior Member
*

Posts: 12
Joined: Mar 2008
Reputation: 0
Post: #12
RE: Problem with mysql - Ubuntu at the end of the installation
sci2tech Wrote:
bluetxxth Wrote:/var/www/ispcp/engine/setup/../ispcp_common_methods.pl line 754.
ERROR: External command '/usr/sbin/makeuserdb' returned '72057594037927935' status !
This was preventing the script to finish so you really did not have ispcp installed at all. Just some files that were not configured.


HI sci2tech,

Thank you for your answer..... I reinstalled everything following the INSTALL instructions at the end of the installation I get a message saying that the installation has completed successfully, however, I still get an error message when trying to access the control panel through my browser.

I have also have re-installed ubuntu server edition from the start. In the options I have selected to install DNS server and also LAMP server and samba. I have ispcp installed on a computer 192.168.0.10 in the var/www directory within its own container, that is in a folder called ispcp. Just out of curiosity I tested putting there a myphpadmin which is already configured and installed there and it works fine right before installing ispcp. It stops working, however, after ispcp is installed and the ip 192.168.0.10 does not resolve to anything. It takes long before I get an 500 error.

Just before the installation of ISPCP I proceeded as follows:

1) Installed and verified the following packages which are not installed if a fresh ubuntu server install is used for ISPCP (note all of this using 'aptitude install' verified using 'aptitude show package'):

libterm-readpassword-perl

libcrypt-passwdmd5-perl

libcrypt-blowfish-perl

libcrypt-cbc-perl

libmime-tools-perl

2)Installed and verified these additional packages:

bind9; courier-pop; courier-imap; courier-base; proftpd; courier-mta; libapache2-mod-fastcgi

3) a) Verified apache2 which appears to be installed. I restarted the service and even forced its reload.

b) Verified postfix it is installed and working properly


5) Verified mysql. I am able to enter, create and drop databases no problem. Take notice that I tested after the installation and the ISPCP tables existed in mysql. When I run 'show databases;' ispcp is there and when I use the databse and run 'show tables;' it returns 33 rows.

6) I updated aptitude and upgraded ubuntu before the installallation of ISPCP.

Once I run perl ispcp-setup I follow step by step the instructions. The password I choose in the options where it prompts me to choose a password, does not contain any weird character only letters and numbers without spaces.

After the installation I copy and paste the url which the log tells me to 'Please type http://admin.host.domain.net' and then I get a 'server not found' page. Besides, if I try to simply type the ip which should resolve at least to the html page I created it returns the 500 error which I mentioned earlier.

Aside of this I took a look at the apache2 error log located at /var/log/apache2 and I found this error messages:


exec: 13: /usr/bin/php5-cgi: not found

[warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds

I went to look the file php5-fcgi-starter mentioned in the error and this is what it contains:

export PHPRC
PHP_FCGI_CHILDREN=2
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=500
export PHP_FCGI_MAX_REQUESTS

exec /usr/bin/php5-cgi

#!/bin/sh

umask 022

PHPRC="/var/www/fcgi/master/php5/"

export PHPRC
PHP_FCGI_CHILDREN=2
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=500


.

The funny thing is that before installing ispcp what I tested to put an index.htlm file at the www folder to test if it resolved to that and it did work but it doees not after the ISPCP installation.

I also tested creating a domain with its corresponding forward and reverse looking zones exclusively on this machine but it does not work either although the domain was tested okay using 'dig mydomain.net' ....

Here is the install log:

Starting Installation...
Site 00_master.conf installed; run /etc/init.d/apache2 reload to enable.
Site ispcp.conf installed; run /etc/init.d/apache2 reload to enable.
Site 01_awstats.conf installed; run /etc/init.d/apache2 reload to enable.
* Stopping domain name service... bind Site 000-default disabled; run /et

c/init.d/apache2 reload to fully disable.


This module is already enabled!
[ OK ]
Module rewrite installed; run /etc/init.d/apache2 force-reload to enable.
Module suexec installed; run /etc/init.d/apache2 force-reload to enable.
* Starting domain name service... bind mod_actions needs configuration be

fore being able to work.
See the comments in /etc/apache2/mods-available/actions.conf
for details.


Module fastcgi_ispcp installed; run

/etc/init.d/apache2 force-reload to enable.
Module actions installed; run /etc/init.d/apache2 force-reload to enable.
grep: /etc/apache2/mods-enabled/fastcgi.load: No such file or directory
Enabling proxy as a dependency
Module fastcgi disabled; run /etc/init.d/apache2 force-reload to fully disable.
Module php4 does not exist!
Module proxy installed; run /etc/init.d/apache2 force-reload to enable.
Module php5 disabled; run /etc/init.d/apache2 force-reload to fully disable.
This module is already enabled!
Module proxy_http installed; run /etc/init.d/apache2 force-reload to enable.
[ OK ]
sh: /usr/sbin/postmap: not found
sh: /usr/bin/newaliases: not found
* Stopping Courier authentication services authdaemond [ OK ]
* Stopping Courier POP3 server... [ OK ]
* Stopping Courier IMAP server... [ OK ]
* Starting Courier authentication services authdaemond [ OK ]
* Starting Courier IMAP server...

* Starting Courier POP3 server...

* Stopping ftp server proftpd A

dding system startup for /etc/init.d/ispcp_daemon ...
/etc/rc0.d/K99ispcp_daemon -> ../init.d/ispcp_daemon
/etc/rc1.d/K99ispcp_daemon -> ../init.d/ispcp_daemon
/etc/rc6.d/K99ispcp_daemon -> ../init.d/ispcp_daemon
/etc/rc2.d/S99ispcp_daemon -> ../init.d/ispcp_daemon
/etc/rc3.d/S99ispcp_daemon -> ../init.d/ispcp_daemon
/etc/rc4.d/S99ispcp_daemon -> ../init.d/ispcp_daemon
/etc/rc5.d/S99ispcp_daemon -> ../init.d/ispcp_daemon
Adding system startup for /etc/init.d/ispcp_network ...
/etc/rc0.d/K99ispcp_network -> ../init.d/ispcp_network
/etc/rc1.d/K99ispcp_network -> ../init.d/ispcp_network
/etc/rc6.d/K99ispcp_network -> ../init.d/ispcp_network
/etc/rc2.d/S99ispcp_network -> ../init.d/ispcp_network
/etc/rc3.d/S99ispcp_network -> ../init.d/ispcp_network
/etc/rc4.d/S99ispcp_network -> ../init.d/ispcp_network
/etc/rc5.d/S99ispcp_network -> ../init.d/ispcp_network


[ OK ]
[ OK ]
[ OK ]
* Starting ftp server proftpd

Setting GUI Permissions: * Star

ting ispCP GUI-Backend communication

Daemon ispcp_daemon [ OK ]
[ OK ]
* Starting ispCP Network Traffic Logger ispcp_network [ OK ]
................................................................................​



................................................................................​



................................................................................​



................................................................................​



................................................................................​



................................................................................​



................................................................................​



................................................................................​



................................................................................​

....................done
Setting Engine Permissions: .............done

Congratulations!

ispCP '1.0.0 RC6 OMEGA' Setup completed successfully!

Please type http://admin.host.domain.net in your browser,
log in with your Administrator Account and perform Database Updates if e

xists.



Thank you so much for the help!!!

BR,

Bluetxxth

_________________________
AMD Opteron X2 64
Ubuntu 64x Server 8.04 LTS
ISPCP OMEGA 1.0.0-rc6
(This post was last modified: 08-24-2008 08:57 PM by bluetxxth.)
08-24-2008 08:28 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Problem with mysql - Ubuntu at the end of the installation - bluetxxth - 08-24-2008 08:28 PM

Forum Jump:


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