tuning FB 7.2 stable for lighhttpd

2010-07-06 Thread sonjaya
dear all 

I need triks to tune up FreeBSD 7.2 stable for lighhttpd+php and mysql, i feel 
so slow, my enggine is IBM Xseries 3250M2 + 4 g + 250 G 

My Regard's
SONJAYA
http://www.sharenupload.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: NetBoot Install Sparc64 Problems

2010-07-06 Thread Anton Shterenlikht
On Tue, Jul 06, 2010 at 01:55:36AM +0200, Narciso Martínez Malnero wrote:
 Hello.
 
 I've got to boot from net (using only tftp without nfs, the server spent
 about 15/20 minutes trying nfs mount before).
 
 Now I get any errors in the boot with the kernel:
 Release 8.0: jumping to kernel entry at 0xc0088000
 Release 6.0: nothing to autoload yet.
  jumping to kernel entry at 0xc0068000
 Release 5.0: no errors
 
 Do you know that errors and could be possible update from 5.0 to 8.0 (for
 example) when I have installed it yet?

sorry, I don't know

 
 Thanks a lot.
 
 Sorry if I've answer you directly. I don't usually write to the list, How
 should I answer to belong the same post? (my English is not very well).

just subscribe to the freebsd-questions mailing list.

anton



 
 Thanks again.
 
 
 -Mensaje original-
 De: Anton Shterenlikht [mailto:me...@bristol.ac.uk] 
 Enviado el: lunes, 05 de julio de 2010 17:22
 Para: Narciso Martinez
 CC: freebsd-spar...@freebsd.org
 Asunto: Re: NetBoot Install Sparc64 Problems
 
 On Mon, Jul 05, 2010 at 04:31:32PM +0200, Narciso Martinez wrote:
  Hello.
  
  I'm trying to net install in Sparc64 (Sun Enterprise 250 without cd-rom).
  
  I've read a lot of post in this list and other guides in Internet but
  I have some ideas not very clear.
 
  I have a Ubuntu server with BOOTP, RARP and TFTP to install in Sparc64
 server.
 
 not sure about Ubuntu, but from another FreeBSD box:
 
 http://seis.bris.ac.uk/~mexas/freebsd/sparc64/firmware-update
 
 These are the guidelines I followed to update firmware
 via ntpboot. I think the same should be used for normal
 boot/install. As far as I understand you only need rarpd and tftpd.
 
 -- 
 Anton Shterenlikht
 Room 2.6, Queen's Building
 Mech Eng Dept
 Bristol University
 University Walk, Bristol BS8 1TR, UK
 Tel: +44 (0)117 331 5944
 Fax: +44 (0)117 929 4423
 

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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


/usr/local empty after upgrade

2010-07-06 Thread Mike Barnard
Hi All,

I have never encountered anything like this before and I am little puzzled.
After upgrading my FreeBSD 8.0 RELEASE, I ended up with FreeBSD
8.1-PRERELEASE and an empty /usr/local directory. It wiped out my /usr/local
directory! I did nothing out of the usual on this upgrade. Any one
experienced the same thing? How do I safely get /usr/local populated again?



-- 
Mike

Of course, you might discount this possibility, but remember that one in
a million chances happen 99% of the time.

___
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: wireless on HP compaq 6715s - Broadcom BCM5906m - not supported?

2010-07-06 Thread Anton Shterenlikht
On Mon, Jul 05, 2010 at 06:15:06PM +, Paul B Mahol wrote:
 On Mon, Jul 5, 2010 at 11:54 AM, Anton Shterenlikht me...@bristol.ac.uk 
 wrote:
  I've HP Compaq 6715s laptop.
  Looking at pciconf -lv output, the
  wireless (and ethernet) device is:
 
 
  b...@pci0:16:0:0:       class=0x02 card=0x30c2103c chip=0x171314e4 
  rev=0x02 hdr=0x00
     vendor     = 'Broadcom Corporation'
     device     = 'Broadcom NetLink (TM) Fast Ethernet (BCM5906m)'
     class      = network
     subclass   = ethernet
 
 I see only ethernet, which is supported fine.

Paul, thank you for your help.

HP manuals describe it as integrated wireless LAN device. 

well.. this also puzzled me. The thing is, this laptop has
a wireless button. When the laptop was running MS Windows XP,
the button could be used to enable/disable wireless. There
is a small LED on the button which lights up when wireless
is enabled.  After I installed FreeBSD 9.0-current, the button
is always off. I tried to press it during boot, while in BIOS,
and after boot - it is always off, at least the LED is always
off.

So I'm thinking perhaps wireless is off on a very low level,
and hence is not picked up by kernel?

I was hoping to hear from somebody who uses a similar laptop..

Here's the full pciconf -lv output:

