[Samba] RE: How to compile samba-2.2.x on HP/UX 11.00

MCCALL,DON (HP-USA,ex1) don_mccall at hp.com
Mon Nov 25 15:23:02 GMT 2002


Hi Rene,
I would be interested in your test program, and information on what
archetecture
and compiler you are using to test this out on.  Can you send it to me off
list?
Thanks,
Don

> -----Original Message-----
> From: René Nieuwenhuizen [mailto:R.Nieuwenhuizen at cpb.nl]
> Sent: Sunday, November 24, 2002 1:11
> To: samba; samba
> Subject: How to compile samba-2.2.x on HP/UX 11.00
> 
> 
> Hi,
> 
> Here's my problem:
> 
> Samba-2.2.x (even 2.2.7) compiled right out of the box on 
> HP/UX  11.00 
> gives some errors in the log file:
> 
> Nov 23 16:17:32 pandora smbd[6744]: [2002/11/23 16:17:32, 0] 
> locking/posix.c:posix_fcntl_lock(661)
> Nov 23 16:17:32 pandora smbd[6744]:   posix_fcntl_lock: WARNING: lock 
> request at offset 0, length 9223372036854779000 returned
> Nov 23 16:17:32 pandora smbd[6744]: [2002/11/23 16:17:32, 0] 
> locking/posix.c:posix_fcntl_lock(662)
> Nov 23 16:17:32 pandora smbd[6744]:   an Invalid argument error. This 
> can happen when using 64 bit lock offsets
> 
> I've checked but the filesystem is local and a locking test program 
> compiled with the same definitions (_LARGEFILE64_SOURCE) gave 
> the same 
> results. Whenever _LAGEFILE64_SOURCE is defined the upperlimit for 
> offset is 2Gb otherwise EINVAL is returned.
> 
> So I thought adding _FILE_OFFSET_BITS=64 would do the trick. 
> Upperlimit 
> for locking got raised beyond 2Gb and my locking test program 
> showed me 
> this. But now the tdb code starts acting up.
> 
> Nov 23 14:43:24 pandora nmbd[13772]: [2002/11/23 14:43:24, 0] 
> tdb/tdbutil.c:tdb_log(531)
> Nov 23 14:43:24 pandora nmbd[13772]:   
> tdb(/usr/local/samba-2.2.7/var/locks/unexpected.tdb): tdb_oob len 
> 1718185085 beyond eof at 696
> 
> The len is always 1718185085 only eof changes in between error logs.
> 
> Is there anyone with some knowledge of HP/UX and who can 
> point me at the 
> errors I make???
> 
> Thanks in advance,
> 
> BTW. I can get samba error free by removing _LARGEFILE64_SOURCE and 
> adding _LARGEFILE_SOURCE (64 left out). But am I missing out on some 
> specialities?
> 
> -- 
> 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