PDA

View Full Version : ISPconfig 2.0.9 fails on openSuse 10 rc1


AlexCunha
22nd September 2005, 00:40
Hi,

ISPconfig is a great solution ! Congratulations.

Im trying install ISPconfig on my openSuse 10 rc1.

I follow all steps as described on the howto.

Seems the apache 1.3 makes sucefully. In the screen I got:

+--------------------------------------------------------+
| You now have successfully built and installed the |
| Apache 1.3 HTTP server. To verify that Apache actually |
| works correctly you now should first check the |
| (initially created or preserved) configuration files |
| |
| /root/ispconfig/httpd/conf/httpd.conf
| |
| and then you should be able to immediately fire up |
| Apache the first time by running: |
| |
| /root/ispconfig/httpd/bin/apachectl start
| |
| Or when you want to run it with SSL enabled use: |
| |
| /root/ispconfig/httpd/bin/apachectl startssl
| |
| Thanks for using Apache. The Apache Group |
| http://www.apache.org/ |
+--------------------------------------------------------+

As you I see the install dir is /root/ispconfig/httpd

But if i do a "ls /root/ispconfig/" the directory ispconfig doest exist !

I do "mkdir /root/isconfig".

Setup continues ...

Do you accept the licence? [y/n]y

Checking the syntax of the httpd.conf...
./setup2: line 617: httpd: command not found
ERROR: The syntax of your httpd.conf is not ok! Please correct the error. The installation routine stops here!
susedez:/sources/install_ispconfig #

and stops.

Then i restart ./setup and ...


########## WEB SERVER ##########
which: no httpd in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
which: no apache in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
which: no apache2 in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
Checking for program httpd...
which: no httpd in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
/usr/sbin/httpd2
OK
Checking the syntax of the httpd.conf...
httpd: could not open document config file /etc/apache2/sysconfig.d/include.conf
ERROR: The syntax of your httpd.conf is not ok! Please correct the error. The installation routine stops here!


I have repeted the ./setup but it fails here everytime.

What can I do ?

alex cunha

falko
22nd September 2005, 02:40
As you I see the install dir is /root/ispconfig/httpd

But if i do a "ls /root/ispconfig/" the directory ispconfig doest exist !

I do "mkdir /root/isconfig".

I guess you opened a second shell window during the installation and ran ls /root/ispconfig there. Thing is ISPConfig installs the Apache under /root/ispconfig, but then makes a tar.gz of the directory and deletes the directory afterwards because the installer needs this tar.gz. Later on in the installation process the directory is recreated.
By running mkdir /root/isconfig you are interfering with the installation routine! :eek: Don't do this!

Setup continues ...

and stops.

Then i restart ./setup and ...



I have repeted the ./setup but it fails here everytime.

What can I do ?

alex cunha
You've repeated the setup without deleting the directory install_ispconfig before! You can't install twice from the same install_ispconfig directory. Delete the directory, unpack ISPConfig again, then uninstall your current ISPConfig installation:
/root/ispconfig/uninstall
(if that command fails, run the following two commands:
rm -fr /root/ispconfig
rm -fr /home/admispconfig)
Then go to the install_ispconfig directory and run setup again:
cd install_ispconfig
./setup

(BTW, if you search a little bit in the forums you'll find a lot of similar threads... :D )

AlexCunha
27th September 2005, 04:19
Hi Falko,

Many thanks for your help.

I have followed your instructions to remove the previous ispconfig installation.

Before restart ./setup, have installed apache2 and php4.4 using yast

I dont need this setup, because apache2 doest fit my needs.

Repeating the ./setup:


which: no httpd in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
which: no apache in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
which: no apache2 in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
Checking for program httpd...
which: no httpd in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
/usr/sbin/httpd2
OK
Checking the syntax of the httpd.conf...
Syntax OK
The syntax is ok!


Seems ispconfig is not finding apache 1.33 but only apache2 (installed with yast, but I dont want this version)

(BTW, if you search a little bit in the forums you'll find a lot of similar threads... )


Im sorry,but regarding this situation I dont find

Thanks for your help

AlexCunha
27th September 2005, 05:23
Is detecting apache 1.3 now.
Just removed ispconfig and restarted ./setup again.


su
/root/ispconfig/uninstall
rm -fr /root/ispconfig
rm -fr /home/admispconfig
./setup




########## WEB SERVER ##########

Checking for program httpd...
/usr/sbin/httpd
OK
Checking the syntax of the httpd.conf...
Syntax OK
The syntax is ok!