# pciconf -lv
hos...@pci0:0:0:0:  class=0x06 card=0x30c2103c chip=0x79101002 rev=0x00 
hdr=0x00
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'RS690 Host Bridge'
class  = bridge
subclass   = HOST-PCI
pc...@pci0:0:1:0:   class=0x060400 card=0x30c2103c chip=0x79121002 rev=0x00 
hdr=0x01
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'RS690 PCI to PCI Bridge (Internal gfx)'
class  = bridge
subclass   = PCI-PCI
pc...@pci0:0:4:0:   class=0x060400 card=0x30c2103c chip=0x79141002 rev=0x00 
hdr=0x01
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
class  = bridge
subclass   = PCI-PCI
pc...@pci0:0:5:0:   class=0x060400 card=0x30c2103c chip=0x79151002 rev=0x00 
hdr=0x01
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
class  = bridge
subclass   = PCI-PCI
pc...@pci0:0:6:0:   class=0x060400 card=0x30c2103c chip=0x79161002 rev=0x00 
hdr=0x01
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'RS690 PCI to PCI Bridge (PCI Express Port 2)'
class  = bridge
subclass   = PCI-PCI
atap...@pci0:0:18:0:class=0x01018f card=0x43801002 chip=0x43801002 rev=0x00 
hdr=0x00
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'IXP SB600 Serial ATA Controller'
class  = mass storage
subclass   = ATA
oh...@pci0:0:19:0:  class=0x0c0310 card=0x30c2103c chip=0x43871002 rev=0x00 
hdr=0x00
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'IXP SB600 USB Controller (OHCI0)'
class  = serial bus
subclass   = USB
oh...@pci0:0:19:1:  class=0x0c0310 card=0x30c2103c chip=0x43881002 rev=0x00 
hdr=0x00
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'IXP SB600 USB Controller (OHCI1)'
class  = serial bus
subclass   = USB
oh...@pci0:0:19:2:  class=0x0c0310 card=0x30c2103c chip=0x43891002 rev=0x00 
hdr=0x00
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'IXP SB600 USB Controller (OHCI2)'
class  = serial bus
subclass   = USB
oh...@pci0:0:19:3:  class=0x0c0310 card=0x30c2103c chip=0x438a1002 rev=0x00 
hdr=0x00
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'IXP SB600 USB Controller (OHCI3)'
class  = serial bus
subclass   = USB
oh...@pci0:0:19:4:  class=0x0c0310 card=0x30c2103c chip=0x438b1002 rev=0x00 
hdr=0x00
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'IXP SB600 USB Controller (OHCI4)'
class  = serial bus
subclass   = USB
eh...@pci0:0:19:5:  class=0x0c0320 card=0x30c2103c chip=0x43861002 rev=0x00 
hdr=0x00
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'IXP SB600 USB Controller (EHCI)'
class  = serial bus
subclass   = USB
no...@pci0:0:20:0:  class=0x0c0500 card=0x30c2103c chip=0x43851002 rev=0x14 
hdr=0x00
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'ATI SMBus (ATI RD600/RS600)'
class  = serial bus
subclass   = SMBus
atap...@pci0:0:20:1:class=0x010182 card=0x30c2103c chip=0x438c1002 rev=0x00 
hdr=0x00
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'ATI RD600/RS600 IDE Controller (RD600/RS600)'
class  = mass storage
subclass   = ATA
no...@pci0:0:20:2:  class=0x040300 card=0x30c2103c chip=0x43831002 rev=0x00 
hdr=0x00
vendor = 

Re: copying a disk with ignoring errors

2010-07-06 Thread Christoph Kukulies

Am 05.07.2010 21:39, schrieb Polytropon:

On Mon, 05 Jul 2010 16:09:23 +0200, Christoph Kukuliesk...@kukulies.org  
wrote:
   


I tried PHKs' recoverdisk with  recoverdisk -b 1024000 /dev/ad2 ad2.dmp

and it went off quite promising just few dma read timeouts and when I
was at 7% of recovery
it suddenly says:
ad2: FAILURE - device detached.
1558528000 1024000 failed (device not configured)
#
 

Not good. Can you obtain an 1:1 copy of the disk using ddrescue?
And it's often easier to operate partition-wise, if there are
functionally separated partitions on the disk; let's assume
the /home directory was mounted from slice 1 partition f, then
try:

# ddrescue -d -r 3 -n /dev/ad2s1f home.ddr logfile

If you are lucky to get a copy of this partition, you can try
to apply analytic and repairing tools to that partition copy.



   

Hmm. How can I avoid that the device gets detached?
 

I do not think you can do anything against it. A device detachment
means a MASSIVE failure. It *can* be a problem of the controller,
but mostly it is a problem of the disk itself. There can be a way
to get around it - by replacing the disk's PCB with an identical
one. But it's not for sure that this will work, e. g. if the disk's
drive components have massive defects.

A device detachment at least doesn't look like an easy I/O problem
within the drive's components (the platters, heads, the motors).

The error must be that massive that the disk itself says goodbye
to the system and disappears so that no control commands will reach
it.

You can try atacontrol reinit to force the disk back on-line,
but it may refuse to do so. See man atacontrol for other options.
You can also use the smartctl program (from port smartmontools)
to check the drive's error memory to see what has caused the detachment;
maybe there's some information there.

It's like /dev/cpu: device disappeared. :-)
   


Thanks for the detailed alternatives and explanations. I managed in a 
second attempt
by using the option recoverdisk -b 102400 -r workfile -w workfile 
/dev/ad2 ad2.dmp
(maybe I was using a different large number for the -b option, maybe I 
even tried it once with -b 0).
Anyway the second time it held until I was down to a few thousand block 
being unrecoverable.


In the end I was able to recover the data. Thanks.

Christoph

___
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: Is it safe to modify a port's makefile

2010-07-06 Thread Bernt Hansson

Caleb Stein said the following on 2010-07-06 04:43:
Here is my question again:  The Wine port will only build on 
i386.  I have amd64.  I want to install Wine.  Is it safe to modify 
Makefile to allow it to build on amd64?


You won't be able to build it, but it's safe.

___
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: /usr/local empty after upgrade

2010-07-06 Thread Chris Rees
You sure you didn't have /usr on a different partition and forget to tell
sysinstall?



Sorry for top-posting, Android won't let me quote. There's a bug report on
it!

On 6 Jul 2010 10:38, Mike Barnard mike.barna...@gmail.com wrote:

Hi All,

I have never encountered anything like this before and I am little puzzled.
After upgrading my FreeBSD 8.0 RELEASE, I ended up with FreeBSD
8.1-PRERELEASE and an empty /usr/local directory. It wiped out my /usr/local
directory! I did nothing out of the usual on this upgrade. Any one
experienced the same thing? How do I safely get /usr/local populated again?



--
Mike

Of course, you might discount this possibility, but remember that one in
a million chances happen 99% of the time.

___
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: Global backup solution for FBSD Ubuntu

