graid3 or graid5? with or without gjournal?

2011-07-26 Thread DA Forsyth
Hi all I am busy putting together a new server. I want to avoid using the motherboards raid 'hardware' (intel matrix raid) and rather do it all in software so if anything goes wrong with the motherboard, the drives can work in some other box. I have 4x 1TB drives available for the main data

Re: How to fix bad superblock on UFS2?

2011-07-20 Thread DA Forsyth
On 20 Jul 2011 , Maxim Konovalov entreated about Re: How to fix bad superblock on UFS2?: Try to use tools/tools/find-sb to locate superblocks. Thankyou Maxim I may yet need to use that on another partition, but last night I achieved some success by hacking fsck_ffs to display what it is

How to fix bad superblock on UFS2?

2011-07-19 Thread DA Forsyth
Hi all I had a drive let out smoke, it was part of a 4 drive RAID5 array on an intel Matrix motherboard controller (device ar). Having fought various battles just to get the machine to boot again (had to upgrade to 7.4 from 7.2 to do it because of a panic in ataraid.c) I now have some

how to fix bad superblock

2011-07-18 Thread DA Forsyth
Hiya all After a hardrive let the smoke out last week, part of a 4 drive RAID array, I am now battling to get back into the array. I have replaced the bad drive and it has been rebuilt (Intel Matrix Raid on the motherboard). some partitions are ok but had lots of errors fsck fixed, others

building apr1 fails

2010-05-18 Thread DA Forsyth
Hiya all Going round in circles here tryign to update apache 2.0 to 2.2 I have read UPDATING and it says to uninstall apache before updating apr. However, apr will not build, giving === Building for apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.9_1 cd /usr/ports/devel/apr1/work/apr-1.4.2;

re: building apr1 fails

2010-05-18 Thread DA Forsyth
Michael Powell nightrecon at hotmail.com Tue May 18 09:41:50 UTC 2010 Hi Mike Yes - the presence of 2.0 conflicts with 2.2 so it is necessary to remove first. However, apr will not build, giving ... Stop in /usr/ports/devel/apr1. == I've tried a

faad2 build error

2010-03-30 Thread DA Forsyth
Hiya all I keep getting this when building faad2 . . . aclocal.m4:4655: _LT_AC_LANG_F77_CONFIG is expanded from... aclocal.m4:4654: AC_LIBTOOL_LANG_F77_CONFIG is expanded from... configure.in:14: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache- id, must contain _cv_

Re: NO ONE knows??

2009-10-02 Thread DA Forsyth
On 2 Oct 2009 , freebsd-questions-requ...@freebsd.org entreated about freebsd-questions Digest, Vol 278, Issue 10: Message: 28 Date: Thu, 1 Oct 2009 12:22:45 -0700 From: Gary Kline kl...@thought.org Subject: NO ONE knows?? To: FreeBSD Mailing List freebsd-questions@FreeBSD.ORG Message-ID:

Re: portupgrade broken

2009-09-16 Thread DA Forsyth
Hiya all Something weird going on with portupgrade (and maybe ports in general) here. Somewhere between last months upgrade and this month, portupgrade has started to ignore ports that are reported by portversion as needing upgrading. The result is I have to force each one, one at a

portupgrade broken, and apr won't build

2009-09-02 Thread DA Forsyth
Hiya all Something weird going on with portypgrade (and maybe ports in general) here. Somewhere between last months upgrade and this month, portupgrade has started to ignore ports that are reported by portversion as needing upgrading. The result is I have to force each one, one at a time.

re: apr won't build

2009-09-02 Thread DA Forsyth
replyign to myself, sor tof, seems this fixes it http://www.mail-archive.com/freebsd-po...@freebsd.org/msg22758.html remove all old cruft from libtool15 if you have upgraded to libtool22 -- DA Fo rsythNetwork Supervisor Principal Technical Officer -- Institute for Water

Re: fsck and dump freeze freebsd. any ideas?

2009-07-29 Thread DA Forsyth
On 29 Jul 2009 , freebsd-questions-requ...@freebsd.org entreated about freebsd-questions Digest, Vol 269, Issue 6: After one of the last crashes, the system would lock up a short time after rebooting. I found the problem caused by background fsck locking up the system. I took the partition

counting pages sent to postscript printer via samba and lpd

2009-06-18 Thread DA Forsyth
Hiya all. I'm busy reading the manual on this, but am wondering if anyone has tips and howtos available. I took delivery of our new color laser printer, a CP1515n, HP networked color laser. since this thing is not exactly cheap to run I want to count pages per user, and since I have

cron output mail contains no recipient address

2009-06-15 Thread DA Forsyth
Hiya all Ever since I upgraded my backup server to 7.2R (via source compile) cron jobs that produce output that used to be emailed to me now fail with a report of contained no recipient addresses on the receiving server. Mail setup is very basic, just exim that delivers to the main server. A

cron mail problem solved

2009-06-15 Thread DA Forsyth
Why do I become so clever AFTER asking for help? Anyhow, I have solved the cron not sending email problem. The cron log file contains lines like this NSSWITCH(nss_method_lookup): nis, group_compat, setgrent, not found which when searched for produces the page at

Re: another compile error

2009-06-10 Thread DA Forsyth
On 9 Jun 2009 , Kent Stewart entreated about Re: another compile error: trying to build kernel for 7.2 and get this (my earlier problem was my having CFLAGS=... in /etc/src.conf) MAKE=make sh /usr/src/sys/conf/newvers.sh LERGY72 cc -c -O -pipe -std=c99 -g -Wall

compile error, 7.2R

2009-06-09 Thread DA Forsyth
Hiya all I am trying to compile 7.2 on a box currently running 7.1 which was compiled from 7.0 (in fact way back to 5.2.1) make buildworld and make kernel-toolchain both produce this error mkdep -f .depend -a-I/usr/obj/usr/src/tmp/legacy/usr/include config.c

another compile error

2009-06-09 Thread DA Forsyth
Hiya trying to build kernel for 7.2 and get this (my earlier problem was my having CFLAGS=... in /etc/src.conf) MAKE=make sh /usr/src/sys/conf/newvers.sh LERGY72 cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs - Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith

Re: Opinion request about a file server

2009-06-08 Thread DA Forsyth
I think my file/print/mail server is a bit overkill: http://w3.mutehq.net:8008/sysinfo/ Nice, esp when you compile world. Last year I upgraded our server to a Core 2 Duo 1.8Ghz, Intel DG965 board. 2GB RAM. Previous board was an ASUS P3 1.1GHz, which now hosts my backup server. Both ran

Re: freebsd-questions Digest, Vol 262, Issue 2

2009-06-08 Thread DA Forsyth
Message: 22 Date: Mon, 8 Jun 2009 08:10:50 -0300 From: Friedrich Locke friedrich.lo...@gmail.com Subject: SAN FreeBSD Server To: freebsd-questions@freebsd.org Message-ID: e678d5750906080410k62cc551el8ff8c89e9555...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 Dear

Re: Opinion request about a file server

2009-06-08 Thread DA Forsyth
On 8 Jun 2009 , freebsd-questions-requ...@freebsd.org entreated about freebsd-questions Digest, Vol 262, Issue 2: Message: 13 Date: Mon, 8 Jun 2009 09:18:09 +0200 (CEST) From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl SO, to the original question, yes that motherboard will work just

freebsd-update claims a file was changed

2009-04-30 Thread DA Forsyth
Hiya I have 2 almost identicle machines running a minimal install of 7.1 (updated from 7.0 just a few weeks ago). Todays freebsd-update worked just fine on one box, but on the other I get Looking up update.FreeBSD.org mirrors... 5 mirrors found. Fetching metadata signature for 7.1-RELEASE from

re: Patching / Updating / Upgrading

2009-02-03 Thread DA Forsyth
Message: 4 Date: Mon, 02 Feb 2009 16:37:14 -0500 From: Akenner slackwarew...@comcast.net Subject: Patching / Updating / Upgrading To: freebsd-questions@freebsd.org Hello all, So if anyone could lend a little but in typing out what they use for updates and how they go about it, I'd appreciate

Re:Saving pf state for accounting

2009-01-29 Thread DA Forsyth
On 29 Jan 2009 , freebsd-questions-requ...@freebsd.org entreated about freebsd-questions Digest, Vol 246, Issue 69: Date: Thu, 29 Jan 2009 14:47:51 +0200 Subject: Saving pf state for accounting Hi guys, My server uses up tons of bandwidth every month and I'd like to start recording

telnet to mbmon

2009-01-20 Thread DA Forsyth
Hiya I am using mbmon in telnet mode to monitor some print servers remotely. REvcently I moved the monitoring form one server to another, but now the telnet probe only works from the command line. Any probe originating from a cron job gets no data in the reply (normally via mrtg, but I

monitor DG965 montherbaord

2009-01-19 Thread DA Forsyth
Hiya folks I want to monitor the fans and temperatures on a Intel DG965 motherbaord. I have added the coretamp driver to get temps from the dual core CPU, but so far I cannot find a way to get the motherboard temperatures. I normally use mbmon for this, works well on other (older)

freebsd-update through proxy with auth

2008-12-03 Thread DA Forsyth
Hiya How do I get freebsd-update to fetch through a proxy that requires authentication? I cannot find any options in the man pages. -- DA Fo rsythNetwork Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/

Re: freebsd-update through proxy with auth

2008-12-03 Thread DA Forsyth
On 3 Dec 2008 , RW entreated about Re: freebsd-update through proxy with auth: On Wed, 03 Dec 2008 10:36:29 +0200 DA Forsyth [EMAIL PROTECTED] wrote: Hiya How do I get freebsd-update to fetch through a proxy that requires authentication? I cannot find any options in the man pages

sshit runs out of semaphores

2008-12-02 Thread DA Forsyth
Hiya I recently started (trying) to use sshit to filter the many brute force sshd attacks. However, it has never worked on my box. FreeBSD 7.0 p1. This morning it would only give a message (without exiting) Could not create semaphore set: No space left on device at

Re: newsyslog and apache

2008-10-03 Thread DA Forsyth
On 2 Oct 2008 , [EMAIL PROTECTED] entreated about freebsd-questions Digest, Vol 235, Issue 11: No need to change log rotation software since the problem clearly is somewhere else. You need to inspect Apache's error logs to see why it cannot start. the previous error log shows [Wed Oct 01

newsyslog and apache

2008-10-02 Thread DA Forsyth
I used to have one big apache log file, but decided to rotate it once a month using newsyslog. However, now apache stops and does not restart when the log is rotated. line from newsyslog.conf /var/log/apache/httpd-access.log640 13 *$M1D8 B /var/run/httpd.pid 30 with a

Re: Auto blacklist ssh connections ...

2008-09-18 Thread DA Forsyth
On 17 Sep 2008 , [EMAIL PROTECTED] entreated about freebsd-questions Digest, Vol 233, Issue 7: Does anyone know of a utility that I can use with sshd to auto-block by IP if there are more then N failed attempts in a row? yes, 'pf' the packet filter.

Re: safest way to upgrade a production server

2008-09-10 Thread DA Forsyth
On 8 Sep 2008 , [EMAIL PROTECTED] entreated about freebsd-questions Digest, Vol 232, Issue 3: FreeBSD ***servername*** 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #1: Mon Dec 3 09:46:53 EST 2007 [EMAIL PROTECTED]:/usr/obj/usr/ src/sys/INET_ON amd64 oooh, that is a bit old I think. I

Re: safest way to upgrade a production server

2008-09-08 Thread DA Forsyth
On 8 Sep 2008 , [EMAIL PROTECTED] entreated about freebsd-questions Digest, Vol 232, Issue 1: Hi John So, my first question is, do I really need to do this? yes If so, what is the minimum amount of upgrading I can do to be safe? And how? I track RELENG_7_0 in my source tree, but only

Re:[6.3] Upgrading PHP5?

2008-09-04 Thread DA Forsyth
On 4 Sep 2008 , [EMAIL PROTECTED] entreated about freebsd-questions Digest, Vol 231, Issue 10: I successfully upgraded the Ports collection with csup and then compiled Apache2, but I don't know what to do about PHP5, as it has several Ports available: php5-5.2.6

Re: How to compare 2 images from command line

2008-09-03 Thread DA Forsyth
On 2 Sep 2008 , [EMAIL PROTECTED] entreated about freebsd-questions Digest, Vol 231, Issue 5: Yes, there's a huge difference between testing differences in images and testing differences in files. What do you mean by ...know if the display is working correctly.? Andrew I want to

apachectl graceful fails

2008-09-01 Thread DA Forsyth
Hiya Seems some or other code change in apache has caused it to fail to restart gracefully when log rotating... (it used to work fine but for the past 2 or 3 months has failed during the logrotate) error.log shows [Mon Sep 01 08:00:03 2008] [notice] Graceful restart requested, doing restart

jmicron based usb drive

2008-08-29 Thread DA Forsyth
Hiya I was happy to purchase a device that allow an external drive to be connected via USB. this thing just has 3 sockets, no case. sockets for SATA, IDE and 2.5 IDE, plus an external power supply for drives that need it. Works perfectly on my WinXP box... but on FreeBSD 7.0R I get this in

Re: SATA, RAID and AHCI

2008-08-26 Thread DA Forsyth
On 26 Aug 2008 , [EMAIL PROTECTED] entreated about freebsd-questions Digest, Vol 230, Issue 4: Message: 25 Date: Mon, 25 Aug 2008 22:29:08 -0600 Subject: SATA, RAID and AHCI Hi, This question is about the storage settings for this board (ASUS' name for it is Storage Configuration).

Re: freebsd-questions Digest, Vol 229, Issue 12

2008-08-22 Thread DA Forsyth
On 21 Aug 2008 , [EMAIL PROTECTED] entreated about freebsd-questions Digest, Vol 229, Issue 12: Date: Thu, 21 Aug 2008 15:24:30 +0200 Subject: THE FOLLOWING DISK SECTORS COULD NOT BE READ On a different dilemma, I have a FreeBSD proxy server with what looks like a failing drive. The

Re: /etc/groups gone

2008-08-22 Thread DA Forsyth
On 22 Aug 2008 , [EMAIL PROTECTED] entreated about freebsd-questions Digest, Vol 229, Issue 13: Hi, Yesterday night at 1 a.m. I have managed to remove /etc/groups (rm instead of vi, was already sleepying). Luckily only a few groups (2-3) was created earlier. No backup, of course. you

re: getting pam to put the ip address in the log

2008-08-20 Thread DA Forsyth
Date: Tue, 19 Aug 2008 14:02:59 +0200 Recently I have been seeing lots of connections to my sshd trying to guess passwords. One thing I noticed was the hostname reported in the auth.log without reverse dns. sshd never puts in the ip address, this is all I see: sshd[14450]: error: PAM:

Re: Migrate harddisk with FreeBSD into new machine

2008-08-18 Thread DA Forsyth
Message: 2 Date: Thu, 14 Aug 2008 22:40:57 +0200 From: C.M. Burns [EMAIL PROTECTED] Subject: Re: Migrate harddisk with FreeBSD into new machine To: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed [...] the kernel? I know

Re: local mirrors of ports and packages?

2008-07-30 Thread DA Forsyth
On 30 Jul 2008 , [EMAIL PROTECTED] entreated about freebsd-questions Digest, Vol 226, Issue 6: Message: 26 Date: Tue, 29 Jul 2008 21:24:49 +0200 From: Coert Waagmeester [EMAIL PROTECTED] Subject: local mirrors of ports and packages? To: FreeBSD-questions freebsd-questions@freebsd.org Hi

Re: local mirrors of ports and packages?

2008-07-30 Thread DA Forsyth
On 30 Jul 2008 , [EMAIL PROTECTED] entreated about freebsd-questions Digest, Vol 226, Issue 6: Yes, I am currently rsyncing: ftp://ftp.is.co.za/FreeBSD/ports/i386/packages-7-stable/ Is this the correct data? And where in FreeBSD do I change the mirror list or installation source? type

re: Monitoring CPU temperature: mbmon shows 201 degrees C

2008-07-21 Thread DA Forsyth
From: Achilleas Mantzios [EMAIL PROTECTED] Hi, i have had various crashes and segfaults in the last hot days (room temp about 30 deg C). I tried to monitor CPU temp with mbmon, which shows a very big value in COU temperature: I also opened the case in order to get ventilated with fresh air

re: how to simulate a user's crontab?

2008-07-17 Thread DA Forsyth
Date: Wed, 16 Jul 2008 11:26:19 -0400 From: John Almberg [EMAIL PROTECTED] I often run into permission problems with user crontabs. That is, a crontab run under a user's permissions. First of all, it seems to me that a user's crontab doesn't have exactly the same permission as the user

Re: freebsd-questions Digest, Vol 221, Issue 4

2008-06-24 Thread DA Forsyth
On 23 Jun 2008 , [EMAIL PROTECTED] entreated about freebsd-questions Digest, Vol 221, Issue 4: Message: 26 Date: Mon, 23 Jun 2008 23:46:58 +0100 Subject: Re: CPU temp's on core 2 duo,should they be significantly different? On Mon, Jun 23, 2008 at 01:52:07PM -0700, George

portupgrade dependency loop

2008-06-23 Thread DA Forsyth
Hiya How do I fix this? === Registering installation for horde-base-3.2_3 pkg_create: dependency loop detected for package pear-Auth-1.6.1 pkg_create: dependency loop detected for package pear-Auth_SASL-1.0.2 pkg_create: dependency loop detected for package pear-Net_SMTP-1.3.1 I tried doing a

ich8 sensors

2008-06-23 Thread DA Forsyth
Hiya After much searching around I stumbled on the coretemp driver for retrieving the core temperatures in a Core 2 Duo however, I'd like to monitor fan speed and northbridge temperature if at all possible. Motherboard is an Intel DG965WH with ICH8 chipset, Core 2 Duo 6300 chip. FreeBSD

Re: xRAID disks....

2008-06-12 Thread DA Forsyth
On 10 Jun 2008 , Erik Trulsson entreated about Re: xRAID disks: I suspect the raidinfo is stored on the disk somewhere and a suitable 'dd' command can erase it. but where and how? That kind of information is usually stored last on the disk (where it is least likely to be

Re: xRAID disks....

2008-06-12 Thread DA Forsyth
On 10 Jun 2008 , Erik Trulsson entreated about Re: xRAID disks: On Tue, Jun 10, 2008 at 04:56:07PM +0200, Wojciech Puchar wrote: The pair of ex-RAID disks are ad1 and ad2 and obviously are no longer a raid pair, yet 'something' is telling the ar() driver to try and pair them and

Re: xRAID disks....

2008-06-12 Thread DA Forsyth
On 12 Jun 2008 , DA Forsyth entreated about Re: xRAID disks: hmmm, thinking now the gmirror create/remove route will probably work. let me try it on a blankish disk and see this appears to be the answer to the question: how to stop ar recognizing a disk that used to be on a raid

Re: Installing FreeBSD

2008-06-12 Thread DA Forsyth
On 12 Jun 2008 , Telpiz Sorin entreated about Installing FreeBSD:  tried several times to install 7.0-RELEASE x amd64 on my friend's machine that is eqiupped with hard drive manufactured by Samsung. The hard drive (master) appears to have SATA interface, nonetheless SYSINSTALL regognizes it

xRAID disks....

2008-06-10 Thread DA Forsyth
Hiya I've had this for a while now and have done many searches for info but have not yet come up with the right question, hence have not got the answer. My main server has an Adaptec IDE raid card. A couple of years ago I took disks that had been a mirror pair on that card out of the server

where did net-snmp go?

2005-01-17 Thread DA Forsyth
Hiya Way back when I installed FreeBSD 5.0-R I installed net-snmp from the ports tree without issues. Now I have a live server running 5.2.1-R and I need SNMP to monitor it with and it is not in the ports tree in the sense that there are some directories called net-snmp* but they all contain

ncplib BSD 5.2.1-R - it crashes

2004-09-13 Thread DA Forsyth
hiya I'm in the prcess of setting up a FreeBSD machine in order to replace an existing Novell 3.12 server. I thought I could use 'ncplib' to connect to the Novell server and in this way transfer the data directly. fat chance I get a series of 'flag 12' kernel panics and it reboots itself.

installed ATA RAID, now cannot boot - get mountroot prompt

2004-08-25 Thread DA Forsyth
Hiya all I'm searching the web for answers on this too, but so far nothing useful. hard to know what question to ask the search engines! anyhow, the situation: I installed 5.2.1-R some time back as a start to making a new server. I used a 40 and an 80 Gb IDE drive plugged into the motherboard

setting LPT1 to polled mode via acpi

2004-06-29 Thread DA. Forsyth
Hiya all I've got 5.2.1-RELEASE on a P4 1.1Ghz machine I've setup a HP laserjet (iiP) on the first parallel port using a simple filter to get the lines feeding correctly. Sometimes it actually prints, but mostly it will send the job to the printer then WAIT till I formfeed. After that it