Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Servers > LoadModule Syntax Errors

Forgot Password?
 Servers   Anything server related, Apache, MySQL, Samba, server security, sendmail, exim, etc

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 08-25-2004   #1 (permalink)
Just Joined!
 
Join Date: Jul 2004
Location: Phoenix, AZ
Posts: 19
Send a message via AIM to ChriSTP Send a message via MSN to ChriSTP
LoadModule Syntax Errors

Ok this is the first time i would be setting up a webserver. I have installed the following things:

Apache 2.0.50
MySQL 4.0.20
PHP-5.0.1

Using Slackware 10.0.

As far as i know i had no problems during installation of all the applications.
(BTW: I used the guides here to Install all of the above applications:
Apache: http://www.linuxfromscratch.org/blfs...eb.html#apache
MySQL: http://www.linuxfromscratch.org/blfs...ent/mysql.html
PHP: http://www.linuxfromscratch.org/blfs...ntent/php.html)
But when I go to test to see if Apache was configured right after configuring the httpd.conf file so I typed http://localhost into Konqueror but i get the...

Quote:
An error occurred while loading http://localhost/:


Could not connect to host localhost
and from what I've read that means Apache isn't running. So I go into the command prompt as root and type in the command apachectl start but i get a syntax error...

Code:
root@teamstp:~# apachectl start
Syntax error on line 207 of /etc/apache/httpd.conf:
Cannot load /usr/libexec/apache/mod_define.so into server: /usr/libexec/apache/mod_define.so: undefined symbol: ap_null_cleanup
so I went back to the httpd.conf and disabled that mod by putting the # at the starting of the line but I run the command apachectl start again but it just goes to the next LoadModule and get a simmillar error...

Code:
root@teamstp:~# apachectl start
Syntax error on line 208 of /etc/apache/httpd.conf:
Can't locate API module structure `config_log_module' in file /usr/lib/apache/mod_log_config.so: /usr/lib/libapr-0.so.0: undefined symbol: config_log_module
I saw that some of them had libexec/apache/mod_[name] and other had lib/apache/mod_[name] so i changed all of them to lib and tryed running it like that and I get the error that there is no such file or directory so i change them all to libexec but i then get the syntax errors again.


If anyone knows how to fix it or if need to be doing something diffrent then please reply any help would be good.

Also if you need to see my httpd.conf file or any more info then tell me. I didn't put it on here because i didn't want to make it a long *** post.

- ChriSTP
ChriSTP is offline  



Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:51 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1