LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 11-09-2009, 11:13 PM   #1
deci007
Member
 
Registered: Sep 2007
Posts: 44

Rep: Reputation: 15
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.
 
Old 11-09-2009, 11:24 PM   #2
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
"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.
 
Old 11-09-2009, 11:36 PM   #3
deci007
Member
 
Registered: Sep 2007
Posts: 44

Original Poster
Rep: Reputation: 15
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
 
Old 11-09-2009, 11:38 PM   #4
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
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.
 
Old 11-09-2009, 11:40 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,397

Rep: Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777
As acid_kewpie said, what is the problem, in detail please?
 
Old 11-09-2009, 11:42 PM   #6
deci007
Member
 
Registered: Sep 2007
Posts: 44

Original Poster
Rep: Reputation: 15
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
 
Old 11-09-2009, 11:47 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
Can you prove it with netstat output as root? do they work locally on the machine? where are you testing from?
 
Old 11-10-2009, 12:05 AM   #8
deci007
Member
 
Registered: Sep 2007
Posts: 44

Original Poster
Rep: Reputation: 15
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.
 
Old 11-10-2009, 12:24 AM   #9
chiragrk
Member
 
Registered: Nov 2009
Location: India
Distribution: Xandros, Ubuntu
Posts: 74

Rep: Reputation: 16
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.
 
Old 11-10-2009, 01:51 AM   #10
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
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.
 
Old 11-11-2009, 12:11 AM   #11
deci007
Member
 
Registered: Sep 2007
Posts: 44

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can not restart httpd”File size limit exceeded(core dumped) $HTTPD -DSSL” sreejithedl Linux - Server 2 10-12-2009 11:24 AM
Starting httpd: /etc/init.d/httpd: line 40: 10243 Segmentation fault LANG=C grep RMLinux Linux - Newbie 10 12-01-2008 10:17 PM
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax sethukpathi Linux - Networking 6 04-12-2008 11:26 AM
Failed to start apache :Starting httpd: Syntax error on line 1027 of /etc/httpd/conf/ payjoe Linux - Newbie 3 09-21-2007 07:24 AM
service httpd status, results in httpd dead but subsys locked squadja Red Hat 2 09-11-2004 10:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:48 PM.

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