Re: replicating /etc/passwd on a failover machine

2006-12-20 Thread Robin Vley

Kirk Strauser wrote:


i doubt that just copying over /etc/passwd and master.passwd will work .
You'd also need to pick up /etc/{s,}pwd.db - the compiled versions of those 
files.


I just read in another post that you can compile them using pwd_mkdb, 
that was news for me. I just want to confirm that just copying (rsyncing 
in our case) the .db files works just fine.


We do it to a mirror of our webhosting platform, all logins work just 
fine on the mirrored machine.


--
Robin Vley
F/X Services Managed Hosting
http://www.fx-services.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Undelete for UFS2?

2006-08-12 Thread Robin Vley

Martin Tournoij wrote:

Martin,

Snapshots really aren't that complicated, take a look at the handbook 
entry:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/snapshots.html


Quite handy, didn't even know this existed for FBSD. Started using it 
right away, with the freebsd-snapshot port. Always good to have an extra 
backup against /etc changes that didn't work out THAT well afterall. :)


/Robin

--
Robin Vley
F/X Services Managed Hosting
http://www.fx-services.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help! FreeBSD Webserver with two NICs

2006-05-10 Thread Robin Vley

Maan Jee wrote:

Hi!


At present, I have a 100/10 Mbps internet connection
(fiber-optics) but with this connection I cannot get Fixed IP for the
webserver.


Sweet. Why-O-Why won't they give you a static IP on that line? :)
Here (Sweden) we have full 100/100mbit to some appartment buildings WITH 
fixed IP. But basicly you can only pull/push 1mbit, since there is a 
300GB traffic limit imposed. :)



So, I came to an idea that if I use two NICs, one NIC bounded to 100/10
Mbps to serve the pages and one which would be bound with 24/1 Mbps
connection with Fixed-IP to litsen the requests

my Question is that is it possible and if so, how?


Not possible the easy way: you can't reply to a request from a different 
IP than the one the request was sent to due to TCP socket limitations. 
The clients expects an answer from IP x on the socket it opened, but 
instead receives "unknown" data on a new socket coming from IP Y.


To get this working you would need a third fixed IP/machine somewhere 
and do tunneling with two channels combined. That way your inbound 
traffic would go via the fixed IP and the outbound via the big pipe.


Giving me an idea right away: if you have any such point available close 
by with a fixed IP (some machine somewhere in a rack with good 
bandwidth): tunnel it to your home. But if you would have that, you 
wouldn't have the webserver at home anyway, would you? :)


--
Robin Vley
F/X Services Managed Hosting
http://www.fx-services.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cheap FreeBSD hosting?

2006-03-28 Thread Robin Vley

Scott I. Remick wrote:

Scott,


Hey Tim... my needs are the reverse: lots of storage, low bandwidth. I'm
already at 2.5GB and slowly growing, but average 200-300MB/month transfer.
Unfortunately I don't see a plan on your site that fits my needs, but


I never saw any requirement for WHERE this machine should be located, 
but we offer webhosting on FreeBSD machines (CPanel control panel). Our 
machines are located in Amsterdam. The storage is not the biggest 
problem for us, we can always work out some custom package for that if 
you're interested in non-US locations.


http://www.fx-services.com

--
Robin Vley
F/X Services Managed Hosting
http://www.fx-services.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Recommended Web Mail software

2006-03-01 Thread Robin Vley

[EMAIL PROTECTED] wrote:

Wayne,

Was wondering what you recommend.  We have a small 5 person user base on 
a [fairly] screamin' new Dell box, so performance isn't an issue.  Just 
easy to use, reliable, basic, low maintenance web mail.  I'm leaning 
toward  SquirrelMail, as I set it up on a test server a couple years ago 
and was pleased.  Any other suggestions?


Squirrelmail works really well, and has as a plus that it has a fairly 
low-bandwidth interface. We're running Horde, Neomail and Squirrelmail 
for our customers and I got used to Horde myself. It's a bit heavier and 
comes with tons of stuff that has nothing to do with the basic webmail 
requirement, but it's working pretty well. Not much updates. I remember 
Squirrelmail had some security updates now and then, but this is more 
than a year ago I'm talking.


