Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
I have just finished installing Apache on Mandrake 9. I have used Apache 2.0 I followed the instructions on the apache website and everything seemed to go ok until I started the server. If I type:
apachectl start I get messages saying that my config files don't exist. I then noticed it was looking for them in the wrong place. I copied the default conf files from /usr/local/apache2/conf to /etc/httpd/conf/ which is where it seems to want to look for these files but it keeps telling me my httpd.conf file contains errors. The errors go like this:
$ apachectl start
Starting httpd-perl: fopen: No such file or directory
httpd-perl: could not open document config file /etc/httpd/conf/httpd-perl.conf
[FAILED]
Starting httpd: [Thu Sep 9 11:42:51 2004] [warn] Apache does not support line-e nd comments. Consider using quotes around argument: "#-1"
Syntax error on line 358 of /etc/httpd/conf/httpd.conf:
Invalid command 'Order', perhaps mis-spelled or defined by a module not included in the server configuration
[FAILED]
fopen: No such file or directory
httpd-perl: could not open document config file /etc/httpd/conf/httpd-perl.conf
[FAILED]
[Thu Sep 9 11:43:01 2004] [warn] Apache does not support line-end comments. Con sider using quotes around argument: "#-1"
Syntax error on line 358 of /etc/httpd/conf/httpd.conf:
Invalid command 'Order', perhaps mis-spelled or defined by a module not included in the server configuration
[FAILED]
fopen: No such file or directory
httpd-perl: could not open document config file /etc/httpd/conf/httpd-perl.conf
[FAILED]
[Thu Sep 9 11:43:12 2004] [warn] Apache does not support line-end comments. Consider using quotes around argument: "#-1"
Syntax error on line 358 of /etc/httpd/conf/httpd.conf:
Invalid command 'Order', perhaps mis-spelled or defined by a module not included in the server configuration
[FAILED]
I did go through an dcomment out some of the errors but they don't seem like they are syntax errors as it says. Can someone tell me whats wrong, or at least point me in the right direction?
u have double apache as i understand. u probably have 2 apachectl too. first of them is located in one PATH directory. other is the one that u have just installed (/usr/local/apache2)
i know that because same thing happened here for a while ago, too
do:
ps aux
to see what process are running. also u can try to search rpm of apache if installed:
rpm -qa|grep httpd
i use redhat, it is called httpd in redhat. i think it is same for mdk
if it is installed u will see it. u can remove it by
rpm -e httpd
u can try the following to see where other apachectl is located.
whereis apachectl
remove old apache. and edit /usr/local/apache2/conf/httpd.conf
Thanks for your help. I have found where I need to look in the httpd.conf file but I don't understand what is required to fix it. I changed the listenning port to 10.0.0.1 which is the IP of my external eth0 card. Can you tell me where I can look for info on this? I am sort of lost.
After I changed the IP I got a similar message but it just said:\
(99)cannot assign requested address: make_sock: could not bind to address 10.0.0.1:80
no listening sockets available, shutting down
unable to open logs
???
If its any use to you:
my external (ISP) IP ADSL address is say a.b.c.d
internal eth0 IP is 10.0.0.1
internal eth1 IP is 192.168.0.1
I have squid running with all default settings
I have IP Masq set up passing ports 80, 110, 25
Hi,
I still need help here if anyone is able to assist. I have since stoped using squid and just use firewall, ip masq and dhcp. Also I have installed apache on a windows system with out any problems. If only I could do the same on Linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.