[Samba] expand_file segfault compatibility with VPS and reiserfs
Hans Zaunere
lists at zaunere.com
Sat Jul 29 16:16:05 GMT 2006
Hello again,
> In regards to this thread:
>
> http://lists.samba.org/archive/samba/2005-September/111158.html
>
> I might be seeing a similar compatibility with this call is on
> Virtuozzo based system.
>
> > cat /etc/redhat-release
> Red Hat Linux release 9 (Shrike)
>
> > uname -a
> Linux hostname 2.6.8-022stab078.9-enterprise #1 SMP Thu Jun 8
> 12:38:51 MSD 2006 i686 athlon i386 GNU/Linux
>
> > mount
> /dev/vzfs on / type reiserfs (rw,usrquota,grpquota)
> vzfs on /tmp type vzfs (rw,noatime,nosuid,nodev,noexec)
> proc on /proc type proc (rw,nodiratime)
> devpts on /dev/pts type devpts (rw)
>
>
> And I'm getting the following in the logs:
>
> [2006/07/27 20:31:37, 0] tdb/tdbutil.c:tdb_log(783)
> tdb(/var/lib/samba/locking.tdb): expand_file ftruncate to 49152
> failed (Permission denied)
> [2006/07/27 20:31:37, 0] lib/util.c:smb_panic(1592)
> PANIC (pid 10004): Could not store share mode entry
>
> [2006/07/27 20:31:37, 0] lib/util.c:log_stack_trace(1699)
> BACKTRACE: 13 stack frames:
> #0 smbd(log_stack_trace+0x22) [0x8229612]
> #1 smbd(smb_panic+0x60) [0x82294d0]
> #2 smbd(get_share_mode_lock+0) [0x81dab90]
> #3 smbd(talloc_free+0x7d) [0x822efbd]
> #4 smbd(open_directory+0x3d5) [0x80d5ce5]
> #5 smbd(reply_ntcreate_and_X+0xb36) [0x80a8976]
> #6 smbd [0x80e8154]
> #7 smbd [0x80e83bd]
> #8 smbd [0x80e85e5]
> #9 smbd(smbd_process+0x155) [0x80e9475]
> #10 smbd(main+0x8ed) [0x82bea1d]
> #11 /lib/libc.so.6(__libc_start_main+0xa9) [0x402a062d]
> #12 smbd(yp_get_default_domain+0xad) [0x80828d1]
> [2006/07/27 20:31:37, 0] lib/fault.c:dump_core(168)
> unable to change to /var/log/samba/cores/smbdrefusing to dump core
> [2006/07/27 20:31:37, 1] smbd/service.c:make_connection_snum(941)
> mobilez (66.108.113.197) connect to service theuser initially as
> user theuser (uid=2524, gid=2524) (pid 22056)
>
>
> Any help would be appreciated.
Hello,
Has anyone been seeing this type of behavior? I'm guessing it's related to
the fact that Samba is running under Virtuozzo/Plesk. Has anyone gotten
Samba to run correctly in this environment?
Regards,
---
Hans Zaunere / President / New York PHP
www.nyphp.org / www.nyphp.com
More information about the samba
mailing list