LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-07-2006, 11:56 AM   #1
zdenisl
Member
 
Registered: Nov 2005
Distribution: CentOS-4
Posts: 41

Rep: Reputation: 15
Samba 3.0.21a upgrade error on rh9


(posted on linuxforums also)
Hi -
I'm running red hat 9.0 and just upgraded my samba server to the latest 3.0.21a version.

The last message from rpm -Uvh was:

Code:
error: %postun(samba-2.2.7a-7.9.0) scriptlet failed, exit status 1
It appears to be working as I was able to start samba.

Code:
[root@RAMAIR samba]# smbstatus

Samba version 3.0.21a
PID     Username      Group         Machine                        
-------------------------------------------------------------------
 4092   denis         users         transam      (192.168.0.100)

Service      pid     machine       Connected at
-------------------------------------------------------
denis        4092   transam       Sat Jan  7 00:28:08 2006

No locked files
I did notice that when I started samba manually via /etc/init.d/smb start I only got one "[OK]" message for samba starting and not for nmbd starting also. However when I do a ps I can see nmdb running:

Code:
[root@RAMAIR samba]# ps -ef | egrep "smb|nmb" | grep -v grep
root      4081     1  0 00:27 ?        00:00:00 [smbd]
root      4082  4081  0 00:27 ?        00:00:00 [smbd]
root      4086     1  0 00:27 ?        00:00:00 nmbd -D
root      4092  4081  0 00:28 ?        00:00:00 [smbd]
Another observation is samba isn't "smbd -D" anymore. Now I have these [smbd] processes.

Here's my logs:
log.nmbd - includes shutdown of old version and start of new:
Code:
  Netbios nameserver version 2.2.7a started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2006/01/06 23:38:36, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 19876 received with no matching record.
[2006/01/06 23:38:36, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 19877 received with no matching record.
[2006/01/07 00:16:32, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2006/01/07 00:27:23, 0] nmbd/nmbd.c:main(724)
  Netbios nameserver version 3.0.21a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2005
log.smbd since startup:
Code:
  smbd version 3.0.21a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2005
[2006/01/07 00:27:23, 1] lib/account_pol.c:account_policy_get(324)
  account_policy_get: tdb_fetch_uint32 failed for field 1 (min password length), returning 0
[2006/01/07 00:27:23, 1] lib/account_pol.c:account_policy_get(324)
  account_policy_get: tdb_fetch_uint32 failed for field 2 (password history), returning 0
[2006/01/07 00:27:23, 1] lib/account_pol.c:account_policy_get(324)
  account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logon to change password), returning 0
[2006/01/07 00:27:23, 1] lib/account_pol.c:account_policy_get(324)
  account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password age), returning 0
[2006/01/07 00:27:23, 1] lib/account_pol.c:account_policy_get(324)
  account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password age), returning 0
[2006/01/07 00:27:23, 1] lib/account_pol.c:account_policy_get(324)
  account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout duration), returning 0
[2006/01/07 00:27:23, 1] lib/account_pol.c:account_policy_get(324)
  account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count minutes), returning 0
[2006/01/07 00:27:23, 1] lib/account_pol.c:account_policy_get(324)
  account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout attempt), returning 0
[2006/01/07 00:27:23, 1] lib/account_pol.c:account_policy_get(324)
  account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect time), returning 0
[2006/01/07 00:27:23, 1] lib/account_pol.c:account_policy_get(324)
  account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse machine password change), returning 0
[2006/01/07 00:27:23, 0] printing/nt_printing.c:upgrade_to_version_4(439)
  upgrade_to_version_4: upgrading printer security descriptors
[2006/01/07 00:27:23, 0] printing/nt_printing.c:upgrade_to_version_5(506)
  upgrade_to_version_5: normalizing printer keys
[2006/01/07 00:28:08, 0] lib/util_sock.c:get_peer_addr(1222)
  getpeername failed. Error was Transport endpoint is not connected
[2006/01/07 00:28:08, 0] lib/util_sock.c:write_data(554)
  write_data: write failure in writing to client 192.168.0.100. Error Connection reset by peer
[2006/01/07 00:28:08, 0] lib/util_sock.c:send_smb(762)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2006/01/07 00:28:08, 1] smbd/service.c:make_connection_snum(666)
  transam (192.168.0.100) connect to service denis initially as user denis (uid=502, gid=100) (pid 4092)
Has anyone run into the same error during install? I've searched google and found a couple of hits but no explinations.
I'm about to configure samba to be a PDC and now I'm worried that something isn't going to work.

Thanks for you help!
 
Old 01-07-2006, 01:33 PM   #2
zdenisl
Member
 
Registered: Nov 2005
Distribution: CentOS-4
Posts: 41

Original Poster
Rep: Reputation: 15
I decided to fully uninstall samba (rpm -e) and then install from scratch the newer version.

The install was successful.
There are still the same differences with the processes but I guess this is just a change in this release since samba is working fine.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrade RH8 to RH9 - upgrade or clean install PAB Linux - General 0 03-13-2004 03:55 PM
How to Upgrade Samba from 2 to 3 in RH9 kbrian38 Red Hat 3 02-14-2004 02:50 AM
How to upgrade to Samba 3 on RH9? dkraut Linux - Networking 3 12-23-2003 08:58 PM
Upgrade to RH9 inon^ Red Hat 8 10-16-2003 11:10 AM
Error trying to dist-upgrade or upgrade KDE prophet621 Linux - Newbie 0 09-10-2003 04:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration