Unknown IP address shows FreeBSD server MAC in arp cache

2013-04-24 Thread Kaya Saman
Hi,

I'm experiencing a weird problem and I have no idea where to begin with
this one!


Basically what's happening is that I did a host scan from my NetBSD box
running Cacti in order to 'Auto Discover' machines on my network; a php
script on the Cacti server added an IP address xxx.xxx.1.52.

Seeing this as odd since I haven't configured any machine with this IP
as it's in the DHCP range on my network and there aren't any machines
running on DHCP on the particular VLAN either as everything is
statically configured; I proceeded to check the arp cache of my NetBSD
box which pointed to the MAC address of my FreeBSD server?

Having a look round my network and servers each ping attempt to
xxx.xxx.1.52 gives me a response and in the arp cache of each
machine/device shows the FreeBSD server.

Long ago I may have had this machine on xxx.xxx.1.52 but I can't recall
and all settings in /etc/rc.conf for interfaces and Jails are fine and
consistent with my Network Spec. My network has also had a massive
overhaul since then as I've changed switches and router in the meantime
too

I have thought about arp poisoning but then again no other machine is
connected to my network that I don't know about and since it's a home
network there's really only me connected to it. Also I'm running OpenBSD
as a firewall/router gateway which I've also checked thoroughly
including Packet Filter and haven't found any issues.


I also thought about RARP and bootparamd since I'm running a bunch of
Sun SPARC systems in which I NetBooted but nothing on that front either
showed any result. I additionally have checked the /etc/hosts files of
all my systems and even my local DNS db files but nothing shows
xxx.xxx.1.52 at all.


The BSD version that I'm running on my FreeBSD server is 8.2 x64.


Would anyone be able to help me out with this one?


Basically why is a rogue or unknown IP address pointing to my FreeBSD
box's NIC?


Regards,


Kaya
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Fwd: Unknown IP address shows FreeBSD server MAC in arp cache

2013-04-24 Thread Kaya Saman
Well I managed to find the answer!!


Scanning through /etc/defaults/rc.conf I noticed this:

dhclient_program=/sbin/dhclient   # Path to dhcp client program.
dhclient_flags=   # Extra flags to pass to dhcp client.


Then I went back to check my DHCP server's log files and indeed a DHCP
request came through from the server even though the IP's are all
statically configured on it.

Now all I have to do is tell the system not to use the dhclient
program and then all will be sorted :-)


Few.


Regards,


Kaya

 Original Message 
Subject:Unknown IP address shows FreeBSD server MAC in arp cache
Date:   Thu, 25 Apr 2013 02:52:21 +0100
From:   Kaya Saman kayasa...@gmail.com
To: freebsd-questions@freebsd.org



Hi,

I'm experiencing a weird problem and I have no idea where to begin with
this one!


Basically what's happening is that I did a host scan from my NetBSD box
running Cacti in order to 'Auto Discover' machines on my network; a php
script on the Cacti server added an IP address xxx.xxx.1.52.

Seeing this as odd since I haven't configured any machine with this IP
as it's in the DHCP range on my network and there aren't any machines
running on DHCP on the particular VLAN either as everything is
statically configured; I proceeded to check the arp cache of my NetBSD
box which pointed to the MAC address of my FreeBSD server?

Having a look round my network and servers each ping attempt to
xxx.xxx.1.52 gives me a response and in the arp cache of each
machine/device shows the FreeBSD server.

Long ago I may have had this machine on xxx.xxx.1.52 but I can't recall
and all settings in /etc/rc.conf for interfaces and Jails are fine and
consistent with my Network Spec. My network has also had a massive
overhaul since then as I've changed switches and router in the meantime
too

I have thought about arp poisoning but then again no other machine is
connected to my network that I don't know about and since it's a home
network there's really only me connected to it. Also I'm running OpenBSD
as a firewall/router gateway which I've also checked thoroughly
including Packet Filter and haven't found any issues.


I also thought about RARP and bootparamd since I'm running a bunch of
Sun SPARC systems in which I NetBooted but nothing on that front either
showed any result. I additionally have checked the /etc/hosts files of
all my systems and even my local DNS db files but nothing shows
xxx.xxx.1.52 at all.


The BSD version that I'm running on my FreeBSD server is 8.2 x64.


Would anyone be able to help me out with this one?


Basically why is a rogue or unknown IP address pointing to my FreeBSD
box's NIC?


Regards,


Kaya



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Virtual Box on FreeBSD Server

2013-04-22 Thread Sergio de Almeida Lenzi
I use Virtualbox and FreeBSD 9, or 10 as the base
OS and the windows 2003server, 2008 server, running
in the virtualbox, 

My cpu is an AMD8120 8cores with 16GB of memory,
the filesystem is in ZFS, 

I put 2Gb for each windows, and the system runs
confortable with 20 users in each windows machine.. (total of 40 users)

The boot (cold boot) for the 2003 server (32 bits) is about 10 seconds 
with an drive of 20GB and another of 400GB (in the virtualbox...) 
the NIC is configure with bridge, the FreeBSD gives address via
dhcp server...
both windows run with VboxHeadless   and are both 
enable terminal servers

Runs like a charm... 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Virtual Box on FreeBSD Server

2013-04-21 Thread Josh Beard
As others have said, you can run VirtualBox without X.  The command line
tools provided by VirtualBox are pretty comprehensive and straight-forward.
 To add to that, there's also phpVirtualBox:
https://code.google.com/p/phpvirtualbox/  that provides a nice web
interface to managing your VMs, though it appears the project is on pause
right now.  I actually have a few semi-production servers running under
VirtualBox on a Linux host, as I found far better disk performance there
for FreeBSD guests than under KVM.  Hopefully that changes soon, if it
hasn't already.


On Fri, Apr 19, 2013 at 6:37 AM, Bill Tillman btillma...@yahoo.com wrote:

 I've been looking into setting up some Linux servers but instead I'm
 thinking that I could use Virtual Box on my FreeBSD servers to do this. I
 would like some seasoned advice from others on the following before
 proceeding:

 1. As I understand it you can install Virtual Box from the ports
 collection. But then I see the instructions in the Handbook:

   To launch VirtualBox, type from a Xorg session:
 % VirtualBox
 So am I to assume the only way to run Virtual Box is to have Xorg
 installed and running on the FreeBSD server?  Which is a drag because my
 current FreeBSD servers are exactly that, servers, and do not have the
 fancy video cards, monitors, etc.. to run Xorg. Is there an alternative to
 running the interface from Xorg. I'm a command line fanatic when it comes
 to servers. Or would I be able to install Xvnc or something like that and
 run it from one of my Windows 7 machines which has all the fancy
 video capabilities?


 2. Once installed, I will be able to install something like Fedora or
 openSUSE? These will only be installed as server so I can run databases
 like MySQL in the Linux environment. The client I'm working for insists on
 using SUSE...no FreeBSD allowed. They think it's poison and are very biased
 on this so there's no talking them out of it. I need to gain experience
 using these databases on Linux, not FreeBSD.

 3. I'm going to buy a 1 TB SATA drive for this setup. It will be running
 on an AMD64 server with FreeBSD 9.x or whatever is the latest release as of
 this weekend.

 4. There is also a Plan 'B' to go the other way. Since I already have two
 i7 machines running Windows 7, perhaps it might be better to install the
 Windows version of Virtual Box or even VMWare and create my instances of
 Linux on one or even both of these machines.

 Any advice would be appreciated.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Virtual Box on FreeBSD Server

2013-04-19 Thread Bill Tillman
I've been looking into setting up some Linux servers but instead I'm thinking 
that I could use Virtual Box on my FreeBSD servers to do this. I would like 
some seasoned advice from others on the following before proceeding:

1. As I understand it you can install Virtual Box from the ports collection. 
But then I see the instructions in the Handbook:

      To launch VirtualBox, type from a Xorg session:
% VirtualBox
So am I to assume the only way to run Virtual Box is to have Xorg installed and 
running on the FreeBSD server?  Which is a drag because my current FreeBSD 
servers are exactly that, servers, and do not have the fancy video cards, 
monitors, etc.. to run Xorg. Is there an alternative to running the interface 
from Xorg. I'm a command line fanatic when it comes to servers. Or would I be 
able to install Xvnc or something like that and run it from one of my Windows 7 
machines which has all the fancy video capabilities?


2. Once installed, I will be able to install something like Fedora or openSUSE? 
These will only be installed as server so I can run databases like MySQL in the 
Linux environment. The client I'm working for insists on using SUSE...no 
FreeBSD allowed. They think it's poison and are very biased on this so there's 
no talking them out of it. I need to gain experience using these databases on 
Linux, not FreeBSD.

3. I'm going to buy a 1 TB SATA drive for this setup. It will be running on an 
AMD64 server with FreeBSD 9.x or whatever is the latest release as of this 
weekend.

4. There is also a Plan 'B' to go the other way. Since I already have two i7 
machines running Windows 7, perhaps it might be better to install the Windows 
version of Virtual Box or even VMWare and create my instances of Linux on one 
or even both of these machines.

Any advice would be appreciated.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Virtual Box on FreeBSD Server

2013-04-19 Thread Beeblebrox
Bill:
 1. As I understand it you can install Virtual Box from the ports
 collection.
That port or a good numbr of other VMWare apps exist in the ports tree - you
are not restricted to V-Box.

Starting the virtual machines is not xorg/login dependent. You can do this
for any service through rc.conf
So edit your /etc/rc.conf and insert whatevername_enable=YES to auto-start
the service. The whatevername can be found by looking in /etc/rc.d for
base-system included services or /usr/local/etc/rc.d for services installed
through ports.

 2. Once installed, I will be able to install something like Fedora or
 openSUSE?
Yes, that's the whole idea behind VM's. Since SQL is needed, you will then
have to install  configure the mysql package for fedore/suse inside the VM.
Installing mySQL from FreeBSD ports won't be of any good for the client's
requirements.

3. 9-stable should do the job

4. Do whatever you are comfortable with.

Finally: posted in an unrelated thread - you would have gotten better
answers by starting your own.

Good Luck.



-
10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3  
xorg.devel

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/sata-ata-device-permission-for-user-tp5803691p5805091.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Virtual Box on FreeBSD Server

2013-04-19 Thread dweimer

On 04/19/2013 7:37 am, Bill Tillman wrote:

I've been looking into setting up some Linux servers but instead I'm
thinking that I could use Virtual Box on my FreeBSD servers to do
this. I would like some seasoned advice from others on the following
before proceeding:

1. As I understand it you can install Virtual Box from the ports
collection. But then I see the instructions in the Handbook:

      To launch VirtualBox, type from a Xorg session:
% VirtualBox
So am I to assume the only way to run Virtual Box is to have Xorg
installed and running on the FreeBSD server?  Which is a drag because
my current FreeBSD servers are exactly that, servers, and do not have
the fancy video cards, monitors, etc.. to run Xorg. Is there an
alternative to running the interface from Xorg. I'm a command line
fanatic when it comes to servers. Or would I be able to install Xvnc
or something like that and run it from one of my Windows 7 machines
which has all the fancy video capabilities?


2. Once installed, I will be able to install something like Fedora or
openSUSE? These will only be installed as server so I can run
databases like MySQL in the Linux environment. The client I'm working
for insists on using SUSE...no FreeBSD allowed. They think it's poison
and are very biased on this so there's no talking them out of it. I
need to gain experience using these databases on Linux, not FreeBSD.

3. I'm going to buy a 1 TB SATA drive for this setup. It will be
running on an AMD64 server with FreeBSD 9.x or whatever is the latest
release as of this weekend.

4. There is also a Plan 'B' to go the other way. Since I already have
two i7 machines running Windows 7, perhaps it might be better to
install the Windows version of Virtual Box or even VMWare and create
my instances of Linux on one or even both of these machines.

Any advice would be appreciated.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org


I just setup a FreeBSD 9.1p2 server to run Virtual Box myself, you don't 
need X, you can launch machines with VBoxHeadless --startvm VM NAME. 
(using VNC to connect to the consoles of them)  Creating and configuring 
them takes a bit more, and as I am only on the second day of getting 
this figured out, I am not the best person to go more into detail.  I 
actually created my vms on windows moved them over to FreeBSD the server 
to run them.  It can all be done command line, just takes a while to 
learn.


I am running mine on a AMD Phenom(tm) II X6 1075T Processor, with 16G 
ram, so far I have had three VMs running at once, two FreeBSD 9.1p2 and 
one windows 2008r2, 3G ram assigned to each.  Performance so far has 
been great, I will have it down to one VM in a few days, as I will 
convert the two FreeBSD VMs into jails, and just be left with the 
windows 2008r2 vm.


the disks in my system are 2 Sata3 1TB volumes, with FreeBSD host 
installed on ZFS in mirrored zpool.  Also running the 2 FreeBSD VMs from 
this mirror as well, and the sytem drive of the Windows server.  The 
Windows server has a second data drive, that is mounted off 4 500MB 
SATA2 drives in a zfs raidz.  Disk performance is better than what I had 
testing this setup on Windows 7 with Virtual box, using a hardware raid 
10 on the 500MB drives and hardware mirror on the 1TB drives.


I intend to migrate the windows data drive from a virtual disk to an 
iSCSI disk pointed to the same 500MB raidz once I get the FreeBSD iSCSI 
target setup figured out.  This should hopefully get a little more speed 
out of the setup.


Unfortunately as this setup is still in its early stages, I can't attest 
to how stable it will be.


--
Thanks,
Dean E. Weimer
http://www.dweimer.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Virtual Box on FreeBSD Server

2013-04-19 Thread Walter Hurry
On Fri, 19 Apr 2013 05:37:11 -0700, Bill Tillman wrote:

 I've been looking into setting up some Linux servers but instead I'm
 thinking that I could use Virtual Box on my FreeBSD servers to do this.
 I would like some seasoned advice from others on the following before
 proceeding:
 
 1. As I understand it you can install Virtual Box from the ports
 collection. But then I see the instructions in the Handbook:
 
       To launch VirtualBox, type from a Xorg session:
 % VirtualBox So am I to assume the only way to run Virtual Box is to
 have Xorg installed and running on the FreeBSD server?  Which is a drag
 because my current FreeBSD servers are exactly that, servers, and do not
 have the fancy video cards, monitors, etc.. to run Xorg. Is there an
 alternative to running the interface from Xorg. I'm a command line
 fanatic when it comes to servers. Or would I be able to install Xvnc or
 something like that and run it from one of my Windows 7 machines which
 has all the fancy video capabilities?
 
 
 2. Once installed, I will be able to install something like Fedora or
 openSUSE? These will only be installed as server so I can run databases
 like MySQL in the Linux environment. The client I'm working for insists
 on using SUSE...no FreeBSD allowed. They think it's poison and are very
 biased on this so there's no talking them out of it. I need to gain
 experience using these databases on Linux, not FreeBSD.
 
 3. I'm going to buy a 1 TB SATA drive for this setup. It will be running
 on an AMD64 server with FreeBSD 9.x or whatever is the latest release as
 of this weekend.
 
 4. There is also a Plan 'B' to go the other way. Since I already have
 two i7 machines running Windows 7, perhaps it might be better to install
 the Windows version of Virtual Box or even VMWare and create my
 instances of Linux on one or even both of these machines.
 

1. No you don't need X -you can run headless on the server. The 
VirtualBox manual gives details of this.

2. Yes, that's the whole point of virtual machines.

3. 9.1 is fine.

4. No comment. I don't use Windows (and prefer to keep it that way); only 
Unix, FreeBSD and Linux.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Old FreeBSD server, raid issues.

2013-01-29 Thread Brent Clark

Good day

I have an old machine that has lost its raid (0/ stripe).
Im trying to fix this.

If I go

[root@torry /usr/home/bclark]# gstripe list
Geom name: st0
State: UP
Status: Total=3, Online=3
Type: AUTOMATIC
Stripesize: 65536
ID: 1006591079
Providers:
1. Name: stripe/st0
   Mediasize: 360102297600 (335G)
   Sectorsize: 512
   Stripesize: 65536
   Stripeoffset: 0
   Mode: r0w0e0
Consumers:
1. Name: ada0
   Mediasize: 120034123776 (111G)
   Sectorsize: 512
   Mode: r0w0e0
   Number: 0
2. Name: ada1
   Mediasize: 120034123776 (111G)
   Sectorsize: 512
   Mode: r0w0e0
   Number: 2
3. Name: ada4
   Mediasize: 120034123776 (111G)
   Sectorsize: 512
   Mode: r0w0e0
   Number: 1

I see 'State: UP'

if i:
[root@torry /usr/home/bclark]# mount -t ufs /dev/stripe/st0a /mnt/
mount: /dev/stripe/st0a: Invalid argument

[root@torry /usr/home/bclark]# fsck /dev/stripe/st0a
fsck: Could not determine filesystem type

[root@torry /usr/home/bclark]# fsck_ufs /dev/stripe/st0a
** /dev/stripe/st0a
Cannot find file system superblock
ioctl (GCINFO): Inappropriate ioctl for device
fsck_ufs: /dev/stripe/st0a: can't read disk label

If someone could help, it would be appreciated, of what the next step 
is, it would be appreciated.


Kind Regards
Brent Clark


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD server for sons tv shows. please help

2013-01-26 Thread Brent Clark

Good day

Im not it its because of a power failure or what, but for some reason my 
'download server', has lost its raid (0/ stripe).


Im trying to fix this, for the raid contains quite a few shows for my son.

If I go

[root@torry /usr/home/bclark]# gstripe list
Geom name: st0
State: UP
Status: Total=3, Online=3
Type: AUTOMATIC
Stripesize: 65536
ID: 1006591079
Providers:
1. Name: stripe/st0
   Mediasize: 360102297600 (335G)
   Sectorsize: 512
   Stripesize: 65536
   Stripeoffset: 0
   Mode: r0w0e0
Consumers:
1. Name: ada0
   Mediasize: 120034123776 (111G)
   Sectorsize: 512
   Mode: r0w0e0
   Number: 0
2. Name: ada1
   Mediasize: 120034123776 (111G)
   Sectorsize: 512
   Mode: r0w0e0
   Number: 2
3. Name: ada4
   Mediasize: 120034123776 (111G)
   Sectorsize: 512
   Mode: r0w0e0
   Number: 1

I see 'State: UP'

if i:
[root@torry /usr/home/bclark]# mount -t ufs /dev/stripe/st0a /mnt/
mount: /dev/stripe/st0a: Invalid argument

[root@torry /usr/home/bclark]# fsck /dev/stripe/st0a
fsck: Could not determine filesystem type

