LinuxQuestions.org
Visit Jeremy's Blog.
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-09-2003, 06:42 AM   #1
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Rep: Reputation: 30
Redhat problems


Okay, well... SSH/REMOTE DESKTOP SHARING/HTTP seem not to work, a new redhat 9 install here.

I havent been using linux for a while so go easy on the newb.

Pinging 192.168.0.133 with 32 bytes of data:

Reply from 192.168.0.133: bytes=32 time<10ms TTL=128
Reply from 192.168.0.133: bytes=32 time<10ms TTL=128


That does work.



But ssh says connection refused (even if i use root and type 'ssh localhost', same error message.


Same error message when connecting with remote VNC FOR windows


Guess what?

http://127.0.0.1 on the linux box: connection refused when attempting to connect to 172.0.0.1



Yet, HTTPD is started, (and restarted with the apachectl command) and while its showing all the [ OK ] at startup i see that ssh and ss2 2 are started.

Odd isn't it?

what's wrong?
 
Old 12-09-2003, 06:43 AM   #2
stingx
Member
 
Registered: Oct 2002
Location: NYC
Distribution: Linux Mint 12 Mate
Posts: 54

Rep: Reputation: 15
SSHD needs to be running on the machine you are trying to ssh to. ps aux | grep sshd and see if it is running.
 
Old 12-09-2003, 06:48 AM   #3
stingx
Member
 
Registered: Oct 2002
Location: NYC
Distribution: Linux Mint 12 Mate
Posts: 54

Rep: Reputation: 15
"Yet, HTTPD is started, (and restarted with the apachectl command) and while its showing all the [ OK ] at startup i see that ssh and ss2 2 are started."

Could also be incompatable version to what you are running, as well. I've had that happen, remote server upgrades ssh and you stay on an older version...then no workie.

I would double check sshd to make sure it doesn't die for some reason. Just because you see "ok" during boot for that demon doesn't mean something didn't kill it off for some odd reason. Then check the version/type of ssh (openssh vs ssh) on your system and the system you are trying to connect to. New ssh packages came out that address vulnerablities not to long ago for both the distros you have in your info.
 
Old 12-09-2003, 07:06 AM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
just another thing to point out is that even though you see it fire up in the startup doesn't mean its going to work once you log in, that is until you configure it....i notice your ip above that you pinged which is obvious that you are on a LAN, so first thing is to setup in your httpd.conf file that 192.168.0.133 is the ip it should "Listen" to...then if you use (which i assume you do) a router, then you'll have to forward connections on port 80 to that ip...
so with that said you now see that you have to setup some cfg's before it will actually work, and now you should also see what i meant by the commnent "even though it loads in the startup it may not work"...
 
  


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
problems installing redhat 9; usb problems (I think) nhelseth Linux - Newbie 2 04-27-2004 04:17 PM
Problems installing RedHat Database 2.1 on Redhat Linux 9 bkimelman Linux - Software 0 10-18-2003 01:32 PM
redhat 9 problems... KeTrueno Linux - General 3 09-29-2003 06:13 PM
Redhat 8.0 problems Zander Linux - Newbie 6 10-13-2002 11:42 AM
Redhat 7 - Problems?? Br. Nicholas Linux - Distributions 6 12-22-2000 08:09 AM

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

All times are GMT -5. The time now is 11:44 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