Current time: 07-06-2024, 11:57 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: #15
RE: Problem with mysql - Ubuntu at the end of the installation
Hi There,

I finally got it working!!! I was doing something wrong and the solution was simpler than what I was expecting.

Forst of all following the INSTALL instructions textually is very important. In the beginning I got an error when I was running this command

# apt-get install $(cat ./docs/Ubuntu/ubuntu-packages-hardy)

I got an error as follows:

./docs/Ubuntu/ubuntu-packages-hardy: No such file or directory

This error of course is the result of not being in the right directory when I was running the script. The script, however, can be modified to point to the right place.

In this thread someone has a similar problem:

http://www.isp-control.net/forum/install...-3893.html

If one reads the contents of that file where the script is pointing to with this command 'nano /var/www/ispcp/docs/Ubuntu/ubuntu-packages-hardy'

The packages needed for ispcp are listed as follows.

apache2-mpm-worker
apache2
apache2.2-common
apache2-utils
awstats
bash
bind9
bzip2
courier-authdaemon
courier-base
courier-imap
courier-maildrop
courier-pop
diff
dnsutils
gcc
gzip
iptables


.... so these are the packages needed for the installation to succeed at ubuntu server. My problem was that I was trying to install all manually and blindly just by following the components which where in error and trying to fix them. These packages can be installed one by one using aptitude install with each one of them or more conveniently using this script

apt-get install $(cat ./docs/Ubuntu/ubuntu-packages-hardy)

If choosing the later then one must be at the folder where the ispcp installation is contained. This can be done using this command at the shell. It should work unless the shell is configured to start in a specific directory in which case again it must be configured (the sccript) to point to the right place:

cd /var/www/ispcp

and then running the install script:

apt-get install $(cat ./docs/Ubuntu/ubuntu-packages-hardy)

And that is all....

This was essentially my problem. There may be other problems now... but as of now this thread can be closed.

Thank you and best regards,

Bluetxxth


PS: By the way a successful installation should look like this:



Starting Installation...
Site ispcp.conf installed; run /etc/init.d/apache2 reload to enable.
Site 00_master.conf installed; run /etc/init.d/apache2 reload to enable.
Site 01_awstats.conf installed; run /etc/init.d/apache2 reload to enable.
Site 000-default disabled; run /etc/init.d/apache2 reload to fully disable.
Your MPM seems to be threaded. Selecting cgid instead of cgi.
This module is already enabled!
* Stopping domain name service... bind * Starting domain

name service... bind Module rewrite installed; run

/etc/init.d/apache2 force-reload to enable.
mod_actions needs configuration before 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.
[ OK ]
Enabling proxy as a dependency
Module suexec installed; run /etc/init.d/apache2 force-reload to enable.
Module fastcgi disabled; run /etc/init.d/apache2 force-reload to fully disable.
Module proxy installed; run /etc/init.d/apache2 force-reload to enable.
This module is already enabled!
Module php5 already disabled
Module php4 does not exist!
Module proxy_http installed; run /etc/init.d/apache2 force-reload to enable.
[ OK ]
* Stopping Postfix Mail Transport Agent postfix * Starting Postfix

Mail Transport Agent postfix * Stopping Courier POP3 server...

* Stopping Courier authentication services authdaemond

* Stopping Courier IMAP server... [ OK ]
[ OK ]
[ OK ]
* Starting Courier authentication services authdaemond [ OK ]
* Starting Courier POP3 server... * Starting Courier IMAP server...

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

server proftpd

Setting GUI Permissions: [ OK ]
[ OK ]
* Starting ispCP Network Traffic Logger ispcp_network * Starting ispCP

GUI-Backend communication Daemon ispcp_daemon Adding 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 ]
... [ OK ]
................................................................................​...................

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

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

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

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

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

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

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

Congratulations!

ispCP '1.0.0 RC6 OMEGA' Setup completed successfully!

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

Setup is now updating rkhunter:
[ Rootkit Hunter version 1.3.0 ]

Checking rkhunter data files...
Checking file mirrors.dat [ No update ]
Checking file programs_bad.dat [ No update ]
Checking file backdoorports.dat [ No update ]
Checking file suspscan.dat [ No update ]
Checking file i18n/cn [ Updated ]
Checking file i18n/en [ Updated ]
Checking file i18n/zh [ Updated ]
Checking file i18n/zhutf [ Updated ]

_________________________
AMD Opteron X2 64
Ubuntu 64x Server 8.04 LTS
ISPCP OMEGA 1.0.0-rc6
(This post was last modified: 08-27-2008 12:52 AM by bluetxxth.)
08-27-2008 12:49 AM
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-27-2008 12:49 AM

Forum Jump:


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