Re: [rt-users] Problems installing RT 3.8 on Centos 5.2 with FastCGI

2008-08-01 Thread Tom Lanyon
On 24/07/2008, at 8:21 AM, Sean McCreadie wrote:

 Thanks everyone for the help on this so far.  I was able to get  
 fastcgi compiled correctly, I think, but when I go to start Apache I  
 get this error now:

 Stopping httpd:[FAILED]
 Starting httpd: httpd: Syntax error on line 210 of /etc/httpd/conf/ 
 httpd.conf: Syntax error on line 1 of /etc/httpd/conf.d/ 
 FastCGI.conf: Cannot load /etc/httpd/modules/mod_fastcgi.so into  
 server: /etc/httpd/modules/mod_fastcgi.so: wrong ELF class: ELFCLASS32
   [FAILED]


 I followed the Wiki for RHEL4 and the advice in this email trail and  
 it seemed to work flawlessly until I tried to start the service.   
 Any input would be greatly appreciated.  Thanks again



Sean,

Looks like you're building 32 bit mod_fastcgi but your system is 64  
bit. If on x86_64 bit you should be building mod_fastcgi against /usr/ 
lib64/httpd, not /usr/lib/httpd.

Not familiar with the instructions in the wiki but I built some  
mod_fastcgi RPMS and wrote a spec file for our CentOS 5 environments.  
I can provide you with a src RPM and x86_64 RPM for mod_fastcgi-2.4.6  
off-list if you need (100k each).

Regards,
Tom


--
Tom Lanyon
Systems Administrator
NetSpot Pty Ltd

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Problems installing RT 3.8 on Centos 5.2 with FastCGI

2008-08-01 Thread Sean McCreadie
Tom,

The 64 bit RPM's would be a big help.  This is the first time I have
built a 64 bit RT server, and im lost on a few points like this.  Thanks
a lot for the reply and help!

Sean

