[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] permission denied?



On Thu, 2005-02-03 at 22:12 +0000, Henrik Storner wrote:
> In <1107468189.5326.76.camel (at) localhost.localdomain> Daniel J McDonald <dan.mcdonald (at) austinenergy.com> writes:

> 
> First check that no hobbitd and hobbitd_channel processes are running.
> You can also run the "ipcs" command and see if there are any shared-
> memory segments owned by the hobbit user - there should not be any
> when Hobbit is not running.
> 

there were some shared memory segments owned by the UID hobbit had when
I was running beta-4.  I changed the UID and GID  when I upgraded to
beta-5 (and fixed my ldap pam module).

I'm rebooting now to see if that clears it all up....  Yes.
> If that doesn't give anything, add "--debug" to the hobbitd
> commandline in ~/server/etc/hobbitlaunch.cfg, and let's see what that
> tells us.

2005-02-03 16:22:36 calling ftok('/var/hobbit/server',1)
2005-02-03 16:22:36 ftok() returns: 0x1070A37

and that is referenced by 

[root (at) ldap2 hobbit]# ipcs

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status
0x00070a37 0          1008      600        102400     0
0x01070a37 32769      1008      600        102400     0
0x02070a37 65538      1008      600        102400     0
0x03070a37 98307      1008      600        102400     0
0x04070a37 131076     1008      600        102400     0
0x05070a37 163845     1008      600        102400     0

------ Semaphore Arrays --------
key        semid      owner      perms      nsems
0x00070a37 0          1008     600        3
0x01070a37 32769      1008     600        3
0x02070a37 65538      1008     600        3
0x03070a37 98307      1008     600        3
0x04070a37 131076     1008     600        3
0x05070a37 163845     1008     600        3


So I'm guessing it just never cleaned up after I changed the username to
UID 506.
> 
> 
> Henrik
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>