[root@torry /usr/home/bclark]# fsck_ufs /dev/stripe/st0a
** /dev/stripe/st0a
Cannot find file system superblock
ioctl (GCINFO): Inappropriate ioctl for device
fsck_ufs: /dev/stripe/st0a: can't read disk label

If someone could help, it would be appreciated, of what the next step 
is, it would be appreciated.





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD Server

2012-05-18 Thread Robert Simmons
On Thu, May 17, 2012 at 8:19 PM, Robert Bonomi bon...@mail.r-bonomi.com wrote:

 lpeth lp...@centurytel.net wrote:

 FreeBSD
 Dear Sirs;
 I have a 8core, 32 GB ram server I built myself. AMD cpu, with
 Supermicro motherboard. I want to use FreeNAS as a database system, and
 I'm wondering what it will cost to use FreeBSD with FreeNAS. I see the
 Version I would like is $40 for a four CD set, but that does not mean I
 get to use the server version of it. What is the server version going
 to cost?

 The current pricing for an unlimited server liense for FreeBSD is 27342.71
 Quatloos.  Payment may also be tendered in gold-presed latinum, albeit that
 is subject to highly volatile exchange-rate fluctuations.

 Having completed the licensing requirements, you can download a complete
 installation, including source, from any of the mirror repositories, at
 no additional cost. Or you can pay a third party a nominal fee (set by
 mutual agreement between you and them) to have them make copies on the
 physical media of your choice.


 Be advised the initial paragraph of this reply was first released precisely
 47 days ago.  The 'true answer' begins with 'you can...' in the 2nd para.

I bought my license with 4,000 unobtainium coins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD Server

2012-05-17 Thread lpeth

FreeBSD
Dear Sirs;
I have a 8core, 32 GB ram server I built myself. AMD cpu, with 
Supermicro motherboard. I want to use FreeNAS as a database system, and 
I'm wondering what it will cost to use FreeBSD with FreeNAS. I see the 
Version I would like is $40 for a four CD set, but that does not mean I 
get to use the server version of it. What is the server version going  
to cost?

Sincerely,
Mark T. Evans
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD Server

2012-05-17 Thread Chuck Swiger
Hi--

On May 17, 2012, at 10:22 AM, lpeth wrote:
 I have a 8core, 32 GB ram server I built myself. AMD cpu, with Supermicro 
 motherboard. I want to use FreeNAS as a database system, and I'm wondering 
 what it will cost to use FreeBSD with FreeNAS. I see the Version I would like 
 is $40 for a four CD set, but that does not mean I get to use the server 
 version of it. What is the server version going  to cost?

FreeBSD is intended as a server platform; there isn't a different consumer and 
server version, although you can tune the platform for specific tasks if you 
like.

FreeBSD CD/DVD images are freely available for download; see:

  http://www.freebsd.org/where.html
  ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.0/

FreeNAS is a modified version of FreeBSD, which comes preconfigured for ZFS and 
filesharing; as far as I can tell, their CD/DVD images are also freely 
available:

  
http://sourceforge.net/projects/freenas/files/FreeNAS-8.0.4/FreeNAS-8.0.4-RELEASE-p2-x64.iso/download

...but you can pay a publisher for a copy instead of downloading, if you prefer.

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD Server

2012-05-17 Thread Mehmet Erol Sanliturk
On Thu, May 17, 2012 at 10:22 AM, lpeth lp...@centurytel.net wrote:

 FreeBSD
 Dear Sirs;
 I have a 8core, 32 GB ram server I built myself. AMD cpu, with Supermicro
 motherboard. I want to use FreeNAS as a database system, and I'm wondering
 what it will cost to use FreeBSD with FreeNAS. I see the Version I would
 like is $40 for a four CD set, but that does not mean I get to use the
 server version of it. What is the server version going  to cost?
 Sincerely,
 Mark T. Evans



All of these are  without cost if you download and burn them to CD/DVD by
yourself :


http://www.freenas.org/
ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/8.3/
ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.0/


Thank you very much .

Mehmet Erol Sanliturk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD Server

2012-05-17 Thread Daniel Feenberg



On Thu, 17 May 2012, lpeth wrote:


FreeBSD
Dear Sirs;
I have a 8core, 32 GB ram server I built myself. AMD cpu, with Supermicro 
motherboard. I want to use FreeNAS as a database system, and I'm wondering 
what it will cost to use FreeBSD with FreeNAS. I see the Version I would like 
is $40 for a four CD set, but that does not mean I get to use the server 
version of it. What is the server version going  to cost?

Sincerely,
Mark T. Evans



FreeNAS is effectively a FreeBSD distribution emphasizing storage. It 
is open source and free of cost:


  http://www.freenas.org/

The CDs are nice, but you can download an ISO also. iXSystems have 
TrueNAS, which is costly. My understanding is that FreeNAS is a subset of 
TrueNAS. See:


  http://www.ixsystems.com/storage/ix/truenas/

for more information.

Daniel Feenberg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD Server

2012-05-17 Thread Dean E. Weimer

On 05/17/2012 15:29, Daniel Feenberg wrote:

On Thu, 17 May 2012, lpeth wrote:


FreeBSD
Dear Sirs;
I have a 8core, 32 GB ram server I built myself. AMD cpu, with 
Supermicro motherboard. I want to use FreeNAS as a database system, 
and I'm wondering what it will cost to use FreeBSD with FreeNAS. I see 
the Version I would like is $40 for a four CD set, but that does not 
mean I get to use the server version of it. What is the server version 
going  to cost?

Sincerely,
Mark T. Evans



FreeNAS is effectively a FreeBSD distribution emphasizing storage. It
is open source and free of cost:

  http://www.freenas.org/

The CDs are nice, but you can download an ISO also. iXSystems have
TrueNAS, which is costly. My understanding is that FreeNAS is a 
subset

of TrueNAS. See:

  http://www.ixsystems.com/storage/ix/truenas/

for more information.

Daniel Feenberg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org


They also sell a FreeNAS for home / Small office installs that is vary 
reasonably priced, I have been hoping to have enough spare cash on hand 
this winter to buy one as an upgrade my existing FreeNAS box that was 
built form spare PC parts with a few new hard drives thrown in ever 
since I have noticed the new product on their website.


http://www.ixsystems.com/storage/ix/home-office-storage/freenas-mini.html

--
Thanks,
 Dean E. Weimer
 http://www.dweimer.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD Server

2012-05-17 Thread Robert Bonomi

lpeth lp...@centurytel.net wrote:

 FreeBSD
 Dear Sirs;
 I have a 8core, 32 GB ram server I built myself. AMD cpu, with 
 Supermicro motherboard. I want to use FreeNAS as a database system, and 
 I'm wondering what it will cost to use FreeBSD with FreeNAS. I see the 
 Version I would like is $40 for a four CD set, but that does not mean I 
 get to use the server version of it. What is the server version going  
 to cost?

The current pricing for an unlimited server liense for FreeBSD is 27342.71 
Quatloos.  Payment may also be tendered in gold-presed latinum, albeit that
is subject to highly volatile exchange-rate fluctuations.

Having completed the licensing requirements, you can download a complete
installation, including source, from any of the mirror repositories, at
no additional cost. Or you can pay a third party a nominal fee (set by
mutual agreement between you and them) to have them make copies on the 
physical media of your choice.


Be advised the initial paragraph of this reply was first released precisely 
47 days ago.  The 'true answer' begins with 'you can...' in the 2nd para.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd server limits question

2012-01-03 Thread Ross Cameron
Hi there Huhammet

What are the contents of the following files on you're CentOS 6.x shards ?
   /etc/security/limits.confand
   /etc/security/limits.d/90-nproc.conf

What version of MongoDB are you running, is it from packages (if so who's)
or is it self compiled?

Have you tried running the MongoDB shards on the most recent CentOS 5.x
release?
If so what differences do you note, if any? This could help diagnose
the source of you're problems.

Also what is the current stack size of you're MongoDB shards (set via the
-s parameter) ?

And lastly what is the system load like at the heaviest transaction points
(vmstat and iostat can help you out there) ?

If this is a branded name server set what is the exact model and hardware
configuration?

Are you running 32bit or 64bit instances of MongoDB on 32bit or 64bit
CentOS 6.x ?



Regards,...
Ross Cameron
eMail : ross.came...@unix.net
Phone : +27 (0)79 491-9954



On Mon, Jan 2, 2012 at 9:12 PM, Muhammet S. AYDIN whalb...@gmail.comwrote:

 Hello everyone.

 My first post here and I'd like to thank everyone who's involved within the
 FreeBSD project. We are using FreeBSD on our web servers and we are very
 happy with it.

 We have an online messaging application that is using mongodb. Our members
 send messages to the voice show's (turkish version) contestants. Our two
 mongodb instances ended up in two centos6 servers. We have failed. So hard.
 There were announcements and calls made live on tv. We had +30K/sec
 visitors to the app.

 When I looked at the mongodb errors, I had thousands of these:
 http://pastie.org/private/nd681sndos0bednzjea0g. You may be wondering why
 I'm telling you about centos. Well, we are making the switch from centos to
 freebsd FreeBSD. I would like to know what are our limits? How we can set
 it up so our FreeBSD servers can handle min 20K connections (mongodb's
 connection limit)?

 Our two servers have 24 core CPUs and 32 GBs of RAM. We are also very open
 to suggestions. Please help me out here so we don't fail deadly, again.

 ps. this question was asked in the forums as well however as someone
 suggested in the forums, i am posting it here too.

 --
 Muhammet S. AYDIN
 http://compector.com
 http://mengu.net
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


freebsd server limits question

2012-01-02 Thread Muhammet S. AYDIN
Hello everyone.

My first post here and I'd like to thank everyone who's involved within the
FreeBSD project. We are using FreeBSD on our web servers and we are very
happy with it.

We have an online messaging application that is using mongodb. Our members
send messages to the voice show's (turkish version) contestants. Our two
mongodb instances ended up in two centos6 servers. We have failed. So hard.
There were announcements and calls made live on tv. We had +30K/sec
visitors to the app.

When I looked at the mongodb errors, I had thousands of these:
http://pastie.org/private/nd681sndos0bednzjea0g. You may be wondering why
I'm telling you about centos. Well, we are making the switch from centos to
freebsd FreeBSD. I would like to know what are our limits? How we can set
it up so our FreeBSD servers can handle min 20K connections (mongodb's
connection limit)?

Our two servers have 24 core CPUs and 32 GBs of RAM. We are also very open
to suggestions. Please help me out here so we don't fail deadly, again.

ps. this question was asked in the forums as well however as someone
suggested in the forums, i am posting it here too.

-- 
Muhammet S. AYDIN
http://compector.com
http://mengu.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: freebsd server limits question

2012-01-02 Thread Devin Teske


 -Original Message-
 From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
 questi...@freebsd.org] On Behalf Of Muhammet S. AYDIN
 Sent: Monday, January 02, 2012 11:13 AM
 To: freebsd-questions@freebsd.org
 Subject: freebsd server limits question
 
 Hello everyone.
 
 My first post here and I'd like to thank everyone who's involved within the
 FreeBSD project. We are using FreeBSD on our web servers and we are very
 happy with it.
 
 We have an online messaging application that is using mongodb. Our members
 send messages to the voice show's (turkish version) contestants. Our two
 mongodb instances ended up in two centos6 servers. We have failed. So hard.
 There were announcements and calls made live on tv. We had +30K/sec visitors
 to the app.
 
 When I looked at the mongodb errors, I had thousands of these:
 http://pastie.org/private/nd681sndos0bednzjea0g. You may be wondering why
 I'm telling you about centos. Well, we are making the switch from centos to
 freebsd FreeBSD. I would like to know what are our limits? How we can set it
up
 so our FreeBSD servers can handle min 20K connections (mongodb's connection
 limit)?
 
 Our two servers have 24 core CPUs and 32 GBs of RAM. We are also very open to
 suggestions. Please help me out here so we don't fail deadly, again.

We have similar hardware (24x core CPUs but 48GB of RAM instead of 32).

NOTE: The machine has 2x igb(4) interfaces and we're negotiating at 1000baseTX
Gigabit full-duplex link-speed.

We had similar problems, but have had zero problems in the past 2 months with
high-load (read below).

ASIDE: We're using FreeBSD 8.1-RELEASE-p6

We found that the following tweaks had to be made in /etc/sysctl.conf :

### Network Tuning ###
# Increase TCP maximum segment lifetime
net.inet.tcp.msl=15000
# Increase TCP time before keepalive probes again
net.inet.tcp.keepidle=30
# Increase maximum number of mbuf clusters allowed (174808 = 32768)
kern.ipc.nmbclusters=32768
# Increase by 8-times the maximum socket buffer size (262144 = 2097152)
kern.ipc.maxsockbuf=2097152
# Increase by 64-times the max pending socket conn. queue size (128 = 8192)
kern.ipc.somaxconn=8192
# Increase by ~8-times the maximum number of [open] files (8232 = 65536)
kern.maxfiles=65536
# Increase by ~4-times the max files allowed open per process (7408 = 32768)
kern.maxfilesperproc=32768
# Disable delay of ACK to try and piggyback it onto a data packet (1 = 0)
net.inet.tcp.delayed_ack=0
# Increase by ~2-times the maximum outgoing TCP datagram size (32768 = 65535)
net.inet.tcp.sendspace=65535
# Increase maximum space for incoming UDP datagrams (41600 = 65535)
net.inet.udp.recvspace=65535
# Increase by ~6-times the maximum outgoing UDP datagram size (9216 = 57344)
net.inet.udp.maxdgram=57344
# Increase by ~8-times the default stream receive space (8192 = 65535)
net.local.stream.recvspace=65535
# Increase by ~8-times the default stream send space (8192 = 65535)
net.local.stream.sendspace=65535

Meanwhile, yet more tweaks go into /boot/loader.conf :

### Process/Memory Tuning ###
# Increase by 4-times the maximum data size (536870912 = 2147483648)
kern.maxdsiz=2147483648
# Increase by 4-times the maximum stack size (67108864 = 268435456)
kern.maxssiz=268435456
### Network Tuning ###
# Increase maximum outgoing Netgraph datagram size (20480 = 45000)
net.graph.maxdgram=45000
# Increase maximum space for incoming Netgraph datagrams (20480 = 45000)
net.graph.recvspace=45000
# Increase by 128-times max num of data queue items to allocate (512 = 65536)
net.graph.maxdata=65536


With the above tweaks in-place for both sysctl.conf(5) and loader.conf(5), all
our problems are gone.

Your mileage may vary, but I suspect that the above collection of tweaks will
work well for you. They should be safe for both 32-bit (both regular and PAE)
and 64 (all tested). However, if you are the cautious type, I would recommend
adding one optimizer at a time, rebooting after each tweak.
-- 
Devin

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd server limits question

2012-01-02 Thread Sergio de Almeida Lenzi
hello...

I supose you are using 64bits version of FreeBSD and at least 8.2
version...

What happens is that you have exhausted the thread limit of your
appplication
your systeam is unable to create more threads for that appplication
a command: sysctl -a | grep thread
will show how they are setted up in your system.

mine has:
-
kern.threads.max_threads_hits: 0
kern.threads.max_threads_per_proc: 1500
vm.stats.vm.v_kthreadpages: 0
vm.stats.vm.v_kthreads: 24
vfs.nfsrv.minthreads: 4
vfs.nfsrv.maxthreads: 4
vfs.nfsrv.threads: 4
net.isr.numthreads: 1
net.isr.bindthreads: 0
net.isr.maxthreads: 1
--
note that the number of threads per proc is 1500 here (a notebook)

to increase the number of threads, edit the file /etc/sysctl.conf
put a line: 
kern.threads.max_threads_per_proc=9000
and than the command: /etc/rc.d/sysctl restart

Hope this will help

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd server limits question

2012-01-02 Thread Eduardo Morras

At 20:12 02/01/2012, Muhammet S. AYDIN wrote:

Hello everyone.

My first post here and I'd like to thank everyone who's involved within the
FreeBSD project. We are using FreeBSD on our web servers and we are very
happy with it.

We have an online messaging application that is using mongodb. Our members
send messages to the voice show's (turkish version) contestants. Our two
mongodb instances ended up in two centos6 servers. We have failed. So hard.
There were announcements and calls made live on tv. We had +30K/sec
visitors to the app.

When I looked at the mongodb errors, I had thousands of these:
http://pastie.org/private/nd681sndos0bednzjea0g. You may be wondering why
I'm telling you about centos. Well, we are making the switch from centos to
freebsd FreeBSD. I would like to know what are our limits? How we can set
it up so our FreeBSD servers can handle min 20K connections (mongodb's
connection limit)?

Our two servers have 24 core CPUs and 32 GBs of RAM. We are also very open
to suggestions. Please help me out here so we don't fail deadly, again.

ps. this question was asked in the forums as well however as someone
suggested in the forums, i am posting it here too.


Is your app limited by cpu or by i/o? What do vmstat/iostat says 
about your hd usage? Perhaps mongodb fails to read/write fast enough 
and making process thread pool bigger only will make problem worse, 
there will be more threads trying to read/write.


Have you already tuned mongodb?

Post more info please, several lines (not the first one) of iostat 
and vmstat may be a start. Your hd configuration, raid, etc... too.


L 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd server limits question

2012-01-02 Thread Robert Boyer
To deal with this kind of traffic you will most likely need to set up a mongo 
db cluster of more than a few instances… much better. There should be A LOT of 
info on how to scale mongo to the level you are looking for but most likely you 
will find that on ruby forums NOT on *NIX boards….

The OS boards/focus will help you with fine tuning but all the fine tuning in 
the world will not solve an app architecture issue…

I have setup MASSIVE mongo/ruby installs for testing that can do this sort of 
volume with ease… the stack looks something like this….

Nginix 
Unicorn
Sinatra
MongoMapper
MongoDB

with only one Nginix instance can feed an almost arbitrary number of 
Unicorn/Sinatra/MongoMapper instances that can in turn feed a properly 
configured MongoDB cluster with pre-allocated key distribution so that the 
incoming inserts are spread evenly against the cluster instances…

Even if you do not use ruby that community will have scads of info on scaling 
MongoDB.

One more comment related to L's advice - true you DO NOT want more transactions 
queued up if your back-end resources cannot handle the TPS - this will just 
make the issue harder to isolate and potentially make the recovery more 
difficult. Better to reject the connection at the front-end than take it and 
blow up the app/system.

The beauty of the Nginix/Unicorn solution (Unicorn is ruby specific) is that 
there is no queue that is feed to the workers when there are no workers - the 
request is rejected. The unicorn worker model can be reproduced for any other 
implementation environment (PHP/Perl/C/etc) outside of ruby in about 30 
minutes. It's simple and Nginix is very well suited to low overhead reverse 
proxy to this kind of setup.

