LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-11-2014, 10:19 AM   #1
sandeep002gupta
Member
 
Registered: Apr 2011
Posts: 96
Blog Entries: 1

Rep: Reputation: 0
need to install httpd-2.2.22 on suse 10 SP4


Hi
I need to install httpd-2.2.22 on suse linux 10.
i've installed rpm httpd & apache but we cant start apache.

with ssl securities.

sudo ./configure --prefix=/opt/app/apache2 --enable-so --enable-mods-shared="proxy cache ssl all"
 
Old 07-11-2014, 10:49 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by sandeep002gupta View Post
Hi
I need to install httpd-2.2.22 on suse linux 10. i've installed rpm httpd & apache but we cant start apache. with ssl securities.

sudo ./configure --prefix=/opt/app/apache2 --enable-so --enable-mods-shared="proxy cache ssl all"
If you mean Suse ENTERPRISE Linux 10, that is a commercial, pay-for distribution...did you call them for support? If you mean openSUSE 10, that is very old, and you really need to upgrade, especially if you're concerned about security.

You have posted a configure statement, but give no details about the results of that command, or what happens when you try to start apache. All you're doing there is running the first stage of a compilation from source.
 
Old 07-14-2014, 04:01 AM   #3
sandeep002gupta
Member
 
Registered: Apr 2011
Posts: 96

Original Poster
Blog Entries: 1

Rep: Reputation: 0
linux-251:~ # cat /etc/issue

Welcome to SUSE Linux Enterprise Server 10 SP4 (x86_64) - Kernel \r (\l).
 
Old 07-14-2014, 08:21 AM   #4
sandeep002gupta
Member
 
Registered: Apr 2011
Posts: 96

Original Poster
Blog Entries: 1

Rep: Reputation: 0
getting msg when try to start apache2 service.

linux-251:~ # service apache2 start
Starting httpd2 (prefork) httpd2-prefork: Syntax error on line 113 of /etc/apach e2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.co nf: Cannot load /usr/lib64/apache2/mod_php5.so into server: libmm.so.14: cannot open shared object file: No such file or directory

The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
failed
 
Old 07-14-2014, 10:44 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by sandeep002gupta View Post
linux-251:~ # cat /etc/issue
Welcome to SUSE Linux Enterprise Server 10 SP4 (x86_64) - Kernel \r (\l).
Ok, so back to what was said previously: if you're using SuSE ENTERPRISE, then you need to call SuSE for support, since you're paying for it. This is no different than using Red Hat Enterprise...it's a commercial, PAY-FOR distribution.
Quote:
Originally Posted by sandeep002gupta
getting msg when try to start apache2 service.

linux-251:~ # service apache2 start
Starting httpd2 (prefork) httpd2-prefork: Syntax error on line 113 of /etc/apach e2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.co nf: Cannot load /usr/lib64/apache2/mod_php5.so into server: libmm.so.14: cannot open shared object file: No such file or directory

The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
failed
No, the command line to start the service was "service apache2 start"...the /usr/sbin line is what should be called from that script, not run on its own. And did you read and UNDERSTAND what you posted? It's telling you very, VERY clearly that there is a problem in the configuration file, and it even tells you what line it's on. Can't be much more clear than that, and even gives you further information about the problem, by telling you that line 31 of a related config file can't find the file.

If you installed Apache from source (which isn't a great idea, since it's a complex build, and not really needed unless you need a VERY cutting-edge feature), did you also install that module? Try to look up that module name in YAST/zypper? The package is apache2-mod_phpxx, where XX is whatever number matches the current release on your system. This is something you'll have access to if you are paying for SLES. You've been asked questions in other threads you've posted, but haven't ever followed up or answered...if you don't participate in the discussions or try to show effort of your own, there is little incentive for folks to try to help you.

Last edited by TB0ne; 07-14-2014 at 10:49 AM.
 
Old 07-15-2014, 03:32 AM   #6
sandeep002gupta
Member
 
Registered: Apr 2011
Posts: 96

Original Poster
Blog Entries: 1

Rep: Reputation: 0
Thanks for reply, we got some of library file is missing thats why error was comes out. after installation lib files its resolved.
thank again.
 
Old 07-15-2014, 08:41 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by sandeep002gupta View Post
Thanks for reply, we got some of library file is missing thats why error was comes out. after installation lib files its resolved.
thank again.
Yes, which is exactly what the error message told you...it said the php5 module wasn't loaded, so installing it would fix the error. And again, you ignored several questions asked of you.
 
  


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
[SOLVED] SUSE 10 SP4 install questionn jzoudavy Linux - Newbie 2 05-18-2014 08:04 AM
[SOLVED] suse 10 sp4 fails to install, and now i can't get past the installation menu jzoudavy SUSE / openSUSE 5 04-17-2012 02:45 PM
SUSE Linux Enterprise Server 9 SP4 update sjujjuru Linux - Newbie 1 02-07-2009 04:46 AM
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax sethukpathi Linux - Networking 6 04-12-2008 11:26 AM
Will xp sp4 overwirte MBR? innovest_11 Linux - Newbie 3 01-25-2004 11:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:21 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