Unable to install Samba on VMWare running Ubuntu 10.10 as guest OS & XP as host
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?
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
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.
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?
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.
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...
|All times are GMT -5. The time now is 05:38 AM.|