LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   httpd and telnet (https://www.linuxquestions.org/questions/linux-newbie-8/httpd-and-telnet-768072/)

deci007 11-09-2009 11:13 PM

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

acid_kewpie 11-09-2009 11:24 PM

"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.

deci007 11-09-2009 11:36 PM

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

acid_kewpie 11-09-2009 11:38 PM

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.

chrism01 11-09-2009 11:40 PM

As acid_kewpie said, what is the problem, in detail please?

deci007 11-09-2009 11:42 PM

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

acid_kewpie 11-09-2009 11:47 PM

Can you prove it with netstat output as root? do they work locally on the machine? where are you testing from?

deci007 11-10-2009 12:05 AM

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.

chiragrk 11-10-2009 12:24 AM

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.

acid_kewpie 11-10-2009 01:51 AM

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.

deci007 11-11-2009 12:11 AM

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 12:35 AM.