Wishing you the best - if i can be of more help let me know…

RB

On Jan 2, 2012, at 3:38 PM, Eduardo Morras wrote:

 At 20:12 02/01/2012, Muhammet S. AYDIN wrote:
 Hello everyone.
 
 My first post here and I'd like to thank everyone who's involved within the
 FreeBSD project. We are using FreeBSD on our web servers and we are very
 happy with it.
 
 We have an online messaging application that is using mongodb. Our members
 send messages to the voice show's (turkish version) contestants. Our two
 mongodb instances ended up in two centos6 servers. We have failed. So hard.
 There were announcements and calls made live on tv. We had +30K/sec
 visitors to the app.
 
 When I looked at the mongodb errors, I had thousands of these:
 http://pastie.org/private/nd681sndos0bednzjea0g. You may be wondering why
 I'm telling you about centos. Well, we are making the switch from centos to
 freebsd FreeBSD. I would like to know what are our limits? How we can set
 it up so our FreeBSD servers can handle min 20K connections (mongodb's
 connection limit)?
 
 Our two servers have 24 core CPUs and 32 GBs of RAM. We are also very open
 to suggestions. Please help me out here so we don't fail deadly, again.
 
 ps. this question was asked in the forums as well however as someone
 suggested in the forums, i am posting it here too.
 
 Is your app limited by cpu or by i/o? What do vmstat/iostat says about your 
 hd usage? Perhaps mongodb fails to read/write fast enough and making process 
 thread pool bigger only will make problem worse, there will be more threads 
 trying to read/write.
 
 Have you already tuned mongodb?
 
 Post more info please, several lines (not the first one) of iostat and vmstat 
 may be a start. Your hd configuration, raid, etc... too.
 
 L 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd server limits question

2012-01-02 Thread mikel king

On Jan 2, 2012, at 4:21 PM, Robert Boyer wrote:

 To deal with this kind of traffic you will most likely need to set up a mongo 
 db cluster of more than a few instances… much better. There should be A LOT 
 of info on how to scale mongo to the level you are looking for but most 
 likely you will find that on ruby forums NOT on *NIX boards….

Suggest hitting up 10gen as well they usually have some knowledgeable 
individuals available to talk mongo...

Cheers,
m
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd server limits question

2012-01-02 Thread Robert Boyer
Sorry one more thought and a clarification….


I have found that it is best to run mongos with each app server instance most 
of the mongo interface libraries aren't intelligent about the way that they 
distribute requests to available mongos processes. mongos processes are also 
relatively lightweight and need no coordination or synchronization with each 
other - simplifies things a lot and makes any potential bugs/complexity with 
app server/mongo db connection logic just go away.

It's pretty important when configuring shards to take on the write volume that 
you do your best to pre-allocate chunks and avoid chunk migrations during your 
traffic floods - not hard to do at all. There are also about a million 
different ways to deal with atomicity (if that is a word) and a very mongo 
specific way of ensuring writes actually made it to disk somewhere = from 
your brief description of the app in question it does not sound that it is too 
critical to ensure every single solitary piece of data persists no matter 
what as I am assuming most of it is irrelevant and becomes completely 
irrelevant after the show- or some time there after. Most of the programing and 
config examples make an opposite assumption in that they assume that each 
transaction MUST be completely durable - if you forgo that you can get 
screaming TPS out of a mongo shard.

Also if you do not find what you are looking for via a ruby support group - the 
JS and node JS community also may be of assistance but they tend to have a very 
narrow view of the world…. ;-)

RB
On Jan 2, 2012, at 4:21 PM, Robert Boyer wrote:

 To deal with this kind of traffic you will most likely need to set up a mongo 
 db cluster of more than a few instances… much better. There should be A LOT 
 of info on how to scale mongo to the level you are looking for but most 
 likely you will find that on ruby forums NOT on *NIX boards….
 
 The OS boards/focus will help you with fine tuning but all the fine tuning in 
 the world will not solve an app architecture issue…
 
 I have setup MASSIVE mongo/ruby installs for testing that can do this sort of 
 volume with ease… the stack looks something like this….
 
 Nginix 
 Unicorn
 Sinatra
 MongoMapper
 MongoDB
 
 with only one Nginix instance can feed an almost arbitrary number of 
 Unicorn/Sinatra/MongoMapper instances that can in turn feed a properly 
 configured MongoDB cluster with pre-allocated key distribution so that the 
 incoming inserts are spread evenly against the cluster instances…
 
 Even if you do not use ruby that community will have scads of info on scaling 
 MongoDB.
 
 One more comment related to L's advice - true you DO NOT want more 
 transactions queued up if your back-end resources cannot handle the TPS - 
 this will just make the issue harder to isolate and potentially make the 
 recovery more difficult. Better to reject the connection at the front-end 
 than take it and blow up the app/system.
 
 The beauty of the Nginix/Unicorn solution (Unicorn is ruby specific) is that 
 there is no queue that is feed to the workers when there are no workers - the 
 request is rejected. The unicorn worker model can be reproduced for any other 
 implementation environment (PHP/Perl/C/etc) outside of ruby in about 30 
 minutes. It's simple and Nginix is very well suited to low overhead reverse 
 proxy to this kind of setup.
 
 Wishing you the best - if i can be of more help let me know…
 
 RB
 
 On Jan 2, 2012, at 3:38 PM, Eduardo Morras wrote:
 
 At 20:12 02/01/2012, Muhammet S. AYDIN wrote:
 Hello everyone.
 
 My first post here and I'd like to thank everyone who's involved within the
 FreeBSD project. We are using FreeBSD on our web servers and we are very
 happy with it.
 
 We have an online messaging application that is using mongodb. Our members
 send messages to the voice show's (turkish version) contestants. Our two
 mongodb instances ended up in two centos6 servers. We have failed. So hard.
 There were announcements and calls made live on tv. We had +30K/sec
 visitors to the app.
 
 When I looked at the mongodb errors, I had thousands of these:
 http://pastie.org/private/nd681sndos0bednzjea0g. You may be wondering why
 I'm telling you about centos. Well, we are making the switch from centos to
 freebsd FreeBSD. I would like to know what are our limits? How we can set
 it up so our FreeBSD servers can handle min 20K connections (mongodb's
 connection limit)?
 
 Our two servers have 24 core CPUs and 32 GBs of RAM. We are also very open
 to suggestions. Please help me out here so we don't fail deadly, again.
 
 ps. this question was asked in the forums as well however as someone
 suggested in the forums, i am posting it here too.
 
 Is your app limited by cpu or by i/o? What do vmstat/iostat says about your 
 hd usage? Perhaps mongodb fails to read/write fast enough and making process 
 thread pool bigger only will make problem worse, there will be more threads 
 trying to read/write.
 
 Have you already tuned 

Re: freebsd server limits question

2012-01-02 Thread Robert Boyer
Just realized that the MongoDB site now has some recipes up for what you really 
need to do to make sure you can handle a lot of incoming new documents 
concurrently….

Boy you had to figure this stuff out yourself just last year - I guess the 
mongo community has come a very long way….

Splitting Shard Chunks - MongoDB


enjoy….

RB

On Jan 2, 2012, at 5:38 PM, Robert Boyer wrote:

 Sorry one more thought and a clarification….
 
 
 I have found that it is best to run mongos with each app server instance most 
 of the mongo interface libraries aren't intelligent about the way that they 
 distribute requests to available mongos processes. mongos processes are also 
 relatively lightweight and need no coordination or synchronization with each 
 other - simplifies things a lot and makes any potential bugs/complexity with 
 app server/mongo db connection logic just go away.
 
 It's pretty important when configuring shards to take on the write volume 
 that you do your best to pre-allocate chunks and avoid chunk migrations 
 during your traffic floods - not hard to do at all. There are also about a 
 million different ways to deal with atomicity (if that is a word) and a very 
 mongo specific way of ensuring writes actually made it to disk somewhere = 
 from your brief description of the app in question it does not sound that it 
 is too critical to ensure every single solitary piece of data persists no 
 matter what as I am assuming most of it is irrelevant and becomes completely 
 irrelevant after the show- or some time there after. Most of the programing 
 and config examples make an opposite assumption in that they assume that each 
 transaction MUST be completely durable - if you forgo that you can get 
 screaming TPS out of a mongo shard.
 
 Also if you do not find what you are looking for via a ruby support group - 
 the JS and node JS community also may be of assistance but they tend to have 
 a very narrow view of the world…. ;-)
 
 RB
 On Jan 2, 2012, at 4:21 PM, Robert Boyer wrote:
 
 To deal with this kind of traffic you will most likely need to set up a 
 mongo db cluster of more than a few instances… much better. There should be 
 A LOT of info on how to scale mongo to the level you are looking for but 
 most likely you will find that on ruby forums NOT on *NIX boards….
 
 The OS boards/focus will help you with fine tuning but all the fine tuning 
 in the world will not solve an app architecture issue…
 
 I have setup MASSIVE mongo/ruby installs for testing that can do this sort 
 of volume with ease… the stack looks something like this….
 
 Nginix 
 Unicorn
 Sinatra
 MongoMapper
 MongoDB
 
 with only one Nginix instance can feed an almost arbitrary number of 
 Unicorn/Sinatra/MongoMapper instances that can in turn feed a properly 
 configured MongoDB cluster with pre-allocated key distribution so that the 
 incoming inserts are spread evenly against the cluster instances…
 
 Even if you do not use ruby that community will have scads of info on 
 scaling MongoDB.
 
 One more comment related to L's advice - true you DO NOT want more 
 transactions queued up if your back-end resources cannot handle the TPS - 
 this will just make the issue harder to isolate and potentially make the 
 recovery more difficult. Better to reject the connection at the front-end 
 than take it and blow up the app/system.
 
 The beauty of the Nginix/Unicorn solution (Unicorn is ruby specific) is that 
 there is no queue that is feed to the workers when there are no workers - 
 the request is rejected. The unicorn worker model can be reproduced for any 
 other implementation environment (PHP/Perl/C/etc) outside of ruby in about 
 30 minutes. It's simple and Nginix is very well suited to low overhead 
 reverse proxy to this kind of setup.
 
 Wishing you the best - if i can be of more help let me know…
 
 RB
 
 On Jan 2, 2012, at 3:38 PM, Eduardo Morras wrote:
 
 At 20:12 02/01/2012, Muhammet S. AYDIN wrote:
 Hello everyone.
 
 My first post here and I'd like to thank everyone who's involved within the
 FreeBSD project. We are using FreeBSD on our web servers and we are very
 happy with it.
 
 We have an online messaging application that is using mongodb. Our members
 send messages to the voice show's (turkish version) contestants. Our two
 mongodb instances ended up in two centos6 servers. We have failed. So hard.
 There were announcements and calls made live on tv. We had +30K/sec
 visitors to the app.
 
 When I looked at the mongodb errors, I had thousands of these:
 http://pastie.org/private/nd681sndos0bednzjea0g. You may be wondering why
 I'm telling you about centos. Well, we are making the switch from centos to
 freebsd FreeBSD. I would like to know what are our limits? How we can set
 it up so our FreeBSD servers can handle min 20K connections (mongodb's
 connection limit)?
 
 Our two servers have 24 core CPUs and 32 GBs of RAM. We are also very open
 to suggestions. Please help me out here so we don't fail deadly, 

Re: Remote access to Freebsd server

2011-04-15 Thread DeadSun
If you use NAT network setting in vmware or virtualbox or something else in
your win 7. It cannot be access to the virtual server from your host
throught network. You must use bridge network setting in your software.

On Wed, Apr 13, 2011 at 11:37 PM, afiddler10 afiddle...@yahoo.com wrote:

 Hi, I am new to the Linux environment.  I am trying to build a virtual
 Freebsd server to run another virtual device (a Juniper router).  I have
 found that after building the base operating system that I cannot remotely
 access the virtual Freebsd server.  I have tried using both Qemu and VMware
 with the same result.  It looks to me as though the server has a default
 setting that allows it to contact other devices (e.g., I can ping, ftp,
 telnet, etc., other devices from my Freebsd server) but I cannot ping,
 ftp, telnet into the Freebsd server from my host PC.  My host is a Windows 7
 desktop, but I have tried pinging from another virtual device and cannot get
 a response from the Freebsd server.  I do not believe that the issue is my
 Windows 7 PC.

 I have tried the newest Disk 1 ISO image of Freebsd, 8.2, but I've also
 tried a few other images with the same result.

 I have combed through the documentation, tried configuring the firewall
 using the open template, tried to disable the packet filter in rc.conf
 (pf_enable=NO), to no avail.  I cannot reach the Freebsd server no matter
 what I have tried, and I feel I have exhausted my options.  The ports are
 open and responsive on the virtual server itself, but access seems to be
 blocked to the Freebsd server.

 I am hoping you can tell me how to change the default settings on the
 Freebsd server to allow access from my Windows 7 host PC.  Hopefully it does
 not involve manually rebuilding the kernel!

 Thanks for your help!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




-- 
非淡薄无以明志,非宁静无以致远
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Remote access to Freebsd server

2011-04-14 Thread Damien Fleuriot


On 4/13/11 6:40 PM, Michael J. Kearney wrote:
 /var/log/security and ipfw list ftw. .. if a rule maches your configuration 
 atm
 
 afiddler10 afiddle...@yahoo.com wrote:
 
 
 Hi, I am new to the Linux environment.  I am trying to build a virtual 
 Freebsd server to run another virtual device (a Juniper router).  I have 
 found that after building the base operating system that I cannot remotely 
 access the virtual Freebsd server.  I have tried using both Qemu and VMware 
 with the same result.  It looks to me as though the server has a default 
 setting that allows it to contact other devices (e.g., I can ping, ftp, 
 telnet, etc., other devices from my Freebsd server) but I cannot ping, ftp, 
 telnet into the Freebsd server from my host PC.  My host is a Windows 7 
 desktop, but I have tried pinging from another virtual device and cannot get 
 a response from the Freebsd server.  I do not believe that the issue is my 
 Windows 7 PC.
 
 I have tried the newest Disk 1 ISO image of Freebsd, 8.2, but I've also tried 
 a few other images with the same result.
 
 I have combed through the documentation, tried configuring the firewall using 
 the open template, tried to disable the packet filter in rc.conf 
 (pf_enable=NO), to no avail.  I cannot reach the Freebsd server no matter 
 what I have tried, and I feel I have exhausted my options.  The ports are 
 open and responsive on the virtual server itself, but access seems to be 
 blocked to the Freebsd server.
 
 I am hoping you can tell me how to change the default settings on the Freebsd 
 server to allow access from my Windows 7 host PC.  Hopefully it does not 
 involve manually rebuilding the kernel!
 
 Thanks for your help!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


This has nothing to do with firewalling.

He's very likely using NAT on his virtual machine.

So outgoing connections work just fine: NAT from the guest through the host.

But inbound connections fail, and rightly so: NO NAT *to* the guest
through the host.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Remote access to Freebsd server

2011-04-14 Thread Michael Powell
Damien Fleuriot wrote:

 
 
 On 4/13/11 6:40 PM, Michael J. Kearney wrote:
[snip] 
 
 Hi, I am new to the Linux environment.  

FreeBSD is *NOT* Linux!

 I am trying to build a virtual
 Freebsd server to run another virtual device (a Juniper router).  I have
 found that after building the base operating system that I cannot
 remotely access the virtual Freebsd server.  I have tried using both Qemu
 and VMware with the same result.  It looks to me as though the server has
 a default setting that allows it to contact other devices (e.g., I can
 ping, ftp, telnet, etc., other devices from my Freebsd server) but I
 cannot ping, ftp, telnet into the Freebsd server from my host PC.  My
 host is a Windows 7 desktop, but I have tried pinging from another
 virtual device and cannot get a response from the Freebsd server.  I do
 not believe that the issue is my Windows 7 PC.
 
 I have tried the newest Disk 1 ISO image of Freebsd, 8.2, but I've also
 tried a few other images with the same result.
 
 I have combed through the documentation, tried configuring the firewall
 using the open template, tried to disable the packet filter in rc.conf
 (pf_enable=NO), to no avail.  I cannot reach the Freebsd server no
 matter what I have tried, and I feel I have exhausted my options.  The
 ports are open and responsive on the virtual server itself, but access
 seems to be blocked to the Freebsd server.
 
 I am hoping you can tell me how to change the default settings on the
 Freebsd server to allow access from my Windows 7 host PC.  Hopefully it
 does not involve manually rebuilding the kernel!
 
[snip]
 
 
 This has nothing to do with firewalling.
 
 He's very likely using NAT on his virtual machine.
 
 So outgoing connections work just fine: NAT from the guest through the
 host.
 
 But inbound connections fail, and rightly so: NO NAT *to* the guest
 through the host.

I use VirtualBox these days, but if memory serves it is very much like 
Vmware in this regard. The OP needs to understand that the default install 
provides a NAT and a DHCP for the guest VM so it can be brought up 
automagically. I know in the VirtualBox documentation it is clearly 
explained about how incoming connections are not passed through this NAT.

There are typically 3 networking configurations available: the default as 
described above, bridged, and host-only. Host-only does exactly what it 
sounds like - only the host machine and guest may communicate with each 
other. Bridged networking is what you want to set up if you want your VM to 
be totally available to your outside network. Hint: the bridge is not on 
the VM guest OS side, but rather the bridge would connect your Windows 7 
host's NIC to the VM. A bridged config replaces the default install NAT.

I haven't used Vmware for a while now, but in VirtualBox you can use the 
VBoxManage command line to enable port forwards in the default install's 
NAT. This is OK if you only want to make a small number of services 
available, like let's say only a web server on port 80. But you'll want a 
bridged config if you want the entire VM visible.

-Mike



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Remote access to Freebsd server

2011-04-13 Thread afiddler10
Hi, I am new to the Linux environment.  I am trying to build a virtual Freebsd 
server to run another virtual device (a Juniper router).  I have found that 
after building the base operating system that I cannot remotely access the 
virtual Freebsd server.  I have tried using both Qemu and VMware with the same 
result.  It looks to me as though the server has a default setting that allows 
it to contact other devices (e.g., I can ping, ftp, telnet, etc., other devices 
from my Freebsd server) but I cannot ping, ftp, telnet into the Freebsd server 
from my host PC.  My host is a Windows 7 desktop, but I have tried pinging from 
another virtual device and cannot get a response from the Freebsd server.  I do 
not believe that the issue is my Windows 7 PC.
 
I have tried the newest Disk 1 ISO image of Freebsd, 8.2, but I've also tried a 
few other images with the same result.
 
