[Samba] Many 64bit locks failed on HPUX 11.00/32

Gerhard Klein G.Klein at edelmann.de
Tue Jul 1 06:47:58 GMT 2003


Hi Samba Team,

I tried samba 2.2.8a (without winbind) on HPUX 11/32. I downloaded the
binaries from
http://de.samba.org/samba/ftp/Binary_Packages/hp/samba-2.2.8a/ I get
following errors:

[2003/06/27 10:16:50, 0] locking/posix.c:(658)
  an Invalid argument error. This can happen when using 64 bit lock
offsets
[2003/06/27 10:16:50, 0] locking/posix.c:(659)
  on 32 bit NFS mounted file systems.
[2003/06/27 10:16:50, 0] locking/posix.c:(673)
  Count greater than 31 bits - retrying with 31 bit truncated length.
[2003/06/27 10:16:50, 0] locking/posix.c:(656)

I'm not using NFS. From mailinglist I got following information:

-------- Original Message --------
Betreff: Re: Samba: Many 64bit locks failed on HPUX 11.00
Datum: Tue, 01 Jul 2003 07:55:23 +0200
Von: "R. Nieuwenhuizen" <R.Nieuwenhuizen at cpb.nl>
An: Gerhard Klein <G.Klein at edelmann.de>
Referenzen: <3F0009E7.8C142C03 at edelmann.de> <3F002CF3.1080709 at cpb.nl>
<3F011C28.A752FF34 at edelmann.de>

Sorry Gerhard,

I misread your first email. Ok it seems I have changed the configure 
script a little to get samba running well (I've attached the 
configure.diff file). The main problem seems to be that 
_LARGEFILE_SOURCE64 is being defined instead of _LARGEFILE_SOURCE 
causing 64bit code to be included. And of course this is failing on the 
32bit platform.

Good luck.

I'm not able to build own binaries. Can you help?


Gerhard

Gerhard Klein wrote:

>Hi,
>
>we are not uning NFS! The samba connections are very slow and after a while some
>users get no connections. This problems are not with samba 2.0.7, but we need 2.2.x
>for some new features.
>
>Any idea?
>
>
>Gerhard
>
>"R. Nieuwenhuizen" schrieb:
>
>  
>
>>Hi Gerard,
>>
>>If you are exporting a NFS filesystem using samba then the messages are
>>correct. An NFS filesystem is always 32bit so when a 64bit lock is
>>requested an warning is logged. Nothing can be done!
>>
>>Gerhard Klein wrote:
>>
>>    
>>
>>>Hi,
>>>
>>>I found your message about Samba errors:
>>>
>>>Feb  8 11:30:02 pandora smbd[22922]:   posix_fcntl_lock: WARNING: lock =
>>>
>>>request at offset 0, length 9223372036854779000 returned
>>>Feb  8 11:30:02 pandora smbd[22922]: [2002/02/08 11:30:02, 0] =
>>>locking/posix.c:(662)
>>>Feb  8 11:30:02 pandora smbd[22922]:   an Invalid argument error. This =
>>>
>>>can happen when using 64 bit lock offsets
>>>Feb  8 11:30:02 pandora smbd[22922]: [2002/02/08 11:30:02, 0] =
>>>locking/posix.c:(663)
>>>Feb  8 11:30:02 pandora smbd[22922]:   on 32 bit NFS mounted file =
>>>systems.
>>>
>>>I get the same errors on Samba 2.2.8a. We have also no NFS filesystems
>>>mouted. We use HPUX 11.0/32. Could you solve the problem?
>>>
>>>Thanks
>>>
>>>
>>>Gerhard
>>>
-- 

René Nieuwenhuizen
Afdeling Informatietechnologie
Centraal Planbureau

Bezoekadres: Van Stolkweg 14, 2585 JR Den Haag
Postadres: Postbus 80510, 2508 GM Den Haag

T (070) 3383 342
F (070) 3383 350
I http://www.cpb.nl/nl/general/org/afdelingen/it/


--
================================================================================
Aan dit bericht kunnen geen rechten worden ontleend.
Het bericht is alleen bestemd voor de geadresseerde.
Indien dit bericht niet voor u is bestemd, verzoeken wij u dit
onmiddellijk aan
ons te melden en de inhoud van het bericht te vernietigen.

This message shall not constitute any obligations.
This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately
and
delete its contents.
================================================================================



More information about the samba mailing list