Ubuntu Servers :: Switching From FreeBSD To Samba?
Jul 26, 2011
Sometime in the next few weeks the office I just started working in wants me to switch their file server over to Ubuntu, from FreeBSD. I am a little scared of doing this, seeing as how I came into this job with no documentation of the network/hardware that I will be primarily working with. Does anyone have any useful tips/links that would be relevant to my task? So far, I have copied over the following files from the FreeBSD server:
I'm using [URL] to help set up my server for windows file sharing. I accedently pressed unix file sharing and now i can switch it to windows file sharing.it would be fine to uninstall the Unix file sharing and replace it with the windows counterpart.I have Ubuntu desktop 10.04 (because i keep getting an error with the kernel with the server editions)
I wish to prevent the samba messages (mainly nmbd and winbindd) from appearing in the system log (/var/log/messages). I want to allow samba logging to the standard samba logfiles, but prevent the syslog getting clogged up by samba. I added syslog = 0 to smb.conf and reloaded the config but the messages were still appearing. I also tried the following (and restarted the syslog via /sbin/service syslog restart) # Suppress messages from samba.
For interests sake the messages I'm getting are below (I'm not concerned about the messages themselves, I can chase them up at my leisure via the samba logs) Mar 18 09:58:29 SERVER nmbd[3808]: query_name_response: Multiple (2) responses received for a query on subnet xx.yy.z.zz for name DOMAIN<1d>. Mar 18 09:58:29 SERVER nmbd[3808]: This response was from IP xx.yy.z.zz, reporting an IP address of xx.yy.z.zz.
(Cross posting this from[URL]I am running an Ubuntu 10.04 server installation and I recently had to switch it from DHCP to static ip. I edited /etc/network/interfaces file and switched
"iface eth0 inet dhcp" to "iface eth0 inet static
[code]....
You'll notice the IPs are a little strange. This is because the sever is now on a special subnet dedicated to isolating specific servers. I also edited the resolv.conf file to include the proper DNS servers (including one of Google's just in case all hell broke lose).The problem is that, seemingly randomly, the machine will lose the ability to talk to the outside world. I know the machine is still up, but it acts like it has no networking at all.
I think part of the issue is that there is no DHCP running to this subnet (nor will there be) and the dhclient seems to still be running on occasion which causes some sort of conflict (no idea what) which causes networking to die. I cannot, however, remove the dhcp3-client package as it also causes the ubuntu-minimal package to be removed and that would be bad.
this is my output when I try to compile samba 4.0.0 alpha 7 in Ubuntu using the spec file provided in the samba packages:
bin/mergedobj/samba-util.o: In function `file_lines_parse': (.text+0x595c): undefined reference to `_talloc_steal' bin/mergedobj/samba-util.o: In function `data_blob_talloc_named':[code]....
Just a quick question as I re-familiarize myself with apt-get again. So far, have had no luck finding what I am trying to do (back to the man page) Basically, after doing a 'apt-get update' command, was it possible to see what packages have newer versions and can be upgraded?
For example, I am working with a system that has BASE 1.4.3 installed, and I know there is a newer version out (1.4.4), but want to make sure that is in the repository. Does apt-get have something similar to portmaster in FreeBSD? Where it tells you what version you have installed, and what version is available to download?
I want to install FreeBSD (PC-BSD) alongside Ubuntu 10.04 and Windows 7. I do not have a CD or a DVD or a USB key to burn the .iso, so I was thinking instead of using Grub2 to launch it.
I created an empty partition where FreeBSD will be installed (see screnshot below).
Now, where should I locate the .iso file? On my root partition? On my home partition? On the new partition (ZFS formatted)? Does it matter?
How should I set up my Grub2? I was thinking of adding this to /etc/grub.d/40_custom (if the partition where the .iso is located is /Home):
before debian started using grub2 it was very easy to specify a loader from another partition but since grub2 came out it's a lot more complicated, you can no longer edit a text document menu.list, is there an easy way to edit the grub2 boot-loader to boot FreeBSD operating system since it doesn't recognize it from update-grub
Earlier today, I tried to install FreeBSD. If anyone here has done this, I think I went wrong at the part where it asked if I wanted to edit the Master Boot Record. In any case, now when I turn the computer on, it boots into FreeBSD instead of into GRUB. Now I have no access to Ubuntu or Windows, and I have no internet on FreeBSD. How can I fix the MBR so that it boots into GRUB instead of FreeBSD? I want my Ubuntu back...
I don't want to have to download the kernel source and uncomment out CONFIG_UFS_FS_WRITE=yes and build a custom kernel ever time I update the kernel. Is there a better way? Like when Ubuntu.deb repositories claim a stable kernel is there an auto config script when installing from synaptic -or- aptitude? Like any way to add this one config opt to .deb kernel W/O building custom one from source?
I am going to install unix FreeBSD But someone told me you must installed it on primary partition. However I have Win 7 installed on laptop, others partition are logic so is it possible to create or change one unused partition as primary.
This is a humbling experience for a long time MS admin/tech.I am wanting to build a file server fr my home network. So, I downloaded and installed FreeBSD 8.1 last night.Wanting a more familiar interface, I downloaded and tried to install KDE. It loads and asks for language. Then I select "Install kubuntu".
The kubuntu logo and a progress meter pop up for a while. Eventually the screen goes black and nothing else happens. I have to reboot. If I take the CD out it boots to FreeBSD.Am I missing something? Kubuntu never asks anything regarding partitioning. Is FreeBSD an os like DOS and kubuntu a GUI like Win 3.1 or is kubuntu more like XP with a GUI built in to the os? If it is the latter, how do I get it to kill the FreeBSD install?"Try kubuntu without installing" does the same thing.
wanted to try out FreeBSD but I want to boot it from an ISO. I put my iso file on my first hd 3rd partition in /boot/iso/FreeBSD-8.1-RELEASE-amd64-dvd1.iso. But I can't seem find anything to boot freebsd this way. Is it possible and if so how. This is what I kinda got but its not working.
i have recently installed freebsd 8.0 after using ubuntu for about a year and a half. I have installed X11 and have tried to configure it as best as i can. when i run startx i just get a black and green screen.i configured the Monitor and Screen section of my xorg.config file as follows
Its my third week struggling to install mrtg on freebsd 8.0. I will be happy if someone can provide me with a HOW TO documentation on the issue. i would like to monitor my routers(bandwidth utilisation).
I've just installed FreeBSD 8.1 on /dev/sda4 (FreeBSD slice), without installing the boot loader from FreeBSD (I've selected None when prompted for boot loader in sysinstall). Now I want to use my existing Grub2 from already installed Ubuntu 10.10 to boot FreeBSD also.
After some reading, I've added to the end of /etc/grub.d/40_custom:
After running sudo update-grub, grup.cfg file shows my new entry. The problem is that after restart, I don't see the new entry in the grub menu.
Another question, If i used chainloader +1, that means I need to have the FreeBSD bootloader installed also on /dev/sda4 right? For chainloading booloaders?
I didn't get to that step, I first want to see the entry in the menu.
Any idea what I might be missing/misdoing? (I also checked for blank spaces in the menuentry like the wiki for grub2 says)
I recently got myself a new hard drive and I want to use it as my Samba share. I just want the hard drive itself to store the files.I know once I get it set up it should be easy to tell Samba that's where I want it to store and look for files.Problem is I need to make it so the computer can use the hard drive first. I have already installed the drive. I just don't know how to get Ubuntu to recognize the drive.I also need to create a partition that uses the whole drive and format it to ext3, then I need to mount it somewhere for Samba to use.This would be easy to do with Ubuntu desktop, but I am using Ubuntu server and I don't know how to do it. I have read that I will need to use fdisk, but the post wasn't to clear on what to do.
I had 40 gb of unused space at the beginning of my drive, then a 15gb primary ext3 partition for /, then a 100GB ext4 primary partition for /home, then a 4 gb extended partition that contains two 2 gb swap partitions.
I installed FreeBSD on the empty space at the beginning of the drive. The slice I created did not start on the first block. There were a few MB of free space before and after it.
After the installation finished (with no errors), grub would hang on the "Grub loading/Welcome to Grub screen". I booted a squeeze CD in rescue mode and reinstalled grub to /dev/sda. After rebooting, Grub still hangs at the same place.
I booted a live CD and checked the output of fdisk. For each of my partitions, it says "Partition does not end on cylinder boundary". I am hoping that whatever happened to my disk is not recoverable. Fortunately, I backed up some essential files beforehand, but I still don't really want to lose my old squeeze system.
Being new to Linux I am not sure of which Virtual software to use in my Opensuse Linux? I want to try FreeBSD again but I want to use some type of Virtual Machine .
this is my first post ever, so sorry if i'm not very descriptive. I just installed Ubuntu Server 9.10 x86 and I cannot use the net command that comes with Samba
I'm having problems with Ubuntu 10.04 samba PDC and windows7. I have a test network that I'm using to evauate 10.04 before I use it in production and have come across an intriguing problem with Windows 7. I have a clean brand-new installed Windows 7 ultimate and I have no problems joining the domain. (Standard registry modifications made). I can logon the window 7 box locally without a problem however when I try to logon using the domain the Windows 7 box accepts my password and start to load the user profile, at the point where the desktop would appear message is displayed to say "logging off" and returns me to logon screen.
What I have done to date: -- wiped Windows 7 box and reinstalled Wiped user profiles both local and on PDC (including all user information) Performed a complete uninstall of Samba (including TDB's) and reinstalled a fresh copy of Samba and manually edited the smb.conf is a minimum basic PDC I have no problems with Windows XP (SP3) box at any stage
For about 15 minutes or so after login on my FreeBSD 8.1 (yes, I know its not Linux) the hard drive goes absolutely crazy with activity. So much so that it takes a while for the ls command to read the contents of the directory. But after the 15 minutes or so the disk activity calms down and returns to normal.
Im thinking it is some sort of fsck command, but I am unsure where or how to disable it. The hard drive is connected via sata to the mobo. Im not quite sure what other info I can post to find out what is going on. Just tell me what other info is needed and Ill post it up.
I'm using ubuntu 9.10 x86 server edition and I switched to Ubuntu from Debian. The only problem I have now relates my Samba server. I installed Samba v 3.4.0 and suddently my network connection (eth0) goes down. I have never seen that before. This issue only happens when samba is running.