hello everybody.
recently I have decided to change settings of power manager, and appeared the following message:(:
could not open /etc/.cpr_config
I work with Sun Blade 1500, SunOs 5.10, CDE.
Thanks in advance.
hello everybody.
recently I have decided to change settings of power manager, and appeared the following message:(:
could not open /etc/.cpr_config
I work with Sun Blade 1500, SunOs 5.10, CDE.
Thanks in advance.
Ensure /usr/sbin/pmconfig is suid-root
ls -l /usr/sbin/pmconfig
-r-sr-xr-x 1 root bin 30816 Aug 16 2007 /usr/sbin/pmconfig
According to
man pmconfig
ensure /etc/default/power has
PMCHANGEPERM=console-owner
And login on the box console, not via remote-access!
It is strange, but there is not pmconfig in /usr/sbin. and /etc/default does not have power.
Replacing /etc/power.conf and pmconfig With poweradm
The /etc/power.conf configuration file and the pmconfig(1M) utility might be replaced with the poweradm(1M) command in a future Oracle Solaris release.
The number of properties that can be configured with the poweradm(1M) command will be minimal.
And what I should do then...
P.S. Solaris 10 1/13
Run
pkgchk SUNWpmr
Missing? ("no pathnames were associated with ...")
Then install SUNWpmr from a Solaris 10 distribution media!
I have the following on my system (yes, I changed /etc/power.conf):
pkgchk SUNWpmr
ERROR: /etc/power.conf
modtime <01/11/13 09:35:23 PM> expected <01/10/14 01:24:08 PM> actual
file size <514> expected <532> actual
file cksum <43842> expected <45200> actual
cat /etc/release
Oracle Solaris 10 1/13 s10s_u11wos_24a SPARC
Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved.
Assembled 17 January 2013
Hi again.
Unfortunately I (nobody knows) don't know (this guy is not available anymore) exactly which disk was used for this installation.
Therefore:
text PMCHANGEPERM=console-owner CPRCHANGEPERM=console-owner
# Copyright (c) 1996 - 2001 by Sun Microsystems, Inc.
# All rights reserved.
#
#pragma ident "@(#)power.conf 1.16 01/03/19 SMI"
#
# Power Management Configuration File
#
# This entry keeps removable media from being powered down unless the
# console framebuffer and monitor are powered down
# (See removable-media(9P))
device-dependency-property removable-media /dev/fb
# Auto-Shutdown Idle(min) Start/Finish(hh:mm) Behavior
autoshutdown 30 9:00 9:00 unconfigured
autopm default
But, when I try open CDE window --->Workspace menu ---> Tools --->Power manager.
After 2-3 sec it appears the message.
Could not get power management status from system
The screen still goes on blank in 15 minutes. If there are not any mouse movements there, certainly.
P.S. Probably I installed SUNWpmr, SUNWpmu packages from wrong Solaris version? Could you upload yours?