Cannot complete install because of WEB SERVER

Hi guys!

I am trying to install 2.2.25 version, but when install is checking my WEB SERVER installation it fails, cause I do have apache installed in /usr/local/apache and install can not find my httpd in /usr/local/apache/bin.

What should I do to resolve this?

Thanks!

Replay

Please configure your server as described in the perfect setup guide for your linux distribution if you want to run ISPConfig. Installing apache manually in a different location my cause various erroers and is not recommended.

What you might do is that you create a symlink in /usr/bin/ that points to your sapache binary but if you dont reconfigure your system as described in the perfect setup, you will get various other problems.
Thaks for fast answer, I appreciate it.

The problem is that there is no perfect install for my Slackware system Cannot complete install because of WEB SERVER
I have created symlink and it's ok with WEB SERVER now.

Bu I faced another problem then with mySQL. Install says:

ERROR: MySQL is not running! Please start your MySQL database and run the ISPConfig setup again.

But I do have mysql running. It is in processes:

mysql 2898 0.0 2.0 371116 42972 ? Sl 00:45 0:04 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysql/mysql.pid --skip-external-locking --port=3306 --socket=/var/run/mysql/mysql.sock

Thanks in advance Cannot complete install because of WEB SERVER

What's the output of

Code:

netstat -tap

? MySQL must use TCP instead of sockets in order to work with ISPConfig.
Hmm, mysql is there:

tcp 0 0 *:3306 *:* LISTEN 6101/mysqld
Looks ok. Are there any MySQL errors in your logs? Have you tried to restart MySQL?
Yes, I tried. In log no errors at all:

080831 20:51:58 InnoDB: Starting shutdown...
080831 20:51:59 InnoDB: Shutdown completed; log sequence number 0 43655
080831 20:51:59 [Note] /usr/libexec/mysqld: Shutdown complete

080831 20:51:59 mysqld ended

080831 20:52:03 mysqld started
080831 20:52:03 InnoDB: Started; log sequence number 0 43655
080831 20:52:03 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.0.37-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
Which distribution are you using?
I am using Slackware 12... I know, it is not supported, but in dist.txt I added this distribution and Install started to work Cannot complete install because of WEB SERVER

In fact Slackware 10 and 12 not so different Cannot complete install because of WEB SERVER

Does Slackware use SELinux or AppArmor? If so, disable them.
No it does not
Then you should check where the setup2 script looks for MySQL. I guess the location is different on Slackware.
As I remember Install script during checking of installed components found MySQL and the error appears after that (when all necessary components are OK).
Here is the console text:

Code:

Please select the installation mode. In expert mode you have to answer some additional questions. In standard mode standard values are assumed for these questions.
1) standard
2) expert
Your Choice: 1

########## MAIL SERVER ##########

Checking for MTA...
/usr/sbin/postfix
OK

ISPConfig found the following MTA:
postfix
Is this correct? [y/n]y

########## FTP SERVER ##########

Checking if an FTP server is installed...
/usr/sbin/proftpd
OK

ISPConfig found the following FTP server:
proftpd
Is this correct? [y/n]y

########## PROCMAIL ##########

Checking for package procmail...
/usr/bin/procmail
OK

########## QUOTA ##########

Checking for package quota...
/usr/bin/quota
OK

########## MYSQL SERVER ##########

Checking for package MySQL...
/usr/bin/mysql
OK

########## OPENSSL ##########

Checking for package openssl...
/usr/bin/openssl
OK

########## DNS SERVER ##########

Checking for package bind...
/usr/sbin/named
OK

########## IPTABLES/IPCHAINS/IPFW ##########

Checking for program iptables/ipchains/ipfw...
/usr/sbin/iptables
OK

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

Checking for program httpd...
/usr/bin/httpd
OK
Checking the syntax of the httpd.conf...
[Sat Sep  6 17:15:38 2008] [warn] module mod_php5.c is already added, skipping
[Sat Sep  6 17:15:38 2008] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Syntax OK
The syntax is ok!

########## gcc ##########

/usr/bin/gcc
OK

########## make ##########

/usr/bin/make
OK

########## lex ##########

/usr/bin/lex
OK

########## g++ ##########

/usr/bin/g++
OK

########## INSTALLATION ##########

ERROR: MySQL is not running! Please start your MySQL database and run the ISPConfig setup again.

Please post the output of:

netstap -tap | grep mysql
Here it is:

netstat -tap | grep mysql
tcp 0 0 *:3306 *:* LISTEN 7 568/mysqld
What's in the ISPConfig installation log in /var/log/?
Sat Sep 6 17:15:22 EEST 2008 - [ISPConfig] - installation directory: /root/install/install_ispconfig
Sat Sep 6 17:15:22 EEST 2008 - [ISPConfig] - operating system: Slackware 12.0.0
Sat Sep 6 17:15:25 EEST 2008 - [ISPConfig] - Neuinstallation eines ISPConfig-Systems. / Installation of a new ISPConfig system. / Installation d'ISPConfig sur un nouveau systХme.
Sat Sep 6 17:15:28 EEST 2008 - [ISPConfig] - selected language: en
Sat Sep 6 17:15:29 EEST 2008 - [ISPConfig] - installation note accepted
Sat Sep 6 17:15:33 EEST 2008 - [ISPConfig] - licence accepted
Sat Sep 6 17:15:35 EEST 2008 - [ISPConfig] - installation mode: standard
Sat Sep 6 17:15:37 EEST 2008 - [ISPConfig] - mail: postfix
Sat Sep 6 17:15:37 EEST 2008 - [ISPConfig] - dist_mail=postfix ##
Sat Sep 6 17:15:38 EEST 2008 - [ISPConfig] - ftp: proftpd
Sat Sep 6 17:15:38 EEST 2008 - [ISPConfig] - dist_ftp=proftpd ##
Sat Sep 6 17:15:38 EEST 2008 - [ISPConfig] - procmail found: /usr/bin/procmail
Sat Sep 6 17:15:38 EEST 2008 - [ISPConfig] - quota found: /usr/bin/quota
Sat Sep 6 17:15:38 EEST 2008 - [ISPConfig] - mysql found: /usr/bin/mysql
Sat Sep 6 17:15:38 EEST 2008 - [ISPConfig] - openssl found: /usr/bin/openssl
Sat Sep 6 17:15:38 EEST 2008 - [ISPConfig] - named found: /usr/sbin/named
Sat Sep 6 17:15:38 EEST 2008 - [ISPConfig] - iptables found: /usr/sbin/iptables
Sat Sep 6 17:15:38 EEST 2008 - [ISPConfig] - httpd found: /usr/bin/httpd
Sat Sep 6 17:15:38 EEST 2008 - [ISPConfig] - httpd syntax ok!
Sat Sep 6 17:15:38 EEST 2008 - [ISPConfig] - gcc found: /usr/bin/gcc
Sat Sep 6 17:15:38 EEST 2008 - [ISPConfig] - make found: /usr/bin/make
Sat Sep 6 17:15:38 EEST 2008 - [ISPConfig] - flex found: /usr/bin/lex
Sat Sep 6 17:15:38 EEST 2008 - [ISPConfig] - g++ found: /usr/bin/g++
Sat Sep 6 17:15:38 EEST 2008 - [ISPConfig] - ERROR: MySQL is not running! Please start your MySQL database and run the ISPConfig setup again.

Slackware is driven me crazy Cannot complete install because of WEB SERVER
I am thinking to switch to CentOS may be ^^

Category: other Time: 2014-05-29 Views: 1
Tags:

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.111 (s). 12 q(s)