02-22-2005
Hi,
You must have a conflict of IP addresses or name of host on the /etc/hosts file (2 addresses for the same name of host for example).you must login in failsafe mode and edit this file by: vi /etc/hosts.
Mazouari/morroco
9 More Discussions You Might Find Interesting
1. Programming
When I am using msgrcv to get a message from a queue, in case of msgsnd some error, the msgrcv thread will waiting forever.
Is there some way that I can specify a time out value for this queue ? just let msgrcv wait for some time, if no message comes during this time slot, msgrcv just return... (3 Replies)
Discussion started by: Yun Gang Chen
3 Replies
2. Solaris
Hi I am very new for Solaris, I want to make some users' passwords never expired. My ssytem kernel is: 5.8
# uname -a
SunOS sspfs_svr 5.8 Generic_117000-01 sun4u sparc SUNW,Netra-240
Could you make some advice?
Thanks (5 Replies)
Discussion started by: xramm
5 Replies
3. UNIX for Dummies Questions & Answers
Hello all
i found out about the sar command but when looking in the man pages
there is no way to make sar working for ever .. only
with some kind of interval . like sar 2 30 .
my question is can i just run sar for ever ? (5 Replies)
Discussion started by: umen
5 Replies
4. Linux
Hi guys! I've just mounted my drive in fstab:
/dev/sdb /myfolder ext3 defaults 0 0
and rebooted linux.
I've got severel failers during booting process and also I can't login as root first time:
login: root
password:root
incorrect login
login:user
password: user
... (1 Reply)
Discussion started by: Junior Admin
1 Replies
5. IP Networking
Just looking at my ethernet interface.. I see this response... what does this mean...?
ipconfig...
lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft... (0 Replies)
Discussion started by: jimmyc
0 Replies
6. Shell Programming and Scripting
I'm trying to make a little script, but I have a problem...
I'm trying to sed a list of files made with a ls > filename.txt...
Two variables (or i may call them constant because they are fixed values :D):
ststr1 and ststr2
I want to
sed s/"$ststr1"/"$ststr2"/g filename.txt >... (5 Replies)
Discussion started by: maxlamax
5 Replies
7. Programming
looking in pthread's source code I can see that as an epilogue both pthread_cond_timedwait and pthread_cond_wait will try to relock the mutex by means of __pthread_mutex_cond_lock.
Does this mean that any of them both could eventually block forever if the mutex is never again available after... (4 Replies)
Discussion started by: ramestica
4 Replies
8. Red Hat
Hello All,
I was trying to install one rpm and it failed due to missing dependencies, when I try to look at the dependencies and try to install them it is asking for 100+ dependencies, did any one ever face this problem? how can we fix this?
rpm -ivh /var/tmp/erlang-R15B-02.1.el6.x86_64.rpm... (0 Replies)
Discussion started by: lovesaikrishna
0 Replies
9. UNIX for Dummies Questions & Answers
I am trying to use the forever command. I can get it to work if I do not use the w option to watch for changes and cause an automatic restart on a change to the contents of the directory being watched.
I would really like to use the watch option. Is this option fully implemented? here is an... (4 Replies)
Discussion started by: barrygordon
4 Replies
LEARN ABOUT OPENDARWIN
pmset
PMSET(1) BSD General Commands Manual PMSET(1)
NAME
pmset -- modify power management settings
SYNOPSIS
pmset [-a | -b | -c] [dim minutes] [spindown minutes] [sleep minutes] [womp 1/0] [ring 1/0] [autorestart 1/0] [dps 1/0] [reduce 1/0]
[powerbutton 1/0] [lidwake 1/0] [acwake 1/0] [boot]
pmset -g [disk | live | cap | sched]
DESCRIPTION
pmset changes and reads power management settings such as idle sleep timing, wake on administrative access, automatic restart on power loss,
etc.
SETTING
The -a, -b, -c flags determine whether the settings apply to battery (-b), charger (wall power) (-c), or all (-a).
Use a minutes argument of 0 to set the idle time to never.
pmset must be run as root.
The boot argument tells power management that system bootup is complete. Loginwindow handles this on a normal Mac OS X system.
GETTING
The -g flag outputs the settings currently in use (same as -g live ). -g disk will tell you the settings on disk. -g cap will tell you
which power management features the machine supports. -g sched will show scheduled startup/wake and shutdown/sleep events.
ARGUMENTS
dim - display dim timer (value in minutes)
spindown - disk spindown timer (value in minutes)
sleep - system sleep timer (value in minutes)
womp - wake on ethernet magic packet (value = 0/1)
ring - wake on modem ring (value = 0/1)
autorestart - automatic restart on power loss (value = 0/1)
dps - dynamically change processor speed based on load (value = 0/1)
reduce - reduce processor speed (value = 0/1)
powerbutton - sleep the machine when power button is pressed (value = 0/1)
lidwake - wake the machine when the laptop lid(or clamshell) is opened (value = 0/1)
acwake - wake the machine when power source (AC/battery) is changed (value = 0/1)
OTHER ARGUMENTS
These arguments don't directly affect power management settings:
boot - tell the kernel that system boot is complete
EXAMPLES
pmset -b dim 5
pmset -a dim 10 spindown 10 sleep 30 womp 1
pmset -g live
FILES
All changes made through pmset are saved in a persistent preferences file (per-system, not per-user) at
/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist
pmset modifies the same file that System Preferences Energy Saver modifies.
Darwin August 19, 2002 Darwin