Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34

Thread: Problems with Samba and DHCP after a period of time.

  1. #1
    Join Date
    Jun 2008
    Location
    Australia
    Posts
    16

    Default Problems with Samba and DHCP after a period of time.

    Hey All

    I am a total newbie to linux but have so far managed to get DNS, DHCP, Samba and Apache to work on our new server which is to replace services on our existing MS Server2003. I have setup Samba to authenticate to the MS2003 server so we can still use active directory etc.

    Everything seems to work fine for a day or two and the wheels start falling off.
    The network users suddenly can not access the Samba shares and the dhcp leases won't renew on the work stations. When workstations can no longer access Samba shares the error is usually something along the lines of "you do not have permissions to use this resource" have to double check the exact wording on that though.

    When i look in top everything looks fine as far as i can see. The CPU usage is only 2% or thereabouts, most times there is still a few GB of ram free.
    I would not have thought it to be a hardware issue as it is a new intel server with quad core Zeon, 4GB Ram and SAS drives running SLES 10.3.

    As soon as i reboot the SUSE machine all is ok again.

    Does anybody have any hints or idea's on how i can track down the problem.

  2. #2

    Default Re: Problems with Samba and DHCP after a period of time.

    hi sir....since u joined ur machine in ur ms domain...can i ask some steps coz i cant member my susebux to my ms domain..

    and about ur dhcp server..do u have a log for viewing on whos leasing the addresses coz i too want to setup a suse dhcp server on my network...

    thanks....

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,740

    Default Re: Problems with Samba and DHCP after a period of time.

    Quote Originally Posted by kcampilan View Post
    hi sir....since u joined ur machine in ur ms domain...can i ask some steps coz i cant member my susebux to my ms domain..

    and about ur dhcp server..do u have a log for viewing on whos leasing the addresses coz i too want to setup a suse dhcp server on my network...

    thanks....
    From the openSUSE Forums FAQ:
    Welcome to the openSUSE Forums. Usually, business in our forums is conducted in English, however many of our community members speak other languages. If you prefer to use a language other than English, please feel free to do so and hopefully someone will get you a reply.
    As not everybody in the forums has english as its first language can you please try to write real english (and not to sophisticated), including interpunction. For some it is already difficult enough to understand the posts (which may have typos ).
    Thank you in advance.
    Henk van Velden

  4. #4

    Default Re: Problems with Samba and DHCP after a period of time.

    oki sir..


    i just want to ask the steps on joining the susebux to the mcrosft domain......


    and on dhcp side.. can i view the leasers of the addresses by dhcp server?

  5. #5
    Join Date
    Jun 2008
    Location
    Finland, European Union
    Posts
    1,879

    Default Re: Problems with Samba and DHCP after a period of time.

    Quote Originally Posted by stevenkelly View Post
    Does anybody have any hints or idea's on how i can track down the problem.
    As always, the first place to look at is the log files,

    For Samba:
    /var/log/samba/ -> log.smbd and log.nmbd

    Also take a look at:

    dmesg (A command to type in)
    and
    /var/log/messages

    Those files might give hints as to what is happening.

  6. #6
    Join Date
    Jun 2008
    Location
    Australia
    Posts
    16

    Default Re: Problems with Samba and DHCP after a period of time.

    Not that it probably makes a difference but i made a typo. It is actually SLES SP1 i am running.
    When it happens again i will check the samba logs. I checked the var/log/messages under Yast and there never seems to be anything that is stand out.

  7. #7
    Join Date
    Jun 2008
    Location
    Australia
    Posts
    16

    Default Re: Problems with Samba and DHCP after a period of time.

    kcampilan,

    As far as i know there is no way of simply seeing the DHCP address leases like in the DHCP snap-in in MS Server.
    However if you look under Yast, var/log/messages shows the address leases as they are renewed. I personally like reserving the addresses via mac address which would also solve the need to seeing the leases.

    If i can recommend something that will pay itself off 10 times over, it is "deploying SUSE Linux enterprise server" by Mike Peters. You can buy the book online and download it for only $15 US dollars. I have found it extremely helpfull, especially for correctly setting up DHCP and DNS for dynamic updates. I was previously using google and trolling through the useful information. This book has saved me a lot of time.
    Here is the web address if you are interested: Self Publishing - Lulu.com

  8. #8
    Join Date
    Jun 2008
    Location
    Finland, European Union
    Posts
    1,879

    Default Re: Problems with Samba and DHCP after a period of time.

    You might also want to install iptraf or similar network analyzer and see exactly what's cookin'.

    By the way, SP2 has been released for SLES and I would very warmly recommend updating, please refer to:
    How to update to SLES/SLED 10 SP2

    Perhaps it has a fix for your issues - could always be a software flaw.

  9. #9
    Join Date
    Jun 2008
    Location
    Australia
    Posts
    103

    Default Re: Problems with Samba and DHCP after a period of time.

    hmm,
    you dont have both machines as PDC's do you. Sounds a little obvious, but Ive made that mistake. as soon as there are elections things start to go haywire.

    My suggestion is that if SAMBA works for a time, then its its interaction with the 2k3 box thats giving you some trouble. I'd try demoting the 2k3 machine, which I assume is still a PDC, and running on a workgroup with no PDC. Then promote the SUSE box. You'll lose active directory functions for a while, but it may isolate the problem.

    If your on top of this then thanks for reading my thoughts.
    if it aint broken...dont let me near it

  10. #10
    Join Date
    Jun 2008
    Location
    Australia
    Posts
    103

    Default Re: Problems with Samba and DHCP after a period of time.

    ohh.
    for somthing as simple as SAMBA shares alone with active directory authentication. I cannot recommend FreeNAS enough. A little off topic but a fantastic NAS solution. Here FreeNAS: The Free NAS Server - Home Works a treat for anyone stuck in a NT domain.
    if it aint broken...dont let me near it

Page 1 of 4 123 ... 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
  •