smart starting in read-only mode as root

Keith Roberts keith at karsites.net
Mon Mar 19 04:59:43 PDT 2007


On Mon, 19 Mar 2007, J.L. Blom wrote:

> To: smart at labix.org
> From: J.L. Blom <jlblom at neuroweave.nl>
> Subject: Re: smart starting in read-only mode as root
> 
> On Sun, 2007-03-18 at 21:46 +0000, Keith Roberts wrote:
>> I have a problem with smart 0.50 on FC6.
>>
>> Under KDE smart refused to respond so I had to terminate the
>> program.
>>
>> Subsequently restarting smart, it starts up in read-only
>> mode - even as root user.
>>
>> The only way I can get smart to start in RW mode is to use
>>
>> # smart --ignore-locks --gui
>>
>> from a terminal in KDE.
>>
>> Obviously I don't want to keep using smart with locking
>> disabled, just in case I corrupt the RPM database.
>>
>> Why is smart starting in RO mode, and what can I do to fix
>> it again please?
>>
>> TIA
>>
>> Keith

> Try a ps -ef|grep smart (as root) and see how many smarts are running,
> then kill all of them. Then the RO flag is gone.
> Joep
>

[root at karsites /]# ps -ef|grep smart
root      2454     1  0 Mar15 ?        00:00:00 
/usr/sbin/smartd -q never
keith     8668  2697  0 Mar16 ?        00:00:00 smart-root 
--gui
root      8669  8668  0 Mar16 ?        00:00:00 
/usr/sbin/userhelper -w smart-root --gui
root      8672  8669  0 Mar16 ?        00:02:44 
/usr/bin/python /usr/bin/smart --gui
root     19620 14993  0 07:04 pts/5    00:00:00 grep smart
root     24882 27173  0 Mar17 pts/18   00:03:22 
/usr/bin/python /usr/bin/smart --ignore-locks --gui
You have new mail in /var/spool/mail/root
[root at karsites /]#


Thanks for that Joe. That's exactly what the problem was. 
I killed the rogue processes and all is fine again now.

Regards

Keith :-)

------------------------------------------------------------
http://www.karsites.net
http://www.raised-from-the-dead.org.uk

This email address is challenge-response protected with
http://www.tmda.net
------------------------------------------------------------



More information about the Smart mailing list