Wednesday, March 3, 2010

ubuntu 9.10 - "Failed to execute child process "testparm" (No such file or directory)"

when i want to share my folder between ubuntu 9.10 and window 7 i got this message.
"Failed to execute child process "testparm" (No such file or directory)"

all you need to do to resolved this just simply upgrade your samba
*update=contact the server to check all the package are sync with the server
  upgrade=make sure all package version are latest and up to date

type = sudo apt-get upgrade samba


  1. Thanks a lot. Helped me quick and easy.

  2. you can try this it worked for me for the same problem hope for you also it will work

    sudo cp /usr/bin/testparm.samba3 /usr/bin/testparm

    sudo cp /usr/bin/net.samba3 /usr/bin/net

    sudo chmod +x /usr/bin/testparm /usr/bin/net

  3. Hey All,

    Check this, Solved!!!

  4. If you're using ubuntu 10x, and you upgrade samba, to find this very error occurring, then the only solution that will actually work is the one proposed by Jeetendra.

    Thank you for saving me from a reinstall, man.
    Samba not working on my machine is a game stopper.

  5. thankzzz a lot maaaaaaaaaaaaaaaaaaaaaan !!!! it works :D