I have combed through the documentation, tried configuring the firewall using 
the open template, tried to disable the packet filter in rc.conf 
(pf_enable=NO), to no avail.  I cannot reach the Freebsd server no matter 
what I have tried, and I feel I have exhausted my options.  The ports are open 
and responsive on the virtual server itself, but access seems to be blocked to 
the Freebsd server.
 
I am hoping you can tell me how to change the default settings on the Freebsd 
server to allow access from my Windows 7 host PC.  Hopefully it does not 
involve manually rebuilding the kernel!
 
Thanks for your help!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Remote access to Freebsd server

2011-04-13 Thread Michael J. Kearney
 /var/log/security and  ipfw list  ftw

afiddler10 afiddle...@yahoo.com wrote:


Hi, I am new to the Linux environment.  I am trying to build a virtual Freebsd 
server to run another virtual device (a Juniper router).  I have found that 
after building the base operating system that I cannot remotely access the 
virtual Freebsd server.  I have tried using both Qemu and VMware with the same 
result.  It looks to me as though the server has a default setting that allows 
it to contact other devices (e.g., I can ping, ftp, telnet, etc., other devices 
from my Freebsd server) but I cannot ping, ftp, telnet into the Freebsd server 
from my host PC.  My host is a Windows 7 desktop, but I have tried pinging from 
another virtual device and cannot get a response from the Freebsd server.  I do 
not believe that the issue is my Windows 7 PC.

I have tried the newest Disk 1 ISO image of Freebsd, 8.2, but I've also tried a 
few other images with the same result.

I have combed through the documentation, tried configuring the firewall using 
the open template, tried to disable the packet filter in rc.conf 
(pf_enable=NO), to no avail.  I cannot reach the Freebsd server no matter 
what I have tried, and I feel I have exhausted my options.  The ports are open 
and responsive on the virtual server itself, but access seems to be blocked to 
the Freebsd server.

I am hoping you can tell me how to change the default settings on the Freebsd 
server to allow access from my Windows 7 host PC.  Hopefully it does not 
involve manually rebuilding the kernel!

Thanks for your help!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Remote access to Freebsd server

2011-04-13 Thread Michael J. Kearney
/var/log/security and ipfw list ftw. .. if a rule maches your configuration 
atm

afiddler10 afiddle...@yahoo.com wrote:


Hi, I am new to the Linux environment.  I am trying to build a virtual Freebsd 
server to run another virtual device (a Juniper router).  I have found that 
after building the base operating system that I cannot remotely access the 
virtual Freebsd server.  I have tried using both Qemu and VMware with the same 
result.  It looks to me as though the server has a default setting that allows 
it to contact other devices (e.g., I can ping, ftp, telnet, etc., other devices 
from my Freebsd server) but I cannot ping, ftp, telnet into the Freebsd server 
from my host PC.  My host is a Windows 7 desktop, but I have tried pinging from 
another virtual device and cannot get a response from the Freebsd server.  I do 
not believe that the issue is my Windows 7 PC.

I have tried the newest Disk 1 ISO image of Freebsd, 8.2, but I've also tried a 
few other images with the same result.

I have combed through the documentation, tried configuring the firewall using 
the open template, tried to disable the packet filter in rc.conf 
(pf_enable=NO), to no avail.  I cannot reach the Freebsd server no matter 
what I have tried, and I feel I have exhausted my options.  The ports are open 
and responsive on the virtual server itself, but access seems to be blocked to 
the Freebsd server.

I am hoping you can tell me how to change the default settings on the Freebsd 
server to allow access from my Windows 7 host PC.  Hopefully it does not 
involve manually rebuilding the kernel!

Thanks for your help!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Remote access to Freebsd server

2011-04-13 Thread Matthew Seaman
On 13/04/2011 16:37, afiddler10 wrote:
 Hi, I am new to the Linux environment.  I am trying to build a
 virtual Freebsd server to run another virtual device (a Juniper
 router).  I have found that after building the base operating system
 that I cannot remotely access the virtual Freebsd server.  I have
 tried using both Qemu and VMware with the same result.  It looks to
 me as though the server has a default setting that allows it to
 contact other devices (e.g., I can ping, ftp, telnet, etc., other
 devices from my Freebsd server) but I cannot ping, ftp, telnet into
 the Freebsd server from my host PC.  My host is a Windows 7 desktop,
 but I have tried pinging from another virtual device and cannot get a
 response from the Freebsd server.  I do not believe that the issue is
 my Windows 7 PC.

Verb. Sap.  Don't confuse FreeBSD with Linux.  Especially on FreeBSD
mailing lists.  It's like mistaking a Scotsman for an Englishman.  Tends
to cause a lot of red faces and shouting, if not actual fisticuffs...

Hmmm... with the firewall config set to 'open', ping should work.  Are
you behind a NAT gateway?

Anyhow, your problem is this: you need to turn /on/ a daemon process to
enable remote access.  Unlike many widely used OSes, FreeBSD ships with
just about everything available in the OS turned off.  Which might seem
perverse to the uninitiated, but trust me; it's a real blessing over all.

Edit the file /etc/rc.conf and add the line:

sshd_enable=YES

Then run this command as root:

# /etc/rc.d/sshd start

(you only need to do that as a one-off -- adding the line to rc.conf
means the daemon will be started automatically on reboot from now on)

Then you can use a SSH client from windows to remote login to your
FreeBSD box.  If you need a client, try putty from

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Nb. by default, you won't be able to SSH in as root -- so set yourself
up a normal user account, add it to the wheel group and then use su(1)
once you've logged in.  As ever, the Handbook is your friend for
instructions on how to do this sort of stuff.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Remote access to Freebsd server

2011-04-13 Thread Sergio Tam
Hello

2011/4/13 afiddler10 afiddle...@yahoo.com:
 Hi, I am new to the Linux environment.
FreeBsd its not Linux environment.

  I am trying to build a virtual Freebsd server to run another virtual
device (a Juniper router).  I have found that after building the base
operating system that I cannot remotely access the virtual Freebsd
server.  I have tried using both Qemu and VMware with the same result.
 It looks to me as though the server has a default setting that allows
it to contact other devices (e.g., I can ping, ftp, telnet, etc.,
other devices from my Freebsd server) but I cannot ping, ftp, telnet
into the Freebsd server from my host PC.  My host is a Windows 7
desktop, but I have tried pinging from another virtual device and
cannot get a response from the Freebsd server.  I do not believe that
the issue is my Windows 7 PC.


Try, on the wmware settings  network adapter set to bridged.

Regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Remote access to Freebsd server

2011-04-13 Thread Kurt Buff
On Wed, Apr 13, 2011 at 09:40, Matthew Seaman
m.sea...@infracaninophile.co.uk wrote:
 On 13/04/2011 16:37, afiddler10 wrote:

snip problem description and sage advice

 Edit the file /etc/rc.conf and add the line:

 sshd_enable=YES

 Then run this command as root:

 # /etc/rc.d/sshd start

 (you only need to do that as a one-off -- adding the line to rc.conf
 means the daemon will be started automatically on reboot from now on)

 Then you can use a SSH client from windows to remote login to your
 FreeBSD box.  If you need a client, try putty from

 http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

 Nb. by default, you won't be able to SSH in as root -- so set yourself
 up a normal user account, add it to the wheel group and then use su(1)
 once you've logged in.  As ever, the Handbook is your friend for
 instructions on how to do this sort of stuff.

In the interest of preventing newb pain:

 Please note that the entry for /etc/rc.conf  must be exact.

In particular, *do not* miss either of the quote marks, or your
machine will hang at next boot, and force you to boot into single user
mode to recover from it by adding the missing quote mark and booting
again. This is not the end of the world, but until you figure it out,
it can induce feelings of fear, nausea, helplessness and acute
embarrassment.

However, about the third time you've done it, and recovered from it by
your own efforts, it's no longer a big thing.

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Remote access to Freebsd server

2011-04-13 Thread Sergio Tam
2011/4/13 afiddler10 afiddle...@yahoo.com

   Thank you very much.  What I did was set up two interfaces on the VMware
 server, one bridged and one routed.  I was able to access the routed
 interface from my Windows 7 host.  Thanks for your help!

 You are welcome.

Regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


adding SRV records to a FreeBSD server

2011-03-17 Thread Ola Peters
Hi there,

Thanks so much for placing this contact information in your header!  I am 
trying to add SRV records to my name server, which is a FreeBSD box.

(Output from uname -a):

ns1# uname -a
FreeBSD ns1.partnershiphp.org 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Fri Jan 21 
17:21:22 GMT 2005 r...@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC 
 i386

I don't have a clue where to start and everytime I make a change, I bring our 
website down.  Do you have a link or an example to tell me where I can do this?

Thanks so much,

Ola Peters
Senior Unix Administrator
IT Department
Partnership Healthplan of California
360 Campus Lane, Suite 100
Fairfield, CA 94534

Phone: (707) 863-4407 | Fax: (707) 863-4349

Email: opet...@partnershiphp.org
Our website: www.partnershiphp.org



~ PHC CONFIDENTIALITY NOTICE ~

The information contained in this document may be privileged, confidential, and 
protected under applicable law and is intended solely for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient or the employee or agent responsible for delivering the message to 
the intended recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication is strictly prohibited. If you 
have received this communication in error, please notify the sender immediately 
by telephone and destroy the document.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: adding SRV records to a FreeBSD server

2011-03-17 Thread Diego Arias
Hi:


FreeBSD 4.11 is juts too old you should Upgrade that machine.

Anyway check the named(bind) version to see if it supports srv records.

On Thu, Mar 17, 2011 at 3:42 PM, Ola Peters opet...@partnershiphp.orgwrote:

 Hi there,

 Thanks so much for placing this contact information in your header!  I am
 trying to add SRV records to my name server, which is a FreeBSD box.

 (Output from uname -a):

 ns1# uname -a
 FreeBSD ns1.partnershiphp.org 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Fri
 Jan 21 17:21:22 GMT 2005 
 r...@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
  i386

 I don't have a clue where to start and everytime I make a change, I bring
 our website down.  Do you have a link or an example to tell me where I can
 do this?

 Thanks so much,

 Ola Peters
 Senior Unix Administrator
 IT Department
 Partnership Healthplan of California
 360 Campus Lane, Suite 100
 Fairfield, CA 94534

 Phone: (707) 863-4407 | Fax: (707) 863-4349

 Email: opet...@partnershiphp.org
 Our website: www.partnershiphp.org


 
 ~ PHC CONFIDENTIALITY NOTICE ~

 The information contained in this document may be privileged, confidential,
 and protected under applicable law and is intended solely for the use of the
 individual or entity to which it is addressed. If you are not the intended
 recipient or the employee or agent responsible for delivering the message to
 the intended recipient, you are hereby notified that any dissemination,
 distribution, or copying of this communication is strictly prohibited. If
 you have received this communication in error, please notify the sender
 immediately by telephone and destroy the document.

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




-- 
Still Going Strong!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: adding SRV records to a FreeBSD server

2011-03-17 Thread Diego Arias
On Thu, Mar 17, 2011 at 4:47 PM, Diego Arias dak@gmail.com wrote:

 Its actually a little bit harder than that, not impossible but you have to
 upgrade the base OS and then the ports (Packages). As we have now 8.2  i
 suggest to do a clean-installation

 From version 6 and newer you could do a Binary upgrade using
 freebsd-update.

 Wait until someone check this email as im not a 4.11 or upgrade expert.

 If you just want to fix the problem with SRV records, check the named(bind)
 version to see if SRV records are supported.


 On Thu, Mar 17, 2011 at 4:38 PM, Ola Peters opet...@partnershiphp.orgwrote:

  Thank you so much for your quick response, Diego.  I am a UNIX person
 but mostly on the HP-UX.  Is it difficult to upgrade FreeBSD?  Can I just
 download one of the packages and run the installer?



 Thanks!



 Ola



 *From:* Diego Arias [mailto:dak@gmail.com]
 *Sent:* Thursday, March 17, 2011 2:33 PM
 *To:* Ola Peters
 *Cc:* questi...@freebsd.org
 *Subject:* Re: adding SRV records to a FreeBSD server



 Hi:





 FreeBSD 4.11 is juts too old you should Upgrade that machine.



 Anyway check the named(bind) version to see if it supports srv records.



 On Thu, Mar 17, 2011 at 3:42 PM, Ola Peters opet...@partnershiphp.org
 wrote:

 Hi there,

 Thanks so much for placing this contact information in your header!  I am
 trying to add SRV records to my name server, which is a FreeBSD box.

 (Output from uname -a):

 ns1# uname -a
 FreeBSD ns1.partnershiphp.org 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Fri
 Jan 21 17:21:22 GMT 2005 
 r...@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
  i386

 I don't have a clue where to start and everytime I make a change, I bring
 our website down.  Do you have a link or an example to tell me where I can
 do this?

 Thanks so much,

 Ola Peters
 Senior Unix Administrator
 IT Department
 Partnership Healthplan of California
 360 Campus Lane, Suite 100
 Fairfield, CA 94534

 Phone: (707) 863-4407 | Fax: (707) 863-4349

 Email: opet...@partnershiphp.org
 Our website: www.partnershiphp.org


 
 ~ PHC CONFIDENTIALITY NOTICE ~

 The information contained in this document may be privileged,
 confidential, and protected under applicable law and is intended solely for
 the use of the individual or entity to which it is addressed. If you are not
 the intended recipient or the employee or agent responsible for delivering
 the message to the intended recipient, you are hereby notified that any
 dissemination, distribution, or copying of this communication is strictly
 prohibited. If you have received this communication in error, please notify
 the sender immediately by telephone and destroy the document.

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




 --
 Still Going Strong!!!

 --
 ~ PHC CONFIDENTIALITY NOTICE ~

 The information contained in this document may be privileged,
 confidential, and protected under applicable law and is intended solely for
 the use of the individual or entity to which it is addressed. If you are not
 the intended recipient or the employee or agent responsible for delivering
 the message to the intended recipient, you are hereby notified that any
 dissemination, distribution, or copying of this communication is strictly
 prohibited. If you have received this communication in error, please notify
 the sender immediately by telephone and destroy the document.




 --
 Still Going Strong!!!




-- 
Still Going Strong!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: adding SRV records to a FreeBSD server

2011-03-17 Thread Ilya Kazakevich
Ola,

You have BIND 8.3 as you wrote to me. Check manual if it supports SRV
records. If so -- you do not have to upgrade your OS now.
FreeBSD 4 is REALLY OLD but I do not think upgrading freebsd is what you
want to do now: your issue is to update SRV record, right?


On Fri, Mar 18, 2011 at 12:48 AM, Diego Arias dak@gmail.com wrote:

 On Thu, Mar 17, 2011 at 4:47 PM, Diego Arias dak@gmail.com wrote:

  Its actually a little bit harder than that, not impossible but you have
 to
  upgrade the base OS and then the ports (Packages). As we have now 8.2  i
  suggest to do a clean-installation
 
  From version 6 and newer you could do a Binary upgrade using
  freebsd-update.
 
  Wait until someone check this email as im not a 4.11 or upgrade expert.
 
  If you just want to fix the problem with SRV records, check the
 named(bind)
  version to see if SRV records are supported.
 
 
  On Thu, Mar 17, 2011 at 4:38 PM, Ola Peters opet...@partnershiphp.org
 wrote:
 
   Thank you so much for your quick response, Diego.  I am a UNIX person
  but mostly on the HP-UX.  Is it difficult to upgrade FreeBSD?  Can I
 just
  download one of the packages and run the installer?
 
 
 
  Thanks!
 
 
 
  Ola
 
 
 
  *From:* Diego Arias [mailto:dak@gmail.com]
  *Sent:* Thursday, March 17, 2011 2:33 PM
  *To:* Ola Peters
  *Cc:* questi...@freebsd.org
  *Subject:* Re: adding SRV records to a FreeBSD server
 
 
 
  Hi:
 
 
 
 
 
  FreeBSD 4.11 is juts too old you should Upgrade that machine.
 
 
 
  Anyway check the named(bind) version to see if it supports srv records.
 
 
 
  On Thu, Mar 17, 2011 at 3:42 PM, Ola Peters opet...@partnershiphp.org
  wrote:
 
  Hi there,
 
  Thanks so much for placing this contact information in your header!  I
 am
  trying to add SRV records to my name server, which is a FreeBSD box.
 
  (Output from uname -a):
 
  ns1# uname -a
  FreeBSD ns1.partnershiphp.org 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Fri
  Jan 21 17:21:22 GMT 2005 r...@perseus.cse.buffalo.edu:
 /usr/obj/usr/src/sys/GENERIC
   i386
 
  I don't have a clue where to start and everytime I make a change, I
 bring
  our website down.  Do you have a link or an example to tell me where I
 can
  do this?
 
  Thanks so much,
 
  Ola Peters
  Senior Unix Administrator
  IT Department
  Partnership Healthplan of California
  360 Campus Lane, Suite 100
  Fairfield, CA 94534
 
  Phone: (707) 863-4407 | Fax: (707) 863-4349
 
  Email: opet...@partnershiphp.org
  Our website: www.partnershiphp.org
 
 
  
  ~ PHC CONFIDENTIALITY NOTICE ~
 
  The information contained in this document may be privileged,
  confidential, and protected under applicable law and is intended solely
 for
  the use of the individual or entity to which it is addressed. If you are
 not
  the intended recipient or the employee or agent responsible for
 delivering
  the message to the intended recipient, you are hereby notified that any
  dissemination, distribution, or copying of this communication is
 strictly
  prohibited. If you have received this communication in error, please
 notify
  the sender immediately by telephone and destroy the document.
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
 
 
 
 
  --
  Still Going Strong!!!
 
  --
  ~ PHC CONFIDENTIALITY NOTICE ~
 
  The information contained in this document may be privileged,
  confidential, and protected under applicable law and is intended solely
 for
  the use of the individual or entity to which it is addressed. If you are
 not
  the intended recipient or the employee or agent responsible for
 delivering
  the message to the intended recipient, you are hereby notified that any
  dissemination, distribution, or copying of this communication is
 strictly
  prohibited. If you have received this communication in error, please
 notify
  the sender immediately by telephone and destroy the document.
 
 
 
 
  --
  Still Going Strong!!!
 



 --
 Still Going Strong!!!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: adding SRV records to a FreeBSD server

2011-03-17 Thread Ilya Kazakevich
Hello,

What name server do you use? I am almost sure you have BIND.

You must open your zonefile, add SRV record and reload zone.
I think your zonefile is somewhere in /etc/namedb/

read bind manual, man named and man ndc (or rndc) to solve your problem.
Your question is not about freebsd but about BIND.
http://www.bind9.net/manuals



