[Samba] INTERNAL ERROR: Signal 11 in pid 319 (2.2.8a) - FIXED

Rasmus Reinholdt Nielsen rasmus at narani.dk
Sat May 17 07:02:12 GMT 2003


Hi

what I did was follow the howto at 
http://www.freebsddiary.org/samba-pam.php and mistoke the
samba auth required pam_mysql.so user=root passwd= db=samba_auth 
table=users usercolumn=login crypt=1
the mistake was that I didn'y specify a password and left the passwd= 
variable, I afterwaords removed passwd= and everything worked.

Actually samba didn't crash, it kept on running despide the internal error 
message.

my gobal parameters are
# Global parameters
[global]
         workgroup = Kadnet
         netbios name = OF23SM4
         server string = Rasmus Nielsen
         security = USER
         #must be set to 'no' to use PAM
         encrypt passwords = No
         update encrypted = No
         #allow trusted domains = Yes
         min password length = 6
         null passwords = No
         log level = 10
         panic action = "/bin/sleep 90000"

and after having added log level = 10 and the panic action thing, I get the 
following error message when connecting to localhost
session setup failed: Call timed out: server did not respond after 20000 
milliseconds
in my log files (after havinf readded passwd= to pam.conf) I get:

[2003/05/17 08:56:40, 0] lib/util.c:smb_panic(1094)
   PANIC: internal error
[2003/05/17 08:56:40, 0] lib/util.c:smb_panic(1094)
   PANIC: internal error
[2003/05/17 08:56:43, 0] smbd/server.c:main(791)
   smbd version 2.2.8a started.
   Copyright Andrew Tridgell and the Samba Team 1992-2002
[2003/05/17 08:56:43, 1] lib/debug.c:debug_message(258)
   INFO: Debug class all level = 10   (pid 320 from pid 320)
   doing parameter panic action = "/bin/sleep 90000"
[2003/05/17 08:56:43, 2] param/loadparm.c:do_section(3073)
   Processing section "[homes]"
   doing parameter valid users = xxxx
   doing parameter writeable = Yes
[2003/05/17 08:56:43, 2] param/loadparm.c:do_section(3073)
   Processing section "[public]"
   doing parameter path = /samba/public
   doing parameter valid users = xxxx
   doing parameter writeable = Yes
   doing parameter guest ok = No
[2003/05/17 08:56:43, 4] param/loadparm.c:lp_load(3503)
   pm_process() returned Yes
[2003/05/17 08:56:43, 3] param/loadparm.c:lp_add_ipc(2028)
   adding IPC service IPC$
[2003/05/17 08:56:43, 3] param/loadparm.c:lp_add_ipc(2028)
   adding IPC service ADMIN$
[2003/05/17 08:56:43, 10] param/loadparm.c:set_server_role(3457)
   set_server_role: ROLE_STANDALONE
[2003/05/17 08:56:43, 7] param/loadparm.c:lp_servicenumber(3612)
   lp_servicenumber: couldn't find printers
[2003/05/17 08:56:43, 7] param/loadparm.c:lp_servicenumber(3612)
   lp_servicenumber: couldn't find printers
[2003/05/17 08:56:43, 6] param/loadparm.c:lp_file_list_changed(2302)
...skipping...
   smb_vwv[9]=0 (0x0)
[2003/05/17 08:56:52, 5] lib/util.c:show_msg(286)
   smb_vwv[10]=0 (0x0)
[2003/05/17 08:56:52, 5] lib/util.c:show_msg(286)
   smb_vwv[11]=80 (0x50)
[2003/05/17 08:56:52, 5] lib/util.c:show_msg(286)
   smb_vwv[12]=0 (0x0)
[2003/05/17 08:56:52, 5] lib/util.c:show_msg(291)
   smb_bcc=31
[2003/05/17 08:56:52, 10] lib/util.c:dump_data(1541)
   [000] 72 61 6E 69 31 38 30 31  00 72 72 6E 00 4B 41 44  xxxxx .xxxxxx.KAD
