gnokii-users
[Top][All Lists]
Advanced

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

Re: gnokii exec problem on browser


From: Baurzhan Ismagulov
Subject: Re: gnokii exec problem on browser
Date: Sun, 11 Mar 2007 13:13:15 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Hello mikha,

On Sat, Mar 10, 2007 at 08:17:20PM -0800, mikha wrote:
> Cannot lock device.
> Lock file error. Exiting.
> Cannot open logfile: Permission denied
> WARNING: cannot open logfile, logs will be directed to stderr
> GNOKII Version 0.6.12
> LOG: debug mask is 0x1
> Lockfile /var/lock/LCK..ttyS0 is stale. Overriding it..
> Overriding failed, please check the permissions.
> Cannot lock device.
> Lock file error. Exiting.

If you delete /var/lock/LCK..ttyS0 as root and run gnokii only from the
web server (i.e., don't run it as another user), it should be able to
override the lock.

If you can ensure that no more than one gnokii process is accessing
ttyS0, you can disable locking as PaweĊ‚ suggested. If you access the
phone each time a certain request is coming, then you have to think
about it even with locking enabled, since if two users make the same
request simultaneously, the phone is going to be busy with the first
coming request for some time.

With kind regards,
-- 
Baurzhan Ismagulov
http://www.kz-easy.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]