ispCP - Board - Support
Ubuntu 9.04 and last ispCP 1.0.0 - 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: Ubuntu 9.04 and last ispCP 1.0.0 (/thread-6921.html)

Pages: 1 2


Ubuntu 9.04 and last ispCP 1.0.0 - artful - 06-09-2009 10:50 PM

1. Has established Ubuntu 9.04 i386
2. Has downloaded http://downloads.sourceforge.net/ispcp/ispcp-omega-1.0.0.tar.bz2
cd /root
wget http://downloads.sourceforge.net/ispcp/ispcp-omega-1.0.0.tar.bz2
3. tar xjvf ispcp-omega-1.0.0.tar.bz2
4. cd ispcp-omega-1.0.0/docs/Ubuntu/
5. cp ubuntu-packages-hardy ubuntu-packages-jaunty
6. edit ubuntu-packages-jaunty
change libperl5.8 -> libperl5.10
change proftpd-mysql -> proftpd-mod-mysql
7. apt-get update && apt-get upgrade && reboot
8. cd /root/ispcp-omega-1.0.0/
9. apt-get install $(cat ./docs/Ubuntu/ubuntu-packages-`lsb_release -cs`)
10. make install
11. cp -Rv /tmp/ispcp/* /
12. cd /var/www/ispcp/engine/setup
13. mysqladmin -u root password YOUR_PASSWORD
14. perl ispcp-setup

Please enter administrator e-mail address: djfksj@la2.in

IP of Secondary DNS. (optional) []:

Use MySQL Prefix.
Possible values: [i]nfront, [b]ehind, [n]one. [none]:

FastCGI Version: [f]cgid or fast[c]gi. [fcgid]:

Activate AWStats. [no]: yes

AWStats Mode:
Possible values [d]ynamic and [s]tatic. [dynamic]:

Starting Installation...

ERROR: File '/etc/ispcp/apache/working/fastcgi_ispcp.conf' does not exist !
root@main:/var/www/ispcp/engine/setup# * Stopping domain name service... bind9 * Starting domain name service... bind9 [ OK ]

root@main:/var/www/ispcp/engine/setup#

root@main:/var/www/ispcp/engine/setup# cd /etc/ispcp/apache/working/
root@main:/etc/ispcp/apache/working# ls -al
итого 16
drwxr-xr-x 2 root root 4096 2009-06-09 16:29 .
drwxr-xr-x 5 root root 4096 2009-06-09 16:29 ..
-rw-r--r-- 1 root root 891 2009-06-09 16:29 fcgid_ispcp.conf
-rw-r--r-- 1 root root 791 2009-06-09 16:29 ispcp.conf

root@main:/tmp/ispcp/etc/ispcp# aptitude search fastcgi
i libapache2-mod-fastcgi - Apache 2 FastCGI module for long-running CGI scripts
p mono-fastcgi-server - ASP.NET backend for FastCGI webservers
p mono-fastcgi-server2 - ASP.NET backend for FastCGI webservers


Please help


RE: Ubuntu 9.04 and last ispCP 1.0.0 - kilburn - 06-09-2009 11:09 PM

9b. mv Makefile Makefile.debian;mv Makefile.ubuntu Makefile


RE: Ubuntu 9.04 and last ispCP 1.0.0 - artful - 06-10-2009 07:48 AM

Thanks, have helped. Why it is not described in the documentation on a site?
I have new problem, after install

Warning: session_start() [function.session-start]: open(/var/www/ispcp/gui/phptmp/sess_i5q0qZRApJXxtlY5m86eaUo-aXd, O_RDWR) failed: Permission denied (13) in /var/www/ispcp/gui/include/ispcp-lib.php on line 27

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/www/ispcp/gui/include/ispcp-lib.php:27) in /var/www/ispcp/gui/include/ispcp-lib.php on line 27

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/ispcp/gui/include/ispcp-lib.php:27) in /var/www/ispcp/gui/include/ispcp-lib.php on line 27

Warning: Cannot modify header information - headers already sent by (output started at /var/www/ispcp/gui/include/ispcp-lib.php:27) in /var/www/ispcp/gui/include/login.php on line 354

Warning: Unknown: open(/var/www/ispcp/gui/phptmp/sess_i5q0qZRApJXxtlY5m86eaUo-aXd, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/www/ispcp/gui/phptmp) in Unknown on line 0


RE: Ubuntu 9.04 and last ispCP 1.0.0 - fhawk - 06-10-2009 12:45 PM

chmod 777 /var/www/ispcp/gui/phptmp


RE: Ubuntu 9.04 and last ispCP 1.0.0 - kilburn - 06-10-2009 03:47 PM

Quote:Thanks, have helped. Why it is not described in the documentation on a site?

I don't know, as I don't even use ubuntu neither in real servers nor in tests. As the docs are in a wiki, can you correct what's missing please? Thanks Smile


RE: Ubuntu 9.04 and last ispCP 1.0.0 - artful - 06-11-2009 06:15 AM

I have working server Debian 5.0
Here the rights to a folder

root@l2planet:~# ls -al /var/www/ispcp/gui/
итого 31
dr-xr-xr-x 12 vu2000 www-data 480 Апр 15 18:16 .
drwxr-xr-x 7 root root 168 Апр 15 22:18 ..
dr-xr-xr-x 2 vu2000 www-data 2080 Апр 15 18:16 admin
dr-xr-xr-x 2 vu2000 www-data 2360 Апр 15 18:16 client
dr-xr-xr-x 3 vu2000 www-data 104 Апр 15 18:16 domain_default_page
dr-xr-xr-x 3 vu2000 www-data 224 Апр 15 18:16 errordocs
-r--r--r-- 1 vu2000 www-data 1886 Апр 15 18:16 favicon.ico
-r--r--r-- 1 vu2000 www-data 1009 Апр 15 18:16 imagecode.php
dr-xr-xr-x 4 vu2000 www-data 1224 Апр 15 18:16 include
-r--r--r-- 1 vu2000 www-data 3233 Апр 15 18:16 index.php
-r--r--r-- 1 vu2000 www-data 4566 Апр 15 18:16 lostpassword.php
dr-xr-xr-x 2 vu2000 www-data 240 Апр 15 18:16 orderpanel
drwxr-xr-x 2 vu2000 www-data 48 Июн 10 12:00 phptmp
dr-xr-xr-x 2 vu2000 www-data 1624 Апр 15 18:16 reseller
-r--r--r-- 1 vu2000 www-data 25 Апр 15 18:16 robots.txt
dr-xr-xr-x 4 vu2000 www-data 112 Апр 15 18:16 themes
dr-xr-xr-x 5 vu2000 www-data 160 Апр 15 18:16 tools


And new server:
root@la2:~# ls -al /var/www/ispcp/gui
итого 72
dr-xr-xr-x 12 vu2000 www-data 4096 2009-06-10 02:02 .
drwxr-xr-x 7 root root 4096 2009-06-10 02:04 ..
dr-xr-xr-x 2 vu2000 www-data 4096 2009-06-10 02:01 admin
dr-xr-xr-x 2 vu2000 www-data 4096 2009-06-10 02:02 client
dr-xr-xr-x 3 vu2000 www-data 4096 2009-06-10 02:01 domain_default_page
dr-xr-xr-x 3 vu2000 www-data 4096 2009-06-10 02:01 errordocs
-r--r--r-- 1 vu2000 www-data 1886 2009-06-10 02:01 favicon.ico
-r--r--r-- 1 vu2000 www-data 1009 2009-06-10 02:01 imagecode.php
dr-xr-xr-x 4 vu2000 www-data 4096 2009-06-10 02:02 include
-r--r--r-- 1 vu2000 www-data 3233 2009-06-10 02:02 index.php
-r--r--r-- 1 vu2000 www-data 4566 2009-06-10 02:02 lostpassword.php
dr-xr-xr-x 2 vu2000 www-data 4096 2009-06-10 02:01 orderpanel
drwxr-xr-x 2 vu2000 www-data 4096 2009-06-10 02:30 phptmp
dr-xr-xr-x 2 vu2000 www-data 4096 2009-06-10 02:01 reseller
-r--r--r-- 1 vu2000 www-data 25 2009-06-10 02:01 robots.txt
dr-xr-xr-x 4 vu2000 www-data 4096 2009-06-10 02:01 themes
dr-xr-xr-x 5 vu2000 www-data 4096 2009-06-10 02:02 tools

The rights to a folder identical, a problem in what that still


RE: Ubuntu 9.04 and last ispCP 1.0.0 - tomdooley - 06-11-2009 05:20 PM

Seem process is not running as vu2000. Whats the owner listed by ls -l /var/www/fcgi/master ?

If the owner is vu2000, mod_fcgid doesn't load. If module is available, you should recreate the config files and test again.


RE: Ubuntu 9.04 and last ispCP 1.0.0 - artful - 06-12-2009 06:24 PM

I have solved a problem, there was no port apache2-suexec

Some remarks to point 5:
Instead of
cp ubuntu-packages-hardy ubuntu-packages-jaunty
It is necessary
cp ubuntu-packages-interpid ubuntu-packages-jaunty
And point 6 completely is not necessary.


RE: Ubuntu 9.04 and last ispCP 1.0.0 - xister - 06-12-2009 06:46 PM

ok, here is the ticket:
http://www.isp-control.net/ispcp/ticket/1864


RE: Ubuntu 9.04 and last ispCP 1.0.0 - Master One - 06-29-2009 09:37 AM

The INSTALL document in docs/Ubuntu tells:
Code:
10. Activate php mcrypt extension for ubuntu hardy
        # sudo touch /etc/php5/conf.d/mcrypt.ini
        # sudo echo "extension=mcrypt.so" > /etc/php5/conf.d/mcrypt.ini
        # sudo chmod 644 /etc/php5/conf.d/mcrypt.ini
        # sudo cp /etc/php5/conf.d/mcrypt.ini /etc/php5/cgi/conf.d/
        # sudo /etc/init.d/apache2 restart
Is this step necessary for Ubuntu Jaunty as well?