Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
|
|
11-09-2009, 11:13 PM
|
#1
|
Member
Registered: Sep 2007
Posts: 44
Rep:
|
httpd and telnet
Hi there
I have installed httpd and telnet-server on RHEL5 standalone machine.
Normally when i install these services they work once i
edit /etc/xinetd.d/telnet
disable = no
start httpd and xinetd services ..
#chkconfig --level 345 httpd on
#chkconfig --level 345 xinetd on
#service httpd start
#service xinetd start
all this is working. no errors in messages log file
also no errors in access log and error log files
the rhel5 is on DHCP 192.168.1.169
from .169
i can ping the router at 192.168.1.1
i can ping the winxppro at 192.168.1.141
i can ping my vmware RHEL5 on winxppro at 192.168.1.133
and i can ping vise versa
i have telnetd and httpd working on .133
the fresh install is giving problem
i appreciate all the help
Last edited by deci007; 11-09-2009 at 11:15 PM.
|
|
|
11-09-2009, 11:24 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
"giving problem"?? this is the point where you actually tell us what the problem is. are the services listening on those ports (netstat -plnt) is there a firewall?
Why are you using telnet? Don't. SSH has been around for a long time, there is very seldom and valid reason to use telnet in the 21st century.
|
|
|
11-09-2009, 11:36 PM
|
#3
|
Member
Registered: Sep 2007
Posts: 44
Original Poster
Rep:
|
ports
httpd : 80
xinetd : 23
i am just practicing linux and its tools..i will be implementing ssh soon but i have not had this httpd and telnet problem before..
and this time it's a fresh install. all the defaults are there. nothing has been changed
thanks
|
|
|
11-09-2009, 11:38 PM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
You've still not told us what the problem is. If something is affecting both services that would usually suggest something generic about the network - firewall, routing etc.
Last edited by acid_kewpie; 11-09-2009 at 11:46 PM.
|
|
|
11-09-2009, 11:40 PM
|
#5
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,397
|
As acid_kewpie said, what is the problem, in detail please?
|
|
|
11-09-2009, 11:42 PM
|
#6
|
Member
Registered: Sep 2007
Posts: 44
Original Poster
Rep:
|
lol...when there is a problem an unexperienced person usually so confused
well i apologize..
problem is the webserver is not working nor telnet server.
the services are on
|
|
|
11-09-2009, 11:47 PM
|
#7
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
Can you prove it with netstat output as root? do they work locally on the machine? where are you testing from?
|
|
|
11-10-2009, 12:05 AM
|
#8
|
Member
Registered: Sep 2007
Posts: 44
Original Poster
Rep:
|
yes i only have root user on that machine.
physically sitting on it is only way i can test it so
i checked it by #netstat and it shows 80 and 23 as they are suppose to be.
sitting on that machine i can ping out or telnet into my vmware rhel5 machine that is on winXP.
and this machine is a fresh install so i have no clue whats wrong. this is frist time i did install RHEL in text mode.
|
|
|
11-10-2009, 12:24 AM
|
#9
|
Member
Registered: Nov 2009
Location: India
Distribution: Xandros, Ubuntu
Posts: 74
Rep:
|
From the .133 machine try
- telnet localhost 23 and telnet localhost 80 . If you get a response, it means services are running fine on that system.
- check if firewall is enabled - iptables -L . If its enabled you'll need to figure out how to open up ports on that system.
|
|
|
11-10-2009, 01:51 AM
|
#10
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
please don't say "it's as it is supposed to be" please show us ACTUAL and REAL output. We don't know if you're reading it correctly or not.
|
|
|
11-11-2009, 12:11 AM
|
#11
|
Member
Registered: Sep 2007
Posts: 44
Original Poster
Rep:
|
thanks to all for the help
i just reinstalled RHEL 5 with a dvd and it all works fine..
i think it probably was iptables.. i just learned iptables today
thanks again
|
|
|
All times are GMT -5. The time now is 02:48 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
|
|