On Thu, Mar 17, 2011 at 11:42 PM, Ola Peters opet...@partnershiphp.orgwrote:

 Hi there,

 Thanks so much for placing this contact information in your header!  I am
 trying to add SRV records to my name server, which is a FreeBSD box.

 (Output from uname -a):

 ns1# uname -a
 FreeBSD ns1.partnershiphp.org 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Fri
 Jan 21 17:21:22 GMT 2005 
 r...@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
  i386

 I don't have a clue where to start and everytime I make a change, I bring
 our website down.  Do you have a link or an example to tell me where I can
 do this?

 Thanks so much,

 Ola Peters
 Senior Unix Administrator
 IT Department
 Partnership Healthplan of California
 360 Campus Lane, Suite 100
 Fairfield, CA 94534

 Phone: (707) 863-4407 | Fax: (707) 863-4349

 Email: opet...@partnershiphp.org
 Our website: www.partnershiphp.org


 
 ~ PHC CONFIDENTIALITY NOTICE ~

 The information contained in this document may be privileged, confidential,
 and protected under applicable law and is intended solely for the use of the
 individual or entity to which it is addressed. If you are not the intended
 recipient or the employee or agent responsible for delivering the message to
 the intended recipient, you are hereby notified that any dissemination,
 distribution, or copying of this communication is strictly prohibited. If
 you have received this communication in error, please notify the sender
 immediately by telephone and destroy the document.

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: adding SRV records to a FreeBSD server

2011-03-17 Thread Mark Blackman
Using the standard version query syntax below..

dig +short @ns1.partnershiphp.org version.bind txt chaos

DNS Server v2090

She seems to have a DNS server that I'm both unfamiliar with
and unable to find with a search engine.

So, as you say, this is a DNS server question not an OS
question. 

Ola, you must find out which software is being used to provide
DNS name service from this machine before proceeding. 

If 'lsof' is not already installed, as root, install it with

pkg_add -rv 
http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-4.11-release/All/lsof-4.73.1.tgz

then as root use 

lsof -i :53

to identify the name service binary and current PID on your machine.

With that data, you should be able to ask more specific questions
about managing the name service being used.

- Mark

On 17 Mar 2011, at 21:54, Ilya Kazakevich wrote:

 Hello,
 
 What name server do you use? I am almost sure you have BIND.
 
 You must open your zonefile, add SRV record and reload zone.
 I think your zonefile is somewhere in /etc/namedb/
 
 read bind manual, man named and man ndc (or rndc) to solve your problem.
 Your question is not about freebsd but about BIND.
 http://www.bind9.net/manuals
 
 
 
 On Thu, Mar 17, 2011 at 11:42 PM, Ola Peters opet...@partnershiphp.orgwrote:
 
 Hi there,
 
 Thanks so much for placing this contact information in your header!  I am
 trying to add SRV records to my name server, which is a FreeBSD box.
 
 (Output from uname -a):
 
 ns1# uname -a
 FreeBSD ns1.partnershiphp.org 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Fri
 Jan 21 17:21:22 GMT 2005 
 r...@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
 i386
 
 I don't have a clue where to start and everytime I make a change, I bring
 our website down.  Do you have a link or an example to tell me where I can
 do this?
 
 Thanks so much,
 
 Ola Peters
 Senior Unix Administrator
 IT Department
 Partnership Healthplan of California
 360 Campus Lane, Suite 100
 Fairfield, CA 94534
 
 Phone: (707) 863-4407 | Fax: (707) 863-4349
 
 Email: opet...@partnershiphp.org
 Our website: www.partnershiphp.org
 
 
 
 ~ PHC CONFIDENTIALITY NOTICE ~
 
 The information contained in this document may be privileged, confidential,
 and protected under applicable law and is intended solely for the use of the
 individual or entity to which it is addressed. If you are not the intended
 recipient or the employee or agent responsible for delivering the message to
 the intended recipient, you are hereby notified that any dissemination,
 distribution, or copying of this communication is strictly prohibited. If
 you have received this communication in error, please notify the sender
 immediately by telephone and destroy the document.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: What made my FreeBSD server freeze?

2010-09-03 Thread peter

Thanks.  I cloned the hard drive and replaced the old drive with the new drive 
this afternoon.  

---

At 09:25 AM 8/30/2010, Ivan Voras wrote:
On 08/30/10 13:24, pe...@vfemail.net wrote:

When I awoke this morning my FreeBSD box was frozen -- completely 
unresponsive at the console -- and displayed these messages on the console:

  ad0: READ command timeout tag=0 serv=0 -resetting
  ata0: resetting devices
  ad0: removed from configuration
  done
  Aug 30 03:09:25 abc sm-mta 88427 xyz SYSERR(root): collect: Cannot 
 write: ./xyz (fsync uid=o, gid=25): Device not configured

The box has been in continuous operation for years, and I've never seen this 
behavior before.

I rebooted the machine this morning and, thank God, it came back to life.

Is this an early warning that the hard drive is failing and should be 
replaced this week?

Very probably!

Is there anything else I should explore or do at this time?

If not the drive, check drive cables, the power supply and motherboard/CPU 
overheating.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


-
This message sent via VFEmail.net
http://www.vfemail.net
$14.95 Lifetime accounts - 1GB disk, No bandwidth quotas!
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


What made my FreeBSD server freeze?

2010-08-30 Thread peter

When I awoke this morning my FreeBSD box was frozen -- completely unresponsive 
at the console -- and displayed these messages on the console:

 ad0: READ command timeout tag=0 serv=0 -resetting
 ata0: resetting devices
 ad0: removed from configuration
 done
 Aug 30 03:09:25 abc sm-mta 88427 xyz SYSERR(root): collect: Cannot write: 
./xyz (fsync uid=o, gid=25): Device not configured

The box has been in continuous operation for years, and I've never seen this 
behavior before.  

I rebooted the machine this morning and, thank God, it came back to life.  

Is this an early warning that the hard drive is failing and should be replaced 
this week?  Is there anything else I should explore or do at this time?  








-
This message sent via VFEmail.net
http://www.vfemail.net
$14.95 Lifetime accounts - 1GB disk, No bandwidth quotas!
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: What made my FreeBSD server freeze?

2010-08-30 Thread Ivan Voras

On 08/30/10 13:24, pe...@vfemail.net wrote:


When I awoke this morning my FreeBSD box was frozen -- completely unresponsive 
at the console -- and displayed these messages on the console:

  ad0: READ command timeout tag=0 serv=0 -resetting
  ata0: resetting devices
  ad0: removed from configuration
  done
  Aug 30 03:09:25 abc sm-mta 88427 xyz SYSERR(root): collect: Cannot write: 
./xyz (fsync uid=o, gid=25): Device not configured

The box has been in continuous operation for years, and I've never seen this 
behavior before.

I rebooted the machine this morning and, thank God, it came back to life.

Is this an early warning that the hard drive is failing and should be replaced 
this week?


Very probably!


Is there anything else I should explore or do at this time?


If not the drive, check drive cables, the power supply and 
motherboard/CPU overheating.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Very simple file sharing between FreeBSD server and windows client ?

2010-05-17 Thread Ruben de Groot
On Tue, May 11, 2010 at 06:43:09AM -0500, Andrew Gould typed:
 
 Another item to consider in this discussion is sharity-light, an
 easy-to-use program that allows FreeBSD to mount Windows shares.
 Sharity-light is in the ports and Sharity is available  as a
 commercial product:

What's the advantage over mount -t smbfs, which comes with the base ?

Ruben
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Very simple file sharing between FreeBSD server and windows client ?

2010-05-17 Thread Andrew Gould
On Mon, May 17, 2010 at 3:31 AM, Ruben de Groot mai...@bzerk.org wrote:
 On Tue, May 11, 2010 at 06:43:09AM -0500, Andrew Gould typed:

 Another item to consider in this discussion is sharity-light, an
 easy-to-use program that allows FreeBSD to mount Windows shares.
 Sharity-light is in the ports and Sharity is available  as a
 commercial product:

 What's the advantage over mount -t smbfs, which comes with the base ?

 Ruben


When I tried it, back in 2003, I could get it to work easily.  I had
trouble getting smbfs to work.

As someone noted, the sharity-light port is now marked as broken.

Andrew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Very simple file sharing between FreeBSD server and

2010-05-14 Thread Bill Tillman
I've watched this thread for several days now and to put in my 2 cents:
 
1. Samba is not that complicated. I've been using it for years and can have it 
up and configured in a matter of minutes.
 
2. Samba quickly allows you to see your FreeBSD servers from your windows 
clients just like it was a Windows Server. A simple smb.conf file is all you 
need.
 
3. You can get a lot more complex setup with Samba with security, R/W options 
etc... but for what you're descibing I'd recommend Samba or use a graphical FTP 
client on your Windows clients to access your FreeBSD server. Command line FTP 
is an option but it's a lot more complicated than just setting up Samba.
 
Good luck.
 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Very simple file sharing between FreeBSD server and windows client ?

2010-05-11 Thread perryh
Chip Camden sterl...@camdensoftware.com wrote:

 Does anyone have a recommendation for NAS that works well for
 both FreeBSD and Windows clients?

IME, among commercial offerings, virtually all support SMB (via
Samba) but only the high-end (large  relatively costly) ones
support NFS also.  (A while back, the largest Buffalo that Fry's
had -- 4TB IIRC -- claimed to support NFS; all other NAS of any
brand mentioned only SMB and DELNI.)

You can use an inexpensive SMB-only NAS with a FreeBSD client,
but you'll need Samba on the client.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Very simple file sharing between FreeBSD server and windows client ?

2010-05-11 Thread Andrew Gould
On Tue, May 11, 2010 at 2:00 AM,  per...@pluto.rain.com wrote:
 Chip Camden sterl...@camdensoftware.com wrote:

 Does anyone have a recommendation for NAS that works well for
 both FreeBSD and Windows clients?

 IME, among commercial offerings, virtually all support SMB (via
 Samba) but only the high-end (large  relatively costly) ones
 support NFS also.  (A while back, the largest Buffalo that Fry's
 had -- 4TB IIRC -- claimed to support NFS; all other NAS of any
 brand mentioned only SMB and DELNI.)

 You can use an inexpensive SMB-only NAS with a FreeBSD client,
 but you'll need Samba on the client.


Another item to consider in this discussion is sharity-light, an
easy-to-use program that allows FreeBSD to mount Windows shares.
Sharity-light is in the ports and Sharity is available  as a
commercial product:

http://www.freshports.org/net/sharity-light
http://www.obdev.at/products/sharity/index.html

Andrew Gould
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Very simple file sharing between FreeBSD server and windows client ?

2010-05-11 Thread Chip Camden
Thanks for all the replies.  FreeNAS looks like the ticket.

BTW, sharity-light is marked as broken in the ports -- does not compile.
I'm on 8.0-STABLE amd64.

On May 11 2010 06:43, Andrew Gould wrote:
 On Tue, May 11, 2010 at 2:00 AM,  per...@pluto.rain.com wrote:
  Chip Camden sterl...@camdensoftware.com wrote:
 
  Does anyone have a recommendation for NAS that works well for
  both FreeBSD and Windows clients?
 
  IME, among commercial offerings, virtually all support SMB (via
  Samba) but only the high-end (large  relatively costly) ones
  support NFS also.  (A while back, the largest Buffalo that Fry's
  had -- 4TB IIRC -- claimed to support NFS; all other NAS of any
  brand mentioned only SMB and DELNI.)
 
  You can use an inexpensive SMB-only NAS with a FreeBSD client,
  but you'll need Samba on the client.
 
 
 Another item to consider in this discussion is sharity-light, an
 easy-to-use program that allows FreeBSD to mount Windows shares.
 Sharity-light is in the ports and Sharity is available  as a
 commercial product:
 
 http://www.freshports.org/net/sharity-light
 http://www.obdev.at/products/sharity/index.html
 
 Andrew Gould
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Frank Bonnet

Hello

Is there a simple software to share files between a FreeBSD server and a 
windows client other than Samba which is a bit overkill for my needings,


I just want to share a directory (and subdirectories) of my server with 
ONE Windows client, to facilitate some files exchanges between two users.


Thanks for any infos

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Ivan Voras

On 05/10/10 14:35, Frank Bonnet wrote:

Hello

Is there a simple software to share files between a FreeBSD server and a
windows client other than Samba which is a bit overkill for my needings,

I just want to share a directory (and subdirectories) of my server with
ONE Windows client, to facilitate some files exchanges between two users.


If by share you mean use a network file system than there is no other 
way then to use - a network file system, with all its complexity.


Otherwise, scp (winscp), ftp and others can be used to exchange single 
files.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Andrew Gould
On Mon, May 10, 2010 at 7:35 AM, Frank Bonnet f.bon...@esiee.fr wrote:
 Hello

 Is there a simple software to share files between a FreeBSD server and a
 windows client other than Samba which is a bit overkill for my needings,

 I just want to share a directory (and subdirectories) of my server with ONE
 Windows client, to facilitate some files exchanges between two users.

 Thanks for any infos

Some things simply aren't that simple if you're setting them up yourself.

The good news is that you get to choose the type of complexity you
want to deal with:

1.  Samba.
2.  You could purchase a networked drive (network attached storage)
that both computers can access.  Many retail stores now carry these.
3.  Webdav (included with Apache 2.2).  This setup is as complex as
Samba; but you can access it securely across the internet via SSL.

Good luck,

Andrew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Adam Vande More
On Mon, May 10, 2010 at 7:35 AM, Frank Bonnet f.bon...@esiee.fr wrote:

 Hello

 Is there a simple software to share files between a FreeBSD server and a
 windows client other than Samba which is a bit overkill for my needings,

 I just want to share a directory (and subdirectories) of my server with ONE
 Windows client, to facilitate some files exchanges between two users.


If it's a one way share, you can use rsync.



-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Diego F. Arias R.
On Mon, May 10, 2010 at 9:37 AM, Adam Vande More amvandem...@gmail.comwrote:

 On Mon, May 10, 2010 at 7:35 AM, Frank Bonnet f.bon...@esiee.fr wrote:

  Hello
 
  Is there a simple software to share files between a FreeBSD server and a
  windows client other than Samba which is a bit overkill for my needings,
 
  I just want to share a directory (and subdirectories) of my server with
 ONE
  Windows client, to facilitate some files exchanges between two users.
 

 If it's a one way share, you can use rsync.



 --
 Adam Vande More
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


Use samba is no so overkill, for simple stuff is really good.

-- 
mmm, interesante.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Chip Camden
On May 10 2010 08:04, Andrew Gould wrote:
 On Mon, May 10, 2010 at 7:35 AM, Frank Bonnet f.bon...@esiee.fr wrote:
  Hello
 
  Is there a simple software to share files between a FreeBSD server and a
  windows client other than Samba which is a bit overkill for my needings,
 
  I just want to share a directory (and subdirectories) of my server with ONE
  Windows client, to facilitate some files exchanges between two users.
 
  Thanks for any infos
 
 Some things simply aren't that simple if you're setting them up yourself.
 
 The good news is that you get to choose the type of complexity you
 want to deal with:
 
 1.  Samba.
 2.  You could purchase a networked drive (network attached storage)
 that both computers can access.  Many retail stores now carry these.
 3.  Webdav (included with Apache 2.2).  This setup is as complex as
 Samba; but you can access it securely across the internet via SSL.
 
 Good luck,
 
 Andrew
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Does anyone have a recommendation for NAS that works well for both
FreeBSD and Windows clients?

Regards,

-- 
Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Ross Cameron
On Mon, May 10, 2010 at 4:51 PM, Chip Camden
sterl...@camdensoftware.com wrote:
 On May 10 2010 08:04, Andrew Gould wrote:
 On Mon, May 10, 2010 at 7:35 AM, Frank Bonnet f.bon...@esiee.fr wrote:
  Hello
 
  Is there a simple software to share files between a FreeBSD server and a
  windows client other than Samba which is a bit overkill for my needings,
 
  I just want to share a directory (and subdirectories) of my server with ONE
  Windows client, to facilitate some files exchanges between two users.
 
  Thanks for any infos

 Some things simply aren't that simple if you're setting them up yourself.

 The good news is that you get to choose the type of complexity you
 want to deal with:

 1.  Samba.
 2.  You could purchase a networked drive (network attached storage)
 that both computers can access.  Many retail stores now carry these.
 3.  Webdav (included with Apache 2.2).  This setup is as complex as
 Samba; but you can access it securely across the internet via SSL.

 Good luck,

 Andrew
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

 Does anyone have a recommendation for NAS that works well for both
 FreeBSD and Windows clients?

FreeNAS ?
OpenFILER ?


-- 
Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Warren Block

On Mon, 10 May 2010, Adam Vande More wrote:


On Mon, May 10, 2010 at 7:35 AM, Frank Bonnet f.bon...@esiee.fr wrote:


Is there a simple software to share files between a FreeBSD server and a
windows client other than Samba which is a bit overkill for my needings,

I just want to share a directory (and subdirectories) of my server with ONE
Windows client, to facilitate some files exchanges between two users.


If it's a one way share, you can use rsync.


The rsync and scp from Cygwin seem to work okay.

There's a Windows NFS client in Windows Services for UNIX Version 3.5, 
which is a free download from MS.  It doesn't sound like fun.


There's sshfs for Windows: http://dokan-dev.net/en/download/
Untested by me, but I like the idea.

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Timm Wimmers
Am Montag, den 10.05.2010, 14:35 +0200 schrieb Frank Bonnet:
 Hello
 
 Is there a simple software to share files between a FreeBSD server and a 
 windows client other than Samba which is a bit overkill for my needings,
 
 I just want to share a directory (and subdirectories) of my server with 
 ONE Windows client, to facilitate some files exchanges between two users.

I would guess WinSCP (I think it's based on Putty, THE ssh client for
windows) or Filezilla (FTP, SFTP) will fit your needs. If you want more
integration like connecting shares to driveletters take a look at
DokanSSHFS at http://dokan-dev.net/en/

-- 
Timm
Luebeck - Germany

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Andrew Gould
On Mon, May 10, 2010 at 1:47 PM, Timm Wimmers t...@ticore.de wrote:
 Am Montag, den 10.05.2010, 14:35 +0200 schrieb Frank Bonnet:
 Hello

 Is there a simple software to share files between a FreeBSD server and a
 windows client other than Samba which is a bit overkill for my needings,

 I just want to share a directory (and subdirectories) of my server with
 ONE Windows client, to facilitate some files exchanges between two users.

 I would guess WinSCP (I think it's based on Putty, THE ssh client for
 windows) or Filezilla (FTP, SFTP) will fit your needs. If you want more
 integration like connecting shares to driveletters take a look at
 DokanSSHFS at http://dokan-dev.net/en/

 --
 Timm
 Luebeck - Germany


