The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
UNIX newbie NEWBIE question! Hanamachi UNIX for Dummies Questions & Answers 3 09-14-2006 07:23 AM
newbie question xzyan UNIX for Dummies Questions & Answers 6 08-08-2006 07:22 AM
newbie question mpang_ Shell Programming and Scripting 4 08-08-2006 06:57 AM
Newbie Question Ntalektual UNIX Desktop for Dummies Questions & Answers 5 08-05-2003 03:10 PM
newbie question ninja UNIX for Dummies Questions & Answers 3 07-11-2001 01:34 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-30-2003
Registered User
 

Join Date: May 2003
Posts: 7
Unhappy Configuration Newbie Question

Hi -

I am fairly new with unix. I have a unix box, installed with Solaris 2.8. I can get the box hooked up to the internet, not using DHCP but static IP address behind a Linksys firewall. However, I cannot telnet to the unix box or from within the unix box. If I telnet from a windows platform box to the unix box or do telnet localhost within the unix box, I get a connection actively refused error message. I checked the /etc/services and /etc/hosts and they both have telnet services defined in them. What am I missing? Can anyone please help me? Thanks so much.
Forum Sponsor
  #2  
Old 05-30-2003
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Is this a SUN hardware system or is it a p.c.? (Makes a small difference in if you are running Solaris 8 (SUN) or Solaris 8 (X86))

You can look at /etc/hosts.deny and /etc/hosts.allow to insure those two files are not blocking access (Do you get a login prompt when you telnet?)

Also post the exact error message you receive when you try to telnet. Once you can telnet from the UNIX system to itself, you still may have problems getting from the Windows system to UNIX as there may be a rule in the firewall blocking telnet. Check to see if other services are working (ftp, ssh, ...) and post results.
  #3  
Old 05-30-2003
Registered User
 

Join Date: May 2003
Posts: 7
Unhappy Reply

Exact error message: "Connection actively refused by port"

Hardware: Sun Sparc

Telnet session: Did not get any prompts, got the error message straight away.

Thanks, RTM, I will check on the /etc/hosts.deny and /etc/hosts.allow file. That's one place I think I did not check.
  #4  
Old 05-30-2003
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Also check /etc/inetd.conf - look for telnet - it may be commented out. Vi the file and uncomment it and then do a kill -HUP on the inetd process (find it with the ps -ef|grep inetd command)

Example:
# ps -ef|grep inetd
root 177 1 0 Apr 28 ? 0:03 /usr/sbin/inetd -s
root 17304 17302 0 17:06:56 pts/2 0:00 grep inetd
# kill -HUP 177
#

This will make inetd re-read it's configuration file (/etc/inetd.conf). Also, telnet is sometimes turned off as company policy so if you need to check with your boss.

Sunsolve is a good place to start looking when you have a problem - found your error as follows:
Quote:
Connection refused
==================
No connection could be made because the target machine actively refused it. This
happens either when trying to connect to an inactive service or when a service
process is not present at the requested address.

Activate the service on the target machine, or start it up again if it has disappeared.
If for security reasons you do not intend to provide this service, inform the user
community, possibly suggesting an alternative.

The symbolic name for this error is ECONNREFUSED, errno=146.
  #5  
Old 05-30-2003
Registered User
 

Join Date: May 2003
Posts: 7
Unhappy

RTM -

Thanks for the tips, I will give those a try. It's a loaner box from a buddy, my company is a Windows body shop...
  #6  
Old 05-30-2003
TioTony's Avatar
Bit Pusher
 

Join Date: Oct 2001
Location: Southern California
Posts: 332
Are you logging in as root? Take a look at /etc/default/login.
  #7  
Old 06-24-2003
Registered User
 

Join Date: May 2003
Posts: 7
Unhappy RTM

I checked /etc/inetd.conf and telnet is not commented out. I don't have a /etc/hosts.allow or /etc/hosts.deny file. Is that a problem? I am logged in as root. Checked the /etc/default/login...what should I be looking for?

Thanks.
Google The UNIX and Linux Forums
Closed Thread

Tags
solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:58 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0