LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-22-2010, 11:11 PM   #1
kiruja
Member
 
Registered: Oct 2009
Posts: 60

Rep: Reputation: 16
How to share files in ubuntu


I RECENTLY INSTALLED UBUNTU MAVERIC 10.10 AND I HAVE BEEN TRYING TO SHARE FILES USING SAMBA AND I GET AN ERROR WHIOLE TRYING TO CONFIGURE THE FILE SHARING: 'Failed to execute child process "testparm" (No such file or directory)':
what would have caused this problem?????
 
Old 12-22-2010, 11:32 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,857
Blog Entries: 18

Rep: Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339
1. Open a terminal.

2. Run this command: sudo ps -A. Does the output show the smbd daemon (process) running?

3. If not, cd /etc/samba, then sudo smbd restart.

4. Repeat Step 2 and let us know what you found out.
 
Old 12-23-2010, 01:39 PM   #3
digerati1338
Member
 
Registered: May 2007
Location: CO
Distribution: Ubuntu
Posts: 152
Blog Entries: 1

Rep: Reputation: 18
In Ubuntu it should be really simple to create a samba share. Just right click on the folder you want to share and click configure sharing for this folder, or something similar to that. A wizard should guide you through the process and automatically set up samba if it isnt already working.

Also, we understand you fine if you use lowercase. No need to shout.
 
Old 01-18-2011, 05:27 AM   #4
kiruja
Member
 
Registered: Oct 2009
Posts: 60

Original Poster
Rep: Reputation: 16
"Create Folder", type a name, hit the Enter key.

Right click your named folder, and select "Sharing Options".

Up comes a Folder Sharing Window, checkbox "Share this folder" and "Allow others to create and delete files in this folder", then click "Create Share".

You may get an error like:

failed to execute child process "testparm" (No such file or directory)

Open up a terminal window by clicking "Applications" dropdown menu of your Desktop, then "Accessories", then "Terminal". This is often how we fix things like this. Type the following or highlight and within the terminal window push both mouse buttons down:

Try Approach A first: sudo apt-get upgrade

... and if that doesn't do it for ya, try Approach B:

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

Try creating the share again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Help Needed: Share windows partitions on Ubuntu server from Ubuntu Client? dblaisde Linux - Networking 1 07-12-2010 06:31 PM
How do I share files between 2 Ubuntu 8.10 boxes in the same room? widget Linux - Newbie 2 03-21-2009 01:02 AM
Deleted files on a SMB-share - Files gone, space still allocated - Fedora 10 Zwentendorf Linux - Server 4 03-01-2009 06:04 AM
Setting up a home network in Ubuntu 8.10. So that I can share files with Windows. tleeonly Linux - Networking 3 12-29-2008 06:30 PM
How to share network files on a Windows network with Ubuntu mollydoggy1971 Linux - Newbie 40 12-01-2008 09:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration