You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Brad Rhoads <br...@zethcon.com> on 2004/06/05 05:55:26 UTC
Apache Setup
I'm trying to get subversion working on Redhat 8. I've been able to create a
repository and import a project. But I can't get apache working. I installed
all the rpms (I think), but I'm getting errors starting apache:
[root@linux1 init.d]# httpd start
/bin/bash: line 10: ./.kshrc: No such file or directory
Starting httpd: Syntax error on line 193 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/mod_dav_svn.so into server:
/etc/httpd/modules/mo
d_dav_svn.so: undefined symbol: ap_lookup_provider
FAILED]
[root@linux1 init.d]#
Here's the entry in my httpd.conf:
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
And here's my modules:
brad@linux1 httpd]$ cd modules
/etc/httpd/modules
[brad@linux1 modules]$ ls
libphp4.so mod_authz_svn.so mod_headers.so mod_proxy.so
mod_access.so mod_autoindex.so mod_imap.so mod_python.so
mod_actions.so mod_cern_meta.so mod_include.so mod_rewrite.so
mod_alias.so mod_cgi.so mod_info.so mod_setenvif.so
mod_asis.so mod_dav_fs.so mod_log_config.so mod_speling.so
mod_auth_anon.so mod_dav.so mod_mime_magic.so mod_ssl.so
mod_auth_dbm.so mod_dav_svn.la mod_mime.so mod_status.so
mod_auth_digest.so mod_dav_svn.so mod_negotiation.so mod_suexec.so
mod_auth_mysql.so mod_deflate.so mod_perl.so mod_unique_id.so
mod_auth_pgsql.so mod_dir.so mod_proxy_connect.so mod_userdir.so
mod_auth.so mod_env.so mod_proxy_ftp.so mod_usertrack.so
mod_authz_svn.la mod_expires.so mod_proxy_http.so
mod_vhost_alias.so
[brad@linux1 modules]$
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Apache Setup
Posted by David Summers <da...@summersoft.fay.ar.us>.
On Tue, 8 Jun 2004, Brad Rhoads wrote:
> > On Tue, 2004-06-08 at 16:15, Brad Rhoads wrote:
> > > I'm trying to run the binary installed version (2.040)
> >
> > Bzzzzt, that explains it. You need apache 2.0.48, preferably 2.0.49.
> > Thanks for playing!
> >
>
> Anyone know where I can find either of these RPMs for Redhat 8?
>
> I found it at freshrms.net, but it doesn't work. I get:
>
> [root@linux1 brad]# rpm -i apt-0.5.5cnc6-fr0.rh80.1.i386.rpm
> error: apt-0.5.5cnc6-fr0.rh80.1.i386.rpm: V3 DSA signature: BAD, key
> ID e42d547b
> error: apt-0.5.5cnc6-fr0.rh80.1.i386.rpm cannot be installed
>
http://subversion.tigris.org/project_packages.html
--
David Wayne Summers "Linux: Because reboots are for hardware upgrades!"
david@summersoft.fay.ar.us PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint = C0 E0 4F 50 DD A9 B6 2B 60 A1 31 7E D2 28 6D A8
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Apache Setup
Posted by Brad Rhoads <br...@zethcon.com>.
> On Tue, 2004-06-08 at 16:15, Brad Rhoads wrote:
> > I'm trying to run the binary installed version (2.040)
>
> Bzzzzt, that explains it. You need apache 2.0.48, preferably 2.0.49.
> Thanks for playing!
>
Anyone know where I can find either of these RPMs for Redhat 8?
I found it at freshrms.net, but it doesn't work. I get:
[root@linux1 brad]# rpm -i apt-0.5.5cnc6-fr0.rh80.1.i386.rpm
error: apt-0.5.5cnc6-fr0.rh80.1.i386.rpm: V3 DSA signature: BAD, key
ID e42d547b
error: apt-0.5.5cnc6-fr0.rh80.1.i386.rpm cannot be installed
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Apache Setup
Posted by Ben Collins-Sussman <su...@collab.net>.
On Tue, 2004-06-08 at 16:15, Brad Rhoads wrote:
> I'm trying to run the binary installed
> version (2.040)
Bzzzzt, that explains it. You need apache 2.0.48, preferably 2.0.49.
Thanks for playing!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Apache Setup
Posted by Brad Rhoads <br...@zethcon.com>.
> Brad Rhoads wrote:
>
> >Cannot load /etc/httpd/modules/mod_dav_svn.so into server:
> >/etc/httpd/modules/mod_dav_svn.so: undefined symbol:
> ap_lookup_provider
> >[FAILED]
> >
> >
> Someone else on the list had similar problems. The cause was
> that the module was compiled against a different copy of
> apache than the one trying to load it. It might be the same
> thing for your problem. Did you get the rpm's from the same
> place? Do you have more than one copy of apxs/httpd on your server?
>
> Here is a link to the old thread:
> http://www.contactor.se/~dast/svnusers/archive-2004-01/0050.shtml
>
This does look like a similar issue. There are two copies of httpd. There
was one built from source for another project. But it's not running (so
could it be messing things up still?) I'm trying to run the binary installed
version (2.040) and I have all the modules installed for it
(/etc/httpd/modules).
I installed these RPMS:
apr-0.9.5-0.2.i386.rpm subversion-server-1.0.3-1.rh80.i386.rpm
apr-util-0.9.5-0.1.i386.rpm subversion-tools-1.0.3-1.rh80.i386.rpm
neon-0.24.6-1.i386.rpm
subversion-1.0.3-1.rh80.i386.rpm
Which I got from:
http://summersoft.fay.ar.us/pub/subversion/latest/redhat-8.0/bin/
I'd really like to be able to just use binaries. Do I need a different
Apache? How can I tell which version I need, based on the RPMS? Or better,
how can I find svn RPMs for the version of Apache I have?
Thanks for all the help.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Apache Setup
Posted by Michael Ching <mi...@wush.net>.
Brad Rhoads wrote:
>Cannot load /etc/httpd/modules/mod_dav_svn.so into server:
>/etc/httpd/modules/mod_dav_svn.so: undefined symbol: ap_lookup_provider [FAILED]
>
>
Someone else on the list had similar problems. The cause was that the
module was compiled against a different copy of apache than the one
trying to load it. It might be the same thing for your problem. Did
you get the rpm's from the same place? Do you have more than one copy
of apxs/httpd on your server?
Here is a link to the old thread:
http://www.contactor.se/~dast/svnusers/archive-2004-01/0050.shtml
--
Michael Ching
michaelc@wush.net
http://wush.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Apache Setup
Posted by Brad Rhoads <br...@zethcon.com>.
> On Sat, 2004-06-05 at 00:55, Brad Rhoads wrote:
> > undefined symbol: ap_lookup_provider
>
> This means you're loading mod_dav_svn before mod_dav. Look
> in your httpd.conf, make sure you load mod_dav *first*.
>
Hmmmm... I think I have it set that way. Do you see anything wrong? Any
other ideas?
# Example:
# LoadModule foo_module modules/mod_foo.so
#
. . .
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule status_module modules/mod_status.so
. . .
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Apache Setup
Posted by Ben Collins-Sussman <su...@collab.net>.
On Sat, 2004-06-05 at 00:55, Brad Rhoads wrote:
> undefined symbol: ap_lookup_provider
This means you're loading mod_dav_svn before mod_dav. Look in your
httpd.conf, make sure you load mod_dav *first*.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Apache Setup
Posted by Scott Lawrence <sl...@pingtel.com>.
On Mon, 2004-06-07 at 22:22, Brad Rhoads wrote:
> > > [root@linux1 init.d]# httpd start
> > > /bin/bash: line 10: ./.kshrc: No such file or directory Starting
> > > httpd: Syntax error on line 193 of /etc/httpd/conf/httpd.conf:
> > > Cannot load /etc/httpd/modules/mod_dav_svn.so into server:
> > > /etc/httpd/modules/mo
> > > d_dav_svn.so: undefined symbol: ap_lookup_provider FAILED]
> >
> > Check all the file permissions - make sure everything is
> > readable by the user id you tell apache to run as.
> >
>
> What is "everything"? I'm sure this is over kill, but I did chmod 777 on
> *.so in /etc/httpd/modules. But still not luck.
I would check the bash startup scripts to find out why they are trying
to read ./.kshrc on the apache account.
More important is the undefined symbol... If I'm not mistaken, that one
is from the apache runtime library, so there is something wrong with
your linkage rules such that the apache runtime is not getting located
correctly. Did you build mod_dav_svn.so on the same system where you
are trying to run it?
--
Scott Lawrence
Consulting Engineer
Pingtel Corp.
sip:slawrence@pingtel.com
+1.781.938.5306 x162
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Apache Setup
Posted by Brad Rhoads <br...@zethcon.com>.
> > [root@linux1 init.d]# httpd start
> > /bin/bash: line 10: ./.kshrc: No such file or directory Starting
> > httpd: Syntax error on line 193 of /etc/httpd/conf/httpd.conf:
> > Cannot load /etc/httpd/modules/mod_dav_svn.so into server:
> > /etc/httpd/modules/mo
> > d_dav_svn.so: undefined symbol: ap_lookup_provider FAILED]
>
> Check all the file permissions - make sure everything is
> readable by the user id you tell apache to run as.
>
What is "everything"? I'm sure this is over kill, but I did chmod 777 on
*.so in /etc/httpd/modules. But still not luck.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Apache Setup
Posted by Scott Lawrence <sl...@pingtel.com>.
On Sat, 2004-06-05 at 01:55, Brad Rhoads wrote:
> I'm trying to get subversion working on Redhat 8. I've been able to create a
> repository and import a project. But I can't get apache working. I installed
> all the rpms (I think), but I'm getting errors starting apache:
>
> [root@linux1 init.d]# httpd start
> /bin/bash: line 10: ./.kshrc: No such file or directory
> Starting httpd: Syntax error on line 193 of /etc/httpd/conf/httpd.conf:
> Cannot load /etc/httpd/modules/mod_dav_svn.so into server:
> /etc/httpd/modules/mo
> d_dav_svn.so: undefined symbol: ap_lookup_provider
> FAILED]
Check all the file permissions - make sure everything is readable by the
user id you tell apache to run as.
--
Scott Lawrence
Consulting Engineer
Pingtel Corp.
sip:slawrence@pingtel.com
+1.781.938.5306 x162
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org