#1  
Old 25th February 2006, 13:10
guidovanh guidovanh is offline
Senior Member
 
Join Date: Feb 2006
Location: Leusden, The Netherlands
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Default httpd not found

On my Linux-server httpd is running (if it is not, users are unable to see my websites).
I am trying to install ISPConfig. The setup-script says:
httpd not found
(my conf file is located in: /usr/local/apache/1.3.34/conf/httpd.conf)

What can I do solve that problem?

Last edited by guidovanh; 25th February 2006 at 13:27.
Reply With Quote
Sponsored Links
  #2  
Old 25th February 2006, 13:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Which distribution do you use? Did you use one of the "Perfect Setup" guides on HowtoForge to set up the system?

Is your Apache located in an unusual location?
Please run
Code:
updatedb
locate httpd
and post the output.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 25th February 2006, 14:34
guidovanh guidovanh is offline
Senior Member
 
Join Date: Feb 2006
Location: Leusden, The Netherlands
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Which distribution do you use?
I am using SuSE 10.

Quote:
Originally Posted by falko
Did you use one of the "Perfect Setup" guides on HowtoForge to set up the system?
I found and used this installation manual.

Quote:
Originally Posted by falko
Is your Apache located in an unusual location?
Please run
Code:
updatedb
locate httpd
and post the output.
the commands updatedb and locate httpd results in a
command not found

Maybe Appache is located in an unusual location, I followed the installation instruction from (the Dutch translation of) these manual (but I preferred to use the newest version of the applications).

Thanks for help in advance.

Last edited by guidovanh; 26th February 2006 at 09:52.
Reply With Quote
  #4  
Old 26th February 2006, 09:54
guidovanh guidovanh is offline
Senior Member
 
Join Date: Feb 2006
Location: Leusden, The Netherlands
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is it possible (and recommended) to edit the setup script on such a way that the setup script find the httpd at the right place?
Reply With Quote
  #5  
Old 26th February 2006, 10:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Quote:
Originally Posted by guidovanh
Is it possible (and recommended) to edit the setup script on such a way that the setup script find the httpd at the right place?
The setup script is searching for the httpd in the usual places defined by your path variable. If you install your httpd in another location, you will have to make a symlink.

Example:

Code:
ln -s /path/to/my/apache/binary /usr/bin/httpd
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 26th February 2006, 11:13
guidovanh guidovanh is offline
Senior Member
 
Join Date: Feb 2006
Location: Leusden, The Netherlands
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
you will have to make a symlink.

Example:

Code:
ln -s /path/to/my/apache/binary /usr/bin/httpd
I am sorry, I don't know what a symlink is.
As mentioned in a previous message, my apache is located in /usr/local/apache/1.3.34, so I entered:

Code:
ln -s /usr/local/apache/1.3.34/bin /usr/bin/httpd
When I run ISPconfig's setup again, the error message is the same: httpd not found.
Reply With Quote
  #7  
Old 26th February 2006, 11:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Quote:
Originally Posted by guidovanh
Maybe Appache is located in an unusual location, I followed the installation instruction from (the Dutch translation of) these manual (but I preferred to use the newest version of the applications).
This tutorial installs Apache in an unusual location, that's why the ISPConfig installer doesn't find it. You should use this tutorial instead: http://www.howtoforge.com/perfect_setup_suse_10.0

Quote:
the commands updatedb and locate httpd results in a
command not found
Please run this:
Code:
yast -i findutils findutils-locate
and then again
Code:
updatedb
locate httpd
and post the output.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 26th February 2006, 13:27
guidovanh guidovanh is offline
Senior Member
 
Join Date: Feb 2006
Location: Leusden, The Netherlands
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
This tutorial installs Apache in an unusual location, that's why the ISPConfig installer doesn't find it. You should use this tutorial instead: http://www.howtoforge.com/perfect_setup_suse_10.0
What happens the currently installed websites into httpd.conf and vhost.conf?
Are they installed properly after the setup procedure described in mentioned URL?


Quote:
Originally Posted by falko
Please run this:
Code:
yast -i findutils findutils-locate
some utils were installed...

Quote:
Originally Posted by falko
and then again
Code:
updatedb
locate httpd
and post the output.
Here's the output:

