|
H110Hawk posted:jail(8) and Jails are awesome, as is FreeBSD's documentation.
|
# ¿ Mar 15, 2008 20:28 |
|
|
# ¿ May 14, 2024 17:38 |
|
Here is something that I have been wondering for a little while now. Why is Sendmail the default mail server? My impression has been that people generally don't like it and replace it with Postfix or Qmail or something else. Is it a matter of ubiquity and Sendmail really still is king, or is there just not enough interest in switching to something else? Or do most people prefer to use Sendmail and my impression is wrong?
|
# ¿ Mar 18, 2008 19:47 |
|
My (small) office wants to have a secondary web server sitting on the shelf in case the primary server goes down for the count. When it does this secondary server will be brought online and carry the load until the primary gets repaired or replaced. Long story short, running them in parallel and continously synced so one will automatically pick up when the other fails would be ideal, but isn't going to happen. To cut down as much as possible on the down time until backups can be restored to the secondary server and it can assume web serving duties I was thinking that every hour I would create a snapshot of the data partition and save it to a removable hard drive, where all of the backups are stored. Then, when the time comes, I would stick this removable drive into the secondary server and copy over everything to it's data partition. The partitions would be the same size and the servers set up identically. It seems like a fairly straight forward procedure, but is there anything wrong with my thinking? What would be the best way of restoring from a snapshot, simply copy everything over? Just cp or should I look into dd or something else? Would dd maintain permissions? I know it isn't ideal, but it is what it is and I am doing the best with what I have. Any help you offer is greatly appreciated.
|
# ¿ Jul 10, 2008 15:57 |
|
Pavol Paska posted:Are you running a database or anything volatile like that on the server? Ah, good point, I forgot to mention this. The data partition will be holding ezjails and within some of those jails MySQL will be running. I figured that I would cron a mysqldump to happen within the jails before the snapshot was created.
|
# ¿ Jul 10, 2008 17:41 |
|
porkface posted:In my experience, over time, your server configurations are going to get out of synch and you'll have an awful lot of things to remember to do under pressure and in a hurry when trying to get the backup server online. Yeah, that's a fear of mine, but in theory it shouldn't be too bad. Since the jail (data) partition will hold all of the jails which in turn hold their individual configurations, copying one partition over the other should keep all of the jail configs in sync. Therefore, it should just be the host configs that I would need to worry about, but over the last few years I can't think of anything specific that I have had to change on the host so when these changes do occur it should be infrequent enough that it won't be problematic to update the other server.
|
# ¿ Jul 10, 2008 20:06 |
|
I am trying to increase the number of semaphores for postgres and can not figure it out. I am running FreeBSD 6.1. In /boot/loader.conf I have 'kern.ipc.semmns=120' but when I check it after a reboot sysctl is still reporting 60. I am not even sure loader.conf is being read, even though loader.rc has both 'include /boot/loader.4th' and 'start.' I tried setting shmmax in loader.conf too, but that value didn't change either. Any thoughts? I only barely know what I am doing at this level.
|
# ¿ Mar 6, 2009 18:11 |
|
feld posted:I'm not a super BSD nerd but can't this be changed on the fly? I know you can in Linuxland and I thought these settings were modifiable on demand i most *nix OSes these days. Some of them can, like shmmax but others lik semmns have to be set at boot.
|
# ¿ Mar 6, 2009 19:29 |
|
complex posted:This probably doesn't help you, but I put Yeah, I don't think /boot/loader.conf is being read. For kicks I broke the rules and changed /boot/defaults/loader.conf and that did the trick. I would like to do it the right way, but at least it works now. Thanks for testing that though.
|
# ¿ Mar 6, 2009 20:30 |
|
I have inherited a few web servers and also have the pleasure of building out brand spanking new ones. It looks like Apache was installed using ports, and I want to keep the same config. If I 'make config' in /usr/ports/www/apache22 will the preselected options be the ones that were used last and not the defaults?
|
# ¿ May 20, 2009 16:44 |
|
I am beginning to get fed up with Made2Own and have started looking at Slicehost based on it's great reputation but they do not offer a FreeBSD option. Is there something like Slicehost that offers FreeBSD and has similar packages and prices (256M RAM, 10G Storage, 100G BW for $20/mo)?
|
# ¿ Aug 12, 2009 23:23 |
|
greenskeleton posted:http://www.rootbsd.net/virtual-hosting/ Nice, I haven't been able to find anything bad about them yet. Can you make snapshots of your system and roll back to that snapshot after you bork it up?
|
# ¿ Aug 13, 2009 14:00 |
|
I am going to be rebuilding some aging and broken web/database servers (Apache 2/PHP 5.3, MySQL 5) with Samba/Active Directory authentication as virtual machines (VMware ESXi 4) later this year/early next. I understand that FreeBSD 8 is right around the corner and was wondering what your thoughts on it's use are. Conventional wisdom for software is to never use a release until it's first update, but I was wondering if there are any reasons why I should consider using 8. Or, for that matter, why I should specifically avoid it. 7.2 is the other option.
SmirkingJack fucked around with this message at 16:00 on Oct 7, 2009 |
# ¿ Oct 7, 2009 15:48 |
|
Bob Morales posted:Do you care about any of the following: I saw that page before I posted, but I don't know what most of it means.
|
# ¿ Oct 8, 2009 12:01 |
|
http://forums.freebsd.org/showthread.php?t=8593 It sure would be nice if FreeBSD's release schedule was in any way shape or form reliable, or at least updated to reflect whatever the current time frame is estimated to be.
|
# ¿ Nov 23, 2009 17:01 |
|
What is the preferred DNS server? Bind? djbdns? Something else? Also, is there a recommended Idiot's Guide to DNS on FreeBSD tutorial website or book? I know almost nothing about DNS and am going to dive in.
|
# ¿ May 25, 2010 13:26 |
|
Bob Morales posted:http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html Ah, yeah, I should have mentioned I saw that already.
|
# ¿ May 25, 2010 18:59 |
|
Cpt.Wacky posted:Bind is pretty much standard. What does that handbook section not explain? What do you want to do with DNS? I was mostly looking for software suggestions. I didn't look at the handbook too closely since it looked like a general DNS guide and more of a Bind how-to, but I went back and set it up. As it turns out, it was far less scary and complicated than I thought it would be. Thanks, everyone, for the suggestions!
|
# ¿ May 28, 2010 15:08 |
|
Only Shallow posted:http://cooltrainer.org/projects/freebsd-kirkwood/ Dockstar ordered, can't wait to try it.
|
# ¿ Jul 9, 2010 16:38 |
|
Well, this is probably heretical but I'll ask anyway. At some point I'll end up moving to a VPS and rootbsd.com looks pretty good but I am also considering a Linux host since there are many more options. Is there a known "Linux for BSD folk" (Ubuntu specifically) guide out there that points out notable differences (run levels what) and explains the Linux way of doing things?
|
# ¿ Jul 21, 2010 00:50 |
|
Bob Morales posted:Coming from BSD, you'll get an even more twisted view of things by using Ubuntu. ShizCakes posted:I think you'll be happier with Debian than Ubuntu (Ubuntu is based on Debian, but Debian is cleaner and more 'standard'). Underflow posted:Slackware will make you feel more at home than the fancier distributions. It has most of its stuff in all the old familiar places, and shares that 'unbreakable' feel you get with a good Unix. Very easy to maintain too. Well, I am targeting Ubuntu mostly because of the sheer ubiquity and also because it is the distro I have the most experience with. I've toyed with it off and on since it came out so I'm not completely unfamiliar with it. It's just that my experience is minimal and as a desktop, though I do remember it does something weird with Apache.
|
# ¿ Jul 23, 2010 01:55 |
|
Only Shallow posted:http://cooltrainer.org/projects/freebsd-kirkwood/ Well, I gave it a shot but I think something went wrong. When I rebooted it was blinking orange/amber/yellow/ so I rebooted it again and it started blinking green, and I couldn't ping or ssh into it. I could bring up the dockstar webpage, but couldn't change any of the network/security settings. I rebooted it again, and it's back to blinking orange. [Edit: After a while it stops blinking orange and starts blinking green, and I see activity on the switch, but I still can't ping or SSH] [Edit 2: Actually, every time I reboot it it blinks green, then orange, then green again] This is what I did... Imaging the USB drive: code:
code:
SmirkingJack fucked around with this message at 21:21 on Jul 26, 2010 |
# ¿ Jul 26, 2010 20:28 |
|
Only Shallow posted:In my experience, the LED blinks amber when it's in Linux and you have the UFS drive inserted. I don't think it can read it, but it's trying to. The problem is that I can't SSH into it
|
# ¿ Aug 5, 2010 13:40 |
|
Only Shallow posted:Try 8.1-RELEASE It might have gotten a new address, but it's pretty unlikely. I am trying to set it up here at work so I'll ask the network guys, though I should just take it home and play with it there.
|
# ¿ Aug 9, 2010 14:21 |
|
Ok, this is driving me crazy. I have two FreeBSD 8.0 webservers, w1.acme.com (which serves the acme.com website) and w2.acme.com (has nothing to do with the acme.com website, it serves subdomains). I have an Exchange server than handles my organizations acme.com mail. The mail server works perfectly, and w2.acme.com can send mail to acme.com accounts. w1.acme.com, however, thinks that it is responsible for the acme.com accounts and delivers it locally. Mail to other domains is sent without a problem. Any ideas on where to look to solve this? The MX records are correct and resolv.conf is set to use the DNS server responsible for the acme.com zone, it should know that the mail server is elsewhere, like w2.acme.com does. There is an A record for acme.come that points to w1.acme.come's IP, but that shouldn't matter. These servers are basically stock, I have not messed with the sendmail configs at all and there is no local DNS service running.
|
# ¿ Dec 6, 2010 21:59 |
|
falz posted:A records will be followed for mail delivery if no MX record exists. If I were to send mail to foo@w1.acme.com and there's no MX record, mail servers would send it to that server whose A is w1.acme.com. Thanks for the reply. It is sendmail, completely stock as FreeBSD installed it. If I do an nslookup on acme.com, it provides the correct MX record for the Exchange SMTP server). I created the mailertable and restarted sendmail but that did not make a difference. Emails sent to user@w1.acme.com and user@acme.com are both going to the same /var/mail/user file. ARGH!
|
# ¿ Dec 7, 2010 17:42 |
|
Bob Morales posted:Does the Windows server have anything in DNS that references the other server? Nope. Everything worked perfectly until about a month and a half ago. I strongly suspect that it is DNS related, even though the OS and sendmail see the correct MX records. Thanks for the suggestion though, I appreciate it! EvilMoFo posted:this suggests you edit the sendmail config and add I think that did it! Mail is coming though!
|
# ¿ Dec 7, 2010 21:49 |
|
|
# ¿ May 14, 2024 17:38 |
|
complex posted:Highly unlikely. There haven't even been any RCs released. Have they ever come close to hitting their deadlines?
|
# ¿ Oct 14, 2011 22:04 |