PDA

View Full Version : Problem with httpd.conf


dagogert
5th September 2009, 21:14
Hi there,

When executing the script as described I encounter a problem with the httpd.conf file as it gives an error-message like:
"Starting httpd: httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf.d/ruby.conf: Cannot load /etc/httpd/modules/mod_ruby.so into server: /etc/httpd/modules/mod_ruby.so: cannot open shared object file: No such file or directory [FAILED]"

Although I followed al steps consequently something got wrong on the way. I appears that the file mod_ruby.so can't be found and is not on the server (I searched all of it, so that might be true).

After that I tried to install the mod_ruby.so file manually but that does'nt seem to help as the file is still not there and/or not accessible.

The big question is now what I can do to solve the problem.
Who has the answer? Please help...

Greets,

Gert at dagogert@hotmail.com

falko
6th September 2009, 16:57
What tutorial (URL) did you use?
What's the output of updatedb
locate mod_ruby.so?

dagogert
6th September 2009, 18:57
I've been using the URL "http://www.ispconfig.org/manual_installation.htm"
In there I followed the link "http://www.howtoforge.com/perfect-server-centos-5.3-i386-ispconfig-2" in order to prepare my virtual server. All directions have been executed as given. After that I tried to follow the rest for the installation of ISP Config 2 and there this problem came up.

When I execute updatedb and locate it does'nt say anything in return. It executes the command and returns to the prompt afterwards. Does this give you more and correct info?

falko
7th September 2009, 14:03
When I execute updatedb and locate it does'nt say anything in return. It executes the command and returns to the prompt afterwards. Does this give you more and correct info?This means that the file doesn't exist.

Can you follow chapter 12.2 on http://www.howtoforge.com/perfect-server-centos-5.3-i386-ispconfig-2-p6 again?

dagogert
7th September 2009, 14:26
With the yum-command it says "Allready installed" on all items and at the end "nothing to do". The complete line in the httpd.conf-file is placed and the chkconfig is executed allright (no return-messages). Then, when starting apache, it gives the error as described earlier. Then I disable PHP5 and move on to 12.2...

There I execute the yum-command, wget the tar-file and unzip it. Even the ./configure is OK. So far so good. But when I execute "make" it returns an error:
apachelib.c:149:warning: ignoring return value of chdir, declared with attribute warn-unused_result
apachelib.c:154:warning: ignoring return value of chdir, declared with attribute warn-unused_result
apachelib.c:374: error: OPT_INCNOEXE undeclared (first user in this function)
apachelib.c:374: error: Each undeclared identifier is reported only once
apachelib.c:374: error: for each function it appears in)
make: *** [apachelib.o] Error 1

And the rest of the script (like make install and further) can't be performed (anymore).
Does this give you adequate info?

Greets & Thnx