Code:
linux:/share/install_ispconfig # updatedb
/usr/bin/find: /media/floppy: Geen medium gevonden
linux:/share/install_ispconfig # locate httpd
/etc/subdomain.d/program-chunks/httpd
/etc/subdomain.d/usr.sbin.httpd2-prefork
/opt/kde3/bin/krfb_httpd
/opt/kde3/share/services/kinetd_krfb_httpd.desktop
/root/.local/share/Trash/files/httpd.conf.txt
/root/.local/share/Trash/files/httpd.conf.txt~
/root/.local/share/Trash/info/httpd.conf.txt~.trashinfo
/root/.local/share/Trash/info/httpd.conf.txt.trashinfo
/share/install_ispconfig/compile_aps/httpd.conf_http
/share/install_ispconfig/compile_aps/httpd.conf_https
/share/install_ispconfig/mod/httpd
/share/install_ispconfig/mod/httpd/httpd
/share/LAMP/apache_1.3.34/conf/httpd.conf-dist
/share/LAMP/apache_1.3.34/conf/httpd.conf-dist-nw
/share/LAMP/apache_1.3.34/conf/httpd.conf-dist-win
/share/LAMP/apache_1.3.34/htdocs/manual/programs/httpd.html.en
/share/LAMP/apache_1.3.34/htdocs/manual/programs/httpd.html.html
/share/LAMP/apache_1.3.34/htdocs/manual/programs/httpd.html.ja.jis
/share/LAMP/apache_1.3.34/src/httpd
/share/LAMP/apache_1.3.34/src/include/httpd.h
/share/LAMP/apache_1.3.34/src/libhttpd.ep
/share/LAMP/apache_1.3.34/src/libhttpd.so
/share/LAMP/apache_1.3.34/src/support/httpd.8
/share/LAMP/apache_1.3.34/src/support/httpd.exp
/share/LAMP/php-5.1.2/sapi/phttpd
/share/LAMP/php-5.1.2/sapi/phttpd/config.m4
/share/LAMP/php-5.1.2/sapi/phttpd/CREDITS
/share/LAMP/php-5.1.2/sapi/phttpd/php_phttpd.h
/share/LAMP/php-5.1.2/sapi/phttpd/php.sym
/share/LAMP/php-5.1.2/sapi/phttpd/phttpd.c
/share/LAMP/php-5.1.2/sapi/phttpd/README
/share/LAMP/php-5.1.2/sapi/thttpd
/share/LAMP/php-5.1.2/sapi/thttpd/config.m4
/share/LAMP/php-5.1.2/sapi/thttpd/CREDITS
/share/LAMP/php-5.1.2/sapi/thttpd/php.sym
/share/LAMP/php-5.1.2/sapi/thttpd/php_thttpd.h
/share/LAMP/php-5.1.2/sapi/thttpd/README
/share/LAMP/php-5.1.2/sapi/thttpd/stub.c
/share/LAMP/php-5.1.2/sapi/thttpd/thttpd.c
/share/LAMP/php-5.1.2/sapi/thttpd/thttpd_patch
/usr/bin/httpd
/usr/local/apache/1.3.34/bin/httpd
/usr/local/apache/1.3.34/conf/httpd.conf
/usr/local/apache/1.3.34/conf/httpd.conf~
/usr/local/apache/1.3.34/conf/httpd.conf.bak
/usr/local/apache/1.3.34/conf/httpd.conf.copy
/usr/local/apache/1.3.34/conf/httpd.conf.default
/usr/local/apache/1.3.34/include/httpd.h
/usr/local/apache/1.3.34/libexec/httpd.exp
/usr/local/apache/1.3.34/libexec/libhttpd.ep
/usr/local/apache/1.3.34/libexec/libhttpd.so
/usr/local/apache/1.3.34/logs/httpd.pid
/usr/local/apache/1.3.34/man/man8/httpd.8
/usr/share/doc/packages/jpackage-utils/httpd-javadoc.conf
/usr/share/susehelp/httpd.conf
/usr/share/susehelp/httpd.conf.old
/usr/share/YaST2/modules/YaST/httpdUtils.pm
/usr/src/kernel-modules/SubDomain/profiles/extras/usr.sbin.httpd
/usr/X11R6/bin/vnc_inetd_httpd
/web/htdocs/htdocs/manual/programs/httpd.html.en
/web/htdocs/htdocs/manual/programs/httpd.html.html
/web/htdocs/htdocs/manual/programs/httpd.html.ja.jis
linux:/share/install_ispconfig #
Hope it is clearly for you
Reply With Quote
  #9  
Old 26th February 2006, 13:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Quote:
Originally Posted by guidovanh
What happens the currently installed websites into httpd.conf and vhost.conf?
If you have already sites installed on your server with your existing, you will either have to migrate them to the new ISPConfig directory trr or you sould not Install ISPCOnfig.

The correct symlink command for your installation will be:

Code:
ln -s /usr/local/apache/1.3.34/bin/httpd /usr/bin/httpd
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 26th February 2006, 14:37
guidovanh guidovanh is offline
Senior Member
 
Join Date: Feb 2006
Location: Leusden, The Netherlands
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by till
you will either have to migrate them to the new ISPConfig directory trr
Does ISPConfig provide an option to migrate the websites or can I 'simply' copy the websites to the trr directory?

Quote:
Originally Posted by till
The correct symlink command for your installation will be:

Code:
ln -s /usr/local/apache/1.3.34/bin/httpd /usr/bin/httpd
I'll try to translate what the result is of this command:
Code:
ln: making symbolic link: '/usr/bin/httpd/httpd' to '/usr/local/apache/1.3.34/bin/httpd': file exists
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
normal HTTPD wont start traxxdata Installation/Configuration 4 1st February 2008 18:23
ISPC install stops str2etboy Installation/Configuration 19 28th January 2006 08:18
saslauthd :NAME Command not found daashag Installation/Configuration 8 19th January 2006 19:32
istalled fine (Fedora core 4) but HTTPD problem edge Installation/Configuration 11 14th December 2005 13:28
WARNING in ispconfig.log httpd -t m1744 General 3 13th October 2005 16:17


All times are GMT +2. The time now is 00:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.