Gioorgi.com has a comparison of SSHFS and WebDAV:
http://gioorgi.com/2009/webdav-versus-sshfs/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Gary Gatten
Yeah; what about thttpd, tftp, etc.  Several easy ways; just what's the 
easiest / best method that suites your requirements.

- Original Message -
From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org
To: Timm Wimmers t...@ticore.de
Cc: Frank Bonnet f.bon...@esiee.fr; freebsd-questions@freebsd.org 
freebsd-questions@freebsd.org
Sent: Mon May 10 14:14:13 2010
Subject: Re: Very simple file sharing between FreeBSD server and windows
client ?

On Mon, May 10, 2010 at 1:47 PM, Timm Wimmers t...@ticore.de wrote:
 Am Montag, den 10.05.2010, 14:35 +0200 schrieb Frank Bonnet:
 Hello

 Is there a simple software to share files between a FreeBSD server and a
 windows client other than Samba which is a bit overkill for my needings,

 I just want to share a directory (and subdirectories) of my server with
 ONE Windows client, to facilitate some files exchanges between two users.

 I would guess WinSCP (I think it's based on Putty, THE ssh client for
 windows) or Filezilla (FTP, SFTP) will fit your needs. If you want more
 integration like connecting shares to driveletters take a look at
 DokanSSHFS at http://dokan-dev.net/en/

 --
 Timm
 Luebeck - Germany


Gioorgi.com has a comparison of SSHFS and WebDAV:
http://gioorgi.com/2009/webdav-versus-sshfs/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread John Levine
 Is there a simple software to share files between a FreeBSD server and a
 windows client other than Samba which is a bit overkill for my needings,

I concur with the advice to use Samba, but if that's too scary, you
can just use FTP.  Recent versions of Windows let you define a network
location that is an FTP server, and it works well enough to show the
files in a pseudo-folder and drag them back and forth to local
folders.  On Windows, it's a poorly documented option under map
network drive.

Or real men run COMMAND.CMO and run FTP from the command line.

R's,
John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Tim Judd
On 5/10/10, John Levine jo...@iecc.com wrote:
 Is there a simple software to share files between a FreeBSD server and a
 windows client other than Samba which is a bit overkill for my needings,

 I concur with the advice to use Samba, but if that's too scary, you
 can just use FTP.  Recent versions of Windows let you define a network
 location that is an FTP server, and it works well enough to show the
 files in a pseudo-folder and drag them back and forth to local
 folders.  On Windows, it's a poorly documented option under map
 network drive.

 Or real men run COMMAND.CMO and run FTP from the command line.


Only if you haven't updated in 10+ years and can't type.


WinNT flavors are cmd.exe
And command.cmo won't run.  I keep trying because I want to be a real man... :D
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Chris Hill

On Mon, 10 May 2010, Chip Camden wrote:

[snip]


Does anyone have a recommendation for NAS that works well for both
FreeBSD and Windows clients?


I built a FreeNAS last year which works like a champ for FreeBSD and 
Windows XP clients. I'm using it for backups: rsync for the FreeBSD 
clients, NASbackup for the Windows ones.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Stress testing a new FreeBSD server?

2010-03-03 Thread Matthew Law

I would be grateful if anyone could recommend any tests, scripts, ports or
packages which would stress test a new FreeBSD box? - both CPU and disk
I/O.  I would particularly like to get the processors nice and warm! :-)

We already use bonnie++, unixbench, etc. but I was wondering if there is a
proper suite of tools for doing just this and google hasn't brought up
anything particularly appealing.

Thanks in advance,

Matt.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


SAN FreeBSD Server

2009-06-08 Thread Friedrich Locke
Dear gentleman,

i would like to configure a FreeBSD installation as storage server
solution. Iwould like to use iSCSI.
Is it possible to configure a server running FreeBSD as a iSCSI server
(i.e., i mean as a target)?

Thanks a lot for your time and cooperation.

Best regards,

FL.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



Re: SAN FreeBSD Server

2009-06-08 Thread Wojciech Puchar

solution. Iwould like to use iSCSI.
Is it possible to configure a server running FreeBSD as a iSCSI server
(i.e., i mean as a target)?


/usr/ports/net/iscsi-target
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: SAN FreeBSD Server

2009-06-08 Thread Vincent Hoffman
On 8/6/09 12:10, Friedrich Locke wrote:
 Dear gentleman,

 i would like to configure a FreeBSD installation as storage server
 solution. Iwould like to use iSCSI.
 Is it possible to configure a server running FreeBSD as a iSCSI server
 (i.e., i mean as a target)?
   

Indeed it is, although as yet I've never needed to.
(12:46:14 /usr/ports)
[jh...@crab] 0 $ make search key=iscsi
Port:   iscsi-target-20080207_2
Path:   /usr/ports/net/iscsi-target
Info:   Implementation of userland ISCSI target (from NetBSD)
Maint:  m...@foster.cc
B-deps:
R-deps:
WWW:http://www.netbsd.org/

Port:   istgt-20090428
Path:   /usr/ports/net/istgt
Info:   An iSCSI target for FreeBSD 7.x with ZFS
Maint:  aoy...@peach.ne.jp
B-deps:
R-deps:
WWW:http://shell.peach.ne.jp/aoyama/



 Thanks a lot for your time and cooperation.

 Best regards,

 FL.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
   

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: SAN FreeBSD Server

2009-06-08 Thread beni
Hi,

Maybe FreeNAS is something ? From http://www.freenas.org/ :
FreeNAS is a free NAS (Network-Attached Storage) server,
supporting: CIFS (samba), FTP, NFS, AFP, RSYNC, iSCSI
protocols, S.M.A.R.T., local user authentication, Software
RAID (0,1,5) with a Full WEB configuration interface.
And also :
http://www.novell.com/communities/node/3447/using-freenas-netware-iscsi-target-aka-cheap-mass-storage

Beni.
- Original Message Follows -
From: Friedrich Locke friedrich.lo...@gmail.com
To: freebsd-questions@freebsd.org
Subject: SAN FreeBSD Server
Date: Mon, 8 Jun 2009 08:10:50 -0300

 Dear gentleman,
 
 i would like to configure a FreeBSD installation as
 storage server solution. Iwould like to use iSCSI.
 Is it possible to configure a server running FreeBSD as a
 iSCSI server (i.e., i mean as a target)?
 
 Thanks a lot for your time and cooperation.
 
 Best regards,
 
 FL.
 ___
 freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OT: Postfix rejects from Freebsd server

2009-04-11 Thread Peter


Da Rock wrote:

 If I resolveip for my ip address it shows up my mail server name, and
 YET I still get deferred rejection from the freebsd mx's.


I had this problem before - freebsd mail server needs some time before
it sees DNS changes...will be fine in a few hours.

Peter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: OT: Postfix rejects from Freebsd server

2009-04-11 Thread Da Rock



 Date: Sat, 11 Apr 2009 14:42:31 +0700
 From: o...@cs.ait.ac.th
 To: rock_on_the_...@hotmail.com
 CC: freebsd-questions@freebsd.org
 Subject: Re: OT: Postfix rejects from Freebsd server
 
  Apr 11 16:26:40 hostname (internal) postfix/smtp[1325]:
  488851744F: to=freebsd-multimedia-requ...@freebsd.org,
  relay=mx1.freebsd.org[69.147.83.52]:25, delay=100211,
  delays=100114/49/48/0.35, dsn=4.7.1, status=deferred (host
  mx1.freebsd.org[69.147.83.52] said: 450 4.7.1 Client host rejected:
  cannot find your hostname, [my-IP] (in reply to RCPT TO command))
 
 It seems like it is a DNS problem.
 
 Are you sure that:
 
 - your mail server gateway name resolves into your mail server gateway IP
 
 and
 
 - your mail server gateway IP reverse resolves to your mail server gateway 
 name
 
 Both should be resolve properly.
 
 The check should be done outside of your own subnet, from an Internet
 Cafe (use Windows nslookup command, same syntax as nslookup on Unix)
 from home if you use a different ISP than for the machine that makes
 problem...
 
 You mention that you recently changed your IP, how recent is that
 recently? The old IP/name could be cached at FreeBSD.
 

I thought it sounded like dns too. But I was under the impression that only a 
reverse lookup was used against the Server name sent by postfix. I have 
specifically requested a ptr record in the arpa zone, and I can run a resolveip 
successfully here.

Is my info wrong? Is the lookup done against more than just the Server name set 
in main.cf?

Cheers

_
View photos of singles in your area Click Here
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fdating%2Eninemsn%2Ecom%2Eau%2Fchannel%2Findex%2Easpx%3Ftrackingid%3D1046247_t=773166080_r=Hotmail_Endtext_m=EXT___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: OT: Postfix rejects from Freebsd server

2009-04-11 Thread Da Rock



 From: keram...@ceid.upatras.gr
 To: rock_on_the_...@hotmail.com
 CC: freebsd-questions@freebsd.org
 Subject: Re: OT: Postfix rejects from Freebsd server
 Date: Fri, 10 Apr 2009 12:08:19 +0300
 
 On Fri, 10 Apr 2009 05:31:22 +, Da Rock rock_on_the_...@hotmail.com 
 wrote:
  I know this may be OT, but I could use some help on this one. I've
  completed a major changeover in network provider, and I've now got a
  proper static ip including ptr records for my mail server (the only
  service that really counts on this anyway).
 
  If I resolveip for my ip address it shows up my mail server name, and
  YET I still get deferred rejection from the freebsd mx's.
 
  Can anyone shed some light on this?
 
  Pls cc as I'm not subscribed to the list via this account
 
 Can you show us the *exact* deferral message?
 
 It may be greylisting from the FreeBSD.org mail servers.
 

Ok. This is the exact message:

Apr 11 16:26:40 hostname (internal) postfix/smtp[1325]: 488851744F: 
to=freebsd-multimedia-requ...@freebsd.org, 
relay=mx1.freebsd.org[69.147.83.52]:25, delay=100211, delays=100114/49/48/0.35, 
dsn=4.7.1, status=deferred (host mx1.freebsd.org[69.147.83.52] said: 450 4.7.1 
Client host rejected: cannot find your hostname, [my-IP] (in reply to RCPT TO 
command))

This is not greylisting either; something should have gotten through by now. 
I've just checked the mx record for the domain in question too- all good.

Server name in main.cf is set to the mx record of the domains served.

What else is there?

Cheers

_
The new Windows Live Messenger has landed. Download it here.
http://download.live.com/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OT: Postfix rejects from Freebsd server

2009-04-11 Thread Olivier Nicole
 Apr 11 16:26:40 hostname (internal) postfix/smtp[1325]:
 488851744F: to=freebsd-multimedia-requ...@freebsd.org,
 relay=mx1.freebsd.org[69.147.83.52]:25, delay=100211,
 delays=100114/49/48/0.35, dsn=4.7.1, status=deferred (host
 mx1.freebsd.org[69.147.83.52] said: 450 4.7.1 Client host rejected:
 cannot find your hostname, [my-IP] (in reply to RCPT TO command))

It seems like it is a DNS problem.

Are you sure that:

- your mail server gateway name resolves into your mail server gateway IP

and

- your mail server gateway IP reverse resolves to your mail server gateway name

Both should be resolve properly.

The check should be done outside of your own subnet, from an Internet
Cafe (use Windows nslookup command, same syntax as nslookup on Unix)
from home if you use a different ISP than for the machine that makes
problem...

You mention that you recently changed your IP, how recent is that
recently? The old IP/name could be cached at FreeBSD.

Bests,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OT: Postfix rejects from Freebsd server

2009-04-11 Thread Jonathan Chen
On Sat, Apr 11, 2009 at 07:57:36AM +, Da Rock wrote:
[...]
 
 I thought it sounded like dns too. But I was under the impression that only a 
 reverse lookup was used against the Server name sent by postfix. I have 
 specifically requested a ptr record in the arpa zone, and I can run a 
 resolveip successfully here.
 
The reverse lookup is done against the IP connecting to FreeBSD mail
servers. If you post your IP to the list (and it's really no big deal),
we can easily check if it's okay.
-- 
Jonathan Chen j...@chen.org.nzOnce is dumb luck.
 Twice is coincidence.
 Three times and Somebody Is Trying To Tell You Something.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OT: Postfix rejects from Freebsd server

2009-04-11 Thread Giorgos Keramidas
On Sat, 11 Apr 2009 07:21:31 +, Da Rock rock_on_the_...@hotmail.com wrote:
 Can you show us the *exact* deferral message?

 It may be greylisting from the FreeBSD.org mail servers.

 Ok. This is the exact message:

 Apr 11 16:26:40 hostname (internal) postfix/smtp[1325]:
 488851744F: to=freebsd-multimedia-requ...@freebsd.org,
 relay=mx1.freebsd.org[69.147.83.52]:25, delay=100211,
 delays=100114/49/48/0.35, dsn=4.7.1, status=deferred (host
 mx1.freebsd.org[69.147.83.52] said: 450 4.7.1 Client host
 rejected: cannot find your hostname, [my-IP] (in reply to RCPT
 TO command))

 This is not greylisting either; something should have gotten through
 by now. I've just checked the mx record for the domain in question
 too- all good.

 Server name in main.cf is set to the mx record of the domains served.

Unfortunately, this doesn't include the hostname and the IP address that
mx1.freebsd.org failed to resolve.  If you are worried about privacy
issues and you don't want the IP address to appear in the mailing list
archives, can you post it personally to me?  Then I can check from
*.freebsd.org machines to see if it resolves correctly both ways: from a
hostname - address and backwards.



pgp4ij8dbOmMW.pgp
Description: PGP signature


Re: OT: Postfix rejects from Freebsd server

2009-04-10 Thread cpghost
On Fri, Apr 10, 2009 at 05:31:22AM +, Da Rock wrote:
 
 I know this may be OT, but I could use some help on this one. I've
 completed a major changeover in network provider, and I've now got a
 proper static ip including ptr records for my mail server (the only
 service that really counts on this anyway).
 
 If I resolveip for my ip address it shows up my mail server name, and
 YET I still get deferred rejection from the freebsd mx's.
 
 Can anyone shed some light on this?
 
 Pls cc as I'm not subscribed to the list via this account

If you're just getting 4xx error codes, but the mails are accepted
after a while, it's simply greylisting. That's normal behaviour of
the FreeBSD mail server(s).

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OT: Postfix rejects from Freebsd server

2009-04-10 Thread Giorgos Keramidas
On Fri, 10 Apr 2009 05:31:22 +, Da Rock rock_on_the_...@hotmail.com wrote:
 I know this may be OT, but I could use some help on this one. I've
 completed a major changeover in network provider, and I've now got a
 proper static ip including ptr records for my mail server (the only
 service that really counts on this anyway).

 If I resolveip for my ip address it shows up my mail server name, and
 YET I still get deferred rejection from the freebsd mx's.

 Can anyone shed some light on this?

 Pls cc as I'm not subscribed to the list via this account

Can you show us the *exact* deferral message?

It may be greylisting from the FreeBSD.org mail servers.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: OT: Postfix rejects from Freebsd server

2009-04-10 Thread Da Rock



 From: keram...@ceid.upatras.gr
 To: rock_on_the_...@hotmail.com
 CC: freebsd-questions@freebsd.org
 Subject: Re: OT: Postfix rejects from Freebsd server
 Date: Fri, 10 Apr 2009 12:08:19 +0300
 
 On Fri, 10 Apr 2009 05:31:22 +, Da Rock rock_on_the_...@hotmail.com 
 wrote:
  I know this may be OT, but I could use some help on this one. I've
  completed a major changeover in network provider, and I've now got a
  proper static ip including ptr records for my mail server (the only
  service that really counts on this anyway).
 
  If I resolveip for my ip address it shows up my mail server name, and
  YET I still get deferred rejection from the freebsd mx's.
 
  Can anyone shed some light on this?
 
  Pls cc as I'm not subscribed to the list via this account
 
 Can you show us the *exact* deferral message?
 
 It may be greylisting from the FreeBSD.org mail servers.
 

That sounds likely. I'll check the exact pattern of the errors to see.

I'll post back with the error soon as I can access the server again.

Cheers

_
Need a new place to rent, share or buy? Let ninemsn property search for you.
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Edomain%2Ecom%2Eau%2F%3Fs%5Fcid%3DFDMedia%3ANineMSN%5FHotmail%5FTagline_t=774152450_r=Domain_tagline_m=EXT___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


OT: Postfix rejects from Freebsd server

2009-04-09 Thread Da Rock

I know this may be OT, but I could use some help on this one. I've
completed a major changeover in network provider, and I've now got a
proper static ip including ptr records for my mail server (the only
service that really counts on this anyway).

If I resolveip for my ip address it shows up my mail server name, and
YET I still get deferred rejection from the freebsd mx's.

Can anyone shed some light on this?

Pls cc as I'm not subscribed to the list via this account
_
The new Windows Live Messenger has landed. Download it here.
http://download.live.com/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Inconsistent behavior. PHP5 FreeBSD server Vs PHP5 Windows Server.

2008-08-08 Thread merv

Hi,

I have a strange problem with PHP5 on FreeBSD.

When run on a FreeBSD server the decrypt function of a xTea encryption 
library does not work correctly. While the same PHP code runs without 
problem on a Windows Server. Has anybody experienced similar problems? I 
am at a dead end any help would be much appreciated.


Windows output:
xTea

A secret message. Meet at 21:00 by the old bridge to talk about the new plan.

hK/xEOKqgx+Tfb7tCndxFH/3HTck+cy3+y1uMa/DUWNgg7I91/QeG2BceCmtaDYmFjPRAczqCHCc
LHMWiGE0ZQV+QC+f3xcJWvtGxLIdDHY=

A secret message. Meet at 21:00 by the old bridge to talk about the new plan.


FreeBSD output:
xTea

A secret message. Meet at 21:00 by the old bridge to talk about the new plan.

hK/xEOKqgx+Tfb7tCndxFH/3HTck+cy3+y1uMa/DUWNgg7I91/QeG2BceCmtaDYmFjPRAczqCHCc
LHMWiGE0ZQV+QC+f3xcJWvtGxLIdDHY=

’³ûøfsƒ‰cfˆ®[Ë[…*x¶ØÚ5L´¥$¨lÔî�ÊB%Tª”ô�Ö�GµXõqÕ-åÉH(€¯;H8¯€àØÃ


Note encryption works fine it is possible to encrypt the message on 
FreeBSD and decrypt the message on Windows. The message also decrypts 
correctly using a Javascript implementation of xTea. The only part that 
fails is decrypt under FreeBSD. Is this expected and common?


PHP source:

?php
require('xTEA.php');

$key = 'Password';
$input = A secret message. Meet at 21:00 by the old bridge to talk 
about the new plan.;


//Encrypt
$ct_data = base64_encode(cryptN($input, $key, TRUE, 32));
//Decrypt
$pt_data = cryptN(base64_decode($ct_data), $key, FALSE, 32);

?
html
body
h3xTea/h3
pre?=$input?/pre
pre?=chunk_split($ct_data);?/pre
pre?=$pt_data?/pre
/body
/html

xTEA.php:

?php
/*\
Based on TEA (2nd variant),http://www.simonshepherd.supanet.com/tea.htm

crypt en- and decrypts a string (1st arg) using a key (2nd arg) of
length 16 with 16 iterations (a 4th argument may be given to use
another number of iterations (8 is superficial, 16 is often adequate,
32 is hard)). Arg 3 is true for encryption, false for decryption. Key
is taken to contain byte characters (0x01-0xFF); subject sstring may
contain wider characters but only each lower byte is used.

\*/

function cryptN($str,$key,$encrypt,$itr)
{
$res=;

while (strlen($str)8)
{
// $res .= crypt8(substr($str,0,8),$key,$encrypt,$itr);
$res .= JScrypt8(substr($str,0,8),$key,$encrypt,$itr);
$str = substr($str,8);
}

if (strlen($str)0)
{
while (strlen($str)8)
{
$str .= ' ';
}
// $res .= crypt8($str,$key,$encrypt,$itr);
$res .= JScrypt8($str,$key,$encrypt,$itr);
}

return rtrim($res,' ');
}

//Four-byte truncate
function fbt($x)
{
$x = $x0x0;
return $x0?0x01+$x:$x;
}

function JScrypt8($oct,$key,$encrypt,$itr)
{
$y=0;
$z=0;
$k=array(); $k[0]=$k[1]=$k[2]=$k[3]=0;
$d=0x9E3779B9;
$sum=$encrypt?0:($d*$itr);
$res=;

for ($i=0; $i8; )
{
$y=fbt(($y8)+(ord($oct{$i})0xFF));
$k[$i3]=fbt(($k[$i3]8)+ord($key{$i}));
$k[$i3]=fbt(($k[$i3]8)+ord($key{$i+8}));
$i++;
$z=fbt(($z8)+(ord($oct{$i})0xFF));
$k[$i3]=fbt(($k[$i3]8)+ord($key{$i}));
$k[$i3]=fbt(($k[$i3]8)+ord($key{$i+8}));
$i++;
}
if ($encrypt)
{
while ($itr--0)
{
$y = fbt(($y+fbt(($z*16)^floor($z/32))+fbt($z^$sum)+$k[$sum3]));
$sum=$sum+$d;
$z = fbt(($z+fbt(($y*16)^floor($y/32))+fbt($y^$sum)+$k[($sum11)3]));
}
}
else
{
while ($itr--0)
{
$z = fbt($z-fbt(fbt(($y*16)^floor($y/32))+fbt($y^$sum)+$k[($sum11)3]));
$sum=$sum-$d;
$y = fbt($y-fbt(fbt(($z*16)^floor($z/32))+fbt($z^$sum)+$k[$sum3]));
}
}
for ($i=4; $i--0; )
{
$res .= chr(fbt(($y0xFF00)24));
$y = $y8;
$res .= chr(fbt(($z0xFF00)24));
$z=$z8;
}
return $res;
}

function crypt8($oct,$key,$encrypt,$itr)
{
$y=0;
$z=0;
$k=array(); $k[0]=$k[1]=$k[2]=$k[3]=0;
$d=0x9E3779B9;
$sum=$encrypt?0:($d*$itr)0x0;
$res=;

for ($i=0; $i8; )
{
$y=($y8)+(ord($oct{$i})0xFF);
$k[$i3]=($k[$i3]8)+ord($key{$i});
$k[$i3]=($k[$i3]8)+ord($key{$i+8});
$i++;
$z=($z8)+(ord($oct{$i})0xFF);
$k[$i3]=($k[$i3]8)+ord($key{$i});
$k[$i3]=($k[$i3]8)+ord($key{$i+8});
$i++;
}
if ($encrypt)
{
while ($itr--0)
{
$y = ($y+(($z4)^($z5))+($z^$sum)+$k[$sum3])0x0;
$sum=$sum+$d;
$z = ($z+(($y4)^($y5))+($y^$sum)+$k[($sum11)3])0x0;
}
}
else
{
while ($itr--0)
{
$z = 
($z+0x01-$y4)^($y5))+($y^$sum)+$k[($sum11)3])0x0))0x0;

$sum=($sum+0x01-$d)0x0;
$y = 
($y+0x01-$z4)^($z5))+($z^$sum)+$k[$sum3])0x0))0x0;

}
}
for ($i=4; $i--0; )
{
$res .= chr(($y0xFF00)24);
$y = $y8;
$res .= chr(($z0xFF00)24);
$z=$z8;
}
return $res;
}

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


