| 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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-28-2011, 03:27 AM
|
#1
|
|
LQ Newbie
Registered: Sep 2011
Posts: 23
Rep: 
|
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?
|
|
|
|
11-28-2011, 09:29 AM
|
#2
|
|
Senior Member
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 14.0
Posts: 4,619
|
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.
|
|
|
|
11-28-2011, 11:50 PM
|
#3
|
|
LQ Newbie
Registered: Sep 2011
Posts: 23
Original Poster
Rep: 
|
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?
|
|
|
|
11-29-2011, 06:47 AM
|
#4
|
|
Senior Member
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 14.0
Posts: 4,619
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:30 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|