LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 11-28-2011, 03:27 AM   #1
pawan613
LQ Newbie
 
Registered: Sep 2011
Posts: 23

Rep: Reputation: Disabled
Unable to install Samba on VMWare running Ubuntu 10.10 as guest OS & XP as host


Heylo all,
I've been getting good help here, so posting here again.
I have XP as my host OS and Ubuntu 10.10 as guest OS on VMware. I need to install and setup samba in my Ubuntu, so when I open "Shared folders" from System>Administration, it prompts me for installation of NFS and SMB. So, I did that installation. When I click close button to complete installation, again same window appears prompting for the same installation of NFS and SMB.
After clicking on "Install Services", it appears again, and again, and again.
I also tried system-config-samba, but after clicking on OK button, to add share to samba, the window does not get closed, same as we'sae earlier
I tried re-instalation, also I tried on VirtualBox, but still same problem. Can anyone tell me whats wring in there?
 
Old 11-28-2011, 09:29 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Let me see if I can help.

Have you set up Synaptics package manager for remote repos? If not, Synaptics is looking at the install CD/DVD only. You would have to have it mounted and available to your Ubuntu system. Since this is a VM system, you need to config the CD/DVD drive so Ubuntu can use it.

I would suggest, if you have internet connectivity working on the guest, you open up Synaptic and configure remote repos there. Once you have that working, you can install anything from the repos. There is a ton of applications and all the updates for Ubuntu there. Best reason to go this way is you get the latest releases, and all the security updates. Here is a link to a How To for configuration of Synaptic Package Manager

-->https://help.ubuntu.com/community/SynapticHowto

Personally, I do not like the way Ubuntu ( or any of the buntus ) are modified with all these gui 'helpers' as you have described. They are done for noobs, when they work, they help, when they fail ( like this time ) you are left with little help, and no idea where to turn.

Linux is different from windies in many ways. It does take a little learning, but once you know how things work, you can fix your own problems, install what you like etc. ( no criticism of you or other new linux users intended ). BTW, I do run Ubuntu 10.04 on my netbook. I don't use the 'helpers' for installing or maintaining that system.
 
Old 11-28-2011, 11:50 PM   #3
pawan613
LQ Newbie
 
Registered: Sep 2011
Posts: 23

Original Poster
Rep: Reputation: Disabled
Hi camorri,
Seems you didn't get my point.
What I'm looking for is something I have done already, but that was with host as ubuntu. My synaptic package manager is working perfectly fine. Everything gets downloaded and installed, but SAMBA.
I have downloaded, installed SAMBA, still its not working.
While adding share, I cannot apply the settings. No matter how many times I click OK button, window doesn't popdown.
Am I clear enough to explain what the problem is?
 
Old 11-29-2011, 06:47 AM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
Am I clear enough to explain what the problem is?
Sorry, if I didn't understand. So, Samba is installed, configuration is not working through the Ubuntu tools.

Rant on...

I though I would look an my own Ubuntu system and look at the tools Ubuntu provides. In short, they only tell you part of what you need to know to maintain a system. I could not tell if the two daemons were running; smbd and nmbd. That is critical, if you have a problem.

I opened a command prompt, ran the command 'ps aux | grep smbd' and 'ps aux | grep nmbd'. I found out nmbd was not running. I opened up Webmin, looked at the status screen, and confirmed nmbd was not working. I tried to start it, got a failure. Let me assure you, it was working. It wasn't at this point.

Opened up Synaptic. Search 'samba' and marked the 'installed' in the left column. Some how samba4 was not installed. First of all I had version 3 ( something ) installed. The client is now version 4. So, the constant 'updates' some how did not work, my server code was not there. So, Synaptic, installed Samba4. 5 packages, 110Mb of code later, the server is back... version 4.

Why am I telling you this; simply to show you the "Ubuntu tools" suck.

Rant off...

What I recommend is install from Synaptics, 'swat'. Once installed, open a web browser, and enter;

http://localhost:901 and press enter. Sign in with the root user, and root password. Now you have a tool that works.

There is a status icon, it will tell you if smbd and nmbd are running. If not, there are restart and stop buttons that run the correct commands to do the work. Simple, you don't have to remember commands.

For your problem, either install swat, or run the command 'ps aux | grep smbd' and 'ps aux | grep nmbd' to know if the daemons are running.

If not, post your /etc/samba/smb.conf file. It contains all your configuration. If you do not have a valid config, one, or both of the daemons may not start.

Let me know... sorry again for not understanding, and for the rant...

Last edited by camorri; 11-29-2011 at 06:48 AM.
 
  


Reply

Tags
samba, virtualbox, vmware



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Host OS unable to connect to Guest OS (virtual machines) in VMware vikas027 Linux - Virtualization and Cloud 18 08-16-2012 08:15 AM
can SUSE (host) be restarted when xp (guest) on vmware is running inside eager2know Linux - Newbie 3 10-25-2009 07:15 AM
FTP between host(win xp) & guest(fedora 9) os in vmware pdwivedi Linux - Networking 6 07-14-2008 01:27 PM
Samba to share between host and guest in VMware cncrazu Linux - Software 0 06-11-2004 10:02 AM
vmware - Win2K-host & slackware-guest kud0ze Linux - General 0 01-25-2002 02:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:07 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
Open Source Consulting | Domain Registration