Re: [Need Help] About file lock in Debian Sarge

2009-12-21 Thread Muhammad H Hilman
Wow, it's work

but, must I change the code on my application that needed filelock?
because, filelock code on that application stated as ubuntu command (just
filelock)
as far as I know debian command on filelock is (filelock-create)

can you tel me what's the different between (filelock-create) command and
lockf() and fcntl()
actually, I am still newbie on using Debian

Thanks,


On Mon, Dec 21, 2009 at 6:52 AM, Roger Leigh  wrote:

> On Thu, Dec 17, 2009 at 11:16:02PM +0100, Michelle Konzack wrote:
> > maybe
> > apt-get install liblockfile1
>
> Possibly, but lockf() and fcntl() are usually better, and are present
> in libc.
>
>
> --
>  .''`.  Roger Leigh
>  : :' :  Debian GNU/Linux 
> http://people.debian.org/~rleigh/
>  `. `'   Printing on GNU/Linux?   http://gutenprint.sourceforge.net/
>   `-GPG Public Key: 0x25BFB848   Please GPG sign your mail.
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAksuuKUACgkQVcFcaSW/uEi66ACgjEUjXA5/CSWzcL+KiKxnb4lV
> sKUAoLri4DdIZTwNUdQEzizrLPVLW1mD
> =/6Md
> -END PGP SIGNATURE-
>
>


[Need Help] About file lock in Debian Sarge

2009-12-16 Thread Muhammad H Hilman
Dear Debian developers

I run DOVIS 2.0 (docking application) in cluster server using Debian Sarge
Then I got *"Can not get init lock!"* notification

here is the screenshoot

[image: http://img710.imageshack.us/img710/7643/35869453.png]

I already asked the developers about this problem
They said I have to install file lock in my Operating System

here is the screenshoot

[image: http://img43.imageshack.us/img43/361/dovis.png]

Actually, I don't really know how to install file lock in Debian Sarge,
so do my system administrator
Anybody knows how to install file lock in Debian Sarge?