Re: FreeBSD Server Settings Consult

2008-05-03 Thread Free BSD
4 GB physical ram but only 3GB usable via System.
AMD X2 64 3800+ (2 CPUs)

i386 Platform

# pciconf -lv|grep ^none
[EMAIL PROTECTED]:0:17:5:  class=0x040100 card=0x0c84105b chip=0x30591106
rev=0x60 hdr=0x00


Only difference is IPFW/Quota/Device Polling/2000HZ


On 6.3 (now on 7) it was having random crashes 1-7 days at a time and did
not produce a kernel dump.


Web/IRC Hosting server

All Sysctls are there from researching the internet for suggested values.




# cat /etc/sysctl.conf

kern.ipc.maxsockbuf=1048576

net.inet.tcp.sendspace=125000
net.inet.tcp.recvspace=125000


net.local.stream.recvspace=65536
net.local.stream.sendspace=65536
net.inet.udp.recvspace=65536
net.inet.udp.maxdgram=65535

kern.ipc.somaxconn=2048
kern.maxvnodes=132072
kern.maxfiles=32768
kern.maxfilesperproc=32768


net.inet.tcp.msl=7500
net.inet.tcp.mssdflt=1460
security.bsd.see_other_uids=0
security.bsd.see_other_gids=0
kern.fallback_elf_brand=3

net.inet.tcp.newreno=0
net.inet.ip.intr_queue_maxlen=1024


net.inet.tcp.rfc1323=1
net.inet.tcp.delayed_ack=0
net.inet.ip.check_interface=0

net.inet.icmp.bmcastecho=0
net.inet.icmp.maskrepl=0
net.inet.icmp.icmplim=500

net.inet.icmp.drop_redirect=1
net.inet.icmp.log_redirect=0

net.inet.ip.rtexpire=2

net.inet.ip.rtmaxcache=1024


net.inet.ip.rtminexpire=2
net.inet.tcp.blackhole=2
net.inet.tcp.icmp_may_rst=0
net.inet.tcp.inflight.enable=0
net.inet.tcp.log_in_vain=0
net.inet.tcp.sack.enable=1
net.inet.udp.blackhole=1
net.inet.udp.log_in_vain=0
net.link.ether.inet.log_arp_wrong_iface=0

# cat /boot/loader.conf
kern.ipc.maxsockets=32768

kern.ipc.nmbclusters=81920


kern.ipc.nmbufs=131072
kern.ipc.shm_use_phys=1
kern.maxproc=8192
net.inet.tcp.tcbhashsize=16384

kern.maxfiles=32768
kern.maxfilesperproc=32768
accf_http_load=YES



Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-STABLE #0: Fri May  2 12:52:50 CDT 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/THE-IRC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2000.79-MHz 686-class
CPU)
  Origin = AuthenticAMD  Id = 0x40fb2  Stepping = 2

Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT
  Features2=0x2001SSE3,CX16
  AMD Features=0xea500800SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!
  AMD Features2=0x1fLAHF,CMP,SVM,ExtAPIC,CR8
  Cores per package: 2
real memory  = 3152936960 (3006 MB)
avail memory = 3078762496 (2936 MB)
ACPI APIC Table: K8M890 AWRDACPI
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 Version 0.3 irqs 0-23 on motherboard
ioapic1 Version 0.3 irqs 24-47 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: K8M890 AWRDACPI on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, bbde (3) failed
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
cpu0: ACPI CPU on acpi0
powernow0: PowerNow! K8 on cpu0
cpu1: ACPI CPU on acpi0
powernow1: PowerNow! K8 on cpu1
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
vgapci0: VGA-compatible display mem
0xc000-0xcfff,0xdd00-0xddff irq 16 at device 0.0 on pci1
pcib2: ACPI PCI-PCI bridge irq 27 at device 2.0 on pci0
pci2: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge irq 31 at device 3.0 on pci0
pci3: ACPI PCI bus on pcib3
rl0: RealTek 8139 10/100BaseTX port 0xf200-0xf2ff mem
0xd000-0xd0ff irq 19 at device 9.0 on pci0
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface PHY 0 on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:15:58:61:20:4c
rl0: [ITHREAD]
atapci0: VIA 6420 SATA150 controller port
0xff00-0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f,0xf400-0xf4ff
irq 20 at device 15.0 on pci0
atapci0: [ITHREAD]
ata2: ATA channel 0 on atapci0
ata2: [ITHREAD]
ata3: ATA channel 1 on atapci0
ata3: [ITHREAD]
atapci1: VIA 8237 UDMA133 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfa00-0xfa0f at device 15.1 on pci0
ata0: ATA channel 0 on atapci1
ata0: [ITHREAD]
ata1: ATA channel 1 on atapci1
ata1: [ITHREAD]
uhci0: VIA 83C572 USB controller port 0xf900-0xf91f irq 21 at device 16.0
on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: VIA 83C572 USB 

Re: FreeBSD Server Settings Consult

2008-05-03 Thread Patrick Clochesy
This is a 64-bit platform... Any reasons you're on an i386 kernel? At  
the least it would fix your RAM issue.


-Patrick

On May 3, 2008, at 3:56 PM, Free BSD [EMAIL PROTECTED] wrote:


4 GB physical ram but only 3GB usable via System.
AMD X2 64 3800+ (2 CPUs)

i386 Platform

# pciconf -lv|grep ^none
[EMAIL PROTECTED]:0:17:5:  class=0x040100 card=0x0c84105b chip=0x30591106
rev=0x60 hdr=0x00


Only difference is IPFW/Quota/Device Polling/2000HZ


On 6.3 (now on 7) it was having random crashes 1-7 days at a time  
and did

not produce a kernel dump.


Web/IRC Hosting server

All Sysctls are there from researching the internet for suggested  
values.





# cat /etc/sysctl.conf

kern.ipc.maxsockbuf=1048576

net.inet.tcp.sendspace=125000
net.inet.tcp.recvspace=125000


net.local.stream.recvspace=65536
net.local.stream.sendspace=65536
net.inet.udp.recvspace=65536
net.inet.udp.maxdgram=65535

kern.ipc.somaxconn=2048
kern.maxvnodes=132072
kern.maxfiles=32768
kern.maxfilesperproc=32768


net.inet.tcp.msl=7500
net.inet.tcp.mssdflt=1460
security.bsd.see_other_uids=0
security.bsd.see_other_gids=0
kern.fallback_elf_brand=3

net.inet.tcp.newreno=0
net.inet.ip.intr_queue_maxlen=1024


net.inet.tcp.rfc1323=1
net.inet.tcp.delayed_ack=0
net.inet.ip.check_interface=0

net.inet.icmp.bmcastecho=0
net.inet.icmp.maskrepl=0
net.inet.icmp.icmplim=500

net.inet.icmp.drop_redirect=1
net.inet.icmp.log_redirect=0

net.inet.ip.rtexpire=2

net.inet.ip.rtmaxcache=1024


net.inet.ip.rtminexpire=2
net.inet.tcp.blackhole=2
net.inet.tcp.icmp_may_rst=0
net.inet.tcp.inflight.enable=0
net.inet.tcp.log_in_vain=0
net.inet.tcp.sack.enable=1
net.inet.udp.blackhole=1
net.inet.udp.log_in_vain=0
net.link.ether.inet.log_arp_wrong_iface=0

# cat /boot/loader.conf
kern.ipc.maxsockets=32768

kern.ipc.nmbclusters=81920


kern.ipc.nmbufs=131072
kern.ipc.shm_use_phys=1
kern.maxproc=8192
net.inet.tcp.tcbhashsize=16384

kern.maxfiles=32768
kern.maxfilesperproc=32768
accf_http_load=YES



Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,  
1994

   The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-STABLE #0: Fri May  2 12:52:50 CDT 2008
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/THE-IRC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2000.79-MHz 686- 
class

CPU)
 Origin = AuthenticAMD  Id = 0x40fb2  Stepping = 2

Features= 
0x178bfbff 
FPU, 
VME, 
DE, 
PSE, 
TSC, 
MSR, 
PAE, 
MCE, 
CX8, 
APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT

 Features2=0x2001SSE3,CX16
 AMD Features=0xea500800SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+, 
3DNow!

 AMD Features2=0x1fLAHF,CMP,SVM,ExtAPIC,CR8
 Cores per package: 2
real memory  = 3152936960 (3006 MB)
avail memory = 3078762496 (2936 MB)
ACPI APIC Table: K8M890 AWRDACPI
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 Version 0.3 irqs 0-23 on motherboard
ioapic1 Version 0.3 irqs 24-47 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413,  
RF5413)

acpi0: K8M890 AWRDACPI on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, bbde (3) failed
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
cpu0: ACPI CPU on acpi0
powernow0: PowerNow! K8 on cpu0
cpu1: ACPI CPU on acpi0
powernow1: PowerNow! K8 on cpu1
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
vgapci0: VGA-compatible display mem
0xc000-0xcfff,0xdd00-0xddff irq 16 at device 0.0 on  
pci1

pcib2: ACPI PCI-PCI bridge irq 27 at device 2.0 on pci0
pci2: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge irq 31 at device 3.0 on pci0
pci3: ACPI PCI bus on pcib3
rl0: RealTek 8139 10/100BaseTX port 0xf200-0xf2ff mem
0xd000-0xd0ff irq 19 at device 9.0 on pci0
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface PHY 0 on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:15:58:61:20:4c
rl0: [ITHREAD]
atapci0: VIA 6420 SATA150 controller port
0xff00- 
0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f, 
0xf400-0xf4ff

irq 20 at device 15.0 on pci0
atapci0: [ITHREAD]
ata2: ATA channel 0 on atapci0
ata2: [ITHREAD]
ata3: ATA channel 1 on atapci0
ata3: [ITHREAD]
atapci1: VIA 8237 UDMA133 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfa00-0xfa0f at device 15.1 on  
pci0

ata0: ATA channel 0 on atapci1
ata0: [ITHREAD]
ata1: ATA channel 1 on atapci1
ata1: [ITHREAD]
uhci0: VIA 83C572 USB controller port 0xf900-0xf91f irq 21 at  
device 16.0

on pci0

FreeBSD Server Settings Consult

2008-05-02 Thread Free BSD
We've been having some problems with our server and I was wondering if
someone had any advice or suggestions for our current system settings.

# cat /etc/sysctl.conf

kern.ipc.maxsockbuf=1048576
net.inet.tcp.sendspace=65536
net.inet.tcp.recvspace=65536
net.local.stream.recvspace=65536
net.local.stream.sendspace=65536
net.inet.udp.recvspace=65536
net.inet.udp.maxdgram=65535
kern.ipc.somaxconn=8192
kern.maxvnodes=132072
kern.maxfiles=65535
kern.maxfilesperproc=65536
net.inet.tcp.msl=7500
net.inet.tcp.mssdflt=1460
security.bsd.see_other_uids=0
security.bsd.see_other_gids=0
kern.fallback_elf_brand=3
net.inet.tcp.newreno=1
net.inet.tcp.rfc1323=1
net.inet.tcp.delayed_ack=0
net.inet.ip.check_interface=0
vfs.vmiodirenable=1
net.inet.ip.portrange.randomized=1
net.inet.icmp.bmcastecho=0
net.inet.icmp.maskrepl=0
net.inet.icmp.icmplim=500
kern.randompid=89061
net.inet.icmp.drop_redirect=1
net.inet.icmp.log_redirect=0
net.inet.ip.random_id=89061
net.inet.ip.rtexpire=2
net.inet.ip.rtmaxcache=256
net.inet.ip.rtminexpire=2
net.inet.tcp.blackhole=2
net.inet.tcp.icmp_may_rst=0
net.inet.tcp.inflight.enable=0
net.inet.tcp.log_in_vain=0
net.inet.tcp.sack.enable=1
net.inet.udp.blackhole=1
net.inet.udp.log_in_vain=0
net.link.ether.inet.log_arp_wrong_iface=0
net.link.ether.inet.max_age=1200


# cat /boot/loader.conf

kern.ipc.maxsockets=32768
kern.ipc.nmbclusters=32768
kern.ipc.nmbufs=131072
kern.ipc.shm_use_phys=1
kern.maxproc=8192
net.inet.tcp.tcbhashsize=16384
kern.maxfiles=65535
kern.maxfilesperproc=65536

# cat /etc/rc.conf (minus networking)

clear_tmp_enable=YES
update_motd=NO
tcp_extensions=YES
firewall_enable=YES
firewall_script=/etc/ipfw.rules
linux_enable=YES
sshd_enable=NO
usbd_enable=NO

fsck_y_enable=YES
oidentd_enable=YES
pureftpd_enable=no

syslogd_enable=YES
syslogd_flags=-ss

ntpd_enable=YES
ntpd_flags=-4 -p/var/run/ntpd.pid
tcp_keepalive=YES
icmp_bmcastecho=NO
icmp_bandlim==YES

portmap_enable=NO
icmp_drop_redirect=YES
quota_enable=YES
check_quotas=YES
#accounting_enable=YES
named_program=/usr/sbin/named
named_flags=-u bind -c /etc/namedb/named.conf
named_enable=YES
local_startup=/usr/local/etc/rc.d
openssh_enable=YES
openssh_flags=-4 -f/etc/ssh/sshd_config
openssh_pidfile=/var/run/sshd.pid
sendmail_enable=NO
network_interfaces=rl0 lo0
webmin_enable=YES
dumpdev=AUTO
dumpdir=/var/crash
courier_imap_imapd_enable=YES
courier_imap_imapd_ssl_enable=YES
courier_imap_pop3d_enable=YES
courier_imap_pop3d_ssl_enable=YES
courier_authdaemond_enable=YES
tor_enable=NO
chkservd_enable=YES
apop3d_enable=NO
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Server Settings Consult

2008-05-02 Thread Bob Hall
On Fri, May 02, 2008 at 07:28:44AM -0400, Free BSD wrote:
 We've been having some problems with our server and I was wondering if
 someone had any advice or suggestions for our current system settings.

You'll probably get more help if you post the problems and any
diagnostic info. :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Server Settings Consult

2008-05-02 Thread Free BSD
Well from bad experience that goes no where, due-to rare issue and no
supporting logs/core dumps... Therefore that be a complete no :(

On Fri, May 2, 2008 at 11:30 AM, Bob Hall [EMAIL PROTECTED] wrote:

 On Fri, May 02, 2008 at 07:28:44AM -0400, Free BSD wrote:
  We've been having some problems with our server and I was wondering if
  someone had any advice or suggestions for our current system settings.

 You'll probably get more help if you post the problems and any
 diagnostic info. :)
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

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


Re: FreeBSD Server Settings Consult

2008-05-02 Thread Mel
On Friday 02 May 2008 13:28:44 Free BSD wrote:
 We've been having some problems with our server and I was wondering if
 someone had any advice or suggestions for our current system settings.

Would help to know, at minimum:
- ammount of ram
- ammount of cpu's
- platform (uname -m )
- pciconf -lv|grep ^none
- dmesg output that complains about hardware
- what's different about your kernel with respect to GENERIC

What the problems are:
- from the sysctl variables, I'm guessing you want more network performance
- you mention core dumps, does the kernel crash?

Some background:
- what's the primary purpose of the machine
- why are things like ipc tuned?


 kern.maxfilesperproc=65536

The above will only work with programs that use open(2) exclusively and not 
fopen, because fopen is limited to SHRT_MAX, being 32767.


-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How do i install c-scope in freeBSD server?

2008-04-09 Thread manikandan . x . balachandran
Hi,

Please help me

How do i install c-scope in freeBSD server?

CScope - http://cscope.sourceforge.net/

Cheers,
Manikandan Balachandran
Bournemouth, UK

-
This communication is for informational purposes only. It is not
intended as an offer or solicitation for the purchase or sale of
any financial instrument or as an official confirmation of any
transaction. All market prices, data and other information are not
warranted as to completeness or accuracy and are subject to change
without notice. Any comments or statements made herein do not
necessarily reflect those of JPMorgan Chase  Co., its subsidiaries
and affiliates.

This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law. If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED. Although this transmission and any
attachments are believed to be free of any virus or other defect
that might affect any computer system into which it is received and
opened, it is the responsibility of the recipient to ensure that it
is virus free and no responsibility is accepted by JPMorgan Chase 
Co., its subsidiaries and affiliates, as applicable, for any loss
or damage arising in any way from its use. If you received this
transmission in error, please immediately contact the sender and
destroy the material in its entirety, whether in electronic or hard
copy format. Thank you.

Please refer to http://www.jpmorgan.com/pages/disclosures for
disclosures relating to UK legal entities.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do i install c-scope in freeBSD server?

2008-04-09 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

 How do i install c-scope in freeBSD server?

It is in ports: devel/cscope

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Duplicate existing FreeBSD Server in VM

2007-12-10 Thread Simon Gao
DAve wrote:
 Terry Sposato wrote:
   
 Hi,

  

 I have just installed a machine and have it setup running a web based CRM
 solution. I want to have an exact duplicate of this machine running as a VM
 for redundancy reasons. 

  

 What is the best way to go about getting this exact machine transferred to
 the VM? Both machines exist on the same network and will be able to talk to
 each other, I have been thinking of a couple of different ways to get all my
 data across which is the easy part, but I want to match everything that is
 installed, base system, ports etc.

  

 Anyone have any ideas or point me into the right direction?

 

 You can use dump over ssh easily enough, here are my notes from using it
 to create multiple production machines from a single test server. There
 are better ways I am sure, but this is quick and easy if you are
 familiar with FreeBSD installs.

 Note #1 In the first comment line I say to boot the live file system CD,
 that is what you would do in the VM, just as you would normally boot an
 installer CD, but use a Live filesystem CD instead.

 Note #2 I used several slices with sizes some may not agree with. It was
 a choice we made for various reasons, the servers have been running for
 three years. You may have more or less slices of varying sizes, adjust
 the steps below to your preferences.

 Note #3 You will need to check and WRITE DOWN which slice is which mount
 point, /, /var, /usr and so on. Your disks may be different if you
 choose not to create a seperate /tmp, or /var.

 I'll be out of the office for a week, but you can try and adjust as
 needed, it won't hurt anything and you can always overwrite and try
 again. WRITE IT DOWN.

 Works for us, I've used it several times, adjusting as needed for the
 system I am cloning.

 DAve

 

 # boot live filesystem cd
 # use disklabel to check/create slices
 /stand/sysinstall
 /dev/ad0s1b256mb   swap
 /dev/ad0s1a256mb   /mnt/ufs.1softupdates
 /dev/ad0s1e256mb   /mnt/ufs.2softupdates
 /dev/ad0s1d256mb   /mnt/ufs.3softupdates
 /dev/ad0s1fall /mnt/ufs.4softupdates
 /dev/ad1s1d2mb /mnt/ufs.5

 # unmount the new slices
 umount /mnt/ufs.1
 umount /mnt/ufs.2
 umount /mnt/ufs.3
 umount /mnt/ufs.4
 umount /mnt/ufs.5

 # make newfs on each slice
 newnfs /dev/ad0s1a
 newnfs /dev/ad0s1e
 newnfs /dev/ad0s1f
 newnfs /dev/ad0s1d
 newnfs /dev/ad1s1d

 # remount the slices
 mount -t ufs -o rw /dev/ad0s1a /mnt/ufs.1
 mount -t ufs -o rw /dev/ad0s1e /mnt/ufs.2
 mount -t ufs -o rw /dev/ad0s1d /mnt/ufs.3
 mount -t ufs -o rw /dev/ad0s1f /mnt/ufs.4

 # fetch the filesystems from the test server
 # you will need to enable root ssh access on the test server for this.
 cd /mnt/ufs.1
 ssh [EMAIL PROTECTED] dump -0L -f - /dev/ad0s1a | restore -rf - /dev/ad0s1a
 cd /mnt/ufs.2
 ssh [EMAIL PROTECTED] dump -0L -f - /dev/ad0s1e | restore -rf - /dev/ad0s1e
 cd /mnt/ufs.3
 ssh [EMAIL PROTECTED] dump -0L -f - /dev/ad0s1f | restore -rf - /dev/ad0s1f
 cd /mnt/ufs.4
 ssh [EMAIL PROTECTED] dump -0L -f - /dev/ad0s1d | restore -rf - /dev/ad0s1d

 # change the following entries in rc.conf, remember everything is
 mounted under /mnt!
 # X = the ecluster number 1,2,3,4,5,6,7,8, etc.
 hostname=new_server_X
 ifconfig_em0=inet 10.0.240.13X netmask 255.255.255.0

 Reboot the new server, it should come up just fine.


   
Your instructions is very helpful. When using on 4.11, -L seems not
working with dump.

Also I have one question, I clone file system from one machine to
another different type of machine. The source machine's file system is
on /dev/da0s1, but destination's is on /dev/ad0s1.  Then I run following
to update boot loader:

fdisk -B -b /boot/boot0 /dev/ad0
bsdlabel -B /dev/ad0s1

However, the cloned system can't find kernel on reboot. What am I missing?

Simon



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


Duplicate existing FreeBSD Server in VM

2007-11-07 Thread Terry Sposato
Hi,

 

I have just installed a machine and have it setup running a web based CRM
solution. I want to have an exact duplicate of this machine running as a VM
for redundancy reasons. 

 

What is the best way to go about getting this exact machine transferred to
the VM? Both machines exist on the same network and will be able to talk to
each other, I have been thinking of a couple of different ways to get all my
data across which is the easy part, but I want to match everything that is
installed, base system, ports etc.

 

Anyone have any ideas or point me into the right direction?

 

I know I have already asked this question but there is a slight difference,
the real server is running FreeBSD 6.2-RELEASE-p8 AMD64 version. The
duplicated version which will be running in a VM is only going to be the
i386 version. What would be the best way to attack this problem? 

 

The stuff that needs to be synced would be a MySQL database along with a
website. Everything else probably doesn't matter...

 

Regards,

 

Terry

http://www.sucked-in.com

Have you been sucked in?

 

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


Re: Duplicate existing FreeBSD Server in VM

2007-11-03 Thread Uwe Laverenz
On Fri, Nov 02, 2007 at 12:46:09PM +1100, Terry Sposato wrote:

 I have just installed a machine and have it setup running a web based CRM
 solution. I want to have an exact duplicate of this machine running as a VM
 for redundancy reasons. 

The best and easiest way I know of is using /usr/ports/net/rsync for
this task. I often used it to move BSD or Linux systems to new hardware
or transfer them into a VM.

I usually make sure that the kernel supports all important hardware on
the target machine and that /etc/fstab is correct. After that I start
to transfer filesystem after filesystem with e.g.:

   # rsync -avxH --delete --exclude /etc/fstab / [EMAIL PROTECTED]:/

You might want to exclude other files (e.g. /etc/rc.conf) from being
overwritten, I guess.

The nice thing with rsync is that only diffs are transferred, so it would
be easy and fast to keep your VM in sync with the source machine.

Uwe

P.S.:
Yesterday I moved a FreeBSD 4.5 system from a Proliant 3000 (~7 years old)
to a VMware Server VM using rsync. All I had to take care of was the use
of a GENERIC kernel, a new /etc/fstab and a changed ifconfig line in
/etc/rc.conf.

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


Re: Duplicate existing FreeBSD Server in VM

2007-11-02 Thread Mark Foster
Terry Sposato wrote:
 What is the best way to go about getting this exact machine transferred to
 the VM? Both machines exist on the same network and will be able to talk to
 each other, I have been thinking of a couple of different ways to get all my
 data across which is the easy part, but I want to match everything that is
 installed, base system, ports etc.

  

 Anyone have any ideas or point me into the right direction?
   
There are a # of ways to skin that cat.
Have a look at my Linux P2V page as it describes a process that should
work for you.
http://mark.foster.cc/wiki/index.php/Linux_P2V

-- 
Said one park ranger, 'There is considerable overlap between the 
 intelligence of the smartest bears and the dumbest tourists.'
Mark D. Foster, CISSP [EMAIL PROTECTED]  http://mark.foster.cc/

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


Duplicate existing FreeBSD Server in VM

2007-11-01 Thread Terry Sposato
Hi,

 

I have just installed a machine and have it setup running a web based CRM
solution. I want to have an exact duplicate of this machine running as a VM
for redundancy reasons. 

 

What is the best way to go about getting this exact machine transferred to
the VM? Both machines exist on the same network and will be able to talk to
each other, I have been thinking of a couple of different ways to get all my
data across which is the easy part, but I want to match everything that is
installed, base system, ports etc.

 

Anyone have any ideas or point me into the right direction?

 

Regards,

 

Terry

http://www.sucked-in.com

Have you been sucked in?

 

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


Re: Duplicate existing FreeBSD Server in VM

2007-11-01 Thread DAve
Terry Sposato wrote:
 Hi,
 
  
 
 I have just installed a machine and have it setup running a web based CRM
 solution. I want to have an exact duplicate of this machine running as a VM
 for redundancy reasons. 
 
  
 
 What is the best way to go about getting this exact machine transferred to
 the VM? Both machines exist on the same network and will be able to talk to
 each other, I have been thinking of a couple of different ways to get all my
 data across which is the easy part, but I want to match everything that is
 installed, base system, ports etc.
 
  
 
 Anyone have any ideas or point me into the right direction?
 

You can use dump over ssh easily enough, here are my notes from using it
to create multiple production machines from a single test server. There
are better ways I am sure, but this is quick and easy if you are
familiar with FreeBSD installs.

Note #1 In the first comment line I say to boot the live file system CD,
that is what you would do in the VM, just as you would normally boot an
installer CD, but use a Live filesystem CD instead.

Note #2 I used several slices with sizes some may not agree with. It was
a choice we made for various reasons, the servers have been running for
three years. You may have more or less slices of varying sizes, adjust
the steps below to your preferences.

Note #3 You will need to check and WRITE DOWN which slice is which mount
point, /, /var, /usr and so on. Your disks may be different if you
choose not to create a seperate /tmp, or /var.

I'll be out of the office for a week, but you can try and adjust as
needed, it won't hurt anything and you can always overwrite and try
again. WRITE IT DOWN.

Works for us, I've used it several times, adjusting as needed for the
system I am cloning.

DAve



# boot live filesystem cd
# use disklabel to check/create slices
/stand/sysinstall
/dev/ad0s1b256mb   swap
/dev/ad0s1a256mb   /mnt/ufs.1softupdates
/dev/ad0s1e256mb   /mnt/ufs.2softupdates
/dev/ad0s1d256mb   /mnt/ufs.3softupdates
/dev/ad0s1fall /mnt/ufs.4softupdates
/dev/ad1s1d2mb /mnt/ufs.5

# unmount the new slices
umount /mnt/ufs.1
umount /mnt/ufs.2
umount /mnt/ufs.3
umount /mnt/ufs.4
umount /mnt/ufs.5

# make newfs on each slice
newnfs /dev/ad0s1a
newnfs /dev/ad0s1e
newnfs /dev/ad0s1f
newnfs /dev/ad0s1d
newnfs /dev/ad1s1d

# remount the slices
mount -t ufs -o rw /dev/ad0s1a /mnt/ufs.1
mount -t ufs -o rw /dev/ad0s1e /mnt/ufs.2
mount -t ufs -o rw /dev/ad0s1d /mnt/ufs.3
mount -t ufs -o rw /dev/ad0s1f /mnt/ufs.4

# fetch the filesystems from the test server
# you will need to enable root ssh access on the test server for this.
cd /mnt/ufs.1
ssh [EMAIL PROTECTED] dump -0L -f - /dev/ad0s1a | restore -rf - /dev/ad0s1a
cd /mnt/ufs.2
ssh [EMAIL PROTECTED] dump -0L -f - /dev/ad0s1e | restore -rf - /dev/ad0s1e
cd /mnt/ufs.3
ssh [EMAIL PROTECTED] dump -0L -f - /dev/ad0s1f | restore -rf - /dev/ad0s1f
cd /mnt/ufs.4
ssh [EMAIL PROTECTED] dump -0L -f - /dev/ad0s1d | restore -rf - /dev/ad0s1d

# change the following entries in rc.conf, remember everything is
mounted under /mnt!
# X = the ecluster number 1,2,3,4,5,6,7,8, etc.
hostname=new_server_X
ifconfig_em0=inet 10.0.240.13X netmask 255.255.255.0

Reboot the new server, it should come up just fine.


-- 
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: backup solution for home FreeBSD server

2007-04-06 Thread Vlad Skvortsov

Robert Huff wrote:

 I'm looking for an external backup solution for my FreeBSD file
 server.  I want it to be pluggable via USB interface (I'd share
 it with a couple of servers). I'd also like to be able to move
 backups to an off-site storage, so external HDD won't probably
 work for me. My data size is currently about 50G, but I expect it
 to grow to about 250G. My price range is below $300.
 
 Suggestions?



Check out Addonics, particularly the Saturn system.
I have one of these:

http://www.addonics.com/products/Saturn/aeschd.asp
  


Yep, this looks interesting. However, can you say if there is any 
significant advantage of this Saturn enclosures over standard ones, 
besides the cyphering feature?


Thanks!

--
Vlad Skvortsov, [EMAIL PROTECTED], http://vss.73rus.com

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


Re: backup solution for home FreeBSD server

2007-04-06 Thread Roland Smith
On Thu, Apr 05, 2007 at 11:06:44PM -0700, Vlad Skvortsov wrote:
 Robert Huff wrote:
  I'm looking for an external backup solution for my FreeBSD file
  server.  I want it to be pluggable via USB interface (I'd share
  it with a couple of servers). I'd also like to be able to move
  backups to an off-site storage, so external HDD won't probably
  work for me. My data size is currently about 50G, but I expect it
  to grow to about 250G. My price range is below $300.
  
  Suggestions?
 
 
  Check out Addonics, particularly the Saturn system.
  I have one of these:
 
  http://www.addonics.com/products/Saturn/aeschd.asp
   
 
 Yep, this looks interesting. However, can you say if there is any 
 significant advantage of this Saturn enclosures over standard ones, 
 besides the cyphering feature?

If you want encryption, you can use geli(8). This encrypts the raw disk
with AES. I'm using it with my USB backup disk.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpkwDV5uuBm5.pgp
Description: PGP signature


Re: backup solution for home FreeBSD server

2007-04-06 Thread Vlad Skvortsov

Roland Smith wrote:

http://www.addonics.com/products/Saturn/aeschd.asp
 
  
Yep, this looks interesting. However, can you say if there is any 
significant advantage of this Saturn enclosures over standard ones, 
besides the cyphering feature?



If you want encryption, you can use geli(8). This encrypts the raw disk
with AES. I'm using it with my USB backup disk.
  


Yes, I'm aware of that. I guess my question was: why did you refer to 
this particular enclosure? Or you just happen to have this one and this 
is the reason?


--
Vlad Skvortsov, [EMAIL PROTECTED], http://vss.73rus.com

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


Re: backup solution for home FreeBSD server

2007-04-06 Thread Colin Percival
Robert Huff wrote:
   Check out Addonics, particularly the Saturn system.
   I have one of these:
 
   http://www.addonics.com/products/Saturn/aeschd.asp

I recommend against buying anything from a company which
(a) uses DES,
(b) describes it as bullet proof protection, or
(c) doesn't explain how they're using it (there are several
methods for performing full disk encryption using a block
cipher; some are better than others).

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


Re: backup solution for home FreeBSD server

2007-04-06 Thread Garrett Cooper
John Levine wrote:
 I'm looking for an external backup solution for my FreeBSD file server. 
 I want it to be pluggable via USB interface (I'd share it with a couple 
 of servers). I'd also like to be able to move backups to an off-site 
 storage, so external HDD won't probably work for me. My data size is 
 currently about 50G, but I expect it to grow to about 250G. My price 
 range is below $300.
 
 Get a couple of 150G USB disks.  They work great, you can use
 dump/restore or just pax -r -w to copy stuff to the disks.
 
 I'm a big fan of offsite storage, so I actually have three USB disks.
 I leave two plugged into the computer so it can dump on alternate
 nights, and put one in my bank safe deposit box.  Every week or so I
 take one of the two disks down to the bank and swap.
 
 R's,
 John

Have you also considered tape backup as well as standard disks? Tapes
are a bit more expensive, but overall a more static backup / archiving
solution than disks. Besides, they're cheaper in the long run from what
remember.

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


  1   2   3   >