[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freeipmi-users] FreeIPMI-0.3.0 on FreeBSD 6.1: ipmi-sensors- sdr-ca
From: |
Anand Babu |
Subject: |
Re: [Freeipmi-users] FreeIPMI-0.3.0 on FreeBSD 6.1: ipmi-sensors- sdr-cache directory initialization fails |
Date: |
Wed, 6 Dec 2006 12:26:51 -0400 |
User-agent: |
GNU/Emacs/Mutt |
On Wed, Dec 06, 2006 at 07:08:23PM +0530, Tejram Meena wrote:
,----
| ipmi-sensors and ipmi-sel failed to automatically create sdr-cache
| directory and explicit option also does not help
| address@hidden ~/freeipmi]$ ipmi-sensors
| --sdr-cache-directory=/home/vcr/freeipmi ipmi-sensors: sdr cache
| directory setup failed
|
| The ktrace output file and kdump output of ipmi-sensors is attached
| 4488 ipmi-sensors CALL access(0x7fffffffeb48,0x7)
| 4488 ipmi-sensors NAMI "4ëÿÿÿ"
| 4488 ipmi-sensors RET access -1 errno 2 No such file or directory
| 4488 ipmi-sensors CALL mkdir(0x520380,0x1c0)
| 4488 ipmi-sensors NAMI "/tmp/.freeipmi-vcr"
| 4488 ipmi-sensors RET mkdir -1 errno 17 File exists
| 4488 ipmi-sensors CALL write(0x2,0x7fffffffe470,0x2f)
| 4488 ipmi-sensors GIO fd 2 wrote 47 bytes
| "ipmi-sensors: sdr cache directory setup failed
| "
| 4488 ipmi-sensors RET write 47/0x2f
| 4488 ipmi-sensors CALL exit(0x1)
`----
This is a bug. Thanks for helping us find it. In your case your home
dir of user "vcr" is not writable. So it opts for /tmp/.freeipmi-vcr
dir which already exist. Bug is, if it already exist, it should be
re-used. Instead it returns error. Bala is fixing it. We will make a
quick new release of this branch.
For time being you can try to remove /tmp.freeipmi-vcr by hand and run
ipmi-sensors. But problem is it will try to fetch SDR freshly every
time. Or you can make your home dir writable for time being.
--
Anand Babu
GPG Key ID: 0x62E15A31
Blog [http://ab.freeshell.org]
The GNU Operating System [http://www.gnu.org]