I would definately go for Squirrelmail if you want simple, stable and 
easy to use Webmail. If you want something more advanced and nicer 
looking, go for Horde.


---
Robin Vley
F/X Services Managed Hosting
http://www.fx-services.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 3Ware Escalade Issues

2006-02-22 Thread Robin Vley

Don O'Neil wrote:

Don,


They're Maxtor DiamondMax Plus 9 6Y250P0 250 GB PATA drives... Never had a
problem with that particular drive until this batch. 


I used the 80, 120 and 160GB version of that series in some of my 
servers built 2 years ago. Out of the 18 disks originally put in, I have 
4 broken ones on my desk now. I'm not very happy with the overal 
performance when it comes to reliability of that series Maxtor.



Can anyone suggest some good 250GB PATA drives for me to use? I might as
well swap them all out since I'm starting over. The 6000 series Escalade
card I'm using doesn't support anything more than 250 GB.


I swapped the broken Maxtors with Seagate disks. I'm using 3ware 7500-4 
for the PATA. Forgot what the SATA 3ware controller was, but so far no 
problem with that one (also on Maxtor disks).


/Robin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mysterious reboot

2006-02-22 Thread Robin Vley

Robert Huff wrote:

Robert,

> I have a -CURRENT machine - P4, 512mb RAM, SCSI disks,
> de-driver ethernet, all mainstream hardware - that has this problem.
> Since early last year (maybe longer) it will occasionally reboot.


Actually, I had it on three machines now. First on a P4 I leased in the 
US. Then on the dual Athlon MP with 3ware raid that I own and THEN on 
the SuperMicro machine I currently use. After the first reboot on that 
machine (8 days ago now) I did some things:


- removed all monitoring done by CPanel (except the cpanel monitor itself)
- Upped the maxfiles and vnodes a bit
- Removed an ipfw rule that counted everything that goes out and comes 
in. I used this for MRTG graphing, but now I changed to SNMP polling on 
a seperate cacti machine.


So far it's 8 days (a NEW record for my FreeBSD machines, woopie), knock 
 knock. It's possible it's one of the things above that did the trick, 
or that it's just a few more days untill the next reboot. We'll see.


> No warning, no panic, no core-dump, just - bang.  If I was lucky it


Right. Same here, on all machines.

> After an update in October (??), things slowly got better;
> several further updates and I haven't seen it in weeks.


I'll keep an eye on it too. Hope it's working like it should. If not 
it's time to start looking into some way of dumping run data or doing 
some serial logging or so.




/Robin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mysterious reboot

2006-02-16 Thread Robin Vley

Mike Loiterman wrote:

Mike, Wouter,


Before I make these changes, I would like to just get a second opinion from
the list about their value and what impact, if any, they might have on
system stability, compatibility, etc.


I don't know really how to set the maxfiles parameter (mine is at 32000 
for now on a web/mail server). However, as far as I understand the


net.inet.tcp.delayed_ack

is not something you want to set at 0 normally. This is part of the TCP 
system of flow control. By not delaying ACKs high speed connections will 
not be fully utilized. However, like someone else already answered: it's 
kind of hard to say if this is a good idea for YOUR setup. Maybe Wouter 
can explain why he came with the tip about that one? Maybe there is a 
good reason to it. :)


My machine also has trouble with sudden reboots. Much quicker than weeks 
though, I barely hold out for 5 days. So I'm reading up on this sort of 
cases now, hence my interest in this thread. So far I've looked at the 
maxfiles (increased it a little), and kern.maxvnodes (increased it to 
100.000, my vfs.vnodes was at 91000 at the time). My trouble is kind of 
exactly the same as I read in the original messaage: the result is like 
someone pulls the plug and puts it back in. No logs, no dumps, no 
nothing. And completely normal operation right before the reboot. Pretty 
annoying. I've had it on 2 machines, different hardware so far.


First I expected hardware, but now I moved everything to a freshly 
installed machine with hardware that I'm 100% sure of it's OK. So it 
must be something else then, right? :)


/Robin

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"