LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-19-2010, 05:27 AM   #1
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Rep: Reputation: 135Reputation: 135
Error while starting apache2


I have suse10 64bit and I was setting up SVN server on it. After all required setup while reloading apache2,its giving the error:

Code:
httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server
 
Old 11-19-2010, 05:59 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Look in your Apache-Config:

Quote:
"/etc/sysconfig/apache2"
Which "APACHE_MODULES" are registered?

Try following command:

Code:
a2enmod dav
&

Code:
a2enmod dav_svn
find the modules installed at some other location as:

Quote:
/usr/lib/apache2/mod_dav_svn.so
 
Old 11-19-2010, 06:19 AM   #3
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Original Poster
Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by prayag_pjs View Post
Look in your Apache-Config:



Which "APACHE_MODULES" are registered?

Try following command:

Code:
a2enmod dav
&

Code:
a2enmod dav_svn
find the modules installed at some other location as:
Yes both dav and dav_svn are present. I am using suse 64 bit os. So apachemodules are in /usr/lib64/apache2
 
Old 11-19-2010, 06:48 AM   #4
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Apache is reporting a syntax error on line 113 of httpd.conf - post it here and we can try to identify what this error is.
 
Old 11-19-2010, 07:03 AM   #5
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Original Poster
Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by alli_yas View Post
Apache is reporting a syntax error on line 113 of httpd.conf - post it here and we can try to identify what this error is.
PHP Code:
# generated from APACHE_MODULES in /etc/sysconfig/apache2
Include /etc/apache2/sysconfig.d/loadmodule.conf 
This is the 112 and 113 line.

I have not touched this httpd.conf .This was as before.
 
Old 11-25-2010, 11:53 PM   #6
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Original Poster
Rep: Reputation: 135Reputation: 135
I remove the conflicting libraries and reinstall the both pkgs, still its showing the error as:

Quote:
httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: libsvn_repos-1.so.0: cannot open shared object file: No such file or directory
 
Old 11-26-2010, 11:57 AM   #7
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
May be this problem is because of 64 bit version.Try to get the proper one:"libsvn_repos-1.so.0"
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2 not starting, Simon256 Linux - Server 5 08-22-2008 06:49 AM
SuSe Apache2 error: cannot adjust 'apache2' service sir_shunt SUSE / openSUSE 14 04-18-2006 11:36 AM
starting Apache2 chucker8 Linux - Software 5 01-29-2006 05:03 PM
Starting Apache2 WarlockofVirgo Linux - Software 11 08-13-2004 03:34 AM
apache2 not starting :( jd121 Linux - Software 7 08-20-2003 12:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration