Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Ubuntu 12.04: samba is not installed successfully with the 3.0 standalone installer. #31

Closed
trevorwagner opened this issue May 13, 2014 · 4 comments

Comments

@trevorwagner
Copy link

The user guide outlines that it should be possible for users to access an SMB share on the NetSUS server.

Under Linux, a samba server requires smbd. In Ubuntu, this requires that the package samba be installed.

When the current 3.0 standalone installer (the coppy of the installer linked to from the front page) is run under Ubuntu LTS 12.04 server, however, samba does not appear to be installed as expected.

Steps to Reproduce

  1. Start with a machine running a clean installation of Ubuntu LTS 12.04 Server. Make sure all of the packages are updated with apt-get.
  2. On the clean Ubuntu machine from step 1, run the NetSUS 3.0 standalone installer linked to from the front page of this project.
  3. Attempt to locate samba. I did this by running $ dpkg-query -l samba. If samba is not installed, this command returns an error message that no packages matching samba were found; otherwise, it returns name, version number, description, and other information for the currently-installed version of the samba package. Another easy way to do this is to look at /etc/smb: on a clean system this folder should exist only if samba is installed.

After running the installer, it is not possible to locate samba using either of the methods outlined in step 3.

Notes

I'm only reproducing this in Ubuntu 12.04. I'm not reproducing it in Ubuntu LTS 10.04 Server.

I cannot test this in an installer from a copy of NetSUS cloned from this repository (last checkin 152370d) due to #28.

My test machines are VirtualBox VMs, on a host running under OS X 10.9.2.

@trevorwagner
Copy link
Author

Here is a copy of /var/appliance/logs/applianceinstaller.log, created by the 3.0 standalone installer when run under Ubuntu 12.04 LTS Server:

[2014-05-13 00:27:04]: Starting the NetSUS Installation
[2014-05-13 00:27:04]: Checking installation requirements...
[2014-05-13 00:27:04]: Checking for a supported OS...
[2014-05-13 00:27:04]:
[2014-05-13 00:27:04]: Checking for a 64-bit OS...
[2014-05-13 00:27:04]: OK
[2014-05-13 00:27:04]: Passed all requirements checking!
[2014-05-13 00:27:08]: Installing...
[2014-05-13 00:27:08]: Starting Web Application Installation
[2014-05-13 00:27:08]: Restarting apache...
[2014-05-13 00:27:08]: OK
[2014-05-13 00:27:08]: Finished deploying the appliance web application
[2014-05-13 00:27:08]: Starting NetBoot Installation
dhcpd: no process found
[2014-05-13 00:27:09]: OK
[2014-05-13 00:27:09]: Finished deploying NetBoot
[2014-05-13 00:27:09]: Starting SUS Installation
[2014-05-13 00:27:09]: OK
[2014-05-13 00:27:09]: Finished deploying the appliance web application
[2014-05-13 00:27:09]:
[2014-05-13 00:27:09]: The NetSUS has been installed.
[2014-05-13 00:27:09]: If you are upgrading NetSUS, you can simply start using it.

@jschripsema
Copy link

Hello,

I'm not sure why you're having issues with things not being installed that should be being installed by the installer. Obviously some more error checking is in order.

You're not using a proxy, so that rules that out. I'm assuming you have an active, valid, internet connection before installing. To check, before running the installer, can you just run yum update? Also, I'm not currently able to duplicate any of the issues you're having. Can you let me know how you're doing your base install? Are you choosing to install the minimum OS? Minimal Server?

Thanks!

@jschripsema
Copy link

Just to rule it out, since I'm not using VirtualBox, is it possible to try on another physical machine?

Are you making sure to install the VirtualBox drivers/tools before running the installer?

@jschripsema
Copy link

Unable to reproduce. Maybe your install log will give some insight as to why your install failed. /var/log/apt/history.log
Please make sure you're installing the drivers/tools and restarting after package upgrading. Also, you may have a network issue causing downloads to fail.

Steps Used to Attempt to Reproduce:

  1. Install minimal Ubuntu 12.04. No extra packages, just base install.
  2. Resynchronize package index. sudo apt-get update
  3. Install Drivers/Tools - Actual steps will vary, but make sure you're installing your hypervisor specific tools or physical hardware device drivers.
    • Install Parallels Tools (I'm testing with Parallels, but other hypervisors have similar options)
    • sudo mount /dev/cdrom /media
    • sudo /media/install
    • Restart
  4. Install newest versions of installed packages. sudo apt-get upgrade
  5. Restart. sudo shutdown -r now
  6. Install OpenSSH to allow transfer of installer. sudo apt-get install openssh-client openssh-server
  7. Use scp to transfer installer from a different computer. scp NetSUSInstaller.run user@ip-address:~/
  8. Run installer sudo ~/NetSUSInstaller.run
  9. Installer finishes without errors. Accessible using web interface.
  10. dpkg-query -l samba
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                         Version                      Description
+++-============================-============================-================================================
ii  samba                        2:3.6.3-2ubuntu2.10          SMB/CIFS file, print, and login server for Unix

@jamf jamf closed this as completed Oct 27, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants