Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
I'm lost can anyone decipher this samb.log error? [2003/01/18 09:33:45, 2] lib/interface.c:add_interface(81) added interface ip=192.168.2.13 bcast=192.168.2.255 nmask=255.255.255.0 [2003/01/18 09:33:45, 0] lib/util_sock.c:open_socket_in(804) bind failed on port 139 socket_addr = 0.0.0.0. Error ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2003
    Location
    Overland Park KS USA
    Posts
    26

    help with samba


    I'm lost can anyone decipher this samb.log error?

    [2003/01/18 09:33:45, 2] lib/interface.c:add_interface(81)
    added interface ip=192.168.2.13 bcast=192.168.2.255 nmask=255.255.255.0
    [2003/01/18 09:33:45, 0] lib/util_sock.c:open_socket_in(804)
    bind failed on port 139 socket_addr = 0.0.0.0.
    Error = Address already in use

    here is my log.smbd

    [2003/01/18 09:33:45, 0] smbd/server.c:main(707)
    smbd version 2.2.7a started.
    Copyright Andrew Tridgell and the Samba Team 1992-2002
    [2003/01/18 09:33:45, 1] lib/debug.c:debug_message(25
    INFO: Debug class all level = 2 (pid 1043 from pid 1043)
    [2003/01/18 09:33:45, 2] param/loadparm.c:do_section(3055)
    Processing section "[pub]"

    here is log.nmbd

    [2003/01/18 09:33:42, 0] nmbd/nmbd.c:main(794)
    Netbios nameserver version 2.2.7a started.
    Copyright Andrew Tridgell and the Samba Team 1994-2002
    [2003/01/18 09:33:42, 1] lib/debug.c:debug_message(25
    INFO: Debug class all level = 2 (pid 1041 from pid 1041)
    [2003/01/18 09:33:42, 2] nmbd/nmbd.c:main(832)
    Becoming a daemon.
    [2003/01/18 09:33:42, 2] lib/interface.c:add_interface(81)
    added interface ip=192.168.2.13 bcast=192.168.2.255 nmask=255.255.255.0
    [2003/01/18 09:33:42, 2] nmbd/nmbd_subnetdb.c:make_subnet(192)
    making subnet name:192.168.2.13 Broadcast address:192.168.2.255 Subnet mask:255.255.255.0
    [2003/01/18 09:33:42, 2] nmbd/nmbd_subnetdb.c:make_subnet(192)
    making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
    [2003/01/18 09:33:42, 2] nmbd/nmbd_subnetdb.c:make_subnet(192)
    making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
    [2003/01/18 09:33:42, 2] nmbd/nmbd_lmhosts.c:load_lmhosts_file(41)
    load_lmhosts_file: Can't open lmhosts file /usr/local/samba/lib/lmhosts. Error was No such file or directory
    [2003/01/18 09:33:46, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
    find_response_record: response packet id 28757 received with no matching record.
    [2003/01/18 09:33:46, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
    find_response_record: response packet id 28758 received with no matching record.
    [2003/01/18 09:38:57, 2] nmbd/nmbd_elections.c:check_for_master_browser_fail(106 )
    check_for_master_browser_fail: Forcing election on workgroup HELL subnet 192.168.2.13
    [2003/01/18 09:39:08, 2] nmbd/nmbd_elections.c:send_election_dgram(43)
    send_election_dgram: Sending election packet for workgroup HELL on subnet 192.168.2.13
    [2003/01/18 09:39:10, 2] nmbd/nmbd_elections.c:send_election_dgram(43)
    send_election_dgram: Sending election packet for workgroup HELL on subnet 192.168.2.13
    [2003/01/18 09:39:12, 2] nmbd/nmbd_elections.c:send_election_dgram(43)
    send_election_dgram: Sending election packet for workgroup HELL on subnet 192.168.2.13
    [2003/01/18 09:39:14, 2] nmbd/nmbd_elections.c:send_election_dgram(43)
    send_election_dgram: Sending election packet for workgroup HELL on subnet 192.168.2.13
    [2003/01/18 09:39:16, 2] nmbd/nmbd_elections.c:send_election_dgram(43)
    send_election_dgram: Sending election packet for workgroup HELL on subnet 192.168.2.13
    [2003/01/18 09:39:16, 2] nmbd/nmbd_elections.c:run_elections(20
    run_elections: >>> Won election for workgroup HELL on subnet 192.168.2.13 <<<
    [2003/01/18 09:39:16, 2] nmbd/nmbd_become_lmb.c:become_local_master_browser(549)
    become_local_master_browser: Starting to become a master browser for workgroup HELL on subnet 192.168.2.13
    [2003/01/18 09:39:24, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
    *****

    Samba name server ORION is now a local master browser for workgroup HELL on subnet 192.168.2.13

    *****
    Please keep me from going back to 2K server! I can see my sever from my XP clients,however
    my server does not show up in hell my workgroup but is in a group named mygroup. The server is listed under it but when I try to connect it asks for a username and password. I have tried all the usernamse and password and no connections. When i try to enter smb: in Nautilus it gives me an error that nautilus cannot display smb:///.
    I am running the newest redhat 8.0 with the most current critical updates.
    I have found all kinds of links on the web to this problem but never any solution. Thanks very much

  2. #2
    Linux User
    Join Date
    Jul 2002
    Location
    Daytona Beach, FL
    Posts
    487
    you need to add samba accounts for the users you want to acess the computer

    lets say you have a user in /etc/password called joe

    if you want joe to access your samba server you need to do

    smbpassward -a joe
    (and it will ask for his password)

    (this sets the password for user joe and adds him to the samba list) In oprder to do this the user (joe) must already be in /etc/password -- are you going to setup samba as the PDC and have it do domain logons too?
    majorwoo

    Quiet brain, or I\'ll stab you with a Q-tip.

  3. #3
    Linux Engineer
    Join Date
    Jan 2003
    Location
    Lebanon, pa
    Posts
    994
    bind failed on port 139 socket_addr = 0.0.0.0.
    In smb.conf, force samba to bind to the local ip.

  4. #4
    Just Joined!
    Join Date
    Jan 2003
    Location
    Overland Park KS USA
    Posts
    26
    here is my setup redhat on ASUS A7V133 1000 Duron, 512mb ram, 1 12gb disk with linux, 2 60 gb maxtor drives in a raid 1 configuration.
    My goal is to eventually run it as a file server and an UT2003 dedicated game server
    Ii also wouild like to run it as a router and dhcp server in the near future
    Rright now i have a p2 machine running bbiagent as a router and firewall and dhcp server for my two xp desktops for gaming and my server
    I am not planning on using a domain
    Genlee how do i force it to bind to the local ip do i need to make it static?
    Thanks for all your help

  5. #5
    Just Joined!
    Join Date
    Jan 2003
    Location
    Overland Park KS USA
    Posts
    26

    Thanks

    Update. I am able to access all the shares that are public on my Linux box. However I cannot access any of the private shares that I have set up. This makes me feel like I have climbed everest! The problem was with my password file I guess. thanks for all your help! I will keep chugging along! I am going to try and set it up as a PDC tonight. Wish me luck. :P

  6. #6
    Just Joined!
    Join Date
    Jun 2002
    Location
    Lindenhurst, NY
    Posts
    35
    Good Luck!!!

  7. #7
    Linux Engineer
    Join Date
    Jan 2003
    Location
    Lebanon, pa
    Posts
    994
    Took me about 1hr to get a working pdc. Its not very difficult unless you are working with windows xp.

  8. #8
    Just Joined!
    Join Date
    Jan 2003
    Location
    Overland Park KS USA
    Posts
    26
    Got everything working now. It is amazing how actually getting something to work helps your confidence. In the past I would try the new release get frustrated and go back to windows. It can still be frustrating but the feeling you get when you actually get something to work is very gratifying. Everything is working so I'm going to tackle the PDC with XP clients tonight.

  9. #9
    Linux User
    Join Date
    Jul 2002
    Location
    Daytona Beach, FL
    Posts
    487
    there are some registry mods you have to make on the XP machines to have them join the domain, nice mention of it on the samba page - some links to it are in another post in this forum - the one where i was yelling about XP rewriting my MBR, check there
    majorwoo

    Quiet brain, or I\'ll stab you with a Q-tip.

  10. #10
    Just Joined!
    Join Date
    Jan 2003
    Location
    Overland Park KS USA
    Posts
    26
    I'm getting this error when i try to set passwords. Has anyone had this before?

    [root@ORION root]# smbpasswd root
    New SMB password:
    Retype new SMB password:
    getsmbfilepwent: malformed password entry (uid not number)
    Password changed for user root.
    getsmbfilepwent: malformed password entry (uid not number)
    Password changed for user root.

Page 1 of 2 1 2 LastLast

Posting Permissions

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