Configuration Newbie Question


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Configuration Newbie Question
# 1  
Old 05-30-2003
Data 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.
# 2  
Old 05-30-2003
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
Data 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
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
Data

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...Smilie
# 6  
Old 05-31-2003
Are you logging in as root? Take a look at /etc/default/login.
# 7  
Old 06-25-2003
Data 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.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

What does this do (newbie question)...

I was looking through some code online and came accross this... ls *.txt | grep text1 | cat file1 – file2 | `echo wc –l` I know what "ls|grep text1" does and I know a word count gets echoed but beyond that I am confused. Please use layman terms as much as possible as I am a newbie. (8 Replies)
Discussion started by: elohssa
8 Replies

2. UNIX for Dummies Questions & Answers

Newbie question

Hey. i am doing a lab work for shcool I am new to using the commands. This question is give to me. I do not no the length of file nor do i know the how many charterers they are in the question. Question below "Assume that you are NOT currently in your home directory. Enter a command to copy... (1 Reply)
Discussion started by: maniac173
1 Replies

3. Shell Programming and Scripting

perl newbie . &&..programming newbie (question 2)

Hello everyone, I am having to do a lot of perl scripting these days and I am learning a lot. I have this problem I want to move files from a folder and all its sub folders to one parent folder, they are all .gz files.. there is folder1\folder2\*.gz and there are about 50 folders... (1 Reply)
Discussion started by: xytiz
1 Replies

4. UNIX for Dummies Questions & Answers

UNIX newbie NEWBIE question!

Hello everyone, Just started UNIX today! In our school we use solaris. I just want to know how do I setup Solaris 10 not the GUI one, the one where you have to type the commands like ECHO, ls, pwd, etc... I have windows xp and I also have vmware. I hope I am not missing anything! :p (4 Replies)
Discussion started by: Hanamachi
4 Replies

5. Programming

Newbie question

Dear all, I have a question related to parallel programing and if you can give me some hints on how to deal with it, it would be really great. I would like to run a small application on a supercompter of 128 CPUs. Unfortunately, on this machine only jobs which require 32 CPUs are allowed to... (1 Reply)
Discussion started by: Eduard
1 Replies

6. UNIX for Dummies Questions & Answers

newbie question

I am taking a db classes toward oracle 10g. I am taking unix as well . I need to know what is the best option for os . should I use linux fedora. or get a sun box and start learning from there. Thanks (6 Replies)
Discussion started by: xzyan
6 Replies

7. UNIX for Dummies Questions & Answers

Very new newbie question

sorry if im not asking inthe right spot but, how do you turn the beeping off every time you hit a key onthe keyboard. I tried the click -n but it told me it didnt recognize click any help would be greatly appreciated ( the beeping is not going over well in the surrounding cubicles) thank you... (4 Replies)
Discussion started by: Split100
4 Replies

8. UNIX for Dummies Questions & Answers

Newbie Question

Hi, I have a file, that is delimited by :: and the purpose of this file is none of your business. ;) There are about 65000 lines in this file, and there are lines that I would like to remove. About 45000 of them. Is there some sort of commands that I can run, to remove word(s) from this... (4 Replies)
Discussion started by: th3gh05t
4 Replies

9. UNIX Desktop Questions & Answers

Newbie Question

I am fairly new to *nix/linux and I have just installed SuSe 8.2. I am wondering what skills would be good to learn. I know that I will need to learn how to write scripts, but what scripting languages should I learn. I greatly appreciate any and all comments. ... (5 Replies)
Discussion started by: Ntalektual
5 Replies

10. UNIX for Dummies Questions & Answers

newbie question

hi im thinking of getting unix but i have no idea where to start I know that its an OS similar to linux but what hardware does in run on? i've heard of solaris but im not quit sure what it is thankxs (3 Replies)
Discussion started by: ninja
3 Replies
Login or Register to Ask a Question