Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
06-26-2003, 09:21 PM
|
#1
|
LQ Newbie
Registered: Jun 2003
Posts: 6
Rep:
|
how to set up internet server with Red Had 9
Hi i have red had 9 installed under the server version so i have all the required programs to do it but i dont know how to get it all to work. I found the configuration stuff but when i run it everything configs fine but when i try to go to localhost or even my ip i get a pop up message saying connection refused. Also there is no window that says the server is running like there was in windows. Can some one give me a hand
|
|
|
06-26-2003, 09:51 PM
|
#2
|
Member
Registered: Apr 2003
Location: Silicon Valley East, Northern Virginia
Distribution: FreeBSD,Debian, RH, ok well most of em...
Posts: 238
Rep:
|
Two things.....
One you can check to see if apache is running by typing
ps -ef | grep httpd
if you see a bunch off httpd deamons running....grats
second, turn off your firewall. Connection refused usually means that port 80 is blocked by netfilter.
iptables -F
|
|
|
06-27-2003, 01:20 AM
|
#3
|
LQ Guru
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398
Rep:
|
type setup enter pass and go the serveices look for the httpd if it has a star near it that means it activates during boot if you dont have a star near it put it then go to command prombt
su root
/sbin/service httpd start \\starts the server
/sbin/service httpd stop \\stops
then type localhost in the browser to test. after putting a start or if it was there dont do the service commands cause it is already runnig go directly to localhost
|
|
|
06-27-2003, 11:34 AM
|
#4
|
LQ Newbie
Registered: Jun 2003
Posts: 6
Original Poster
Rep:
|
Ok i am really new to linux, where do i type all this stuff in. Do i put it in a file and run it or do i use the run commands i put them in the terminaly but all it said that things were not there or didnt exsist?
Last edited by drsib; 06-27-2003 at 11:46 AM.
|
|
|
06-27-2003, 11:57 AM
|
#5
|
LQ Newbie
Registered: Jun 2003
Posts: 6
Original Poster
Rep:
|
well i went into service configuration and tryed to start httpd and it gave me this
httpd failed. The error was: Starting httpd: Syntax error on line 270 of /etc/httpd/conf/httpd.conf:
ServerName takes one argument, The hostname and port of the server
[FAILED]
|
|
|
06-27-2003, 12:00 PM
|
#6
|
LQ Newbie
Registered: Jun 2003
Posts: 6
Original Poster
Rep:
|
never mind i figured it all out thx for you trouble
|
|
|
06-27-2003, 01:24 PM
|
#7
|
LQ Newbie
Registered: Jun 2003
Posts: 6
Original Poster
Rep:
|
ok actulay now i have another problem. It all works and im getting the test page but i cant seam to acces my files. i put them in the /var/www/html/ dir and there is an index, so i dont know why it isent working
|
|
|
06-28-2003, 06:58 PM
|
#8
|
LQ Guru
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398
Rep:
|
if you have index.html it should be working but if its not open redhat-config-http or -httpd change it to opint your file
|
|
|
06-28-2003, 07:51 PM
|
#9
|
LQ Newbie
Registered: Jun 2003
Location: Wisconsin
Posts: 3
Rep:
|
Verify that all directories above the target file are executable. They must be executable to be able to traverse the directories. Also, make sure the target file is readable.
One last note, if it is not installed, go and install Webmin at http://www.webmin.com
This tool is rather handy for getting servers up and running. DocumentRoot should be set to the correct path as well as DirectoryIndex being set to index.html in the config files.
|
|
|
06-30-2003, 12:54 PM
|
#10
|
LQ Newbie
Registered: Jun 2003
Posts: 6
Original Poster
Rep:
|
yeah i kinda fooled around alot and i think i figured it out. But the one thig that still remains unsloved is the fact that i dont know how to creat mysql databases.
|
|
|
09-24-2005, 04:29 PM
|
#11
|
LQ Newbie
Registered: Sep 2005
Posts: 1
Rep:
|
when i try to start apache, i get this message
[root@schumacher bin]# apachectl -t
Syntax error on line 285 of /etc/httpd/conf/httpd.conf:
ServerName takes one argument, The hostname and port of the server
how can i fix it?!?!
|
|
|
All times are GMT -5. The time now is 01:54 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|