[2003/05/17 08:56:52, 10] lib/util.c:dump_data(1549)
   [010] 4E 45 54 00 55 6E 69 78  00 53 61 6D 62 61 00     NET.Unix .Samba.
[2003/05/17 08:56:52, 3] smbd/process.c:switch_message(685)
   switch message SMBsesssetupX (pid 325)
[2003/05/17 08:56:52, 3] smbd/sec_ctx.c:set_sec_ctx(329)
   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/05/17 08:56:52, 5] smbd/uid.c:change_to_root_user(217)
   change_to_root_user: now uid=(0,0) gid=(0,0)
[2003/05/17 08:56:52, 3] smbd/reply.c:reply_sesssetup_and_X(880)
   Domain=[KADNET]  NativeOS=[Unix] NativeLanMan=[Samba]
[2003/05/17 08:56:52, 3] smbd/reply.c:reply_sesssetup_and_X(890)
   sesssetupX:name=[rrn]
[2003/05/17 08:56:52, 6] param/loadparm.c:lp_file_list_changed(2302)
   lp_file_list_changed()
   file /usr/local/etc/smb.conf -> /usr/local/etc/smb.conf  last mod_time: 
Sat May 17 08:54:50 2003

[2003/05/17 08:56:52, 2] smbd/reply.c:reply_sesssetup_and_X(1007)
   Defaulting to Lanman password for xxxx
[2003/05/17 08:56:52, 4] passdb/pass_check.c:pass_check(719)
   pass_check: Checking (PAM) password for user xxxx (l=8)
[2003/05/17 08:56:52, 4] passdb/pampass.c:smb_pam_start(455)
   smb_pam_start: PAM: Init user: xxxx
[2003/05/17 08:56:52, 4] passdb/pampass.c:smb_pam_start(472)
   smb_pam_start: PAM: setting rhost to: localhost.narani.dk
[2003/05/17 08:56:52, 4] passdb/pampass.c:smb_pam_start(481)
   smb_pam_start: PAM: setting tty
[2003/05/17 08:56:52, 4] passdb/pampass.c:smb_pam_start(489)
   smb_pam_start: PAM: Init passed for user: xxxx
[2003/05/17 08:56:52, 4] passdb/pampass.c:smb_pam_auth(506)
   smb_pam_auth: PAM: Authenticate User: xxxx
[2003/05/17 08:56:52, 0] lib/fault.c:fault_report(38)
   ===============================================================
[2003/05/17 08:56:52, 0] lib/fault.c:fault_report(39)
   INTERNAL ERROR: Signal 11 in pid 325 (2.2.8a)
   Please read the file BUGS.txt in the distribution
[2003/05/17 08:56:52, 0] lib/fault.c:fault_report(41)
   ===============================================================

Hope this is enough to investigate the problem, but ones again the problem 
was passwd= (nothing) i /etc/pam.conf

best regards

Rasmus

At 11:07 16-05-2003 +1000, Andrew Bartlett wrote:
>On Fri, 2003-05-16 at 06:41, Rasmus Reinholdt Nielsen wrote:
> > Hi again
> >
> > sorry for the trouble, it turned out to be an error in my pam.conf that
> > coursed the error in log.smbd
>
>Not so fast...
>
>If you can make Samba crash, we want to know how! :-).  Often 'weird'
>configurations take different code paths that we don't normally test.
>And while you can 'fix' your bug by not using that codepath, it's never
>acceptable to segfault for it!
>
>Can you try and get a backtrace - read the examples for 'panic actions'
>in the smb.conf for a few hints - or at least point out what your buggy
>configuration was?
>
>Andrew Bartlett
>
>--
>Andrew Bartlett                                 abartlet at pcug.org.au
>Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
>Student Network Administrator, Hawker College   abartlet at hawkerc.net
>http://samba.org    http://build.samba.org    http://hawkerc.net
>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list