Solaris 10 Terminal Error


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 10 Terminal Error
# 1  
Old 11-24-2010
Solaris 10 Terminal Error

When in the terminal on Solaris 10 this terminal error keeps popping up and won't stop, how do I remove it?

Code:
Nov 24 13:22:42 unknown sendmail[17431]: [ID 702911 mail.alert] unable to qualify my own domain name (unknown) -- using short name
Nov 24 13:22:42 unknown sendmail[17520]: [ID 801593 mail.alert] oAOIMgqg017431: SYSERR(root): fill_fd: disconnect: cannot open /dev/null: Permission denied
Nov 24 13:23:43 unknown sendmail[17525]: [ID 702911 mail.alert] unable to qualify my own domain name (unknown) -- using short name

Any help would be appreciated.
# 2  
Old 11-24-2010
make sure the permissions on /dev/null is 666


also check /etc/resolv.conf, /etc/hosts, /etc/nsswitch.conf to make sure your name resolution is setup correctly.
# 3  
Old 11-24-2010
I did the followin on /dev/null:

Code:
chmod 666 null
chmod: WARNING: can't change null

This is the current permissions:
Code:
lrwxrwxrwx   1 root     other         27 Nov 24 09:48 null -> ../devices/pseudo/mm@0:null

These are the permissions I have on the actual linked file, which are correct:
Code:
crw-rw-rw-   1 root     sys       13,  2 Nov 24 21:51 mm@0:null

This is what I have in /etc/nsswitch.conf:
Code:
# ident "@(#)nsswitch.files     1.14    06/05/03 SMI"

#
# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.

passwd:     files
group:      files
#hosts:      files # Commented out by DHCP
hosts: files dns # Added by DHCP
#ipnodes:    files # Commented out by DHCP
ipnodes: files dns # Added by DHCP
networks:   files
protocols:  files
rpc:        files
ethers:     files
netmasks:   files
bootparams: files
publickey:  files
# At present there isn't a 'files' backend for netgroup;  the system will
#   figure it out pretty quickly, and won't use netgroups at all.
netgroup:   files
automount:  files
aliases:    files
services:   files
printers:       user files

auth_attr:  files
prof_attr:  files
project:    files

/etc/hosts has the correct hostname next to the ip address.

/etc/resolv.conf has the correct domain and dns servers for my ISP.

Can someone guide me on if I am seeing the correct stuff as I am new to this and after setting up the hostname in the below files I am still getting the same errors:

/etc/nodename
/etc/hostname.xxn
/etc/inet/hosts

Last edited by jastanle84; 11-24-2010 at 11:10 PM..
# 4  
Old 11-25-2010
my bad. i forgot about solaris having a symlink for that. to confirm the permissions on ../devices/pseudo/mm@0:null were already 666? if so why did you run chmod 666? If not what were the permissions befored you fixed it.

make sure the hostname has a line in /etc/hosts for fqdn and short name.

check this command

check-hostname- check if sendmail can determine the system's fully-qualified host name

one more thing. The title of the OP is incorrect. This is not a "terminal error". it's a sendmail error

Last edited by frank_rizzo; 11-25-2010 at 01:11 AM.. Reason: add comment
# 5  
Old 03-16-2011
Hammer & Screwdriver I never could stop sendmail

I've had similar problems jastanle84 and I don't even need sendmail. But I never could seem to get rid of it, even disabling the service did not help.
What can get rid of the error message though is modifying your /etc/hosts file.
Remember, each host can have several aliases. They are just listed on the same line, like this:

w.x.y.z myhost mycrazyhost mywackyhost

(Of course the w-z are replaced by numbers. That is your IP address.) "So what?" you say? Big deal, I can use several names for the same machine. Uh-huh it is a big deal if you want to get rid of this error message. The "domain name" it is looking for is anything after the host name and a dot, so you can do something like this:
111.222.333.444 myhost myhost.quiet

That's all there is to it. Oh, you might have to stop/restart sendmail or even the inet daemon (or reboot if you can). I forget, but I think you might not have to do this. Try it and let everyone know.Smilie
This User Gave Thanks to paz9 For This Post:
# 6  
Old 03-17-2011
just put a FQDN in /etc/hosts & update /etc/defaultdomain
# 7  
Old 03-18-2011
I had to chmod the /etc/hosts because it was 444 and then I had to make an entry with the ip address and FQDN. I also changed /etc/nodename with the FQDN. I then did a restart and everything worked. I still have some other funky errors with RPC Bind but I will get to these later. Thanks all for your help.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Terminal emulation OSX Vs. Solaris 11

I am using Terminal on an OSX system to access and edit crontab files on a 'headless' Solaris 11 server. Crontab -e on OSX invokes vi as the editor, which is fine, but I am getting unexpected characters on keystrokes and have to abort the edit. If this is an emulation issue, would someone please... (1 Reply)
Discussion started by: SmokeyJoe
1 Replies

2. Shell Programming and Scripting

Error with Terminal

Hello All :), I am a newbie in shell scripting and Linux. Here's a problem I'm facing since last few days. Please tell me some logical reason behind this. Thanks in advance. To run my script I need to define some environment variables and need to run a TODO file. In the first go... (2 Replies)
Discussion started by: manands07
2 Replies

3. Solaris

slow response on solaris terminal

Solaris terminal responding very slow .. we have recently put a T3 hardware in to production , the applications running are it are perfectly and no complaints from user ..but when i ssh to the server ... the terminal response is very very slow .. it takes 3 seconds to show the character i type ..... (3 Replies)
Discussion started by: skamal4u
3 Replies

4. Solaris

solaris terminal sessions terminated and also nohup jobs

Admins, We have a strange problem on our solaris zones. We have four zones on a Global server (Sun-Fire-V890; Solaris 10 Update 6) and the SSH sessions to all four zones are terminated at a specific time (11:10 PM) every night. The SSH session to the global server is not terminated. Also, any... (1 Reply)
Discussion started by: yogijp
1 Replies

5. Solaris

Terminal Type For Installation of Solaris 10

The answer to my problem might be to get a Sun console but I thought I would run it by the experts here first. I have been trying to install Sun Solaris on a SunFire V445 using an HPconsole (just happens to be all I have at my disposal at the moment) and no network connection yet. When I am... (1 Reply)
Discussion started by: scotbuff
1 Replies

6. UNIX for Dummies Questions & Answers

How to read lock terminal values in solaris

Hi all I am using sun solaris 5.8. I wanna know where the value stored if we lock/unlock the terminal and how i can read and use it to my script. I am helpless . So plzzzzzz... (0 Replies)
Discussion started by: pankajarora_12
0 Replies

7. UNIX for Dummies Questions & Answers

How to switch between terminal screens in Sun Solaris 10

:) Hi everybody.. This is my firt post in this great forum.: I have installed Sun Solaris 10 on an Intel machine.. Now i login in CDE desktop as root. I want to switch between terminal screens pressing CTRL+ALT F1 (through F6) but nothing happens ?? any suggestions thank you (2 Replies)
Discussion started by: peterpan
2 Replies

8. Solaris

Terminal settings from linux to solaris

When I log in from my linux workstation (CentOS4) to a solaris 8 server using SSH or telnet, the terminal settings don't seem to work well. When I tail or vi a file, I get a blank screen or no response, and I am no longer able to interact with the session. I have to type the escape sequence to... (2 Replies)
Discussion started by: tjlst15
2 Replies

9. UNIX for Dummies Questions & Answers

Terminal settings on solaris

I am getting the following error when try to use vi vt100: Unknown terminal type Visual needs addressable cursor or upline capability : I have checked the TERM variable which is set to vt100. What could be the problem. This is on solaris 2.8 and i am doing telnet. (2 Replies)
Discussion started by: sssow
2 Replies

10. UNIX for Dummies Questions & Answers

Solaris Sparc5 and connecting with a PC via Hyper terminal

I am trying to connect to a sparc5 with my PC via a null modem cable from serial port to serial port. I do not have a sun monitor so I am trying to use my PC. I am unsuccessful in even making the basic connection to the sparc box. Any ideas on how to work around this? (7 Replies)
Discussion started by: adrian
7 Replies
Login or Register to Ask a Question