10-17-2006
If you don't want this error show you
you just add . in /etc/hosts
example your hostname is xxx
10.10.10.10 xxx xxx.test.com loghost
somthing like that
and check log messages again this error will not show you
10 More Discussions You Might Find Interesting
1. IP Networking
I am running Solaris 8 and I have problem with configuration of the network after running sys-unconfig command:
- I ran "sys-unconfig" command then the system reboot to "ok" prompt. I did a "boot disk" command and the system reboot
- I lost all system info including host name and all addresses... (3 Replies)
Discussion started by: rachael
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have a SPARCstation 10 with SunOS 5.6
This erlier was in a network and now I have it at home to make a webserver.
At fist there was NIS and things left from erlier. So the "Console login:" newer appered only the white window with sun logo topleft and some text info.
I made... (14 Replies)
Discussion started by: roing
14 Replies
3. Solaris
hi expert,
i had reinstall the sun v890 server solaris 8 and also do mirroring, i had configure the network for the server (hostname.eri0,hosts,netmasks,nodename,etc) after i reboot get and error messages below :
Setting default IPv4 interface for multicast: add net 224.0/4: gateway... (5 Replies)
Discussion started by: bucci
5 Replies
4. Solaris
hi experts,
i have some problem with my server v890, i had config the network with ce0,ce1 and eri0 but after reboot the server have this error messages display :
WARNING: ce0: fault detected external to device; service degraded
WARNING: ce0: xcvr addr:0x01 - link down
configuring IPv4... (2 Replies)
Discussion started by: bucci
2 Replies
5. Solaris
Hi,
I performed a sys-unconfig on a solaris 10 server twice and it did not ask for a new hostname. I did a fresh install. most of the time I have experienced that it asks for a new hostname. what happened?
I know I could have edited some files but I prefer not to.
thanks in advance,
~jv (3 Replies)
Discussion started by: jvmagic
3 Replies
6. Solaris
Hi there,
We are trying to move our Sun Solaris 10 servers to new location (different state); the subnets will be changing ofcourse and so will the IP addresses; we plan to change hostname too.
Questions:
1)If we perform sys-unconfig will the current installed application/data be lost? If so,... (4 Replies)
Discussion started by: deedee
4 Replies
7. UNIX for Dummies Questions & Answers
ok,
Newbie here.....
I just installed this solaris 10 for a class I'm taking. We couldn't figure out how to change the IP so we were told to just do it from the sys-uncofig process. Well, after I did that, I lost the GUI witch isn't all that bad cuz I want to learn the cli anyways, but I keep... (1 Reply)
Discussion started by: moesays
1 Replies
8. UNIX for Advanced & Expert Users
Hi All!
I'm running "Solaris 10 10/08 s10s_u6wos_07b SPARC" on M5000.
I ran sys-unconfig and after the machine rebooted the system did not prompt me for configuration info (system name, ip address, etc). I have also modified /etc/.sysIDtool.state changing all "1" to "0" and touch... (1 Reply)
Discussion started by: bluescreen
1 Replies
9. Solaris
I did a sys-unconfig to change the domainname, Ip, subnet, hostname, and pretty much everything else that sys-unconfig handles. Upon reboot, it is toast. I did this all without the network cable plugged in.
The following shows up on console:
login: pam_unix_cred: cannot load ttyname Error 0
... (3 Replies)
Discussion started by: adelsin
3 Replies
10. UNIX for Dummies Questions & Answers
Dear All,
I am trying to config a sys mail message on solaris 10.
I am doing the following commands but it dose not work with me;
#touch /var/mail-test
#vi /etc/syslog.cong
local0.notice /var/mail-test
#svcadm disable svcs:/system/system-log:default
#svcadm enable... (1 Reply)
Discussion started by: ahmedamer12
1 Replies
local(n) [incr Tcl] local(n)
__________________________________________________________________________________________________________________________________________________
NAME
local - create an object local to a procedure
SYNOPSIS
itcl::local className objName ?arg arg ...?
_________________________________________________________________
DESCRIPTION
The local command creates an [incr Tcl] object that is local to the current call frame. When the call frame goes away, the object is auto-
matically deleted. This command is useful for creating objects that are local to a procedure.
As a side effect, this command creates a variable named "itcl-local-xxx", where xxx is the name of the object that is created. This vari-
able detects when the call frame is destroyed and automatically deletes the associated object.
EXAMPLE
In the following example, a simple "counter" object is used within the procedure "test". The counter is created as a local object, so it
is automatically deleted each time the procedure exits. The puts statements included in the constructor/destructor show the object coming
and going as the procedure is called.
itcl::class counter {
private variable count 0
constructor {} {
puts "created: $this"
}
destructor {
puts "deleted: $this"
}
method bump {{by 1}} {
incr count $by
}
method get {} {
return $count
}
}
proc test {val} {
local counter x
for {set i 0} {$i < $val} {incr i} {
x bump
}
return [x get]
}
set result [test 5]
puts "test: $result"
set result [test 10]
puts "test: $result"
puts "objects: [itcl::find objects *]"
KEYWORDS
class, object, procedure
itcl local(n)