#1  
Old 25th July 2009, 18:56
kevin.cousins kevin.cousins is offline
Junior Member
 
Join Date: Jul 2009
Location: USA
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Errors installing CentOS 5.3

I am installing "The Perfect Server - CentOS 5.3 i386 [ISPConfig2]". During Step 12.2, Installing mod_ruby, I am getting error messages:
apachelib.c: In function ‚ap_chdir_file‚:
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: In function ‚rb_init_apache‚:
apachelib.c:374: error: ‚OPT_INCNOEXEC‚ undeclared (first use 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
After this step, when I command httpd to restart, I get the following error message:
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
I followed the tutorial explicitly and this is the second installation where I ran into this problem at the same place. Where did I go wrong?
Reply With Quote
Sponsored Links
  #2  
Old 25th July 2009, 20:32
kevin.cousins kevin.cousins is offline
Junior Member
 
Join Date: Jul 2009
Location: USA
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default I commented out line 210 in httpd.conf

I commented out line 210 in etc/httpd/conf/httpd.conf - Include conf.d/*.conf - and etc/init.d/httpd started successfully.

I'm still not certain that this is the proper configuration. Any suggestions?
Reply With Quote
  #3  
Old 26th July 2009, 11:37
altaibskt altaibskt is offline
Member
 
Join Date: Jan 2009
Posts: 33
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Having precisely the same problem, i googled and found the solution.

after getting the error just add to the end of mod_ruby-1.3.0/apachelib.h
, after (#endif /* !APACHELIB_H */). this line

#define OPT_INCNOEXEC 32

and then make. it will work just fine
Reply With Quote
  #4  
Old 24th August 2009, 07:07
wharfratjoe wharfratjoe is offline
Junior Member
 
Join Date: Mar 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by altaibskt View Post
Having precisely the same problem, i googled and found the solution.

after getting the error just add to the end of mod_ruby-1.3.0/apachelib.h
, after (#endif /* !APACHELIB_H */). this line

#define OPT_INCNOEXEC 32

and then make. it will work just fine
Perfect
Reply With Quote
Reply

Bookmarks

Tags
centos 5.3 perfect sever, installation error, ispconfig 2

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
some problem after installing perfect server setup for centos 5.3 and ispconfig 3 cobro Installation/Configuration 12 16th July 2009 21:45
RE: Centos 5.3 - Installing Package groups justinj HOWTO-Related Questions 2 11th June 2009 18:58
Centos 5.2 + ISPConfig 3 tutorial - Problem with email tanakskool Server Operation 1 3rd June 2009 16:22
Installing KDE on CentOS 5.3 dedi w/VMWare Server or FreeNX need_a_linux_brain Desktop Operation 0 1st May 2009 13:51
Problems with installation on openSUSE 10.2 douglaslopezt Installation/Configuration 3 24th August 2007 22:04


All times are GMT +2. The time now is 15:32.


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