Find the answer to your Linux question:
Results 1 to 2 of 2
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, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2006
    Posts
    2

    Samba 3.0.21a upgrade failed


    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!

  2. #2
    Just Joined!
    Join Date
    Jan 2006
    Posts
    2
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •