GentooThis forum is for the discussion of Gentoo Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
after that i run /etc/init.d/samba start but i got this back
Code:
* Caching service dependencies ... [ ok ]
* samba -> start: smbd ...
/lib/rcscripts/sh/rc-daemon.sh: line 231: 16601 Segmentation fault /
sbin/start-stop-daemon '--start' '--exec' '/usr/sbin/smbd' '--' '-
D' [ !! ]
* samba -> start: nmbd ...
/lib/rcscripts/sh/rc-daemon.sh: line 231: 16605 Segmentation fault /
sbin/start-stop-daemon '--start' '--exec' '/usr/sbin/nmbd' '--' '-
D' [ !! ]
* Error: starting services (see system logs)
* samba -> stop: smbd ... [ ok ]
* samba -> stop: nmbd ...
here is what system log (/var/log/messages) contains about samba
daemon.
Code:
May 5 12:32:10 tux kernel: [ 252.527524] smbd[4520]: segfault at 4 ip
b6fdbc51 sp bfc76518 error 4 in libdmalloc.so.5.5.2[b6fd1000+d000]
May 5 12:32:10 tux kernel: [ 252.535930] nmbd[4524]: segfault at 4 ip
b74edc51 sp bfbcea08 error 4 in libdmalloc.so.5.5.2[b74e3000+d000]
May 5 12:32:10 tux rc-scripts: Error: starting services (see system
logs)
2nd FROM SOURCE
after configuring , make and make install i tried to run smbd but it
returned me this :
Code:
# smbd
smbd: error while loading shared libraries: libwbclient.so.0: cannot
open shared object file: No such file or directory
Does anyone have an idea on how to try fix this problem ?
emerge tried to install samba-3.4.12 but i tried to compile from source Samba 3.5.8 (latest stable) where can i find -r1 version ? Seems not be somewhere here http://samba.org/samba/history/ a -r1 version
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
Sorry, I should have been more clear. The -r1 was a revised version of the ebuild, the script used to build the package. I was suggesting there may be a similar revised ebuild for the current situation.
first i tried to install samba-3.5.8-r1.ebuild and then samba-3.5.8.ebuild both of them return the same error.
Quote:
smbd/ipc.c: In function 'api_no_reply':
smbd/ipc.c:394: warning: dereferencing type-punned pointer will break strict-aliasing rules
Compiling smbd/lanman.c
Compiling smbd/negprot.c
smbd/lanman.c: In function 'PackDriverData':
smbd/lanman.c:464: warning: dereferencing type-punned pointer will break strict-aliasing rules
smbd/negprot.c: In function 'get_challenge':
smbd/negprot.c:37: error: 'struct auth_context' has no member named 'dmalloc_free'
The following command failed:
i686-pc-linux-gnu-gcc -march=k8 -O2 -pipe -fomit-frame-pointer -g -g -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER -Wdeclaration-after-statement -Werror-implicit-function-declaration -I. -I/var/tmp/portage/net-fs/samba-3.5.8/work/samba-3.5.8/source3 -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/popt -I/var/tmp/portage/net-fs/samba-3.5.8/work/samba-3.5.8/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c smbd/negprot.c -o smbd/negprot.o
make: *** [smbd/negprot.o] Error 1
make: *** Waiting for unfinished jobs....
emake failed
* ERROR: net-fs/samba-3.5.8 failed (compile phase):
* emake sbinprogs failed
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 3319: Called die
* The specific snippet of code:
* emake ${SBINPROGS} || die "emake sbinprogs failed";
*
* If you need support, post the output of 'emerge --info =net-fs/samba-3.5.8',
* the complete build log and the output of 'emerge -pqv =net-fs/samba-3.5.8'.
* The complete build log is located at '/var/tmp/portage/net-fs/samba-3.5.8/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-fs/samba-3.5.8/temp/environment'.
* S: '/var/tmp/portage/net-fs/samba-3.5.8/work/samba-3.5.8/source3'
>>> Failed to emerge net-fs/samba-3.5.8, Log file:
* ERROR: net-fs/samba-3.5.8 failed (compile phase):
* emake sbinprogs failed
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 3319: Called die
* The specific snippet of code:
* emake ${SBINPROGS} || die "emake sbinprogs failed";
*
* If you need support, post the output of 'emerge --info =net-fs/samba-3.5.8',
* the complete build log and the output of 'emerge -pqv =net-fs/samba-3.5.8'.
* The complete build log is located at '/var/tmp/portage/net-fs/samba-3.5.8/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-fs/samba-3.5.8/temp/environment'.
* S: '/var/tmp/portage/net-fs/samba-3.5.8/work/samba-3.5.8/source3'
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
Looks like a bug to me. I would have thought it would have been taken care of here samba-3.5.8-r1.ebuild, but apparently it hasn't. I would file a bug here: http://bugs.gentoo.org/ be sure to post the log and the results of these.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.