-Original Message-
From: Tom Lanyon [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 01, 2008 1:16 AM
To: Sean McCreadie
Cc: Graeme Fowler; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Problems installing RT 3.8 on Centos 5.2 with
FastCGI

On 24/07/2008, at 8:21 AM, Sean McCreadie wrote:

 Thanks everyone for the help on this so far.  I was able to get  
 fastcgi compiled correctly, I think, but when I go to start Apache I  
 get this error now:

 Stopping httpd:[FAILED]
 Starting httpd: httpd: Syntax error on line 210 of /etc/httpd/conf/ 
 httpd.conf: Syntax error on line 1 of /etc/httpd/conf.d/ 
 FastCGI.conf: Cannot load /etc/httpd/modules/mod_fastcgi.so into  
 server: /etc/httpd/modules/mod_fastcgi.so: wrong ELF class: ELFCLASS32
   [FAILED]


 I followed the Wiki for RHEL4 and the advice in this email trail and  
 it seemed to work flawlessly until I tried to start the service.   
 Any input would be greatly appreciated.  Thanks again



Sean,

Looks like you're building 32 bit mod_fastcgi but your system is 64  
bit. If on x86_64 bit you should be building mod_fastcgi against /usr/ 
lib64/httpd, not /usr/lib/httpd.

Not familiar with the instructions in the wiki but I built some  
mod_fastcgi RPMS and wrote a spec file for our CentOS 5 environments.  
I can provide you with a src RPM and x86_64 RPM for mod_fastcgi-2.4.6  
off-list if you need (100k each).

Regards,
Tom


--
Tom Lanyon
Systems Administrator
NetSpot Pty Ltd

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Problems installing RT 3.8 on Centos 5.2 with FastCGI

2008-07-23 Thread Graeme Fowler
On Tue, 2008-07-22 at 11:58 -0700, Sean McCreadie wrote:
“ /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such
 file or directory 

yum install glibc-devel

Try the compile again - it's nothing to do with the Apache libs, this is
a core function you're missing the header file for.

Graeme

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Problems installing RT 3.8 on Centos 5.2 with FastCGI

2008-07-23 Thread Sean McCreadie
Thanks everyone for the help on this so far.  I was able to get fastcgi 
compiled correctly, I think, but when I go to start Apache I get this error now:

Stopping httpd:[FAILED]
Starting httpd: httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: 
Syntax error on line 1 of /etc/httpd/conf.d/FastCGI.conf: Cannot load 
/etc/httpd/modules/mod_fastcgi.so into server: 
/etc/httpd/modules/mod_fastcgi.so: wrong ELF class: ELFCLASS32
   [FAILED]


I followed the Wiki for RHEL4 and the advice in this email trail and it seemed 
to work flawlessly until I tried to start the service.  Any input would be 
greatly appreciated.  Thanks again



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Graeme Fowler
Sent: Wednesday, July 23, 2008 5:26 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Problems installing RT 3.8 on Centos 5.2 with FastCGI

On Tue, 2008-07-22 at 11:58 -0700, Sean McCreadie wrote:
“ /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such
 file or directory 

yum install glibc-devel

Try the compile again - it's nothing to do with the Apache libs, this is
a core function you're missing the header file for.

Graeme

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Problems installing RT 3.8 on Centos 5.2 with FastCGI

2008-07-23 Thread chaim . rieger
I've seen this before

Will look up my notes and send them later today


Sent via BlackBerry from T-Mobile

-Original Message-
From: Sean McCreadie [EMAIL PROTECTED]

Date: Wed, 23 Jul 2008 15:51:19 
To: Graeme Fowler[EMAIL PROTECTED]; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Problems installing RT 3.8 on Centos 5.2 with   FastCGI


Thanks everyone for the help on this so far.  I was able to get fastcgi 
compiled correctly, I think, but when I go to start Apache I get this error now:

Stopping httpd:[FAILED]
Starting httpd: httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: 
Syntax error on line 1 of /etc/httpd/conf.d/FastCGI.conf: Cannot load 
/etc/httpd/modules/mod_fastcgi.so into server: 
/etc/httpd/modules/mod_fastcgi.so: wrong ELF class: ELFCLASS32
   [FAILED]


I followed the Wiki for RHEL4 and the advice in this email trail and it seemed 
to work flawlessly until I tried to start the service.  Any input would be 
greatly appreciated.  Thanks again



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Graeme Fowler
Sent: Wednesday, July 23, 2008 5:26 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Problems installing RT 3.8 on Centos 5.2 with FastCGI

On Tue, 2008-07-22 at 11:58 -0700, Sean McCreadie wrote:
“ /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such
 file or directory 

yum install glibc-devel

Try the compile again - it's nothing to do with the Apache libs, this is
a core function you're missing the header file for.

Graeme

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

[rt-users] Problems installing RT 3.8 on Centos 5.2 with FastCGI

2008-07-22 Thread Sean McCreadie
Hello,

 

I am trying to install RT 3.8 on Centos 5.2 from source.  I have been
following the RHEL4 Install Guide on the wiki and trying to make it work
as best I can.  Im running into a problem with installing FastCGI,
apparently http-devel build directories are in a different location than
they are in Centos4, and I think the FastCGI makefile needs to represent
this.   I editing the makefile to point to /usr/lib/http for the
location of the Apache installation, but im not sure if this is right.
When I type make it appears to run and then gives this line:

 

/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file
or directory 

   mod_fastcgi.c: In function 'open_connection_to_fs':

   mod_fastcgi.c:1083: warning: dereferencing type-punned pointer will
break strict-aliasing rules

   make: *** [mod_fastcgi.slo] Error 1

 

Then when I try:  service httpd start I get:

 

 Starting httpd: httpd: Syntax error on line 210 of
/etc/httpd/conf/httpd.conf: Syntax error on line 1 of
/etc/httpd/conf.d/FastCGI.conf: Cannot load
/etc/httpd/modules/mod_fastcgi.so into server:
/etc/httpd/modules/mod_fastcgi.so: cannot open shared object file: No
such file or directory

 

 

I understand its creating the error because the file doesn't exist, but
Im lost as to what I need to do to correct it.  If anyone has any
experience or ideas on this it will be greatly appreciated.  Thanks
again.

 

 

Sean McCreadie

 

 

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Problems installing RT 3.8 on Centos 5.2 with FastCGI

2008-07-22 Thread Chaim Rieger
sorry for top posting

i install rt 3.8 on centos last night in about 2 hours

make sure you have httpd-devel installed (this will install apr-utils
wget latest fastcgi
cp Makefile.AP2 Makefile
change top_dir to /usr/lib/httpd in Makefile
make
make install
cp /usr/lib/httpd/modules/mod_fascgi.so to /etc/httpd/modules
create a fastcgi.conf file in /etc/httpd/conf.d/ in it should be the 
LoadModule directive
restart httpd

let me know if any issues

Sean McCreadie wrote:

 Hello,

 I am trying to install RT 3.8 on Centos 5.2 from source. I have been 
 following the RHEL4 Install Guide on the wiki and trying to make it 
 work as best I can. Im running into a problem with installing FastCGI, 
 apparently http-devel build directories are in a different location 
 than they are in Centos4, and I think the FastCGI makefile needs to 
 represent this. I editing the makefile to point to /usr/lib/http for 
 the location of the Apache installation, but im not sure if this is 
 right. When I type “make” it appears to run and then gives this line:

 “ /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file 
 or directory

 mod_fastcgi.c: In function 'open_connection_to_fs':

 mod_fastcgi.c:1083: warning: dereferencing type-punned pointer will 
 break strict-aliasing rules

 make: *** [mod_fastcgi.slo] Error 1”

 Then when I try: service httpd start I get:

 “Starting httpd: httpd: Syntax error on line 210 of 
 /etc/httpd/conf/httpd.conf: Syntax error on line 1 of 
 /etc/httpd/conf.d/FastCGI.conf: Cannot load 
 /etc/httpd/modules/mod_fastcgi.so into server: 
 /etc/httpd/modules/mod_fastcgi.so: cannot open shared object file: No 
 such file or directory”

 I understand its creating the error because the file doesn’t exist, 
 but Im lost as to what I need to do to correct it. If anyone has any 
 experience or ideas on this it will be greatly appreciated. Thanks again.

 Sean McCreadie

 

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

 Community help: http://wiki.bestpractical.com
 Commercial support: [EMAIL PROTECTED]


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com


-- 
--
Chaim Rieger

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Problems installing RT 3.8 on Centos 5.2 with FastCGI

2008-07-22 Thread Chaim Rieger
Sean McCreadie wrote:

 Hello,

 I am trying to install RT 3.8 on Centos 5.2 from source. I have been 
 following the RHEL4 Install Guide on the wiki and trying to make it 
 work as best I can. Im running into a problem with installing FastCGI, 
 apparently http-devel build directories are in a different location 
 than they are in Centos4, and I think the FastCGI makefile needs to 
 represent this. I editing the makefile to point to /usr/lib/http for 
 the location of the Apache installation, but im not sure if this is 
 right. When I type “make” it appears to run and then gives this line:

Sean all good now ?
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Problems installing RT 3.8 on Centos 5.2 with FastCGI

2008-07-22 Thread Sean McCreadie
Chaim,

Thank you very much for responding so quickly. I did as you said but I was 
unable to cp /usr/lib/httpd/modules/mod_fastcgi.so as this directory didn't 
exist on my system. I tried reinstalling httpd and httpd-devel, but it still 
didn't produce that directory. Any ideas?  I'm gonna try some more things 
tonight when I get home. Thanks again for the help!


Sean McCreadie
IT Support
Canyon Partners, LLC
310 272 1764

- Original Message -
From: Chaim Rieger [EMAIL PROTECTED]
To: Sean McCreadie
Cc: rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com
Sent: Tue Jul 22 12:10:40 2008
Subject: Re: [rt-users] Problems installing RT 3.8 on Centos 5.2 with FastCGI

sorry for top posting

i install rt 3.8 on centos last night in about 2 hours

make sure you have httpd-devel installed (this will install apr-utils
wget latest fastcgi
cp Makefile.AP2 Makefile
change top_dir to /usr/lib/httpd in Makefile
make
make install
cp /usr/lib/httpd/modules/mod_fascgi.so to /etc/httpd/modules
create a fastcgi.conf file in /etc/httpd/conf.d/ in it should be the 
LoadModule directive
restart httpd

let me know if any issues

Sean McCreadie wrote:

 Hello,

 I am trying to install RT 3.8 on Centos 5.2 from source. I have been 
 following the RHEL4 Install Guide on the wiki and trying to make it 
 work as best I can. Im running into a problem with installing FastCGI, 
 apparently http-devel build directories are in a different location 
 than they are in Centos4, and I think the FastCGI makefile needs to 
 represent this. I editing the makefile to point to /usr/lib/http for 
 the location of the Apache installation, but im not sure if this is 
 right. When I type “make” it appears to run and then gives this line:

 “ /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file 
 or directory

 mod_fastcgi.c: In function 'open_connection_to_fs':

 mod_fastcgi.c:1083: warning: dereferencing type-punned pointer will 
 break strict-aliasing rules

 make: *** [mod_fastcgi.slo] Error 1”

 Then when I try: service httpd start I get:

 “Starting httpd: httpd: Syntax error on line 210 of 
 /etc/httpd/conf/httpd.conf: Syntax error on line 1 of 
 /etc/httpd/conf.d/FastCGI.conf: Cannot load 
 /etc/httpd/modules/mod_fastcgi.so into server: 
 /etc/httpd/modules/mod_fastcgi.so: cannot open shared object file: No 
 such file or directory”

 I understand its creating the error because the file doesn’t exist, 
 but Im lost as to what I need to do to correct it. If anyone has any 
 experience or ideas on this it will be greatly appreciated. Thanks again.

 Sean McCreadie

 

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

 Community help: http://wiki.bestpractical.com
 Commercial support: [EMAIL PROTECTED]


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com


-- 
--
Chaim Rieger

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com