LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-20-2004, 01:50 AM   #1
craigers
LQ Newbie
 
Registered: Jun 2004
Location: Wisconsin
Distribution: Mandrake Linux 10
Posts: 20

Rep: Reputation: 0
apache server


on mandrake 10 i was hosting a personal site with apache. i upgraded to mandrake 10.1 and now i cannot connect to using my internal address from another networked PC or using my external ip (from inside the LAN and out from a friends computer). it will not even work when i type in localhost in the address bar.
any ideas on how to fix it?

Thanks,
-Craig
 
Old 12-20-2004, 03:54 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Are you sure it's actually running? A problem with connection on Apache is often simply from the server not being able to start, or not starting and continuing (stopping immediately because of lack of disk space, no log file... whatever).

Cool
 
Old 12-20-2004, 03:56 AM   #3
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Did you check if your mandrake box changed it's ip address?

-twantrd
 
Old 12-20-2004, 04:09 PM   #4
craigers
LQ Newbie
 
Registered: Jun 2004
Location: Wisconsin
Distribution: Mandrake Linux 10
Posts: 20

Original Poster
Rep: Reputation: 0
yes i checked the ip table threw the router, all is same. and I'm pretty sure that apache is not running... but I'm not sure, i don't know how to check or how to manually start it. how do i go about this?
 
Old 12-20-2004, 04:32 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
"ps ax | grep http" will show you if it's running, if not, and if apache IS installed, then at a low level run "/etc/init.d/httpd start" to start it. it might not be httpd though. possibly apache or apache2.
 
Old 12-20-2004, 05:12 PM   #6
craigers
LQ Newbie
 
Registered: Jun 2004
Location: Wisconsin
Distribution: Mandrake Linux 10
Posts: 20

Original Poster
Rep: Reputation: 0
when i tried to start it, this is what i get

[root@localhost craig]# /etc/init.d/httpd start
Starting httpd-perl: [ OK ]
Starting httpd2: [ OK ]

i am still unable to load my site/server...now what?
 
Old 12-20-2004, 05:14 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
see /var/log/httpd/ for log files about apache. also expand what "unable to load" means.... you should at least get a default apache test page when you go to http://localhost
 
Old 12-20-2004, 05:25 PM   #8
craigers
LQ Newbie
 
Registered: Jun 2004
Location: Wisconsin
Distribution: Mandrake Linux 10
Posts: 20

Original Poster
Rep: Reputation: 0
i went to /var/log/messages and i found this
Dec 19 20:37:33 localhost partmon: Checking if partitions have enough free diskspace:
Dec 19 20:37:33 localhost partmon:
Dec 19 20:37:33 localhost partmon: Warning, free space for </> is only <0> (which is inferior to <20000>
Dec 19 20:37:33 localhost partmon: ^[[65G[^[[1;31m
Dec 19 20:37:33 localhost partmon: FAILED
Dec 19 20:37:33 localhost partmon:
Dec 19 20:37:33 localhost rc: Starting partmon: failed

could that have anything to do with it?

and no, i cannot get http://localhost, 192.168.1.100, or my external ip to work (it says connection refused)
 
Old 12-20-2004, 05:31 PM   #9
craigers
LQ Newbie
 
Registered: Jun 2004
Location: Wisconsin
Distribution: Mandrake Linux 10
Posts: 20

Original Poster
Rep: Reputation: 0
hmm, not sure what just happend but http://localhost works now

-thanks for all the help

Last edited by craigers; 12-20-2004 at 05:35 PM.
 
Old 12-21-2004, 01:33 AM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
It's those mysterious mods (acid) tapping your box to fix it for you.

Cool
 
  


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
setting up a slack, apache server with php and a sql server. caged Slackware 1 10-25-2004 04:45 AM
problems setting up apache and vsftp server behind a router that serves as a server xone Linux - Security 1 04-08-2004 10:46 AM
Setup linux-apache server to access documents on NT server josephswagner Linux - Software 11 04-11-2003 08:35 AM
Apache Server Config, Mail Server, & Uploading johan the olive Linux - Networking 5 03-14-2003 11:42 PM
Apache server and MySQL server won't run at startup! dday007 Linux - General 2 02-07-2003 02:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:56 AM.

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