2010-07-06 Thread krad
On 4 July 2010 23:18, Tim Daneliuk tun...@tundraware.com wrote:

 On 07/04/10 16:43, bsd wrote:

 Hello,

 I am trying to build a global backup solution for couple of strategic
 servers (7) based on two operating systems :

 - FreeBSD (6 - 7 // soon 7 - 8)
 - Ubuntu 8.04 LTS

 These servers are hosting some strategic components mainly related to DNS
 infrastructure and databases.


 For the moment I am backing up these server using network based backup
 solution:

 - A duplicity based solution which backs up key directories in my
 infrastructure on a remote FTP server provided by my hosting company.
 - A dump of some key components which I am doing on regular basis for
 FreeBSD servers.
 - Duplicity is also used for the Ubuntu servers.
 - Databases are replicated live on a remote server using slony for the
 most strategic ones (Postgres DB) and using mysql dump export for MySQL.


 • I am not a 100% sure these solutions will allow me to restart rapidly
 from a crash, specially for Ubuntu servers.
 • I would like to know which solution(s) you have deployed at what cost
 for what results ?

 I am actually considering couple of different solutions

 - SAIT solution and backula.
 - Disk based solution (maybe also with backula).
 …


 I have couple of servers that will reach their end of life that could be
 recycled as backup solution at a very convenient price…




 I wrote a simple shell-based solution for this problem some time ago.  It
 (and FreeBSD
 instructions) can be found:

   http://www.tundraware.com/Software/tbku/


 I am able to recover a production server (DNS, dhcp, http, sendmail,
 etc...) in under
 30 minutes using this technique.

 ___
 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



we use an rsync based solution at work. All the files are basically rsyncd
onto a big opensolaris filer backed with zfs. We then snapshot each hosts
file system after the completed backup. It then gives us an incremental
forever backup so is generally quite fast to do.

Restores are also fairly fast depending on the size of the data set. For a
full restore I boot into the new box on a liveusb os, partition/slice,
newfs, mount and push the rsync back. All fairly easy and quick.

With regard to database backups, we run all our mysql and oracle dbs on zfs.
This allows us to put a global write lock on the db and flush everything to
disk. We then snapshot the db zfs fs and remove the write lock.
Alternatively if its a mysql slave, we just stop the slave, flush and snap.
This means we can take hot backups of all our dbs with minimal impact.
___
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: Get access to csh (default freebsd shell) for root to solve login problem.

2010-07-06 Thread Jerry McAllister
On Sun, Jul 04, 2010 at 05:02:59PM +0100, Luca Renaud wrote:

 The root shell is now bash,but I was unaware that bash was not
 self-contained(it depends at least of libintl.so.8),
 and doing some upgrades with ports I erased libintl.so.8,now I cannot access
 the root account because bash is
 not operational and I need root access to install again libintl.so.8,or any
 other way to solve the problem.
 So,how can I get access to csh for root without having access to a root
 shell(the previously defined bash does
 not work,and I need root access to change the shell for the root acount).

Just type   /bin/csh on the command line
or put  /bin/csh in /etc/passwd in the shell field
or put  #!/bin/csh   as the first line in a script.

jerry


 
 
  Thanks.
 ___
 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: wireless on HP compaq 6715s - Broadcom BCM5906m - not supported?

2010-07-06 Thread Warren Block

On Tue, 6 Jul 2010, Anton Shterenlikht wrote:


On Mon, Jul 05, 2010 at 06:15:06PM +, Paul B Mahol wrote:

On Mon, Jul 5, 2010 at 11:54 AM, Anton Shterenlikht me...@bristol.ac.uk wrote:

I've HP Compaq 6715s laptop.
Looking at pciconf -lv output, the
wireless (and ethernet) device is:


b...@pci0:16:0:0:       class=0x02 card=0x30c2103c chip=0x171314e4 rev=0x02 
hdr=0x00
   vendor     = 'Broadcom Corporation'
   device     = 'Broadcom NetLink (TM) Fast Ethernet (BCM5906m)'
   class      = network
   subclass   = ethernet


I see only ethernet, which is supported fine.


Paul, thank you for your help.

HP manuals describe it as integrated wireless LAN device.

well.. this also puzzled me. The thing is, this laptop has
a wireless button. When the laptop was running MS Windows XP,
the button could be used to enable/disable wireless. There
is a small LED on the button which lights up when wireless
is enabled.  After I installed FreeBSD 9.0-current, the button
is always off. I tried to press it during boot, while in BIOS,
and after boot - it is always off, at least the LED is always
off.

So I'm thinking perhaps wireless is off on a very low level,
and hence is not picked up by kernel?


Disabled in the BIOS.  Or maybe the button is an actual switch and 
physically disconnects the device.  Without the LED working, it would be 
hard to tell if it's doing anything.


The BCM 5906 is a wired Ethernet, attached as device bge0.  The pciconf 
shows no other network device at all.___
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: /usr/local empty after upgrade

2010-07-06 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mike Barnard wrote:
 Hi All,
 
 I have never encountered anything like this before and I am little puzzled.
 After upgrading my FreeBSD 8.0 RELEASE, I ended up with FreeBSD
 8.1-PRERELEASE and an empty /usr/local directory. It wiped out my /usr/local
 directory! I did nothing out of the usual on this upgrade. Any one
 experienced the same thing? How do I safely get /usr/local populated again?
 
 
 

Hi Mike,

It's possible that your disk device names changed during the upgrade and
/etc/fstab can no longer mount the previous device on /usr/local.  Do
you see any error messages during the boot process?

Please reply to the list with the output from the following commands:

ls -l /dev/da*  # Assuming SCSI disks
ls -l /dev/ad*  # Assuming ATA disks
cat /etc/fstab

That information may help figure out what happened to the devices during
the upgrade.

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMMz/I0sRouByUApARAtS0AJ9Ny8rx0AcIen2o5fiJAQTn04ugKQCglxei
L7dLVcqJbKqB/B9pc3v1fWM=
=AGrW
-END PGP SIGNATURE-

___
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 8 Release /usr Die After host VMWARE Crash

2010-07-06 Thread Diego Arias
Hi:

I have a VM Running FreeBSD 8 as a small router/proxy/fetchmail/openvpn.
 The host system is a VMWARE ESX 4 Update 2 running on 2 HP DL460G1 Blade
Systems. Unfortunately the Blade Enclosure (a C7000 From HP) start having
malfunction so i have to power it off with blades still on. After the power
loss the VMWARE came up but FreeBSD ask por FSCK on single user mode, so i
run it fsck -y on all partitions. After FSCK freebsd wont came up with error
of getty not found. i restart it in single use mode and mount /usr but no
luck, all the data was gone and only got a lost+found directory with crazy
files on it.

I have restored the machine from a backup with minimum data loss only the
fetchmail stuff but i want that some help me to know what happen if there is
a bug or is there any way to recover the data.

the other machines (Mostly Windows 2003/2008/2008R2) came up without
problems.

All the data is stored on an EMC Clarion SAN.

Partitions:

%cat /etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/ad0s1b none swap sw 0 0
/dev/ad0s1a / ufs rw 1 1
/dev/ad0s1e /tmp ufs rw 2 2
/dev/ad0s1f /usr ufs rw 2 2
/dev/ad0s1d /var ufs rw 2 2
/dev/acd0 /cdrom cd9660 ro,noauto 0 0


Thanks, i will provide anything info you need.



Diego Arias

-- 
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: /usr/local empty after upgrade

2010-07-06 Thread Mike Barnard
On Tue, Jul 6, 2010 at 2:44 PM, Chris Rees utis...@gmail.com wrote:

 You sure you didn't have /usr on a different partition and forget to tell
 sysinstall?


100% sure... I have tried to rebuild world but I still end up with an empty
/usr/local.. Prior to upgrading from 8.0-RELEASE, the directory has the
usual files and directories, but after the upgrade, its empty. Good thing is
that I had not installed any ports.

I'd like to avoid a reinstall, which is why I was wondering if there is a
way I can get this directory back with its files and directories.



 

 Sorry for top-posting, Android won't let me quote. There's a bug report on
 it!

 On 6 Jul 2010 10:38, Mike Barnard mike.barna...@gmail.com wrote:

 Hi All,

 I have never encountered anything like this before and I am little puzzled.
 After upgrading my FreeBSD 8.0 RELEASE, I ended up with FreeBSD
 8.1-PRERELEASE and an empty /usr/local directory. It wiped out my
 /usr/local
 directory! I did nothing out of the usual on this upgrade. Any one
 experienced the same thing? How do I safely get /usr/local populated again?



 --
 Mike

 Of course, you might discount this possibility, but remember that one in
 a million chances happen 99% of the time.
 
 ___
 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




-- 
Mike

Of course, you might discount this possibility, but remember that one in
a million chances happen 99% of the time.

___
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: /usr/local empty after upgrade

2010-07-06 Thread Lowell Gilbert

Mike Barnard mike.barna...@gmail.com writes:

 100% sure... I have tried to rebuild world but I still end up with an empty
 /usr/local.. Prior to upgrading from 8.0-RELEASE, the directory has the
 usual files and directories, but after the upgrade, its empty. Good thing is
 that I had not installed any ports.

 I'd like to avoid a reinstall, which is why I was wondering if there is a
 way I can get this directory back with its files and directories.

mtree -p /usr/local  /etc/mtree/BSD.local.dist

(I thought buildworld did that for you, but apparently it doesn't.
Probably because you can't put it somewhere else if you like.)
___
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


FreBSD 8

2010-07-06 Thread Grant Peel

Hi again all,

I have just installed FreeBSD 8 on my NFS server.

The older machines (FreeBSD 6.x) are able to connect to the NFS exports 
fine.


I have also installed FreeBSD 8 to two more machines, 1 is a Dell 1850, and 
the other an R200. Both of these machines had FreeBSD 6.x on them and were 
able to connect to the share with no problem.


The error I am getting is: RPCPROG_NFS: RPC: Program not registered

I have pretty much memorized the handbook with regards to NFS at this point:

On the server, (from the Handbook), all the following are in rc.conf:

rpcbind_enable=YES
nfs_server_enable=YES
mountd_flags=-r

On the Clietn(s), the following line is present:

nfs_client_enable=YES

I have tried:

nfs_reserved_port_only=YES
and
nfs_reserved_port_only=NO

which does not appear to make a difference.

also,

start nfsiod -n 4 on the client, does not seem to start (not showing in the 
process list anyways, and no console output whn I try to start it.


FYI, I can ping, ssh etc etc etc through the same IPS as the nfs 
server/client use (192.168.0.x).


If it makes any difference the Server is uing fxp ethernet, and one client 
is using em and the other bge.


I know there's something simple I am missing, but damned if I can find it. I 
had the same issue trying to connect using the live filesystem a few weeks 
back, so it seems to be something with freebsd 8. (Configuration?).


Any help appreciated,

-Grant


___
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: tuning FB 7.2 stable for lighhttpd

2010-07-06 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/07/2010 09:11:04, sonjaya wrote:
 I need triks to tune up FreeBSD 7.2 stable for lighhttpd+php and
 mysql, i feel so slow, my enggine is IBM Xseries 3250M2 + 4 g + 250 G

Start by reading tuning(7).

Be aware that tuning your applications -- particularly mysql -- will
almost certainly pay greater dividends than fiddling with the OS,
although both are worthwhile.  mysqltuner.pl is a pretty good source of
hints for improving mysql performance, although it certainly isn't the
last word on the subject.

Think about your architecture -- strategic use of caching (eg.
memcached) can make a big difference, as can use of a PHP accelerator
like eAccelerator (which is really just a cache for the byte-compiled
PHP code generated from your pages).

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
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwzgWIACgkQ8Mjk52CukIworQCfXihrvg0WarLGw4R3jH9eyN8W
cKwAn0W1JPblWNOwkgC+mmsz2Huh7+hA
=FXyp
-END PGP SIGNATURE-
___
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: /usr/local empty after upgrade

2010-07-06 Thread Mike Barnard
Hi Greg,

Please see your request below

 Hi Mike,

 It's possible that your disk device names changed during the upgrade and
 /etc/fstab can no longer mount the previous device on /usr/local.  Do
 you see any error messages during the boot process?


no, I do not see any error during the boot process.


 Please reply to the list with the output from the following commands:

 ls -l /dev/da*  # Assuming SCSI disks

crw-r-  1 root  operator0,  94 Jul  6 16:50 /dev/da0
crw-r-  1 root  operator0,  96 Jul  6 16:50 /dev/da0s1
crw-r-  1 root  operator0,  97 Jul  6 19:50 /dev/da0s1a
crw-r-  1 root  operator0,  98 Jul  6 16:50 /dev/da0s1b
crw-r-  1 root  operator0,  99 Jul  6 19:50 /dev/da0s1d
crw-r-  1 root  operator0, 100 Jul  6 19:50 /dev/da0s1e
crw-r-  1 root  operator0, 101 Jul  6 16:50 /dev/da0s1f
crw-r-  1 root  operator0, 106 Jul  6 19:50 /dev/da0s1f.journal
crw-r-  1 root  operator0, 102 Jul  6 16:50 /dev/da0s1g
crw-r-  1 root  operator0, 107 Jul  6 19:50 /dev/da0s1g.journal


 cat /etc/fstab

# DeviceMountpoint  FStype  Options Dump
 Pass#
/dev/da0s1b noneswapsw  0   0
/dev/da0s1a /   ufs rw  1   1
/dev/da0s1g.journal /resource   ufs rw,async2
2
/dev/da0s1e /tmpufs rw  2   2
/dev/da0s1f.journal /usrufs rw,async2   2
/dev/da0s1d /varufs rw  2   2
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0



 That information may help figure out what happened to the devices during
 the upgrade.


unless I got the journaling wrong, the fstab and devices should work fine.


Regards,

-- 
Mike

Of course, you might discount this possibility, but remember that one in
a million chances happen 99% of the time.

___
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: /usr/local empty after upgrade

2010-07-06 Thread Mike Barnard
On Tue, Jul 6, 2010 at 6:26 PM, Lowell Gilbert 
freebsd-questions-lo...@be-well.ilk.org wrote:


 Mike Barnard mike.barna...@gmail.com writes:

  100% sure... I have tried to rebuild world but I still end up with an
 empty
  /usr/local.. Prior to upgrading from 8.0-RELEASE, the directory has the
  usual files and directories, but after the upgrade, its empty. Good thing
 is
  that I had not installed any ports.
 
  I'd like to avoid a reinstall, which is why I was wondering if there is a
  way I can get this directory back with its files and directories.

 mtree -p /usr/local  /etc/mtree/BSD.local.dist


This is the command I have been looking for. I have dealt with a messed up
/var but not a vanished local directory


 (I thought buildworld did that for you, but apparently it doesn't.
 Probably because you can't put it somewhere else if you like.)


I thought so too. Either the journals are not done right or

-- 
Mike

Of course, you might discount this possibility, but remember that one in
a million chances happen 99% of the time.

___
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: /usr/local empty after upgrade

2010-07-06 Thread Lowell Gilbert
Mike Barnard mike.barna...@gmail.com writes:

 On Tue, Jul 6, 2010 at 6:26 PM, Lowell Gilbert 
 freebsd-questions-lo...@be-well.ilk.org wrote:
 (I thought buildworld did that for you, but apparently it doesn't.
 Probably because you can't put it somewhere else if you like.)


 I thought so too. Either the journals are not done right or

I meant to write can instead of can't in that last sentence.  Sorry
for the confusion...
___
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: /usr/local empty after upgrade

2010-07-06 Thread Mike Barnard
 mtree -p /usr/local  /etc/mtree/BSD.local.dist


 This is the command I have been looking for


hmmm... this give me no joy... mtree complains about the paths all missing,
but does not create them. I can create files and directories in /usr/local
manually.

## Creating a file in /usr/local
$touch test
$ls /usr/local/
test

$df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/da0s1a1.9G480M1.3G26%/
devfs  1.0K1.0K  0B   100%/dev
/dev/da0s1g.journal 67G4.0K 62G 0%/resource
/dev/da0s1e496M 12K456M 0%/tmp
/dev/da0s1f.journal 52G2.9G 45G 6%/usr
/dev/da0s1d4.8G 99M4.4G 2%/var

## Creating a directory in /usr/local
$mkdir test-dir
$ls /usr/local
testtest-dir

## editing the test file...
$md5 -s /usr/local  test

$cat test
MD5 (/usr/local) = ecb11dda71a57ccdbf63675d24260fe6


-- 
Mike

Of course, you might discount this possibility, but remember that one in
a million chances happen 99% of the time.

___
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: /usr/local empty after upgrade

2010-07-06 Thread Lowell Gilbert
Mike Barnard mike.barna...@gmail.com writes:

 mtree -p /usr/local  /etc/mtree/BSD.local.dist


 This is the command I have been looking for


 hmmm... this give me no joy... mtree complains about the paths all missing,
 but does not create them. I can create files and directories in /usr/local
 manually.

Looking at the manual for mtree(8), it looks like I missed the -U option.
___
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: /usr/local empty after upgrade

2010-07-06 Thread Mike Barnard
On Tue, Jul 6, 2010 at 10:58 PM, Mike Barnard mike.barna...@gmail.comwrote:


 mtree -p /usr/local  /etc/mtree/BSD.local.dist


 This is the command I have been looking for


 hmmm... this give me no joy... mtree complains about the paths all missing,
 but does not create them. I can create files and directories in /usr/local
 manually.


sorry... RTFM -eU flags sorted me out... but I only get the directories an
no files created now may be rebuilding world will work :-/


-- 
Mike

Of course, you might discount this possibility, but remember that one in
a million chances happen 99% of the time.

___
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


enclosed: bwerror. i'm lost.

2010-07-06 Thread Gary Kline
people,

at the bottom is the last several lines of an upgrade that has been 
failing for some time.

i'm running 7.3, #1 on an older i386 and did a cvsup to update 7_3.
further, i completely removed old stuff in /usr/obj before going over
to /usr/src and typing ``# make buildworld''  this happened once
several weeks ago, again last night, and again today.  time to see if
anyone else has seen this.  

tia,

gary

:
... [[end of build]]

as  -o zfsboot.o zfsboot.s
cc -Os -g  -fno-guess-branch-probability  -fomit-frame-pointer
-fno-unit-at-a-time  -mno-align-long-strings  -mrtd  -mno-mmx -mno-3dnow
-mno-sse -mno-sse2 -mno-sse3  -DBOOT2  -DFLAGS=0x80  -DSIOPRT=0x3f8
-DSIOFMT=0x3  -DSIOSPD=9600  -I/usr/src/sys/boot/i386/zfsboot/../../zfs
-I/usr/src/sys/boot/i386/zfsboot/../../../cddl/boot/zfs
-I/usr/src/sys/boot/i386/zfsboot/../btx/lib -I.
-I/usr/src/sys/boot/i386/zfsboot/../boot2  -Wall -Waggregate-return
-Wbad-function-cast -Wcast-align  -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs  -Wpointer-arith -Wshadow
-Wstrict-prototypes -Wwrite-strings  -Winline --param
max-inline-insns-single=100 -ffreestanding -mpreferred-stack-boundary=2
-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3  -c
/usr/src/sys/boot/i386/zfsboot/../boot2/sio.S
ld -static -N --gc-sections -nostdlib -Ttext 0x2000 -o zfsboot.out
/usr/obj/usr/src/sys/boot/i386/zfsboot/../btx/lib/crt0.o zfsboot.o sio.o
/usr/obj/usr/src/tmp/usr/lib/libstand.a
objcopy -S -O binary zfsboot.out zfsboot.bin
btxld -v -E 0x2000 -f bin -b
/usr/obj/usr/src/sys/boot/i386/zfsboot/../btx/btx/btx -l zfsboot.ldr  -o
zfsboot.ld -P 1 zfsboot.bin
btxld: zfsboot.ldr: Invalid argument
*** Error code 2

Stop in /usr/src/sys/boot/i386/zfsboot.
*** Error code 1

Stop in /usr/src/sys/boot/i386.
*** Error code 1

Stop in /usr/src/sys/boot.
*** Error code 1

Stop in /usr/src/sys.
*** Error code 1


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

___
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: /usr/local empty after upgrade

2010-07-06 Thread Lowell Gilbert
Mike Barnard mike.barna...@gmail.com writes:

 sorry... RTFM -eU flags sorted me out... but I only get the directories an
 no files created now may be rebuilding world will work :-/

There are no files described in the mtree file.  I can't think of any
that should be there before you install ports...
___
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: /usr/local empty after upgrade

2010-07-06 Thread Mike Barnard
On Tue, Jul 6, 2010 at 11:21 PM, Lowell Gilbert 
freebsd-questions-lo...@be-well.ilk.org wrote:

 Mike Barnard mike.barna...@gmail.com writes:

  sorry... RTFM -eU flags sorted me out... but I only get the directories
 an
  no files created now may be rebuilding world will work :-/

 There are no files described in the mtree file.  I can't think of any
 that should be there before you install ports...


just perl that is missing, which I believe a reinstall will correct.

Thanks for getting my memory back on track.



-- 
Mike

Of course, you might discount this possibility, but remember that one in
a million chances happen 99% of the time.

___
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: /usr/local empty after upgrade

2010-07-06 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mike Barnard wrote:
 Hi Greg,
 
 Please see your request below
 
 Hi Mike,

 It's possible that your disk device names changed during the upgrade and
 /etc/fstab can no longer mount the previous device on /usr/local.  Do
 you see any error messages during the boot process?


 no, I do not see any error during the boot process.
 
 
 Please reply to the list with the output from the following commands:

 ls -l /dev/da*  # Assuming SCSI disks

 crw-r-  1 root  operator0,  94 Jul  6 16:50 /dev/da0
 crw-r-  1 root  operator0,  96 Jul  6 16:50 /dev/da0s1
 crw-r-  1 root  operator0,  97 Jul  6 19:50 /dev/da0s1a
 crw-r-  1 root  operator0,  98 Jul  6 16:50 /dev/da0s1b
 crw-r-  1 root  operator0,  99 Jul  6 19:50 /dev/da0s1d
 crw-r-  1 root  operator0, 100 Jul  6 19:50 /dev/da0s1e
 crw-r-  1 root  operator0, 101 Jul  6 16:50 /dev/da0s1f
 crw-r-  1 root  operator0, 106 Jul  6 19:50 /dev/da0s1f.journal
 crw-r-  1 root  operator0, 102 Jul  6 16:50 /dev/da0s1g
 crw-r-  1 root  operator0, 107 Jul  6 19:50 /dev/da0s1g.journal
 
 
 cat /etc/fstab

 # DeviceMountpoint  FStype  Options Dump
  Pass#
 /dev/da0s1b noneswapsw  0   0
 /dev/da0s1a /   ufs rw  1   1
 /dev/da0s1g.journal /resource   ufs rw,async2
 2
 /dev/da0s1e /tmpufs rw  2   2
 /dev/da0s1f.journal /usrufs rw,async2   2
 /dev/da0s1d /varufs rw  2   2
 /dev/acd0   /cdrom  cd9660  ro,noauto   0   0
 
 
 That information may help figure out what happened to the devices during
 the upgrade.


 unless I got the journaling wrong, the fstab and devices should work fine.
 
 
 Regards,
 

Hi Mike,

What did you have in your /usr/local directory prior to the upgrade?
Had you installed any ports?  What is the output of the following command:

pkg_info

If it doesn't print anything, then you haven't installed any ports yet,
and an empty /usr/local directory is normal.  If you manually placed
some files in there, that's a different story, and perhaps booting to
single-user and running fsck on /usr would help.

At first, I thought you might have /usr/local on its own partition and a
device rename might have caused a mount failure.  Were there any other
problems with the files/directories in /usr, or was it just /usr/local
that was emptied?

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMM5jk0sRouByUApARAvDSAKDMb03N2331UUhhbv3yGjv3fHSEBwCgkiF4
jpH3M13BqqyzsSehE88Hn+0=
=Zk4T
-END PGP SIGNATURE-

___
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


Booting FreeBSD from Compact Flash

2010-07-06 Thread Graham Bentley
OK I confess that this is associated with FreeNAS however
it seems rather quiet over there on the support forums and I
know there are some knowledgeable BSD people on this
list who may be willing to help on this ...

Compact Flash: Kingston 4GB 45x Elite Pro [CF/4GB-S]
Target Mainboard: VIA EPIA-V1
* I D/L'ed FreeNAS-i386-embedded-0.7.2.5252.img
* I checksumed it with md5sum for WindowsXPP - it matched
* I used physdiskwrite v0.5.2 to write the image to CF on my desktop PC
* I hoooked up the CF to the target mainboard and booted the kernel
Now this is where things go awry  I end up at this prompt ;

mountroot

I can see the Kinston is ID as ad0 a few lines above at ata0-master.
If I enter ? I get a list of boot devices as follows ; ad0c ad0a ad0
If I enter; mountroot ufs:/dev/ad0a I get a 'panic: no init' message
and a reboot ; no other choice of boot device gives any such result.
CF boots perfectly hooked up to my desktop PC. On Via Mainboard
I have tried switching off all IDE 'modes' to zero etc but still no joy.
I tried using the verbose boot option and notice that following the CF
card being ID'ed I get the following ;

ad0 VIA check1 failed
ad0 Adaptec check1 failed
ad0 LSI (v3) check1 failed
ad0 LSI (v2) check1 failed
ado FreeBSD check1 failed

Would I be right in thinking that its chipset support for this baord is 
whats
preventing access to the root of the OS/FS?

And if it is, is it possible to add module support somehow?

Thanks in advance of any 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: Booting FreeBSD from Compact Flash

2010-07-06 Thread Aiza

Graham Bentley wrote:

OK I confess that this is associated with FreeNAS however
it seems rather quiet over there on the support forums and I
know there are some knowledgeable BSD people on this
list who may be willing to help on this ...

Compact Flash: Kingston 4GB 45x Elite Pro [CF/4GB-S]
Target Mainboard: VIA EPIA-V1
* I D/L'ed FreeNAS-i386-embedded-0.7.2.5252.img
* I checksumed it with md5sum for WindowsXPP - it matched
* I used physdiskwrite v0.5.2 to write the image to CF on my desktop PC
* I hoooked up the CF to the target mainboard and booted the kernel
Now this is where things go awry  I end up at this prompt ;

mountroot

I can see the Kinston is ID as ad0 a few lines above at ata0-master.
If I enter ? I get a list of boot devices as follows ; ad0c ad0a ad0
If I enter; mountroot ufs:/dev/ad0a I get a 'panic: no init' message
and a reboot ; no other choice of boot device gives any such result.
CF boots perfectly hooked up to my desktop PC. On Via Mainboard
I have tried switching off all IDE 'modes' to zero etc but still no joy.
I tried using the verbose boot option and notice that following the CF
card being ID'ed I get the following ;

ad0 VIA check1 failed
ad0 Adaptec check1 failed
ad0 LSI (v3) check1 failed
ad0 LSI (v2) check1 failed
ado FreeBSD check1 failed

Would I be right in thinking that its chipset support for this baord is 
whats

preventing access to the root of the OS/FS?

And if it is, is it possible to add module support somehow?

Thanks in advance of any help :)



Maybe this will be helpful

http://forums.freebsd.org/showthread.php?t=11715
___
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: /boot is full after running make installkernel on

2010-07-06 Thread Bill Tillman

Thanks guys.

:-)

Doesn't that seem odd that the default partition size for root
(512M) isn't quite big enough?

Should I make the partition size slightly larger (on future installs)
to eliminate this problem?

Ed


--
 
I had the same problem and since my drives are large I just started making all 
my new builds with / set for 1G. As I understand it this is not actually the 
solution the in the know folks recommend. I was advised to just delete 
kernel.old. Of course this will work but what about when you might need 
kernel.old to get you out of a jamb or just want to keep it for nostalgia.
 
I think I'm finally at the point where I will stop doing make buildworlds 
unless absolutely needed. I've been keen on doing this regularly but I really 
should adopt the policy of if it ain't broken don't fix it.


 
___
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: Global backup solution for FBSD Ubuntu

2010-07-06 Thread Olivier Nicole
Hi,

 I am trying to build a global backup solution for couple of strategic
 servers (7) based on two operating systems :

 - FreeBSD (6 - 7 // soon 7 - 8)
 - Ubuntu 8.04 LTS

I am running amanda as a centralized backup solution for FreeBSD,
Linuxes and Windows.

Amanda server is a dedicated machine with 7.5 TB disks (about 2300 USD
assembly machine, gives me over 4 weeks or daily incremental backup,
but the duration really depends on your usage).

The more sensitive services I also backup using the protocol own
duplication (master-slave database, DNS replication, etc.) With MySQL
server replication, you can have the slave server running your actual
database and ready to go in case the primary crashes. If the
availability of the service is really critical, you must consider an
high-availability solution, not only a backup.

With that I have all the needed information to restore a faulty
service.

 - SAIT solution and backula.

I used to use tapes, I have changed for disks, it is much much faster
and easier. And cheaper! In a 3U enclosure you can have 16 disks, for
32TB of storage.

 ∙ I am not a 100% sure these solutions will allow me to restart rapidly
 from a crash, specially for Ubuntu servers.

Depends on how you define rapidly...

Backup and high availability have different/complementary roles: the
first one assures that no data are lost, the second assures that the
service will always be available. You know your needs :)

Best regards,

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: /boot is full after running make installkernel on FreeBSD 8.0

2010-07-06 Thread RW
On Fri, 02 Jul 2010 16:28:29 +0100
Arthur Chance free...@qeng-ho.org wrote:

 I suspect whoever you were talking to probably has more of a clue
 than I do. As a quick data point, I just ran portsnap fetch update
 while another process did a df /var; sleep 1 loop and /var
 increased by about 30MB at its peak. That was a week after the last
 port update. I've no idea how much space a portsnap fetch extract
 would take and would rather not do one right now. 

The temporary space is likely used by the fetch stage for
downloaded patch files. I don't think update or extract use much
storage on /var.
___
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: FreBSD 8

2010-07-06 Thread Grant Peel
- Original Message - 
From: Grant Peel gp...@thenetnow.com

To: freebsd-questions@freebsd.org
Sent: Tuesday, July 06, 2010 1:07 PM
Subject: FreBSD 8



Hi again all,

I have just installed FreeBSD 8 on my NFS server.

The older machines (FreeBSD 6.x) are able to connect to the NFS exports 
fine.


I have also installed FreeBSD 8 to two more machines, 1 is a Dell 1850, 
and the other an R200. Both of these machines had FreeBSD 6.x on them and 
were able to connect to the share with no problem.


The error I am getting is: RPCPROG_NFS: RPC: Program not registered

I have pretty much memorized the handbook with regards to NFS at this 
point:


On the server, (from the Handbook), all the following are in rc.conf:

rpcbind_enable=YES
nfs_server_enable=YES
mountd_flags=-r

On the Clietn(s), the following line is present:

nfs_client_enable=YES

I have tried:

nfs_reserved_port_only=YES
and
nfs_reserved_port_only=NO

which does not appear to make a difference.

also,

start nfsiod -n 4 on the client, does not seem to start (not showing in 
the process list anyways, and no console output whn I try to start it.


FYI, I can ping, ssh etc etc etc through the same IPS as the nfs 
server/client use (192.168.0.x).


If it makes any difference the Server is uing fxp ethernet, and one client 
is using em and the other bge.


I know there's something simple I am missing, but damned if I can find it. 
I had the same issue trying to connect using the live filesystem a few 
weeks back, so it seems to be something with freebsd 8. (Configuration?).


Any help appreciated,

-Grant


___
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






All,

This is now fixed, FWIW, the problem seems to be that the FreeBSD 8 NFS 
server is only usig UDP when setup as described in the handbook. The FreeBSD 
8 clients were looking for tcp. Hence the error:


[tcp] RPCPROG_NFS: RPC: Program not registered

Once I added:

nfs_server_flags=-t -u -h 192.168.0.4 -n 15

to the nfs server rc.conf, and rebooted it, the clients connected first try.

If I am still missing something, feel free to comment.

-Grant 



___
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


Ettercap segmentation fault....

2010-07-06 Thread Axel Barnabas
Hello,

I have compiles ettercap from ports without incident. However, when I attempt 
to run ettercap in any way, after a short while the program crashes and I am 
presented with an error message which is as follows: 

 
Ooops ! This shouldn't happen...
Segmentation Fault...

Please recompile in debug mode, reproduce the bug and send a bugreport


I have deinstalled and recompiled to program twice, yielding no results. 
Some additional information which may be useful-

#pkg_info | grep ettercap
ettercap-gtk2-0.7.3_10,1 A network sniffer/interceptor/injector/logger for 
switched 

#uname -a
FreeBSD  8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 
r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

If anyone wishes me to recompile in debug mode, you will have to tell me how; I 
am not familiar with the process. 

Axel___
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


Quickly and accurately measure surface contact pressures

2010-07-06 Thread Sensor Experts
MEASURE PRESSURE BETWEEN CONTACTING SURFACES

Pressurex pressure indicating sensor film can reveal pressure distribution and 
magnitude between any two contacting or impacting surfaces. This thin plastic 
sensor film is placed at the actual contact surfaces and instantaneously and 
permanently captures the pressure profile by changing color. Similar in concept 
to Litmus paper, the color Pressurex turns is also directly proportional to the 
amount of force applied and can be quantified.

Pressurex can be used in many applications including in a bolted joint 
interface, composite layup, heat sealing and lamination presses; it can act as 
a force sensing resistor, and it can measure surface pressure distribution 
whether it is used as an impact force sensor, seat pressure sensor, as a strain 
gauge or even as nip impression paper.


BOLTED JOINT

LAMINATION PRESS

HEAT SEAL

COMPOSITE LAYUP
Color Indicates Precise PSI Value

http://www.sensorexpert.com/


If you would like to receive a sample of Pressurex, simply click on only one of 
the buttons below to indicate the pressure range most suitable to your 
application and we'll gladly send one out to you. Please be sure to include 
complete contact info and a full mailing address.


Send me a sample of -  Micro   2 - 20 PSI (0.14 - 1.4 kg/cm²)
by sending an e-mail to samp...@sensorexpert.com with a subject of Send me a 
sample of Micro pxiesdb710

Send me a sample of -  Ultra Low   28 - 85 PSI (2 - 6 kg/cm²)
by sending an e-mail to samp...@sensorexpert.com with a subject of Send me a 
sample of Ultra Low pxiesdb710

Send me a sample of -  Super Low   70 - 350 PSI (5 - 25 kg/cm²)
by sending an e-mail to samp...@sensorexpert.com with a subject of Send me a 
sample of Super Low pxiesdb710

Send me a sample of -  Low 350 - 1,400 PSI (25 - 100 
kg/cm²)
by sending an e-mail to samp...@sensorexpert.com with a subject of Send me a 
sample of Low pxiesdb710

Send me a sample of -  Medium  1,400 - 7,100 PSI (100 - 500 
kg/cm²)
by sending an e-mail to samp...@sensorexpert.com with a subject of Send me a 
sample of Medium pxiesdb710

Send me a sample of -  High7,100 - 18,500 PSI (500 - 1,300 
kg/cm²)
by sending an e-mail to samp...@sensorexpert.com with a subject of Send me a 
sample of High pxiesdb710

Send me a sample of -  Super High  18,500 - 43,200 PSI (1,300 - 
3,000 kg/cm²)
by sending an e-mail to samp...@sensorexpert.com with a subject of Send me a 
sample of Super High pxiesdb710


Visit http://www.sensorexpert.com/ for product brochure

Sensor Expert (USA)   •   Tel: (973) 884-1755   •   Fax: (973) 884-1699   •   
samp...@sensorexpert.com  •   www.sensorexpert.com


To unsubscribe from this emailing send an e-mail to beb...@sensorexpert.com 
with a subject of Unsubscribe pxiesdb710.







___
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