RE: EC2 Instances Future

2013-04-11 Thread Don O';Neil
I personally need medium and large instances, but I would think others might
need the tiny and small as well. Colin has published his for the cluster
compute models, so I don't think there is need for that.

Thanks!

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Michael Sierchio
Sent: Thursday, April 11, 2013 7:44 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: EC2 Instances Future

I have constructed several AMIs.  If I get a sense for which flavor of
instance/OS combos are of interest, I can roll a few and make them
available.

- M

On Wed, Apr 10, 2013 at 8:25 PM, Don O'Neil  wrote:
> Have you made any AMI's based on this method? I would love to deploy a 
> medium or large instance that isn't subject to the 'tax', but don't 
> really know where to start to build one like this.
>
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org
> [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Michael 
> Sierchio
> Sent: Wednesday, April 10, 2013 1:05 PM
> To: jflowers
> Cc: freebsd-questions@freebsd.org
> Subject: Re: EC2 Instances Future
>
> I still follow Colin's original pattern of using a minimal "Linux"
> grub boot EBS device (1GB), ext2fs, with the root partition being on 
> another
> (ufs2) EBS device.  This works very well, with a couple of caveats -
>
> - Install e2fsprogs (pkg or port) - you will need it, on occasion when 
> modifying the boot device (after mounting rw).
>
> - Kernel upgrades are tricky, so be careful
>
> - Edit /etc/freebsd-update.conf intelligently to prevent unintended 
> consequences
>
> Apart from that, I have been running i386 and amd64 instances this 
> way, both
> 8.3 and 9.1, without difficulty (apart from some Xen clock weirdness 
> in 8.3).
>
> No Windoze Tax. ;-)
>
> - M
>
>
> On Wed, Apr 10, 2013 at 10:05 AM, jflowers  wrote:
>> Is there anything likely to be available in the future (3 months to a
>> year) to avoid the Windows tax on FreeBSD instances for the smaller 
>> (t1.micro, m1.small, m1.medium) types?  I understand the problem but 
>> don't find anything much online about a possible solution.  Probably 
>> because I don't understand as much as I think.
>>
>> Thanks.
>>
>> --
>> Jim Flowers 
>>
>> ___
>> 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"

___
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: EC2 Instances Future

2013-04-10 Thread Don O';Neil
Have you made any AMI's based on this method? I would love to deploy a
medium or large instance that isn't subject to the 'tax', but don't really
know where to start to build one like this. 

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Michael Sierchio
Sent: Wednesday, April 10, 2013 1:05 PM
To: jflowers
Cc: freebsd-questions@freebsd.org
Subject: Re: EC2 Instances Future

I still follow Colin's original pattern of using a minimal "Linux"
grub boot EBS device (1GB), ext2fs, with the root partition being on another
(ufs2) EBS device.  This works very well, with a couple of caveats -

- Install e2fsprogs (pkg or port) - you will need it, on occasion when
modifying the boot device (after mounting rw).

- Kernel upgrades are tricky, so be careful

- Edit /etc/freebsd-update.conf intelligently to prevent unintended
consequences

Apart from that, I have been running i386 and amd64 instances this way, both
8.3 and 9.1, without difficulty (apart from some Xen clock weirdness in
8.3).

No Windoze Tax. ;-)

- M


On Wed, Apr 10, 2013 at 10:05 AM, jflowers  wrote:
> Is there anything likely to be available in the future (3 months to a 
> year) to avoid the Windows tax on FreeBSD instances for the smaller 
> (t1.micro, m1.small, m1.medium) types?  I understand the problem but 
> don't find anything much online about a possible solution.  Probably 
> because I don't understand as much as I think.
>
> Thanks.
>
> --
> Jim Flowers 
>
> ___
> 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: Amazon VPC instances

2013-04-10 Thread Don O';Neil
Thanks for the info... it looks like Apache supports, does anyone out there
have first hand experience of using it? What issues, if any does this pose
with email services like Dovecot or Exim and providing SSL authentication?

What about anonymous FTP? Don't I need multiple IP's for multiple anonymous
FTP sites?

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Sean DuBois
Sent: Tuesday, April 09, 2013 8:35 PM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Amazon VPC instances

I don't know about FreeBSD + EC2, but you may be interested to know that you
can use multiple SSL certificates with one IP address! So you can have
multiple vhosts/server blocks with different certificates on one host.

http://en.wikipedia.org/wiki/Server_Name_Indication

On Tue, Apr 09, 2013 at 06:20:29PM -0700, Don O'Neil wrote:
> Has anyone used Colin Percival's FreeBSD builds for Amazon EC2 to 
> build an Amazon VPC instance? If so, does it support multiple network 
> interfaces or aliases with multiple IP's so that I can run multiple 
> SSL certs on the same instance?
> 
>  
> 
> 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"

___
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"


Amazon VPC instances

2013-04-09 Thread Don O';Neil
Has anyone used Colin Percival's FreeBSD builds for Amazon EC2 to build an
Amazon VPC instance? If so, does it support multiple network interfaces or
aliases with multiple IP's so that I can run multiple SSL certs on the same
instance?

 

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"


Problem making software distros

2013-04-07 Thread Don O';Neil
I've got an older FreeBSD 6.1 install that will no longer allow me to build
any software distributions. Any time I try to do a 'configure', the
configure seems to run fine, then I get a "config.status: error: cannot find
input file:". This has happened on several packages from several different
sources.

 

Any ideas as to what could be causing this? Is one of my binaries make
corrupted possibly?

 

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"


RE: Problems with IPFW causing failed DNS and FTP sessions

2013-04-01 Thread Don O';Neil
My DNS config is pretty generic. I did try putting in the options to stop
recursive lookups, but all that did was cause even more failures (permission
denied lookups, etc...), so I removed that.

Here's my basic config;

options {
directory   "/etc/namedb";
pid-file"/var/run/named/pid";
dump-file   "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";

};

zone "." {
type hint;
file "named.root";
};

I'm not sure the problem is specific to named, but something more systemic
with IPFW like I said, FTP sessions are timing out as well, and when I
turn off IPFW that fixes that problem too.

Is there any way to monitor what IPFW is dropping, by some sort of counters
rather than logging everything, and see what's going on internally to IPFW?

Thanks!

-Original Message-
From: Michael Sierchio [mailto:ku...@tenebras.com] 
Sent: Monday, April 01, 2013 7:23 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Problems with IPFW causing failed DNS and FTP sessions

Okay, what's your DNS setup?  Are you running a recursive cache that
contacts the root servers directly?  Using your ISP's servers?  Etc.

As a mitigation step, I tried pointing my caches to 8.8.8.8 and
8.8.4.4. - but it turns out that Google is intentionally blocking
(returning NX responses to) many netblocks right now because they
contain hosts known to be part of the botnet in the DDOS DNS
amplification attack.

I'm mirroring the root zone everywhere I have a cache, and it's helping.

___
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: Problems with IPFW causing failed DNS and FTP sessions

2013-04-01 Thread Don O';Neil
Well I tried changing them to various numbers up to 180 from 1 and 5
respectively and that didn't help.

Anyone else get around all this DNS mess with timeouts? It's causing my mail
server to throw errors; host lookup did not complete and not deliver mail.

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Michael Sierchio
Sent: Sunday, March 31, 2013 10:04 PM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Problems with IPFW causing failed DNS and FTP sessions

net.inet.ip.fw.dyn_short_lifetime ?
net.inet.ip.fw.dyn_udp_lifetime ?

You might want to increase these, given the current state of things...
___
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: Problems with IPFW causing failed DNS and FTP sessions

2013-03-31 Thread Don O';Neil
Thanks for the response... here's my full rullset:

# ipfw list
00100 check-state
00101 allow tcp from any to any established
00102 allow ip from any to any out keep-state
00103 allow icmp from any to any
00201 allow ip from any to any via lo0
00202 allow ip from any to 127.0.0.0/8
00203 allow ip from 127.0.0.0/8 to any
00204 deny tcp from any to any frag
00301 deny log logamount 50 ip from any to any ipoptions rr
00302 deny log logamount 50 ip from any to any ipoptions ts
00303 deny log logamount 50 ip from any to any ipoptions lsrr
00304 deny log logamount 50 ip from any to any ipoptions ssrr
00305 deny log logamount 50 tcp from any to any tcpflags syn,fin
00306 deny log logamount 50 tcp from any to any tcpflags syn,rst
01110 allow tcp from any to any dst-port 20 in
0 allow tcp from any to any dst-port 20 out
01112 allow tcp from any to any dst-port 21 in
01113 allow tcp from any to any dst-port 21 out
01114 allow tcp from any to any dst-port 990 in
01115 allow tcp from any to any dst-port 990 out
01116 allow udp from any to any dst-port 990 in
01117 allow udp from any to any dst-port 990 out
01118 allow tcp from any to any dst-port 989 in
01119 allow tcp from any to any dst-port 989 out
01120 allow udp from any to any dst-port 989 in
01121 allow udp from any to any dst-port 989 out
01122 allow tcp from any to any dst-port 1024-65000 keep-state
01125 allow tcp from any to any dst-port 22 in
01126 allow tcp from any to any dst-port 22 out
01130 allow tcp from any to any dst-port 25 in
01131 allow tcp from any to any dst-port 25 out
01132 allow tcp from any to any dst-port 587 in
01133 allow tcp from any to any dst-port 587 out
01134 allow tcp from any to any dst-port 2525 in
01135 allow tcp from any to any dst-port 2525 out
01140 allow tcp from any to any dst-port 110 in
01141 allow tcp from any to any dst-port 110 out
01142 allow tcp from any to any dst-port 995 in
01143 allow tcp from any to any dst-port 995 out
01144 allow tcp from any to any dst-port 2110 in
01145 allow tcp from any to any dst-port 2110 out
01150 allow tcp from any to any dst-port 143 in
01151 allow tcp from any to any dst-port 143 out
01152 allow tcp from any to any dst-port 993 in
01153 allow tcp from any to any dst-port 993 out
01160 allow udp from any to any dst-port 53 in keep-state
01161 allow tcp from any to any dst-port 53 in keep-state
01162 allow udp from any to any dst-port 53 out keep-state
01163 allow tcp from any to any dst-port 53 out keep-state
01170 allow tcp from any to any dst-port 80 in
01171 allow tcp from any to any dst-port 80 out
01172 allow tcp from any to any dst-port 443 in
01172 allow tcp from any to any dst-port 443 out
01180 allow tcp from any to any dst-port  in
01181 allow tcp from any to any dst-port  out
65535 deny ip from any to any


I've tried these rules;

01160 allow udp from any to any dst-port 53 in 
01161 allow tcp from any to any dst-port 53 in 
01162 allow udp from any to any dst-port 53 out
01163 allow tcp from any to any dst-port 53 out

Without the keep-state option, and the problem is still persisting...

The weird thing is that I've run these rules for a number of years without
any issues until just recently. I've checked my interface stats to make sure
there aren't a bunch of fragmented packets or errors, and there aren't. I'm
not running NAT, it's a publically accessible IP address.

-Original Message-
From: Michael Sierchio [mailto:ku...@tenebras.com] 
Sent: Sunday, March 31, 2013 8:58 PM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Problems with IPFW causing failed DNS and FTP sessions

It would be really helpful if you'd post the ruleset.

At first glance, your stateful rules seem rather wrong, unless there's a
check-state above.  Also, in and out aren't discriminating enough - every
packet is seen by the ruleset more than once.  You should think in terms of
interfaces, direction, etc.

Are you doing NAT?  Stateful rules with NAT are indeed possible, but subtle.

Your problem has nothing to do with server load, and probably everything to
do with not-terribly-well-conceived ruleset.  Please post yours here.

- M

On Sun, Mar 31, 2013 at 8:34 PM, Don O'Neil  wrote:
> Hi everyone. recently my server started having issues with DNS and FTP 
> sessions either not resolving or timing out. I've tracked the issue 
> down to IPFW. if I issue a 'sysctl net.inet.ip.fw.enable=0' then my issues
go away.
>
>
>
> I have the basic rules like this for dns;
>
>
>
> 01160 allow udp from any to any dst-port 53 in keep-state
>
> 01161 allow tcp from any to any dst-port 53 in keep-state
>
> 01162 allow udp from any to any dst-port 53 out keep-state
>
> 01163 allow tcp from any to any dst-port 53 out keep-state
>
>
>
> When I try an nslookup sometimes they fail, sometimes they get 
> through, even if I change my DNS serv

Problems with IPFW causing failed DNS and FTP sessions

2013-03-31 Thread Don O';Neil
Hi everyone. recently my server started having issues with DNS and FTP
sessions either not resolving or timing out. I've tracked the issue down to
IPFW. if I issue a 'sysctl net.inet.ip.fw.enable=0' then my issues go away.

 

I have the basic rules like this for dns;

 

01160 allow udp from any to any dst-port 53 in keep-state

01161 allow tcp from any to any dst-port 53 in keep-state

01162 allow udp from any to any dst-port 53 out keep-state

01163 allow tcp from any to any dst-port 53 out keep-state

 

When I try an nslookup sometimes they fail, sometimes they get through, even
if I change my DNS server to google, my ISP, or even OpenDNS. the firewall
seems to be causing the issue.

 

I have about 65 rules in all.

 

Any ideas what could be causing this? My server load is low, usually
hovering around .2 

 

How can I look at the actual amount of traffic that the IPFW module is
processing and track down potential performance issues? My server isn't
pushing much data, only around 4-5 Mbps sustained.

 

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"


Problems with IPFW causing failed DNS and FTP sessions

2013-03-31 Thread Don O';Neil
Hi everyone. recently my server started having issues with DNS and FTP
sessions either not resolving or timing out. I've tracked the issue down to
IPFW. if I issue a 'sysctl net.inet.ip.fw.enable=0' then my issues go away.

 

I have the basic rules like this for dns;

 

01160 allow udp from any to any dst-port 53 in keep-state

01161 allow tcp from any to any dst-port 53 in keep-state

01162 allow udp from any to any dst-port 53 out keep-state

01163 allow tcp from any to any dst-port 53 out keep-state

 

When I try an nslookup sometimes they fail, sometimes they get through, even
if I change my DNS server to google, my ISP, or even OpenDNS. the firewall
seems to be causing the issue.

 

I have about 65 rules in all.

 

Any ideas what could be causing this? My server load is low, usually
hovering around .2 

 

How can I look at the actual amount of traffic that the IPFW module is
processing and track down potential performance issues? My server isn't
pushing much data, only around 4-5 Mbps sustained.

 

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"


Best RAID setup

2011-01-25 Thread Don O';Neil
I'm getting ready to setup a new FreeBSD 8.1 64 bit server and wanted to
know everyone's thoughts on which way to go. software RAID 5 (or 10) or
hardware RAID 5 (or 10). I currently have a 3Ware card in one of my servers
and it works great, but I haven't really been keeping up on what the latest
RAID support is. How is the ZFS support these days? Is it production ready?
What about hardware RAID, is there a compatibility list somewhere with what
hardware (or pseudo hardware) RAID controllers are supported? 

 

I'm just looking for the most stable, and production ready RAID that can
handle at least 1 TB disks and create volumes in the 3-4 TB range. Any
thoughts, feedback, caveats, etc. are welcomed.

 

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"


RE: VirtualBox from the command line

2010-03-18 Thread Don O';Neil
You need to use 'vboxtool'... 

http://vboxtool.sourceforge.net/


> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of Aiza
> Sent: Thursday, March 18, 2010 5:45 PM
> To: FreeBSD Questions
> Subject: VirtualBox from the command line
> 
> Does VirtualBox launch from the FBSD command line?
> Is there a package for it in the pkg system?
> ___
> 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: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 6.1

2010-01-13 Thread Don O';Neil
> ===
> I try a 'make all-depend-list'
> the error shows up
> =
> which error show ?

# make
X11BASE is now deprecated.  Unset X11BASE in make.conf and try again.
*** Error code 1

Stop.

That's the error... happens every time, no matter what I try to set/unset in
/etc/make.conf. I looked through the makefiles to see where X11BASE is
referenced and I can't find any place where it is to just kill it.

> > This is _exactly_ what I did, and as soon as I try a 'make all-
> depend-list'
> > the error shows up. I don't even have the X11 system installed (it's
> a
> > headless server, with no GUI).
> >
> > This is on a CLEAN 6.1 install, without any upgrades/patches, just
> straight
> > off the ISO install and after a portsnap install/extract.
> >
> > I tried building it _before_ I updated the ports and it would build a
> 5.1.2
> > php ok, but I need 5.2.12. Something has changed in the port between
> 5.1.2
> > and 5.2.12
> >
> >> 1.add
> >> WITHOUT_X11=yes
> >> in /etc/make.conf
> >> 2.remove
> >> X11BASE=""
> >> from that file and
> >>
> >> 4.make all-depend-list
> >> 5.make clean all depend soft
> >> 6.make menuconfig set X11 disable
> >> 7.make &&make install
> >>
> >>
> >> 2010/1/12 Don O'Neil :
> >> > Ok.. just for grins I installed a new instance of 6.1, NO Patches,
> >> just
> >> > straight off the ISO...
> >> >
> >> > I loaded the ports that came WITH the distro, and was able to make
> >> php 5.1.2
> >> > ok...
> >> >
> >> > When I did a portsnap fetch, portsnap extract, then went into the
> >> > /usr/ports/lang/php5 and just typed make I get the same error...
> >> >
> >> > SO as it seems, the port is broken, at least for working with
> FreeBSD
> >> 6.1.
> >> >
> >> > Can anyone give me some hints on how to build this sucker by hand?
> >> Seems as
> >> > though there are a bunch of patches that are referenced in the
> >> distinfo
> >> > file.
> >> >
> >> > I REALLY need to get this taken care of asap, any help is
> >> appreciated.
> >> >
> >> > Thanks!
> >> >
> >> >> > > I tried adding WITHOUT_X11=yes to /etc/make.conf as well as
> >> >> X11BASE=
> >> >> > and
> >> >> > > X11BASE="", but I still get the same error.
> >> >> >
> >> >> > Remove them. This makes sure they are not defined, not even
> >> >> > empty (as in "#define BLA -> symbol 'BLA' is defined").
> >> >> >
> >> >> > > Where to go from here? Do I have and old version of something
> >> that
> >> >> is
> >> >> > > causing this? I get this error _right away_ before anything
> is
> >> even
> >> >> > built.
> >> >> >
> >> >> > It seems to be a check by the Makefile at port's top level.
> >> >>
> >> >> Ok... I have no definition for X11BASE anywhere, not in my env,
> not
> >> in
> >> >> my
> >> >> /etc/make.conf, nowhwere...
> >> >>
> >> >> However, it's still complaining about X11BASE being deprecated. I
> >> tried
> >> >> just
> >> >> adding WITHOUT_X11=yes in /etc/make, and without it. I even
> searched
> >> >> all the
> >> >> Makefiles in /usr/ports, and in the /usr/ports/lang/php5 dir to
> find
> >> >> any
> >> >> reference to X11, or X, or X11BASE, but nada... I don't even know
> >> where
> >> >> this
> >> >> error message is being generated from.
> >> >>
> >> >> I can't even do a basic make without it immediately spitting out
> the
> >> >> error:
> >> >>
> >> >> # make
> >> >> X11BASE is now deprecated.  Unset X11BASE in make.conf and try
> >> again.
> >> >> *** Error code 1
> >> >>
> >> >> Stop.

___
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: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 6.1

2010-01-12 Thread Don O';Neil
This is _exactly_ what I did, and as soon as I try a 'make all-depend-list'
the error shows up. I don't even have the X11 system installed (it's a
headless server, with no GUI).

This is on a CLEAN 6.1 install, without any upgrades/patches, just straight
off the ISO install and after a portsnap install/extract.

I tried building it _before_ I updated the ports and it would build a 5.1.2
php ok, but I need 5.2.12. Something has changed in the port between 5.1.2
and 5.2.12

> 1.add
> WITHOUT_X11=yes
> in /etc/make.conf
> 2.remove
> X11BASE=""
> from that file and
> 
> 4.make all-depend-list
> 5.make clean all depend soft
> 6.make menuconfig set X11 disable
> 7.make &&make install
> 
> 
> 2010/1/12 Don O'Neil :
> > Ok.. just for grins I installed a new instance of 6.1, NO Patches,
> just
> > straight off the ISO...
> >
> > I loaded the ports that came WITH the distro, and was able to make
> php 5.1.2
> > ok...
> >
> > When I did a portsnap fetch, portsnap extract, then went into the
> > /usr/ports/lang/php5 and just typed make I get the same error...
> >
> > SO as it seems, the port is broken, at least for working with FreeBSD
> 6.1.
> >
> > Can anyone give me some hints on how to build this sucker by hand?
> Seems as
> > though there are a bunch of patches that are referenced in the
> distinfo
> > file.
> >
> > I REALLY need to get this taken care of asap, any help is
> appreciated.
> >
> > Thanks!
> >
> >> > > I tried adding WITHOUT_X11=yes to /etc/make.conf as well as
> >> X11BASE=
> >> > and
> >> > > X11BASE="", but I still get the same error.
> >> >
> >> > Remove them. This makes sure they are not defined, not even
> >> > empty (as in "#define BLA -> symbol 'BLA' is defined").
> >> >
> >> > > Where to go from here? Do I have and old version of something
> that
> >> is
> >> > > causing this? I get this error _right away_ before anything is
> even
> >> > built.
> >> >
> >> > It seems to be a check by the Makefile at port's top level.
> >>
> >> Ok... I have no definition for X11BASE anywhere, not in my env, not
> in
> >> my
> >> /etc/make.conf, nowhwere...
> >>
> >> However, it's still complaining about X11BASE being deprecated. I
> tried
> >> just
> >> adding WITHOUT_X11=yes in /etc/make, and without it. I even searched
> >> all the
> >> Makefiles in /usr/ports, and in the /usr/ports/lang/php5 dir to find
> >> any
> >> reference to X11, or X, or X11BASE, but nada... I don't even know
> where
> >> this
> >> error message is being generated from.
> >>
> >> I can't even do a basic make without it immediately spitting out the
> >> error:
> >>
> >> # make
> >> X11BASE is now deprecated.  Unset X11BASE in make.conf and try
> again.
> >> *** Error code 1
> >>
> >> Stop.
> >>
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.725 / Virus Database: 270.14.136/2616 - Release Date:
> 01/11/10 23:35:00

___
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: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 6.1

2010-01-11 Thread Don O';Neil
Ok.. just for grins I installed a new instance of 6.1, NO Patches, just
straight off the ISO...

I loaded the ports that came WITH the distro, and was able to make php 5.1.2
ok...

When I did a portsnap fetch, portsnap extract, then went into the
/usr/ports/lang/php5 and just typed make I get the same error...

SO as it seems, the port is broken, at least for working with FreeBSD 6.1.

Can anyone give me some hints on how to build this sucker by hand? Seems as
though there are a bunch of patches that are referenced in the distinfo
file.

I REALLY need to get this taken care of asap, any help is appreciated.

Thanks!

> > > I tried adding WITHOUT_X11=yes to /etc/make.conf as well as
> X11BASE=
> > and
> > > X11BASE="", but I still get the same error.
> >
> > Remove them. This makes sure they are not defined, not even
> > empty (as in "#define BLA -> symbol 'BLA' is defined").
> >
> > > Where to go from here? Do I have and old version of something that
> is
> > > causing this? I get this error _right away_ before anything is even
> > built.
> >
> > It seems to be a check by the Makefile at port's top level.
> 
> Ok... I have no definition for X11BASE anywhere, not in my env, not in
> my
> /etc/make.conf, nowhwere...
> 
> However, it's still complaining about X11BASE being deprecated. I tried
> just
> adding WITHOUT_X11=yes in /etc/make, and without it. I even searched
> all the
> Makefiles in /usr/ports, and in the /usr/ports/lang/php5 dir to find
> any
> reference to X11, or X, or X11BASE, but nada... I don't even know where
> this
> error message is being generated from.
> 
> I can't even do a basic make without it immediately spitting out the
> error:
> 
> # make
> X11BASE is now deprecated.  Unset X11BASE in make.conf and try again.
> *** Error code 1
> 
> Stop.
> 

___
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: Clean PHP 5.2.12 Build Core Dumping

2010-01-10 Thread Don O';Neil
> > I tried adding WITHOUT_X11=yes to /etc/make.conf as well as X11BASE=
> and
> > X11BASE="", but I still get the same error.
> 
> Remove them. This makes sure they are not defined, not even
> empty (as in "#define BLA -> symbol 'BLA' is defined").
> 
> > Where to go from here? Do I have and old version of something that is
> > causing this? I get this error _right away_ before anything is even
> built.
> 
> It seems to be a check by the Makefile at port's top level.

Ok... I have no definition for X11BASE anywhere, not in my env, not in my
/etc/make.conf, nowhwere...

However, it's still complaining about X11BASE being deprecated. I tried just
adding WITHOUT_X11=yes in /etc/make, and without it. I even searched all the
Makefiles in /usr/ports, and in the /usr/ports/lang/php5 dir to find any
reference to X11, or X, or X11BASE, but nada... I don't even know where this
error message is being generated from.

I can't even do a basic make without it immediately spitting out the error:

# make
X11BASE is now deprecated.  Unset X11BASE in make.conf and try again.
*** Error code 1

Stop.

Where should I look next? Any help is appreciated. 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"


RE: Clean PHP 5.2.12 Build Core Dumping

2010-01-09 Thread Don O';Neil
Well, I hadn't edited the Makefiles, I was planning on it (but won't now
that you pointed out the make option), but never got past making the generic
port

I tried adding WITHOUT_X11=yes to /etc/make.conf as well as X11BASE= and
X11BASE="", but I still get the same error.

Where to go from here? Do I have and old version of something that is
causing this? I get this error _right away_ before anything is even built.

Thanks!

> If installing with the ports system you shouldn't need to be editing
> any
> Makefiles. make config will give you list of options you may select
> from.
> Note there is an initial build/install of PHP itself and a second port
> called php5-extensions which you then install for all the modules.
> Again, a
> make config will list all options. No need to mess with Makefiles.
> 
> > X11BASE is now deprecated.  Unset X11BASE in make.conf and try again.
> > *** Error code 1
> >
> 
> Try putting WITHOUT_X11=yes into /etc/make.conf. Some PHP modules such
> as GD
> try and pull in X dependencies; this will short circuit that.



___
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: Clean PHP 5.2.12 Build Core Dumping

2010-01-09 Thread Don O';Neil
Ok... well, your idea is a good one, but it seems that the port is broken.

I did a port update, which brought in the latest php build info from
December, but when I run 'make' (without even editing the Makefile to add my
own other modules I need) I get this:

X11BASE is now deprecated.  Unset X11BASE in make.conf and try again.
*** Error code 1

Not even sure where it's getting that error message from, since I can't find
any reference to X11BASE in any of the files in the package, or in my env.

Any ideas?

> -Original Message-
> From: Polytropon [mailto:free...@edvax.de]
> Sent: Friday, January 08, 2010 10:35 PM
> To: Don O'Neil
> Cc: php-gene...@lists.php.net; freebsd-questions@freebsd.org
> Subject: Re: Clean PHP 5.2.12 Build Core Dumping
> 
> On Fri, 8 Jan 2010 16:18:11 -0800, "Don O'Neil" 
> wrote:
> > Ok... more info on the problem...
> >
> > I started with a clean untarred archive, ad just ran ./configure,
> make, make
> > test I get a core dump.
> 
> Maybe this is not a FreeBSD source?
> 
> I'd suggest using the FreeBSD ports system for installation from
> source (i. e. tar archives). PHP 5.2.12 seems to be availabe.
> You can use
> 
>   # cd /usr/ports/lang/php5
>   # make
>   # make install
> 
> Make sure - not "make sure" :-) - that your ports tree is up to
> date in order to recieve the latest version.
> 
> 
> 
> > After running gdb on the core dump I noticed it was the sqlite stuff
> that
> > was dumping, so I re-ran configure with --without-sqlite
> > --without-pdo-sqlite --with-mysql=/usr/local/mysql
> 
> Check the available options that can be set for the php5 port
> at compile time, either via "make config", or enter them
> manually (e. g. in Makefile.local - I'm not sure if this
> mechanism is still supported).
> 
> 
> 
> > Now the gdb shows this:
> >
> > Core was generated by `php'.
> > Program terminated with signal 11, Segmentation fault.
> > #0  0x081d50a7 in sqlite3Select (pParse=0xbbc00080, p=0x0,
> eDest=164102200,
> > iParm=0, pParent=0x24, parentTab=139141440, pParentAgg=0x84c10d8,
> > aff=0x0)
> > at
> > /usr/local/directadmin/customapache/php-
> 5.2.11/ext/pdo_sqlite/sqlite/src/sel
> > ect.c:3172
> > 3172  for(j=0; jnExpr; j++){
> >
> >
> > First off, the compile directory listed is wrong, don't know where it
> got
> > php-5.2.11 from, that's the last version I built and is installed on
> this
> > system. Maybe it's pulling that from the system php?
> 
> Yes, correct.
> 
> 
> 
> > Secondly, even though I've told it not to use sqlite, it still seems
> to be.
> 
> It is - by 5.2.11 (or by directadmin). Seems that you've not
> installed 5.2.12 with your custom options yet.
> 
> 
> 
> > Any help here would be appreciated in moving forward. My whole reason
> for
> > needing to rebuild php is I need the pdo_mysql module instead of the
> > pdo_sqlite version.
> 
> As I said, I would suggest to try to achieve this through
> the ports system. It's easier than fighting ./configure. :-)
> 
> 
> 
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...

___
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"


Clean PHP 5.2.12 Build Core Dumping

2010-01-08 Thread Don O';Neil
Ok... more info on the problem...

I started with a clean untarred archive, ad just ran ./configure, make, make
test I get a core dump.

After running gdb on the core dump I noticed it was the sqlite stuff that
was dumping, so I re-ran configure with --without-sqlite
--without-pdo-sqlite --with-mysql=/usr/local/mysql

Now the gdb shows this:

Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
#0  0x081d50a7 in sqlite3Select (pParse=0xbbc00080, p=0x0, eDest=164102200,
iParm=0, pParent=0x24, parentTab=139141440, pParentAgg=0x84c10d8,
aff=0x0)
at
/usr/local/directadmin/customapache/php-5.2.11/ext/pdo_sqlite/sqlite/src/sel
ect.c:3172
3172  for(j=0; jnExpr; j++){


First off, the compile directory listed is wrong, don't know where it got
php-5.2.11 from, that's the last version I built and is installed on this
system. Maybe it's pulling that from the system php? 

Secondly, even though I've told it not to use sqlite, it still seems to be.

Any help here would be appreciated in moving forward. My whole reason for
needing to rebuild php is I need the pdo_mysql module instead of the
pdo_sqlite version.

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"


Clean PHP 5.2.12 Build Core Dumping

2010-01-08 Thread Don O';Neil
I'm trying to build a clean version of php 5.2.12 on my FreeBSD 6.1 box and
even with NO OPTIONS, php core dumps during the make test phase.

How do I go about tracking down what is causing this problem?

___
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"


df -k vs. du -s

2009-08-13 Thread Don O';Neil
My /var partition is showing a different value for a df -k on the file
system vs a du -s on the file system:

df -k
Filesystem1K-blocks  Used Avail Capacity  Mounted on
/dev/ad0s1a 202603088954497440448%/
devfs 1 1 0   100%/dev
/dev/ad0s1e 2026030   964   1862984 0%/tmp
/dev/ad0s1d 8122126   1997988   547436827%/usr
/dev/ad0s1f 8122126   5301938   217041871%/var

du -s /var
993261  /var

Any ideas why I would see this? Where is the other 4+G? Do I have a bunch of
bad sectors in the file system or is it majorly fragmented? If so, how do I
find out what the problem is?

The other partitions match between the df and du... I'm running 6.1 if that
makes a difference.


___
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"


Vinum/FreeBSD 6.4

2009-02-01 Thread Don O';Neil
Are there any disk size/volume size limitations on Vinum with FreeBSD 6.4? 

Can I run Vinum on 4 500 G drives and get a 1Tbyte RAID10 config?

___
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"


Best Journaling File System - ZFS/???

2008-12-02 Thread Don O';Neil
With all the discussions of ZFS lately, I'm beginning to wonder if it's
really ready for a production environment. Concerns over memory utilization,
speed, stability, etc...

So, my question is this... If you were building a brand new 6.3/7.0 server
with decent performance (dual core, 32 Bit OS - because of known
compatibility issues with specific software, 4 GB RAM, etc...) what file
system would you choose? What options are out there besides UFS and ZFS?
What FS's are least likely to have corruption issues when there are power
hits?

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


RE: Can't add new 1TB disk in FreeBSD 6.1

2008-10-06 Thread Don O';Neil
> > The hardware I have is the built in SATA controller on the 
> > motherboard, which is GIGABYTE GA-M61P-S3. With the NVIDIA GeForce 
> > 6100 / nForce 430 and Super I/O chip: ITE IT8716.
> >
> > Oct  4 04:07:30 kermit kernel: atapci0:  controller> port 
> > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 6.0 on 
> > pci0 Oct  4 04:07:30 kermit kernel: ata0:  
> on atapci0 
> > Oct  4 04:07:30 kermit kernel: ata1:  on 
> atapci0 Oct  4 
> > 04:07:30 kermit kernel: pci0:  at device 7.0 (no driver 
> > attached) Oct  4 04:07:30 kermit kernel: atapci1:  > controller> port 
> > 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xd000-0xd00f mem 
> > 0xf7004000-0xf7004fff irq 20 at device 8.0 on pci0 Oct  4 04:07:30 
> > kermit kernel: ata2:  on atapci1 Oct  4 
> 04:07:30 kermit 
> > kernel: ata3:  on atapci1 Oct  4 04:07:30 kermit 
> > kernel: atapci2:  port 
> > 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xe400-0xe40f mem 
> > 0xf700-0xf7000fff irq 21 at device 8.1 on pci0 Oct  4 04:07:30 
> > kermit kernel: ata4:  on atapci2 Oct  4 
> 04:07:30 kermit 
> > kernel: ata5:  on atapci2 Oct  4 04:07:30 kermit 
> > kernel: ad0: 76293MB  at 
> ata0-master UDMA33 
> > Oct  4 04:07:30 kermit kernel: ad4: 953869MB  > SD15> at ata2-master UDMA33
> 
> This motherboard uses the nForce 430, but the SATA portion is 
> actually a subset chip called the MCP61.  I've confirmed this 
> by looking at PRs 116880 and 108830.
> 
> I can see two things from the dmesg:
> 
> 1) FreeBSD has no idea what this controller is, or any "quirks"
> surrounding the controller (meaning it's possible that disk 
> or block addressing is being done incorrectly),
> 
> 2) The disks are seen as classic PATA disks and not SATA.  
> This could be a result of there being no nForce 430 support 
> in 6.1, but it could also be due to a BIOS setting on that 
> motherboard.
> 
> I'm looking at the User Manual for this motherboard, but I 
> can't find the BIOS option that I'm used to seeing on other 
> nForce-based boards, and Intel ICH-based boards:
> 
> A feature where you can change the way the OS sees the 
> underlying SATA controller; it's called "Emulated" or 
> "Emulation" mode.  The controller is able to interface with 
> SATA disks, but the OS sees the controller as a classic 
> PATA/IDE controller.  This is often used for OSes which lack 
> SATA support or native SATA drivers, such as MS-DOS.
> 
> The only thing in the User Manual I see which sets off red 
> flags is the "Serial-ATA RAID Config" item under the 
> Integrated Peripherals menu.  I really hope the "NV SATA Raid 
> Function" is set to Disabled on your box.
> 
> Looking at CVS commit logs for src/sys/dev/ata/ata-chipset.c, 
> I can see that MCP61 support was officially added to HEAD on 
> on 2007/06/26.  I'm having a difficult time determining what 
> HEAD meant at that date.  I can't figure out for the life of 
> me if it was referring to RELENG_6 or RELENG_7.
> 
> Either way, point is, FreeBSD 6.1 flat out does not have 
> support for that chip, even a 6.1 dated August 2006.  I can't 
> help but wonder if that's what's causing the odd problem.
> 
> I also found another LBA48-related issue, dated 2007/10/04, 
> labelled "fix the LBA28/LBA48 crossover bug".  I'm still not 
> sure what that is.
> 
> And I haven't even begun to look at GEOM changes/bugfixes, 
> which might be a more likely place.
> 
> > This is actually a FreeBSD-Stable install... From 08/2006 I 
> > realize it's probably time to do an OS upgrade, but this is 
> the ONLY 
> > issue I've run into running this code base. Some of the 
> software I'm 
> > running hasn't been tested with 7.X, so I'm not comfortable 
> going there yet.
> 
> What this means is that it's a 6.1-RELEASE install which follows the
> RELENG_6 tag, and has been cvsup'd at least up until August 2006.
> 
> I understand you're not comfortable upgrading to FreeBSD 7, 
> but it would be worthwhile if you could download FreeBSD 
> 7.1-PRERELEASE (specifically disc 1 or a live CD), and see if 
> that reports the same problem as 6.1.
> 
> I still can't explain why booting the 6.1 installer and using 
> a fixit image lets you work around the problem.  That is just 
> flat out bizarre.
> 
> You have to understand: there's been a lot of 
> evolution/bugfixes applied between 6.1 and 7.1.  There's 
> almost too much for me to try and track down.  I'm trying 
> very hard, but it's difficult.

Thanks for all the clarifications, I didn't realize there have been that
many changes since 6.1. I suppose its time to upgrade. What I need to do is
build an identical server to that one and test it all out locally. Since the
drive is currently 500 miles away it will take me some time, but I'll see
what I can do.

I'll also check my BIOS settings to make sure the RAID is disabled. I'm
almost positive it is, but who knows. Jerry pointed out that the boot
process is seeing it as a regular ATA device, so it may be running in some
sort of compatibility mode li

RE: Can't add new 1TB disk in FreeBSD 6.1

2008-10-06 Thread Don O';Neil
> On Mon, Oct 06, 2008 at 09:45:52AM -0700, Jeremy Chadwick wrote:
> > There is one thing about later FreeBSDs which I am aware of: 48-bit 
> > LBA addressing.  I'm left wondering if what you're running 
> into is a 
> > bug or a problem with older FreeBSD (6.1) not supporting this.  I 
> > would have to go back through CVS commit lots for ata(4) to 
> find out 
> > when 48-bit LBA was added.  I think 48-bit LBA support is 
> required for disks >500GB.
> 
> The issue I'm referring to has been touched on many times.
> 
> First and foremost, 6.1-RELEASE was released in May 2006.  
> Keep that date in mind when reading the below.
> 
> The first incident, according to CVS commit logs, was adding 
> 48-bit LBA support, supporting disks >137GB.  That would've 
> been in RELENG_4, dated 2002/01/05.  FreeBSD 6.1 should have this.
> 
> Next, we have a commit dated 2003/01/19, affecting 48-bit LBA 
> support on Promise 66/100 controllers.  FreeBSD 6.1 should have this.
> 
> Next, 2004/12/09, talking about disk firmware bugs affecting 
> 48-bit LBA addressing, which was affecting a significant 
> number of users.  That was applied to HEAD and RELENG_5, so 
> FreeBSD 6.1 ("HEAD" at that time) should have this.
> 
> Next, 2005/04/14, something about "read back the real 
> taskfile register values when in 48-bit mode".  Committed to 
> HEAD, which would've been during days shortly before RELENG_6 
> was tagged (6.0).
> 
> Next, 2005/08/17, "support for working around controllers 
> that can't do DMA in 48-bit LBA mode", forcing the disk to 
> use PIO mode allowing the disk to address >137GB.  This was 
> added to HEAD and RELENG_6, so this should also exist in 6.1.
> 
> Next, 2007/12/13, "also fix 48-bit LBA addressing issues, 
> apparently newe chips need 16-bit writes and not the usual 
> FIFO thing".  This was committed to HEAD first, RELENG_7 on 
> 2008/01/09, and RELENG_6 on 2008/01/09.
> 
> This is one which FreeBSD 6.1 *would not* have fixes for.
> 
> I do not know if this is the problem -- I'm just speculating.
> 
> Because dmesg output was not provided ("nothing 
> interesting"), we can't tell what sort of controller your 
> disks are hooked to, yadda yadda.
> This is explicitly why I asked for that information.
> 
> If you could please try 7.0-STABLE or 7.1-PRERELEASE, that 
> would be highly recommended.  It would at least allow us to 
> determine if you're being affected by a bug in older FreeBSD, 
> or if this is something that is unique to your environment or 
> applies to present-day FreeBSD.

The hardware I have is the built in SATA controller on the motherboard,
which is GIGABYTE GA-M61P-S3. With the NVIDIA GeForce 6100 / nForce 430 and
Super I/O chip: ITE IT8716.  

Dmesg had no output pertaining to the partition/format/dd, etc... Just
messages from my ftp daemon. If you're wanting to see the boot messages,
this is from the last time I rebooted when I installed the disk:

Oct  4 04:07:30 kermit kernel: Copyright (c) 1992-2006 The FreeBSD Project.
Oct  4 04:07:30 kermit kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988,
1989, 1991, 1992, 1993, 1994
Oct  4 04:07:30 kermit kernel: The Regents of the University of California.
All rights reserved.
Oct  4 04:07:30 kermit kernel: FreeBSD 6.1-STABLE-200608 #0: Mon Mar 19
22:52:31 PDT 2007
Oct  4 04:07:30 kermit kernel:
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/KERMIT
Oct  4 04:07:30 kermit kernel: ACPI APIC Table: 
Oct  4 04:07:30 kermit kernel: Timecounter "i8254" frequency 1193182 Hz
quality 0
Oct  4 04:07:30 kermit kernel: CPU: AMD Athlon(tm) 64 X2 Dual Core Processor
5200+ (2611.90-MHz 686-class CPU)
Oct  4 04:07:30 kermit kernel: Origin = "AuthenticAMD"  Id = 0x40f32
Stepping = 2
Oct  4 04:07:30 kermit kernel:
Features=0x178bfbff
Oct  4 04:07:30 kermit kernel: Features2=0x2001
Oct  4 04:07:30 kermit kernel: AMD
Features=0xea500800
Oct  4 04:07:30 kermit kernel: AMD Features2=0x1f,,CR8>
Oct  4 04:07:30 kermit kernel: Cores per package: 2
Oct  4 04:07:30 kermit kernel: real memory  = 3724476416 (3551 MB)
Oct  4 04:07:30 kermit kernel: avail memory = 3647496192 (3478 MB)
Oct  4 04:07:30 kermit kernel: FreeBSD/SMP: Multiprocessor System Detected:
2 CPUs
Oct  4 04:07:30 kermit kernel: cpu0 (BSP): APIC ID:  0
Oct  4 04:07:30 kermit kernel: cpu1 (AP): APIC ID:  1
Oct  4 04:07:30 kermit kernel: ioapic0: Changing APIC ID to 2
Oct  4 04:07:30 kermit kernel: ioapic0  irqs 0-23 on
motherboard
Oct  4 04:07:30 kermit kernel: kbd1 at kbdmux0
Oct  4 04:07:30 kermit kernel: acpi0:  on motherboard
Oct  4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR
Oct  4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR
Oct  4 04:07:30 kermit kernel: acpi0: Power Button (fixed)
Oct  4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR
Oct  4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR
Oct  4 04:07:30 kermit kernel: Timecounter "ACPI-fast" frequency 3579545 Hz
quality 1000
Oct  4 04:07:30 kermit kernel: acpi_timer0: <24-bit timer at 3.579545MHz>
port 0x

RE: Can't add new 1TB disk in FreeBSD 6.1

2008-10-06 Thread Don O';Neil
 
> > > > I just swapped out an old 500G disk with a 1TB one and I'm 
> > > > trying to label it and mount it...
> > > > 
> > > > If I run bsdlabel -w ad4, I get:
> > > > 
> > > > bsdlabel: Geom not found
> > > > 
> > > > If I run sysinstall, it tells me that it can't write to the disk.
> > > > 
> > > > I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but 
> > > > that didn't help.
> > > > 
> > > > Can anyone help me get this new disk installed without having to 
> > > > boot off a recovery CD? The server is 500 miles away from me and 
> > > > I don't have direct console access.
> > > > Can you provide output from dmesg, as well as "geom disk list"?
> > > 
> > > OK... I tried:
> > > 
> > > # dd if=/dev/zero of=/dev/ad4 bs=512 count=1000
> > > dd: /dev/ad4: Operation not permitted
> > > 
> > > # fdisk /dev/ad4
> > > *** Working on device /dev/ad4 *** parameters extracted 
> > > from in-core disklabel are:
> > > cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl)
> > > 
> > > Figures below won't work with BIOS for partitions not in cyl 1 
> > > parameters to be used for BIOS calculations are:
> > > cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl)
> > > 
> > > fdisk: invalid fdisk partition table found Media sector size is 
> > > 512
> > > Warning: BIOS sector numbering starts with sector 1 Information 
> > > from DOS bootblock is:
> > > The data for partition 1 is:
> > > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
> > > start 63, size 1953525105 (953869 Meg), flag 80 (active)
> > > beg: cyl 0/ head 1/ sector 1;
> > > end: cyl 612/ head 15/ sector 63 The data for partition 2
> > > is:
> > > 
> > > The data for partition 3 is:
> > > 
> > > The data for partition 4 is:
> > > 
> > 
> > 
> > OK.   That looks pretty normal.
> >
> > Well, except for not allowing the dd to the disk.  
> > I haven't had that happen on a disk.  (I used to see that a lot on 
> > DAT
> tapes)
> >
> > So, maybe, as someone else suggested, you also need:
> >
> > > OK... I tried:
> > > 
> > > # dd if=/dev/zero of=/dev/ad4 bs=512 count=1000
> > > dd: /dev/ad4: Operation not permitted
> > > 
> > Did you "sysctl kern.geom.debugflags=16" before doing this?
> > > 
> > What's happening here is that GEOM isn't letting you overwrite the 
> > MBR on the disk.  Setting kern.geom.debugflags=16 should permit that 
> > to happen.
> > 
> >
> > But, do the following too.  
> >
> > 
> > Did you try doing an: fdisk -I ad4   or  maybe  fdisk -BI ad4
> > 
> > It takes that to get fdisk to initialize the disk.
> > (the -B puts the master boot block there.
> > 
> > Just doing anfdisk ad4   only had fdisk read out stuff
> > and there isn't anything there yet to read - so of course it is 
> > invalid.
> > 
> > 
> > > 
> > > Geometry output:
> > > 
> > > Geom name: ad4
> > > Providers:
> > > 1. Name: ad4
> > >Mediasize: 1000204886016 (932G)
> > >Sectorsize: 512
> > >Mode: r0w0e0
> > >fwsectors: 63
> > >fwheads: 16
> > > 
> > > Nothing exciting coming from dmesg.
> 
> I tried kern.geom.debugflags=16 originally, still doesn't help.

> Can you please do it and then attempt the exact dd you ran above?

# sysctl kern.geom.debugflags=16
kern.geom.debugflags: 16 -> 16

# dd if=/dev/zero of=/dev/ad4 bs=512 count=1000
dd: /dev/ad4: Operation not permitted

>The reason I'm hounding: you're not providing a lot of detail between
whatever it is you're doing.  Just a lot of >one-liner responses "No didn't
work, next".  It's very difficult to discern what exactly you're doing; for
example, >you could've run the sysctl and then attempted an install, rather
than re-execute the dd.

I did exactly as you suggested, and I've posed all my results here... I'm
scratching my head on this one as much as you are.

>I can refer you to historic data that shows people have gotten the exact
error you're seeing when attempting to >write to block 0 (MBR), stopped by
GEOM, which is why I'm a little wary.

>> Someone else recommended running sade(8) and properly configuring this
disk.
>> What is sade(8)? I don't have such an application on 6.1, and there is 
>> nothing in the ports. I think that sade is a 7.0+ tool.

>6.1?  Why?  This is a new install, right?  Is there some reason you're
installing 6.1 and not 6.3, or better yet, >7.0?  That's a separate
question, but it does make me wonder if something was fixed between 6.1 and
6.3/7.0 which >might address this problem.

No, it's not a new install, I'm just trying to add a new disk on an older
server. I REALLY don't want to do an OS upgrade at this point on a
production box that is running fine. We do that 1x a year, and I'm not in
the mood to do it just to add a bigger disk.

>There is one thing about later FreeBSDs which I am aware of: 48-bit LBA
addressing.  I'm left wondering if what >you're running into is a bug or a
problem with older FreeBSD (6.1) not supporting this.  I would have to go
back> through CVS commit lots for ata(4) to find out when 48-bit LBA w

RE: Can't add new 1TB disk in FreeBSD 6.1

2008-10-06 Thread Don O';Neil

> On Mon, Oct 06, 2008 at 08:03:46AM -0700, Don O'Neil wrote:
> 
> > > I just swapped out an old 500G disk with a 1TB one and I'm trying 
> > > to label it and mount it...
> > > 
> > > If I run bsdlabel -w ad4, I get:
> > > 
> > > bsdlabel: Geom not found
> > > 
> > > If I run sysinstall, it tells me that it can't write to the disk.
> > > 
> > > I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but 
> > > that didn't help.
> > > 
> > > Can anyone help me get this new disk installed without having to 
> > > boot off a recovery CD? The server is 500 miles away from me and I 
> > > don't have direct console access.
> > > Can you provide output from dmesg, as well as "geom disk list"?
> > 
> > OK... I tried:
> > 
> > # dd if=/dev/zero of=/dev/ad4 bs=512 count=1000
> > dd: /dev/ad4: Operation not permitted
> > 
> > # fdisk /dev/ad4
> > *** Working on device /dev/ad4 *** parameters extracted from 
> > in-core disklabel are:
> > cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl)
> > 
> > Figures below won't work with BIOS for partitions not in cyl 1 
> > parameters to be used for BIOS calculations are:
> > cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl)
> > 
> > fdisk: invalid fdisk partition table found Media sector size is 512
> > Warning: BIOS sector numbering starts with sector 1 Information from 
> > DOS bootblock is:
> > The data for partition 1 is:
> > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
> > start 63, size 1953525105 (953869 Meg), flag 80 (active)
> > beg: cyl 0/ head 1/ sector 1;
> > end: cyl 612/ head 15/ sector 63 The data for partition 2 
> > is:
> > 
> > The data for partition 3 is:
> > 
> > The data for partition 4 is:
> > 
> 
> 
> OK.   That looks pretty normal.
>
> Well, except for not allowing the dd to the disk.  
> I haven't had that happen on a disk.  (I used to see that a lot on DAT
tapes)
>
> So, maybe, as someone else suggested, you also need:
>
> > OK... I tried:
> > 
> > # dd if=/dev/zero of=/dev/ad4 bs=512 count=1000
> > dd: /dev/ad4: Operation not permitted
> > 
> Did you "sysctl kern.geom.debugflags=16" before doing this?
> > 
> What's happening here is that GEOM isn't letting you overwrite the MBR 
> on the disk.  Setting kern.geom.debugflags=16 should permit that to 
> happen.
> 
>
> But, do the following too.  
>
> 
> Did you try doing an: fdisk -I ad4   or  maybe  fdisk -BI ad4
> 
> It takes that to get fdisk to initialize the disk.
> (the -B puts the master boot block there.
> 
> Just doing anfdisk ad4   only had fdisk read out stuff
> and there isn't anything there yet to read - so of course it is 
> invalid.
> 
> 
> > 
> > Geometry output:
> > 
> > Geom name: ad4
> > Providers:
> > 1. Name: ad4
> >Mediasize: 1000204886016 (932G)
> >Sectorsize: 512
> >Mode: r0w0e0
> >fwsectors: 63
> >fwheads: 16
> > 
> > Nothing exciting coming from dmesg.

I tried kern.geom.debugflags=16 originally, still doesn't help.

Someone else recommended running sade(8) and properly configuring this disk.
What is sade(8)? I don't have such an application on 6.1, and there is
nothing in the ports. I think that sade is a 7.0+ tool.

Any other ideas?

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


RE: Can't add new 1TB disk in FreeBSD 6.1

2008-10-06 Thread Don O';Neil
> I just swapped out an old 500G disk with a 1TB one and I'm trying to 
> label it and mount it...
> 
> If I run bsdlabel -w ad4, I get:
> 
> bsdlabel: Geom not found
> 
> If I run sysinstall, it tells me that it can't write to the disk.
> 
> I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that 
> didn't help.
> 
> Can anyone help me get this new disk installed without having to boot 
> off a recovery CD? The server is 500 miles away from me and I don't 
> have direct console access.
> Can you provide output from dmesg, as well as "geom disk list"?

OK... I tried:

# dd if=/dev/zero of=/dev/ad4 bs=512 count=1000
dd: /dev/ad4: Operation not permitted

# fdisk /dev/ad4
*** Working on device /dev/ad4 ***
parameters extracted from in-core disklabel are:
cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl)

fdisk: invalid fdisk partition table found
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 1953525105 (953869 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 612/ head 15/ sector 63
The data for partition 2 is:

The data for partition 3 is:

The data for partition 4 is:


Geometry output:

Geom name: ad4
Providers:
1. Name: ad4
   Mediasize: 1000204886016 (932G)
   Sectorsize: 512
   Mode: r0w0e0
   fwsectors: 63
   fwheads: 16

Nothing exciting coming from dmesg.


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


RE: Can't add new 1TB disk in FreeBSD 6.1

2008-10-04 Thread Don O';Neil

> >>> I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but 
> >>> that
>  >>> didn't help.
>  >>>
>  >>> Can anyone help me get this new disk installed without having to 
> boot  >>> off a recovery CD? The server is 500 miles away from me and 
> I don't  >>> have direct console access.
>  >>>
>  >>
>  >> Uhmm... This may seem silly, but did you use fdisk to create a 
> slice  >> first before you tried partitioning?
>  >>
>  >this is NOT needed. actually i don't do it anywhere.
>  >
>  >it just may be sysinstall problem, anything else.
>
>
> I tried using fdisk first, same problem, won't let me write to the disk.

Do you will use the entire disk in one partition ? If so, just do:
newfs /dev/ad4

Maybe you should to use gjournal for this large filesystem



I tried newfs before, same issue:

# newfs /dev/ad4
newfs: /dev/ad4: failed to open disk for writing

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


RE: Can't add new 1TB disk in FreeBSD 6.1

2008-10-04 Thread Don O';Neil
>>> I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that 
>>> didn't help.
>>>
>>> Can anyone help me get this new disk installed without having to boot 
>>> off a recovery CD? The server is 500 miles away from me and I don't 
>>> have direct console access.
>>>
>>
>> Uhmm... This may seem silly, but did you use fdisk to create a slice 
>> first before you tried partitioning?
>>
>this is NOT needed. actually i don't do it anywhere.
>
>it just may be sysinstall problem, anything else.

I tried using fdisk first, same problem, won't let me write to the disk.

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


Can't add new 1TB disk in FreeBSD 6.1

2008-10-04 Thread Don O';Neil
I just swapped out an old 500G disk with a 1TB one and I'm trying to label
it and mount it...

If I run bsdlabel -w ad4, I get:

bsdlabel: Geom not found

If I run sysinstall, it tells me that it can't write to the disk.

I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that didn't
help.

Can anyone help me get this new disk installed without having to boot off a
recovery CD? The server is 500 miles away from me and I don't have direct
console access.

Thanks!!!

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


Port Updates for 6.1

2007-12-29 Thread Don O';Neil
What is the safest and cleanest way to update the ports in /usr/ports for a
6.1-STABLE install? I don't want to risk breaking anything, I just need some
updated ports so I can install the latest SpamAssassin port.

Thanks!

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


RE: Building a SAN using FreeBSD

2007-10-06 Thread Don O';Neil
Well, that's is a possibility, but seems a bit of a hack to me... The SAN
device would be interfaces to another FreeBSD box so there's no need for
Samba... what I'm looking for is a way to extend 1 file system to an
infinite size by adding additional devices/network boxes, like what is
available from HP and the bigger players, based on a journaled file system.
Multiple disks basically added together like RAID, but in a
software/hardware setup to create one large volume (and single file system).
 
The use would be for web services... so when a particular volume fills up I
can extend it by adding disks and not have to move home directories to
different file systems, etc...

  _  

From: Derek Ragona [mailto:[EMAIL PROTECTED] 
Sent: Saturday, October 06, 2007 2:14 PM
To: Don O'Neil; freebsd-questions@freebsd.org
Subject: Re: Building a SAN using FreeBSD


At 04:00 PM 10/6/2007, Don O'Neil wrote:


Anyone have any resources for building a FreeBSD based SAN device? IE, how
can I create an extendable file system using networked drives in muliple
boxes without paying a billion dollars for someones expensive drive arrays.

TIA!



Well you can load FreeBSD on multiple boxes, I assume using cheap disks,
then run samba on each to share some of the drives.

-Derek


-- 
This message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, and is 
believed to be clean. 
MailScanner thanks transtec Computers <http://www.transtec.co.uk/>  for
their support. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


OpenSSL/PHP/Apache problem

2007-10-06 Thread Don O';Neil

Any time I compile PHP 4.4.7 with --with-ssl my apache 1.3.39 server core
dumps on start up on my FreeBSD 6.1 dual core AMD X2 box (in 32 bit mode).
Anyone have a work around for this or suggestions where to look/try? I was
having a similar problem with Curl, but once I told curl where the OpenSSL
home dir was and re-built it that solved that problem. The location of my
openSSL is /usr/local, so it's in the 'default' location. I ran the core
through gdb, and that is what prompted me to isolate the problem to
--with-ssl.

Here's my build options/script for php:

./configure \
--with-apxs \
--with-gd \
--with-gd-dir=/usr/local \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr/local/mysql \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xml \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--with-zip \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--enable-mbstring \
--with-curl \
--with-curl-dir=/usr/local/lib \
--with-imap=/usr/local/imap-2000e \
--with-imap-ssl \
  --with-openssl \
  --enable-memory-limit

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


Building a SAN using FreeBSD

2007-10-06 Thread Don O';Neil
Anyone have any resources for building a FreeBSD based SAN device? IE, how
can I create an extendable file system using networked drives in muliple
boxes without paying a billion dollars for someones expensive drive arrays.

TIA!

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


Stress testing/burning in HDDs

2007-09-27 Thread Don O';Neil
I have an array that has a drive that keeps timing out/failing... So I need
to replace it. However, I want to stress test/burn in a replacement disk
first.

What is the best way to do this?

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


Stress testing/burning in HDD's

2007-09-26 Thread Don O';Neil
I have an array that has a drive that keeps timing out/failing... So I need
to replace it. However, I want to stress test/burn in a replacement disk
first.

What is the best way to do this?

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


Strange port 80 access problem

2007-09-12 Thread Don O';Neil
I have a very strange access problem that just popped up this morning. For
whatever reason, my machine at home over my cable modem can no longer access
Apache on port 80... However other services are accessible elsewhere (Direct
Admin control panel, FTP, SMTP,etc...) BUT Apache is accessible to other
devices, not on my IP... It seems as though there is some sort of IP block
on me, but I can't seem to find anything in the logs to confirm this. I
don't have a 'deny from' in any .htaccess files... What could be going on?

I'm running apache 1.3.39, and FreeBSD 6.1.

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


RE: Server rebooting itself

2007-08-29 Thread Don O';Neil
I did some digging... I too had bought the machine built by an integrator...
They however used DDR2 RAM that is 2.0V where as the motherboard spec calls
for 1.8V DDR2. I'm betting that is what my problem is, so I ordered some
DDR2 that was listed on the compatibility list from the MB mfctr. I'm hoping
that, as well as the BIOS update solves everything.

I'll let everyone know my result just for their own information. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robin Vleij
Sent: Wednesday, August 29, 2007 1:07 AM
To: freebsd-questions@freebsd.org
Subject: Re: Server rebooting itself

Don O'Neil wrote:

Don,

> This happens randomly every 3-20 days (no apparent pattern). 
> Any suggestions on what to check next? 

As other wrote: it can be anything. I had a similair problem and it almost
drove me mad. It was a webhosting machine running 5.4, later 6.1 and up. The
machine was running Cpanel, a webhosting panel.
I've tried everything (memory testing, stress testing, etc etc): kept
rebooting. Just when I was at the point of actually stopping my webhosting
business (I just have that as a hobby), I swapped the dual Xeon Supermicro
that was giving problems with a really old dual P3 Dell 1650. It's been
running stable since then. Stable but slow. :)

Same for my backup machine, which was a self-built Dual Athlon MP (well,
built by a computer supplier). Swapped that for an old dual P4 Dell 2550
and: all is fine.

Doesn't help you much, except if you have some old Dell hardware laying
around. :)

/Robin

--
F/X Services
Managed Hosting
http://www.fx-services.com | http://www.fxs.se
___
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: Server rebooting itself

2007-08-29 Thread Don O';Neil
We tried that, 2 different PS's and no change, so I don't think that is what
it is. 

I'm thinking its either a BIOS issue, or _maybe_ memory. There may be 1 bad
cell somewhere in RAM that gets randomly hit and causes a reset. I'm going
to try upgrading the BIOS, and then if that doesn't work, put in new ram
from a different manufacturer. I've heard of MB/RAM combo problems before.
The ram we have in there isn't cheap, but is by no means 'top shelf'. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tuc at T-B-O-H.NET
Sent: Tuesday, August 28, 2007 8:29 PM
To: Marwan Sultan
Cc: freebsd-questions@freebsd.org; [EMAIL PROTECTED]
Subject: Re: Server rebooting itself

> > > I tried installing 'mbmon' port, but when I run mbmon -d I get:
> > >
> > > mbmon -d
> > > InitMBInfo: Operation not permitted This program needs "setuid 
> > > root"!!
> > >
> > > The SUID flag is set, and I'm running it from root. I am wondering 
> > > if
> >there
> > > is a possible power supply issue, or something like that. 


ODD STORY... We used to buy servers custom built for us. One of my
requirements was it had to be put on the net for me to check remotely.
SOMEHOW I got the idea to compile perl to put the machine through its paces.
(Don't remember how/why/etc). Once machine I was doing it on and all of a
sudden the compile fails. WEIRD. So I try a few more times.. Dies in the
same place every time. . The integrator swaps this, that, the other
things, to the point only 2 things weren't swapped. Case and power supply.
Swaps the power supply, thing builds fine. Next machine, it starts failing
again. I asked if he used the power supply from last time and he told me
"YES". I offered to BUY the power supply and throw it in the garbage. 

SO, long story short (TOO LATE), WEIRD WEIRD STUFF can happen with a
seemingly good power supply.

Tuc
___
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: Server rebooting itself

2007-08-29 Thread Don O';Neil
That is interesting, we are using filters. What version ot Apache are you
running? 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gert Lynge
Sent: Wednesday, August 29, 2007 2:16 AM
To: freebsd-questions@freebsd.org
Subject: RE: Server rebooting itself

>I have a 6.1 machine (AMD X2-5200) that reboots itself from time to 
>time
for
>no apparent reason.

Using HTTP accept filters by any chance?

I am investigating a similar problem - running FreeBSD 6.2 on a SupreMicro
server.
Rebooted randomly from 1-2 times a week to 3-4 times a day. Seemed to be
load related...
No kernel dump, nothing i logs, nothing in the IPMI-cards log. Actually no
clues at all :-/.

I think I narrowed it down to HTTP Accept Filters with the Apache server.
When I disabled those the problem disapered (running without reboots for 9
days now)...
I still need to confirm it 100% by re-enabling it - but I want more uptime
on the box first (just to be sure).

Regards
Gert Lynge


___
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]"


Server rebooting itself

2007-08-28 Thread Don O';Neil
I have a 6.1 machine (AMD X2-5200) that reboots itself from time to time for
no apparent reason. Today, I caught it in a reboot and on the console it
said it was shutting down the CPU's, like someone had hit control-alt-delete
on it (the same message)... But there is no keyboard attached to it, and
nobody was logged in.

This happens randomly every 3-20 days (no apparent pattern). 

I originally thought it was the 3ware controller causing it, but there was
no correlation.

I tried installing 'mbmon' port, but when I run mbmon -d I get:

mbmon -d
InitMBInfo: Operation not permitted
This program needs "setuid root"!!

The SUID flag is set, and I'm running it from root. I am wondering if there
is a possible power supply issue, or something like that. I swapped the PS
some time ago for a bigger one, but that didn't change anything. If anyone
has any suggestions on how to get mbmon to work I'd love to hear them. The
MB is GIGABYTE GA-M61P-S3 GF6100 AM2, which uses the nforce4 chipset. I'm
not even sure if mbmon works with that newer chipset or not.

I'm suspecting power problems further upstream (at the data center) but I
have no way of knowing. There doesn't seem to be any coorelation with usage
either, so I'm kind of stumped.

Any suggestions on what to check next? 

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


Server rebooting itself

2007-08-28 Thread Don O';Neil
I have a 6.1 machine (AMD X2-5200) that reboots itself from time to time for
no apparent reason. Today, I caught it in a reboot and on the console it
said it was shutting down the CPU's, like someone had hit control-alt-delete
on it (the same message)... But there is no keyboard attached to it, and
nobody was logged in.

This happens randomly every 3-20 days (no apparent pattern). 

I originally thought it was the 3ware controller causing it, but there was
no correlation.

I tried installing 'mbmon' port, but when I run mbmon -d I get:

mbmon -d
InitMBInfo: Operation not permitted
This program needs "setuid root"!!

The SUID flag is set, and I'm running it from root. I am wondering if there
is a possible power supply issue, or something like that. I swapped the PS
some time ago for a bigger one, but that didn't change anything. If anyone
has any suggestions on how to get mbmon to work I'd love to hear them. The
MB is GIGABYTE GA-M61P-S3 GF6100 AM2, which uses the nforce4 chipset. I'm
not even sure if mbmon works with that newer chipset or not.

I'm suspecting power problems further upstream (at the data center) but I
have no way of knowing. There doesn't seem to be any coorelation with usage
either, so I'm kind of stumped.

Any suggestions on what to check next? 

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


FW: Mail delivery failed: returning message to sender

2007-06-29 Thread Don O';Neil
I've been getting these messages fairly regularly lately. We're running SA
3.1.8 and Exim 4.6.6 on FreeBSD 6.1. I've changed the exim->SA config to go
through a pipe rather than the traditional way, set it to only scan messages
<100K, turned off Bayes AutoLearn because it was creating token files in the
multiple hundred megabyte range and it still is popping up. I've held off on
upgrading to SA 3.2.1 because of the performance issues I've read about, I'm
concerned that the problem will get worse if I upgrade. 

Anyone have any ideas on how to fix it? 

Here is the message:

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  [EMAIL PROTECTED]
local delivery failed

The following text was generated during the delivery attempt:

-- [EMAIL PROTECTED] --

An error was detected while processing a file of BSMTP input.
The error message was:

  421 Lost incoming connection

The SMTP transaction started in line 0.
The error was detected in line 3.
0 previous messages were successfully processed.
The rest of the batch was abandoned.
421 Lost incoming connection
Transaction started in line 0
Error detected in line 3

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


Quotacheck failing

2007-04-28 Thread Don O';Neil
I'm having a problem with quotacheck failing and giving this message:

quotacheck: /home/quota.user: seek failed: Invalid argument THE FOLLOWING
FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY:
/dev/twed0s1d (/home)

However, I have run a full fsck from single user mode on this volume and it
comes up clean every time. I've removed the quota.user and had it
re-generated, but that didn't help either.

Anyone know how/why this is happening, and what do try to do to fix it? Is
there possible some corrupt file somewhere on the volume that quotacheck
doesn't like, but is technically fine according to fsck? 

I haven't heard from any one with any ideas, so I'm reposting. Beyond moving
the data off the array, reformatting it and moving it back (which I did
originally) how can I fix this problem?

Thanks for any suggestions!

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


Quotacheck failing

2007-04-25 Thread Don O';Neil
I'm having a problem with quotacheck failing and giving this message:

quotacheck: /home/quota.user: seek failed: Invalid argument THE FOLLOWING
FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY:
/dev/twed0s1d (/home)

However, I have run a full fsck from single user mode on this volume and it
comes up clean every time. I've removed the quota.user and had it
re-generated, but that didn't help either.

Anyone know how/why this is happening, and what do try to do to fix it? Is
there possible some corrupt file somewhere on the volume that quotacheck
doesn't like, but is technically fine according to fsck? 

Thanks for any suggestions!

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


RE: Memory >3.5GB not used?

2007-04-24 Thread Don O';Neil
If it's a hack maybe I should just not worry about the extra .5GB then... I
don't really need it, it was just a bit of an annoyance to see the message. 

When I need more RAM I'll just update to AMD64.

-Original Message-
From: Bill Moran [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 24, 2007 11:55 AM
To: Don O'Neil
Cc: 'Andy Greenwood'; freebsd-questions@freebsd.org
Subject: Re: Memory >3.5GB not used?

In response to "Don O'Neil" <[EMAIL PROTECTED]>:

> I never had this problem before when I built the kernel the first time.
> Could my module source be corrupt? If so, how do I re-install just the 
> kernel sources for 6.1?

Not all modules work with PAE.  Read the example PAE kernel file for
information.

PAE is an awful hack, BTW.  I've heard a number of people complain that
performance sucks under PAE.

> 
> -Original Message-
> From: Andy Greenwood [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 24, 2007 11:44 AM
> To: Don O'Neil
> Cc: freebsd-questions@freebsd.org
> Subject: Re: Memory >3.5GB not used?
> 
> On 4/24/07, Don O'Neil <[EMAIL PROTECTED]> wrote:
> > Thanks for all who pointed out the obvious PAE option...
> >
> > When I went to rebuild the kernel I got this message:
> >
> > +++
> > cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE
-nostdinc
> > -I-   -DHAVE_KERNEL_OPTION_HEADERS -include
> > /usr/src/sys/i386/compile/KERMIT/opt_global.h -I. -I@ 
> > -I@/contrib/altq -I/usr/include -finline-limit=8000 -fno-common -g 
> > -I/usr/src/sys/i386/compile/KERMIT -mno-align-long-strings
> > -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
> > -ffreestanding -Wall -Wredundant-decls -Wnested-externs 
> > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline 
> > -Wcast-qual -fformat-extensions -std=c99 -c 
> > /usr/src/sys/modules/aha/../../dev/aha/aha.c
> > /usr/src/sys/modules/aha/../../dev/aha/aha.c: In function `ahaaction':
> > /usr/src/sys/modules/aha/../../dev/aha/aha.c:848: warning: cast from 
> > pointer to integer of different size
> > *** Error code 1
> >
> > Stop in /usr/src/sys/modules/aha.
> > *** Error code 1
> >
> > Stop in /usr/src/sys/modules.
> > *** Error code 1
> >
> > Stop in /usr/src/sys/i386/compile/KERMIT.
> > +++
> >
> > Why would it be complaining about the aha module when I have it 
> > commented out as a device?
> 
> commenting it from the kernel config will only prevent it from being 
> built staticlly in the kernel. If you want to prevent the module from 
> being built, look at the MODULES_OVERRIDE or WITHOUT_MODULES options to
make.conf.
> 
> man 5 make.conf for more details.
> 
> >
> > -Original Message-
> > From: Bill Moran [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, April 24, 2007 11:05 AM
> > To: Don O'Neil
> > Cc: freebsd-questions@freebsd.org
> > Subject: Re: Memory >3.5GB not used?
> >
> > In response to "Don O'Neil" <[EMAIL PROTECTED]>:
> >
> > > I just built a new server with an Athlon 64 x2, 4GB Ram and a 
> > > Gigabyte/Nvidia motherboard.
> > >
> > > When I boot the system up it says on the console that 532888K will 
> > > be ignored.
> > >
> > > Of course it isn't put in any of the log files. Dmesg shows this:
> > >
> > > real memory  = 3724476416 (3551 MB) avail memory = 3649908736 
> > > (3480 MB)
> > >
> > > Any reason the extra 1/2 GB isn't showing up or usable? Is there 
> > > something I need to specify in the kernel to get to the other 1/2 GB?
> > > What if I want to install more than 4GB? This mobo supports up to 
> > > 16 GB... Do I need to go to the AMD64 platform to get >4GB?
> > >
> > > I'm running FreeBSD 6.1 i386 SMP kernel.
> >
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.ht
> > ml
> > #PAE
> >
> > --
> > Bill Moran
> > http://www.potentialtech.com
> >
> > ___
> > freebsd-questions@freebsd.org mailing list 
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> >
> 
> 
> --
> --
> I'm nerdy in the extreme and whiter than sour cream
> 
> ___
> freebsd-questions@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"


--
Bill Moran
http://www.potentialtech.com

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


RE: Memory >3.5GB not used?

2007-04-24 Thread Don O';Neil
I never had this problem before when I built the kernel the first time.
Could my module source be corrupt? If so, how do I re-install just the
kernel sources for 6.1? 

-Original Message-
From: Andy Greenwood [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 24, 2007 11:44 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Memory >3.5GB not used?

On 4/24/07, Don O'Neil <[EMAIL PROTECTED]> wrote:
> Thanks for all who pointed out the obvious PAE option...
>
> When I went to rebuild the kernel I got this message:
>
> +++
> cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc
> -I-   -DHAVE_KERNEL_OPTION_HEADERS -include
> /usr/src/sys/i386/compile/KERMIT/opt_global.h -I. -I@ -I@/contrib/altq 
> -I/usr/include -finline-limit=8000 -fno-common -g 
> -I/usr/src/sys/i386/compile/KERMIT -mno-align-long-strings
> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
> -ffreestanding -Wall -Wredundant-decls -Wnested-externs 
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline 
> -Wcast-qual -fformat-extensions -std=c99 -c 
> /usr/src/sys/modules/aha/../../dev/aha/aha.c
> /usr/src/sys/modules/aha/../../dev/aha/aha.c: In function `ahaaction':
> /usr/src/sys/modules/aha/../../dev/aha/aha.c:848: warning: cast from 
> pointer to integer of different size
> *** Error code 1
>
> Stop in /usr/src/sys/modules/aha.
> *** Error code 1
>
> Stop in /usr/src/sys/modules.
> *** Error code 1
>
> Stop in /usr/src/sys/i386/compile/KERMIT.
> +++
>
> Why would it be complaining about the aha module when I have it 
> commented out as a device?

commenting it from the kernel config will only prevent it from being built
staticlly in the kernel. If you want to prevent the module from being built,
look at the MODULES_OVERRIDE or WITHOUT_MODULES options to make.conf.

man 5 make.conf for more details.

>
> -Original Message-
> From: Bill Moran [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 24, 2007 11:05 AM
> To: Don O'Neil
> Cc: freebsd-questions@freebsd.org
> Subject: Re: Memory >3.5GB not used?
>
> In response to "Don O'Neil" <[EMAIL PROTECTED]>:
>
> > I just built a new server with an Athlon 64 x2, 4GB Ram and a 
> > Gigabyte/Nvidia motherboard.
> >
> > When I boot the system up it says on the console that 532888K will 
> > be ignored.
> >
> > Of course it isn't put in any of the log files. Dmesg shows this:
> >
> > real memory  = 3724476416 (3551 MB)
> > avail memory = 3649908736 (3480 MB)
> >
> > Any reason the extra 1/2 GB isn't showing up or usable? Is there 
> > something I need to specify in the kernel to get to the other 1/2 GB?
> > What if I want to install more than 4GB? This mobo supports up to 16 
> > GB... Do I need to go to the AMD64 platform to get >4GB?
> >
> > I'm running FreeBSD 6.1 i386 SMP kernel.
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html
> #PAE
>
> --
> Bill Moran
> http://www.potentialtech.com
>
> ___
> freebsd-questions@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>


--
--
I'm nerdy in the extreme and whiter than sour cream

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


RE: Memory >3.5GB not used?

2007-04-24 Thread Don O';Neil
Thanks for all who pointed out the obvious PAE option...

When I went to rebuild the kernel I got this message:

+++
cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc
-I-   -DHAVE_KERNEL_OPTION_HEADERS -include
/usr/src/sys/i386/compile/KERMIT/opt_global.h -I. -I@ -I@/contrib/altq
-I/usr/include -finline-limit=8000 -fno-common -g
-I/usr/src/sys/i386/compile/KERMIT -mno-align-long-strings
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -std=c99 -c /usr/src/sys/modules/aha/../../dev/aha/aha.c
/usr/src/sys/modules/aha/../../dev/aha/aha.c: In function `ahaaction':
/usr/src/sys/modules/aha/../../dev/aha/aha.c:848: warning: cast from pointer
to integer of different size
*** Error code 1

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

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

Stop in /usr/src/sys/i386/compile/KERMIT.
+++

Why would it be complaining about the aha module when I have it commented
out as a device?

-Original Message-
From: Bill Moran [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 24, 2007 11:05 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Memory >3.5GB not used?

In response to "Don O'Neil" <[EMAIL PROTECTED]>:

> I just built a new server with an Athlon 64 x2, 4GB Ram and a 
> Gigabyte/Nvidia motherboard.
> 
> When I boot the system up it says on the console that 532888K will be 
> ignored.
> 
> Of course it isn't put in any of the log files. Dmesg shows this:
> 
> real memory  = 3724476416 (3551 MB)
> avail memory = 3649908736 (3480 MB)
> 
> Any reason the extra 1/2 GB isn't showing up or usable? Is there 
> something I need to specify in the kernel to get to the other 1/2 GB? 
> What if I want to install more than 4GB? This mobo supports up to 16 
> GB... Do I need to go to the AMD64 platform to get >4GB?
> 
> I'm running FreeBSD 6.1 i386 SMP kernel.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#PAE

--
Bill Moran
http://www.potentialtech.com

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


Memory >3.5GB not used?

2007-04-24 Thread Don O';Neil
I just built a new server with an Athlon 64 x2, 4GB Ram and a
Gigabyte/Nvidia motherboard.

When I boot the system up it says on the console that 532888K will be
ignored.

Of course it isn't put in any of the log files. Dmesg shows this:

real memory  = 3724476416 (3551 MB)
avail memory = 3649908736 (3480 MB)

Any reason the extra 1/2 GB isn't showing up or usable? Is there something I
need to specify in the kernel to get to the other 1/2 GB? What if I want to
install more than 4GB? This mobo supports up to 16 GB... Do I need to go to
the AMD64 platform to get >4GB?

I'm running FreeBSD 6.1 i386 SMP kernel.


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


Problem with Quotacheck after crash

2007-04-23 Thread Don O';Neil
This question is related to my recent question about not being able to
delete files after a disk crash... I solved that problem with the chflags
(the no-delete flag was set!).. Thanks for all who suggested it.

Now that I've deleted the files, I thought this problem would go away, but
its not:

 quotacheck: /home/quota.user: seek failed: Invalid argument
THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY:
/dev/twed0s1d (/home)

I've run an fsck on the volume from single user mode, after deleting the
files, and it was clean, but I still get this error. I deleted the
quota.user & quota.group files because they were corrupted when the crash
happened. 

I'm at a loss as to what to do next, any suggestions?

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


Unable to delete files/directories - bogus user/group ID's

2007-04-23 Thread Don O';Neil
I had a crash on a disk array last week that was severe enough that fsck
wouldn't fix it, even in single user mode. So, I was forced to suck off the
good data, and restore the bad stuff from backups.

However there are 2 directories that contain files/directories which have
bogus user & group ID's that the system just won't let me do anything to. I
can delete them, cant rename them, cant move them, cant chmod/chown, cant
cat to them, nothing... I just get "Operation not permitted".

Here's a sample of one of them: 

---xrx  1 2761022747  1016642816  0 Apr 19 15:35 Video
d--s---rw-  2 3251161791  726015594  512 Apr 19 15:41 .shrc

Anyone have any ideas on how to get rid of these files?

I've done an fsck from single user mode and that doesn't come up with
anything. Short of copying all the data over to a new volume sans these
files and then reformatting the old volume and then moving the good files
back what can I do?

Any assistance would be appreciated. I'd also like to thank everyone who
browses this group and regularly posts responses... Without you guys some of
us would never get the help and knowledge we need! Thanks in advance!

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


Unable to delete files/directories - bogus user/group ID's

2007-04-22 Thread Don O';Neil
I had a crash on a disk array last week that was severe enough that fsck
wouldn't fix it, even in single user mode. So, I was forced to suck off the
good data, and restore the bad stuff from backups.

However there are 2 directories that contain files/directories which have
bogus user & group ID's that the system just won't let me do anything to. I
can delete them, cant rename them, cant move them, cant chmod/chown, cant
cat to them, nothing... I just get "Operation not permitted".

Here's a sample of one of them: 

---xrx  1 2761022747  1016642816  0 Apr 19 15:35 Video
d--s---rw-  2 3251161791  726015594  512 Apr 19 15:41 .shrc

Anyone have any ideas on how to get rid of these files?

I've done an fsck from single user mode and that doesn't come up with
anything. Short of copying all the data over to a new volume sans these
files and then reformatting the old volume and then moving the good files
back what can I do?

Any assistance would be appreciated. I'd also like to thank everyone who
browses this group and regularly posts responses... Without you guys some of
us would never get the help and knowledge we need! Thanks in advance!

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


Supported PCI Express x1 Ethernet Cards

2007-04-20 Thread Don O';Neil
Does anyone have a suggestion for a supported 10/100/1000 PCI Express x1
ethernet card supported under 6.1?

Thanks!

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


nVidia GeForce 6100/430 Realtek 8211 Gig-E on FreeBSD 6.1

2007-04-19 Thread Don O';Neil
Does anyone know how to get a nVidia GeForce 6100/430 Realtek 8211 Gig-E
interface to work on FreeBSD 6.1? Loading the standard nVidia lan drivers
doesn't work, nor does anything in the generic kernel. Is there a
patch/driver for this device? The MB is a Gigabyte M61P-S3.

Thanks!

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


Migrating from i386 to AMD64

2007-04-17 Thread Don O';Neil
I've currently got a production server in place that I want to do some
hardware upgrades on. We're currently running a Dual P3 1.4 GHz and I plan
on replacing it with an AMD X2-5200+ cpu/mb.

Now.. Can I just use the same SMP kernel I have currently (assuming the
correct drivers are loaded) for the X2 processor if I just want to run it in
32 bit mode? Or do I need to do a complete re-install/upgrade to the AMD64
platform version of FreeBSD?

I'm not worried about memory usage past 4 GB (that's all we're installing),
or the slight (possible) increase in speed from using the native 64 bit
stuff.

Are there any issues I should be aware of?

Of course I'm going to bench test everything with an image of the production
server, just to be sure, but I'd like to know what I'm getting into before I
start.

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


RE: Mysql Hogging all system resources

2007-04-13 Thread Don O';Neil
I did this:

In my login.conf file (assuming that all you have to do is change whatever
you don't want to be the default):

nice:\
:priority=5:

In the user entry I put 'nice' in field 5.

When I rebuilt the login.conf db, nothing seems to have changed for th
user... A 'top' still shows his processes (old and new) with a nice of 0.

Is there something else I'm missing? 

-Original Message-
From: Dan Nelson [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 13, 2007 2:57 PM
To: Don O'Neil
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Mysql Hogging all system resources

In the last episode (Apr 13), Don O'Neil said:
> Nevermind on the "badly formatted number"... I specified the full path 
> /usr/bin/nice and it worked ok this time :-)
> 
> However, I still want to know if there is a way to specify a nice 
> level for an entire users processes.

If you create a login class in /etc/login.conf and set the priority
capability, then assign a user to that class in /etc/master.passwd (the
class field is the 5th one, it's usually empty), then their priority (aka
niceness) should get set then they log in.  Remember to use the 'vipw'
command to edit the passwd file, and to run 'cap_mkdb /etc/login.conf' to
rebuild login.conf.db.

-- 
Dan Nelson
[EMAIL PROTECTED]

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


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


RE: Mysql Hogging all system resources

2007-04-13 Thread Don O';Neil
Nevermind on the "badly formatted number"... I specified the full path
/usr/bin/nice and it worked ok this time :-)

However, I still want to know if there is a way to specify a nice level for
an entire users processes.

Thanks! 

-Original Message-----
From: Don O'Neil [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 13, 2007 2:41 PM
To: 'Chuck Swiger'
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Mysql Hogging all system resources

Is there a way to set a 'nice' priority for a particular user? 

Also, when I run this:

nice -n 5 /usr/bin/spamd -d -c -m 5

I get:

nice: Badly formed number. 

I ran a man page on it, and this is the right format, but its not working.

-Original Message-
From: Chuck Swiger [mailto:[EMAIL PROTECTED]
Sent: Friday, April 13, 2007 11:38 AM
To: Don O'Neil
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Mysql Hogging all system resources

On Apr 12, 2007, at 1:17 PM, Don O'Neil wrote:
[ ... ]
> Is there a way to prioritize or set the amount of resources that MySQL 
> is allowed to have? Do I need to set it up as a jailed process maybe?
> I've
> never done that before, so I'm not sure if it's the right approach or 
> not.

Um, didn't you ask this question yesterday?  Use nice/renice to change the
process priority of the MySQL server so that you don't starve other
processes of CPU

--
-Chuck



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


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


RE: Mysql Hogging all system resources

2007-04-13 Thread Don O';Neil
Is there a way to set a 'nice' priority for a particular user? 

Also, when I run this:

nice -n 5 /usr/bin/spamd -d -c -m 5

I get:

nice: Badly formed number. 

I ran a man page on it, and this is the right format, but its not working.

-Original Message-
From: Chuck Swiger [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 13, 2007 11:38 AM
To: Don O'Neil
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Mysql Hogging all system resources

On Apr 12, 2007, at 1:17 PM, Don O'Neil wrote:
[ ... ]
> Is there a way to prioritize or set the amount of resources that MySQL 
> is allowed to have? Do I need to set it up as a jailed process maybe?
> I've
> never done that before, so I'm not sure if it's the right approach or 
> not.

Um, didn't you ask this question yesterday?  Use nice/renice to change the
process priority of the MySQL server so that you don't starve other
processes of CPU

-- 
-Chuck


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


RE: Mysql Hogging all system resources

2007-04-12 Thread Don O';Neil
This isn't exactly what I want to do. According to the FreeBSD Handbook, by
defining a CPU limit it will just kill any process that uses more than the
limit. What I want to do is effectively throttle the process so it doesn't
use up more than a certain % CPU, but still lives, esentially taking longer
to process than if it had unlimited resources. That way the process still
runs and the system isn't taken to it's knees.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Moran
Sent: Thursday, April 12, 2007 1:32 PM
To: Don O'Neil
Cc: [EMAIL PROTECTED]
Subject: Re: Mysql Hogging all system resources

In response to "Don O'Neil" <[EMAIL PROTECTED]>:

> I have a customer that loaded up a HUGE table and was doing all sorts 
> of fancy stuff in it, and not waiting for the process to finish before 
> sending the same query, and eventually loading up the server to the 
> point where the only thing I could do was unplug it.
> 
> Is there a way to prioritize or set the amount of resources that MySQL 
> is allowed to have? Do I need to set it up as a jailed process maybe? 
> I've never done that before, so I'm not sure if it's the right approach or
not.

man login.conf should tell you all you need to know.

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

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


Mysql Hogging all system resources

2007-04-12 Thread Don O';Neil
I have a customer that loaded up a HUGE table and was doing all sorts of
fancy stuff in it, and not waiting for the process to finish before sending
the same query, and eventually loading up the server to the point where the
only thing I could do was unplug it.

Is there a way to prioritize or set the amount of resources that MySQL is
allowed to have? Do I need to set it up as a jailed process maybe? I've
never done that before, so I'm not sure if it's the right approach or not.

I'm running FreeBSD 6.1.

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


RE: KVM over IP (Was: Re: adding keyboard after reboot with no keyboard) ...

2007-04-10 Thread Don O';Neil
Try the Aten CN6000... They can be purchased for less than $500... They work
GREAT, and can be attached to a KVM switch to cascade for multiple servers.

http://www.aten-usa.com/?product&cat=583&Item=CN6000 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Derek Ragona
Sent: Tuesday, April 10, 2007 1:09 PM
To: Marc G. Fournier; freebsd-questions@freebsd.org
Subject: Re: KVM over IP (Was: Re: adding keyboard after reboot with no
keyboard) ...

At 02:11 PM 4/10/2007, Marc G. Fournier wrote:
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>
>Does anyone know of a reasonably priced one?  Our newer servers, we've 
>been using HP servers, so that we have this built in, but I have 6 
>older servers that I'd love to be able to deal with remotely without 
>headaches ... I only need to be able to access one at a time ...
>
>I've tried the 'serial console' route, but if the server crashes, 
>logging in to the serial console doesn't show you anything, whereas, 
>with the HP 'remote console' feature, its the same as a KVM, where 
>running it does a screen refresh, so that I can see what is on the 
>screen at the time of the crash ...

The simplest thing you can do is to make sure you are logging the console
messages.  I set all remote servers to log the actual console output to a
separate log file in /etc/syslog.conf adding the line:
console.info/var/log/console.log

and adding a line to /etc/newsyslog.conf to rotate the logs:
/var/log/console.log600  5 100  * J

 -Derek

--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.
MailScanner thanks transtec Computers for their support.

___
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]"


Recommended SMP Hardware

2007-04-05 Thread Don O';Neil
I'm getting ready to obsolete one of my old dual P2-800 servers and wanted
to get some suggestions from you all... I'm going to be building a new
server to replace it and need more power, but not a TON more power...
Something along the lines of dual 2.5 GHz processors with 4 GB RAM should be
more than enough.

Any one have some suggestions for lower priced dual processor motherboards
and CPU combos? Athlon, Xeon, P4, whatever, doesn't really matter. I'd like
to hear from some of you who are actually using certain combos in production
and your experiences (good or bad) with them and FreeBSD 6.2.

Thanks!

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


RE: Problems with SMP on 6.1-STABLE-200608

2007-04-05 Thread Don O';Neil
More info on my problem.

I swapped out the MB, CPU's, RAM, Power Supply and I still have the problem
with the kernel panicing when running on SMP.

When I re-build the kernel for NO SMP, the machine is rock solid, even under
VERY high loads.

I setup the old MB, CPU's, RAM & Power Supply on the bench, with a new
6.1-STABLE-200608 AND 6.2-RELEASE install and run dozens of copies of the
stress port. Even with it bringing loads up to >250, and eating up all
available RAM and SWAP I could not get the kernel to panic.

The ONLY difference between the bench setup and the production setup is a
3-Ware Escalade RAID card. I am going to setup another array on the bench
with a spare card I have and see if I can get it to panic under that setup
(which will be identical hardware wise to the production box). The only
thing I can think of right now is one of the following:

1) Bad RAID card or cables <- unlikely since it should show up even in
uniprocessor mode
2) Problem with the TWE driver in SMP mode <- more likely

I'm leaning towards #2, especially with the other recent reports of someone
else getting kernel panics with 3ware products. 

Anyone else have any thoughts as to what scenarios/tools I should try to
isolate the problem?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, March 28, 2007 8:48 AM
To: freebsd-questions@freebsd.org
Subject: Re: Problems with SMP on 6.1-STABLE-200608

On Wed, 28 Mar 2007, Lowell Gilbert wrote:

> "Don O'Neil" <[EMAIL PROTECTED]> writes:
>
>> I've been having problems with my server freezing up, having the #2 
>> CPU 'shut down', kernel panics, and all sorts of nastyness
>>
>> Originally I thought it was exim, or possibly bind, or bad hardware 
>> (mb, cpu or memory)... I've swapped out the motherboard & CPU's & 
>> memory from an old server that was running 4.11 ROCK SOLID for years...
>>
>> At first I thought the problem was solved, but now it's popping up
again...
>> The 2nd CPU gets 'shut down', or kernel panics, esentially taking the 
>> system offline.
>
> There are lots of things this could be, and I certainly wouldn't rule 
> out hardware problems (power supply?).  Figuring out the problems 
> directly would certainly involve looking at more details than you're 
> listing here.
>
>> If I install a single CPU (non-smp) kernel, then the system works 
>> fine... (I did this on the old motherboard before I swapped it out, 
>> and it worked fine too).. So I'm wondering if there is an SMP bug or
problem I'm running into.
>>
>> I'm running 6.1-STABLE-200608, an ISO image I downloaded from the 
>> archives when I built the box (NOT 6.1-RELEASE).
>
> The whole point of making releases is that it's much easier to support 
> a small number of known reference software configurations.
>
>> I'm runining an Intel Serverworks motherboard with 2 1.4 GHz 
>> PIII's... The problem only seems to show up under high load.
>
> I don't think I've heard of anything similar.  I think there are a 
> bunch of these boards out there.
>
>> I'm wondering what I should do here...
>>
>> I'm concerned about doing a binary upgrade to 6.2 won't fix the 
>> problem, and I've tried using freebsd-update, but it complains about 
>> the version not being compatible.
>>
>> If I do a binary upgrade from CD, will it also update the kernel 
>> sources so I can build a new one? Will it complain about it not being
compatible?
>
> It can give you the sources; that's a menu option during the install.
> That should work fine.
>
>> Is there a way to 'force' the ID of the system to be 6.1-RELEASE so 
>> that freebsd-update will work?
>
> Well, yes, but there's a reason for the check, you know...
>
>> Will doing the 6.1-6.2 binary upgrade as posted by Colin also update 
>> the kernel sources?
>
> I don't know what procedure he described, so I don't know.  But if you 
> update to 6.2-RELEASE, then it will be easy to get the right sources 
> afterwards.  Again, that is the advantage of having releases.
>
>> Would my best option really be to start over with a fresh install 
>> rather than upgrade? (this would be painful)
>
> If it's that painful, you'd probably be well served to have a spare 
> system to stage changes on.  In addition to being good risk 
> management, it saves you time, which is worth something too.
>
>> I'm going to try to test out 6.2 on the old MB/CPU combo to see if I 
>> can re-create it under 6.2 as well before I do 

RE: Time changed back to old daylight savings

2007-03-29 Thread Don O';Neil
Well, the file did exist, and when I deleted it and reran ntpdate it didn't
make a difference. The man page says that the file needs to exist if the
CMOS clock is set to local time, which it is. 

I tried running adjkerntz -a and -i and rebooting, but that didn't help
either. I'm totally at a loss as to what is going on here.

-Original Message-
From: Alex Zbyslaw [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 29, 2007 3:02 AM
To: Don O'Neil
Subject: Re: Time changed back to old daylight savings

Don O'Neil wrote:

>Ok... Well, I rebooted the server, and still it's an hour behind:
>
Don, I haven't followed this thread closely, so if this was suggested
before, apologies.  If it works, then  you can post back to the list.  
It's "off the wall" and may have nothing to do with your problem.

Is it possible that you have either created or deleted /etc/wall_cmos_clock?
That would account for a 1 hr difference even if all your timezone files
were correct.  See man adjkerntz.

I believe you need to reboot if you create/delete that file - there may be
some other way but I don't know it.

--Alex




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


RE: Time changed back to old daylight savings

2007-03-28 Thread Don O';Neil
Ok... Well, I rebooted the server, and still it's an hour behind:

kermit# /usr/sbin/ntpdate -v -b 0.us.pool.ntp.org
28 Mar 23:17:15 ntpdate[1429]: ntpdate 4.2.0-a Mon Aug  7 17:44:27 UTC 2006
(1)
28 Mar 23:17:17 ntpdate[1429]: step time server 199.103.21.233 offset
3580.00057

Any ideas now? If the CMOS clock is off, could this be affecting the
operation?  

-Original Message-
From: Chuck Swiger [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 28, 2007 12:02 PM
To: Don O'Neil
Cc: FreeBSD Mailing List
Subject: Re: Time changed back to old daylight savings

On Mar 28, 2007, at 11:53 AM, Don O'Neil wrote:
> So it looks like my zone info files are correct... could the ntp pool 
> be off for some reason, or does ntpdate need to be updated?
>
> 28 Mar 10:53:51 ntpdate[90706]: ntpdate 4.2.0-a Mon Aug  7 17:44:27 
> UTC 2006
> (1)

Nope, the NTP protocol uses GMT (or UTC, if you prefer that name)
exclusively.

However, once you've updated the timezone files, you either need to restart
all of the processes which have cached the old TZ file info, or simply
reboot.  You might find running "ntpdate -b" to reset your clock once before
starting ntpd will help correctly sync if your local clock is one hour off
(depends on whether your BIOS is trying to keep local time or GMT
time)...see "man adjkerntz".

--
-Chuck


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


RE: Time changed back to old daylight savings

2007-03-28 Thread Don O';Neil
Pacific, which is what my date output shows:

Wed Mar 28 10:55:26 PDT 2007 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Khavkine
Sent: Wednesday, March 28, 2007 10:51 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Time changed back to old daylight savings

Hi Don.


What timezone are you supposed to be in ?


Paul


On 3/28/07, Don O'Neil <[EMAIL PROTECTED]> wrote:
>
> Ok,  Thanks to Paul who sent me the previous tzdata file I was able to 
> download the port and install it... However that didn't solve the problem!
>
> Here's my output from the make/make install:
>
> make install
> ===>  Installing for zoneinfo-2007.c
> ===>   Generating temporary packing list
> ===>  Checking if misc/zoneinfo already installed /bin/mkdir -p 
> /usr/share/zoneinfo /bin/cp -R -p /home/don/zoneinfo/work/zoneinfo/ 
> /usr/share/zoneinfo install  -o root -g wheel -m 444 
> /home/don/zoneinfo/work/zone.tab
> /usr/share/zon einfo
> Now run tzsetup(8) again to install the right file to /etc/localtime.
> ===>   Registering installation for zoneinfo-2007.c
>
> kermit# date
> Wed Mar 28 09:37:23 PDT 2007
>
> kermit# /usr/sbin/ntpdate -v -b 0.us.pool.ntp.org
> 28 Mar 09:37:27 ntpdate[52308]: ntpdate 4.2.0-a Mon Aug  7 17:44:27 
> UTC
> 2006
> (1)
> 28 Mar 09:37:29 ntpdate[52308]: step time server 204.186.233.118 
> offset
> 3583.019
>
> I ran tzsetup and then ran ntpdate.
>
> It was 10:37 when I ran ntpdate Not 9:37.
>
> This is strange... Any more ideas?
>
> ___
> 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]"

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


RE: Time changed back to old daylight savings

2007-03-28 Thread Don O';Neil
Yup... thats what I get:
 
%zdump -v /etc/localtime | grep 2007
/etc/localtime  Sun Mar 11 09:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 PST
isdst=0 gmtoff=-28800
/etc/localtime  Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 PDT
isdst=1 gmtoff=-25200
/etc/localtime  Sun Nov  4 08:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 PDT
isdst=1 gmtoff=-25200
/etc/localtime  Sun Nov  4 09:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 PST
isdst=0 gmtoff=-28800

So it looks like my zone info files are correct... could the ntp pool be off
for some reason, or does ntpdate need to be updated?
 
28 Mar 10:53:51 ntpdate[90706]: ntpdate 4.2.0-a Mon Aug  7 17:44:27 UTC 2006
(1)

  _  

From: Paul Khavkine [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 28, 2007 11:31 AM
To: Jeff Palmer
Cc: Kris Kennaway; Don O'Neil; freebsd-questions@freebsd.org
Subject: Re: Time changed back to old daylight savings


To see if you zonefile is correct you can do the following:


%zdump -v /etc/localtime  | grep 2007

/etc/localtime  Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 EST
isdst=0 gmtoff=-18000
/etc/localtime  Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 EDT
isdst=1 gmtoff=-14400 
/etc/localtime  Sun Nov  4 05:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 EDT
isdst=1 gmtoff=-14400
/etc/localtime  Sun Nov  4 06:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 EST
isdst=0 gmtoff=-18000



On 3/28/07, Jeff Palmer <[EMAIL PROTECTED]> wrote: 


> > It was installed from a snapshot ISO last summer.
>
>OK, so you're running an 8 month stale snapshot and you wonder why you
>don't have the recent timezone updates?  What is wrong with this 
>picture? :-)
>
>Kris

Not to be a smartass,  but the energy conservation act was passed in
2005,   so one would think an 8 month old snapshot would include a
fix that has been known about for 2 years ;) 

Jeff

___
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: Time changed back to old daylight savings

2007-03-28 Thread Don O';Neil
I don't have the port tree installed, so you are correct that I did not
update them first... I installed JUST the zoneinfo port, which according to:

http://www.freebsd.org/releng/dst_info.html

"the misc/zoneinfo port can be installed to update the /usr/share/zoneinfo
files, followed by running tzsetup(8) to update /etc/localtime"

So why wouldn't installing this port fix the problem like advertised? I
shouldn't even have the problem to begin with... When the time change
happened a few weeks ago my system updated correctly, but since then I've
built a new kernel (the only thing I've done) and now it's not right.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lowell Gilbert
Sent: Wednesday, March 28, 2007 11:08 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Time changed back to old daylight savings

"Don O'Neil" <[EMAIL PROTECTED]> writes:

> Ok,  Thanks to Paul who sent me the previous tzdata file I was able to 
> download the port and install it... However that didn't solve the problem!
>
> Here's my output from the make/make install:
>
> make install
> ===>  Installing for zoneinfo-2007.c
> ===>   Generating temporary packing list
> ===>  Checking if misc/zoneinfo already installed /bin/mkdir -p 
> /usr/share/zoneinfo /bin/cp -R -p /home/don/zoneinfo/work/zoneinfo/ 
> /usr/share/zoneinfo install  -o root -g wheel -m 444 
> /home/don/zoneinfo/work/zone.tab
> /usr/share/zon einfo
> Now run tzsetup(8) again to install the right file to /etc/localtime.
> ===>   Registering installation for zoneinfo-2007.c
>
> kermit# date
> Wed Mar 28 09:37:23 PDT 2007
>
> kermit# /usr/sbin/ntpdate -v -b 0.us.pool.ntp.org
> 28 Mar 09:37:27 ntpdate[52308]: ntpdate 4.2.0-a Mon Aug  7 17:44:27 
> UTC 2006
> (1)
> 28 Mar 09:37:29 ntpdate[52308]: step time server 204.186.233.118 
> offset
> 3583.019
>
> I ran tzsetup and then ran ntpdate.
>
> It was 10:37 when I ran ntpdate Not 9:37.
>
> This is strange... Any more ideas?

You didn't update your ports tree before installing the port, I'll bet.
That was an essential part of the advice that Kevin Kinsey gave you.  
___
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: Time changed back to old daylight savings

2007-03-28 Thread Don O';Neil
http://www.freebsd.org/releng/dst_info.html

"FreeBSD-6.1 has correct zoneinfo files for time zones in the United States
of America" 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kris Kennaway
Sent: Wednesday, March 28, 2007 11:06 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org; 'Kris Kennaway'
Subject: Re: Time changed back to old daylight savings

On Wed, Mar 28, 2007 at 11:02:33AM -0700, Don O'Neil wrote:
> Well... If you read about the original timezone issue it was fixed in 
> 6.1-release

Um, no.  Where did you read that?

Kris
___
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: Time changed back to old daylight savings

2007-03-28 Thread Don O';Neil
Well... If you read about the original timezone issue it was fixed in
6.1-release, so any snapshot AFTER that shouldn't have the problem... And
I'll re-itterate that it WAS working fine until I recently re-built the
kernel. Even with the timezone port update installed it is still wrong. 

-Original Message-
From: Kris Kennaway [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 28, 2007 10:49 AM
To: Don O'Neil
Cc: 'Kris Kennaway'; freebsd-questions@freebsd.org
Subject: Re: Time changed back to old daylight savings

On Wed, Mar 28, 2007 at 09:11:27AM -0700, Don O'Neil wrote:
> I mean 6.1-stable 
> Uname shows: FreeBSD 6.1-STABLE-200608 #0
> 
> It was installed from a snapshot ISO last summer.  

OK, so you're running an 8 month stale snapshot and you wonder why you don't
have the recent timezone updates?  What is wrong with this picture? :-)

Kris

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


RE: Time changed back to old daylight savings

2007-03-28 Thread Don O';Neil
PDT, as it shows.

  _  

From: Paul Khavkine [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 28, 2007 10:51 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Time changed back to old daylight savings



Hi Don.


What timezone are you supposed to be in ?


Paul



On 3/28/07, Don O'Neil <  <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED]> wrote: 

Ok,  Thanks to Paul who sent me the previous tzdata file I was able to 
download the port and install it... However that didn't solve the problem!

Here's my output from the make/make install:

make install
===>  Installing for zoneinfo-2007.c
===>   Generating temporary packing list 
===>  Checking if misc/zoneinfo already installed
/bin/mkdir -p /usr/share/zoneinfo
/bin/cp -R -p /home/don/zoneinfo/work/zoneinfo/ /usr/share/zoneinfo
install  -o root -g wheel -m 444 /home/don/zoneinfo/work/zone.tab 
/usr/share/zon einfo
Now run tzsetup(8) again to install the right file to /etc/localtime.
===>   Registering installation for zoneinfo-2007.c

kermit# date
Wed Mar 28 09:37:23 PDT 2007 

kermit# /usr/sbin/ntpdate -v -b 0.us.pool.ntp.org
28 Mar 09:37:27 ntpdate[52308]: ntpdate 4.2.0-a Mon Aug  7 17:44:27 UTC 2006
(1)
28 Mar 09:37:29 ntpdate[52308]: step time server 204.186.233.118 offset
3583.019

I ran tzsetup and then ran ntpdate.

It was 10:37 when I ran ntpdate Not 9:37.

This is strange... Any more ideas?

___ 
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
<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: Time changed back to old daylight savings

2007-03-28 Thread Don O';Neil
Ok,  Thanks to Paul who sent me the previous tzdata file I was able to
download the port and install it... However that didn't solve the problem!

Here's my output from the make/make install:

make install
===>  Installing for zoneinfo-2007.c
===>   Generating temporary packing list
===>  Checking if misc/zoneinfo already installed
/bin/mkdir -p /usr/share/zoneinfo
/bin/cp -R -p /home/don/zoneinfo/work/zoneinfo/ /usr/share/zoneinfo
install  -o root -g wheel -m 444 /home/don/zoneinfo/work/zone.tab
/usr/share/zon einfo
Now run tzsetup(8) again to install the right file to /etc/localtime.
===>   Registering installation for zoneinfo-2007.c

kermit# date
Wed Mar 28 09:37:23 PDT 2007

kermit# /usr/sbin/ntpdate -v -b 0.us.pool.ntp.org
28 Mar 09:37:27 ntpdate[52308]: ntpdate 4.2.0-a Mon Aug  7 17:44:27 UTC 2006
(1)
28 Mar 09:37:29 ntpdate[52308]: step time server 204.186.233.118 offset
3583.019  

I ran tzsetup and then ran ntpdate.

It was 10:37 when I ran ntpdate Not 9:37.

This is strange... Any more ideas?

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


RE: Time changed back to old daylight savings

2007-03-28 Thread Don O';Neil
Well, since I didn't install it from source, but a snapshot, I don't have
the northamerica source to get an MD5 # on.

Isn't there some other way to update the zone info files to fix this? 

-Original Message-
From: Jonathan Chen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 28, 2007 1:03 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Time changed back to old daylight savings

On Wed, Mar 28, 2007 at 12:45:11AM -0700, Don O'Neil wrote:
> I'm not sure when this happened, but I noticed today that my server 
> reverted back to the old daylight savings time (1 hour off) When I 
> run ntpdate and have it update it even then it shows the wrong time.

This tends to indicate the your /etc/localtime file is wrong. The
timeservers all return UTC; the display for the date consults /etc/localtime
to display UTC time in local time.

> I haven't done anything to replace the /etc/localtime file, even tried 
> running tzsetup again, but that still didn't help.

This indicates that your zoneinfo files have not been updated correctly.

[...]
> At the moment I've addressed the issue with a "date -v +1H".

Which definitely isn't the correct fix.

> Any reason this would happen? How do I fix it?

What does "md5 /usr/src/share/zoneinfo/northamerica" return? (I'm assuming
that you're in North America). On my 6-STABLE machine it's:

 MD5 (/usr/src/share/zoneinfo/northamerica) =
3e582e371f445a18b065eed8f775fb20

Any other result means that your should re-cvsup, and rebuild your system
again. If it is the same, make sure your zoneinfo files have been rebuilt
(check the file timestamps).

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>Once 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 "[EMAIL PROTECTED]"


RE: Time changed back to old daylight savings

2007-03-28 Thread Don O';Neil
I mean 6.1-stable 
Uname shows: FreeBSD 6.1-STABLE-200608 #0

It was installed from a snapshot ISO last summer.  

-Original Message-
From: Kris Kennaway [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 28, 2007 1:05 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Time changed back to old daylight savings

On Wed, Mar 28, 2007 at 12:45:11AM -0700, Don O'Neil wrote:
> I'm not sure when this happened, but I noticed today that my server 
> reverted back to the old daylight savings time (1 hour off) When I 
> run ntpdate and have it update it even then it shows the wrong time.
> 
> I haven't done anything to replace the /etc/localtime file, even tried 
> running tzsetup again, but that still didn't help.
> 
> My system is FreeBSD 6.1-stable, the only thing that has changed since 
> I last noticed the system had the _right_ time was I built a new kernel.

There is no such thing as 6.1-stable any more, so what do you really mean?

Kris

> I tried installing the port 'zoneinfo', but it's broken, it can't find 
> the appropriate file to download and install (seems to be missing or
updated).
> 
> At the moment I've addressed the issue with a "date -v +1H".
> 
> Any reason this would happen? How do I fix it?
> 
> ___
> 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]"


Time changed back to old daylight savings

2007-03-27 Thread Don O';Neil
I'm not sure when this happened, but I noticed today that my server reverted
back to the old daylight savings time (1 hour off) When I run ntpdate
and have it update it even then it shows the wrong time. 

I haven't done anything to replace the /etc/localtime file, even tried
running tzsetup again, but that still didn't help. 

My system is FreeBSD 6.1-stable, the only thing that has changed since I
last noticed the system had the _right_ time was I built a new kernel.

I tried installing the port 'zoneinfo', but it's broken, it can't find the
appropriate file to download and install (seems to be missing or updated).

At the moment I've addressed the issue with a "date -v +1H".

Any reason this would happen? How do I fix it?

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


RE: Updating Bind & OpenSSL on 6.1-Stable/Release

2007-03-27 Thread Don O';Neil
Don't assume that just because this is the first time I've raised concerns
about the ports means that this is the first time I've used FreeBSD I've
been using FreeBSD since 1.X.

My point is that it's a pain the rear to do a CVSUP/Buildworld (takes a long
time) so the ports collection is the easiest way to update/upgrade software.

It would be nice to have some sort of reference as to how the original
software was built and installed (the build options) or have the ports be
built to match the original to facilitate easy upgrade of one or two items.
I agree that in general these are 'add on' tools, but there are core
functions (bind, ssh, etc...) that get patched from time to time because of
security and it's a LOT quicker to re-install the port than it is to do a
buildworld.

These are just my observations.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric Crist
Sent: Tuesday, March 27, 2007 5:10 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Updating Bind & OpenSSL on 6.1-Stable/Release

On Mar 27, 2007, at 12:12 AM, Don O'Neil wrote:

> If they are 'ports' specificly built for FreeBSD, shouldn't the port 
> maintainer make them install like the originals were? Makes sense to 
> me
>
> Or maybe the original install/release needs to be changed to install 
> the same as the port.
>
> It's a pain having to debug where everything went, change config 
> files, update startup scripts, make symlinks, etc... When if it were 
> Linux a simple RPM install would update it and I'd be done with it.
>
> Just my observations.

The ports tree installs things to the /usr/local/ prefix, to help you keep
your ports and base system separate.  This is a normal behavior, and has
been normal for a lot longer than you have been using FreeBSD.  I apologize,
but I doubt the developers are going to change the standard behavior just
because you got confused the first time you tried to replace a base system
component.

Look here in section 4.5.2.1:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-
using.html

-
Eric F Crist
Secure Computing Networks


___
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: Updating Bind & OpenSSL on 6.1-Stable/Release

2007-03-26 Thread Don O';Neil
If they are 'ports' specificly built for FreeBSD, shouldn't the port
maintainer make them install like the originals were? Makes sense to me

Or maybe the original install/release needs to be changed to install the
same as the port.

It's a pain having to debug where everything went, change config files,
update startup scripts, make symlinks, etc... When if it were Linux a simple
RPM install would update it and I'd be done with it.

Just my observations.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin Kinsey
Sent: Monday, March 26, 2007 9:13 PM
To: Don O'Neil
Cc: 'Reko Turja'; freebsd-questions@freebsd.org
Subject: Re: Updating Bind & OpenSSL on 6.1-Stable/Release

Don O'Neil wrote:
> I did... So I linked it to /etc/named.conf Everything works great
now...
> 
> My question is howver, why are the ports setup different than the 
> original install? I would think that the port build would be set with 
> the same options as the original install that came with the OS... I've 
> seen this before, and it's annoying as heck when you go to 
> patch/update something and it doesn't work because it's installing in 
> a different location and looks for config files in different places.
>

Because they are "ports"??

Kevin Kinsey

> -Original Message-
> From: Reko Turja [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 26, 2007 1:34 PM
> To: Don O'Neil; freebsd-questions@freebsd.org
> Subject: Re: Updating Bind & OpenSSL on 6.1-Stable/Release
> 
>> My bind install that came on the 6.1 installation runs from /usr/bin, 
>> whereas both the package and the source want to run from 
>> /usr/local/bin...
> 
> You should have named.conf in /etc/namedb unless there's something 
> funny with the original install. Not sure if you need to run 
> make-localhost script in that directory as I do it as a matter of 
> principle each new system install anyway. If I update SSL/SSH/BIND I 
> set the REPLACE_BASE/OVERWRITE_BASE knob (check the Makefile at ports 
> dir for relevant knob name!) so the updated version will overwrite the 
> older at /usr tree.
> 
> -Reko


-- 
The San Diego Freeway.  Official Parking Lot of the 1984 Olympics!
___
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]"


Binary Upgrade from 6.1-Stable to 6.2-Release

2007-03-26 Thread Don O';Neil
I didn't get any response on my original post, so I figured I'd 'summarize'
it better. Bottom line is I'm having SMP problems under 6.1-STABLE-200608
and suspect it's a problem with 6.1 that may have been addressed in 6.2... 

Here are my questions:

I'm concerned about doing a binary upgrade to 6.2 won't fix the problem, and
I've tried using freebsd-update, but it complains about the version not
being compatible. Is there a way to 'force' the ID of the system to be
6.1-RELEASE so that freebsd-update will work? 

If I do a binary upgrade from CD, will it also update the kernel sources so
I can build a new one? Will it complain about it not being compatible like
freebsd-update?

Will doing the 6.1-6.2 binary upgrade as posted by Colin (the author of
freebsd-update) also update the kernel sources? 

Any help/recomendation would be appreciated.

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


SSHD Login Prompt

2007-03-26 Thread Don O';Neil
I just updated my openSSH to the latest and now when I login I get this:

login as: don
[EMAIL PROTECTED]'s password:

How do I ether set it to show the hostname instead of the IP or get rid of
the @ip altogether like the original openSSH ran?

I'm using the same configuration files as before, so this must be a new
option with OpenSSH.

Thanks!

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


RE: Updating Bind & OpenSSL on 6.1-Stable/Release

2007-03-26 Thread Don O';Neil
I did... So I linked it to /etc/named.conf Everything works great now...

My question is howver, why are the ports setup different than the original
install? I would think that the port build would be set with the same
options as the original install that came with the OS... I've seen this
before, and it's annoying as heck when you go to patch/update something and
it doesn't work because it's installing in a different location and looks
for config files in different places. 

-Original Message-
From: Reko Turja [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 26, 2007 1:34 PM
To: Don O'Neil; freebsd-questions@freebsd.org
Subject: Re: Updating Bind & OpenSSL on 6.1-Stable/Release

> My bind install that came on the 6.1 installation runs from /usr/bin, 
> whereas both the package and the source want to run from 
> /usr/local/bin...

You should have named.conf in /etc/namedb unless there's something funny
with the original install. Not sure if you need to run make-localhost script
in that directory as I do it as a matter of principle each new system
install anyway. If I update SSL/SSH/BIND I set the
REPLACE_BASE/OVERWRITE_BASE knob (check the Makefile at ports dir for
relevant knob name!) so the updated version will overwrite the older at /usr
tree.

-Reko 

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


Problems with SMP on 6.1-STABLE-200608

2007-03-26 Thread Don O';Neil
I've been having problems with my server freezing up, having the #2 CPU
'shut down', kernel panics, and all sorts of nastyness

Originally I thought it was exim, or possibly bind, or bad hardware (mb, cpu
or memory)... I've swapped out the motherboard & CPU's & memory from an old
server that was running 4.11 ROCK SOLID for years...

At first I thought the problem was solved, but now it's popping up again...
The 2nd CPU gets 'shut down', or kernel panics, esentially taking the system
offline.

If I install a single CPU (non-smp) kernel, then the system works fine... (I
did this on the old motherboard before I swapped it out, and it worked fine
too).. So I'm wondering if there is an SMP bug or problem I'm running into.

I'm running 6.1-STABLE-200608, an ISO image I downloaded from the archives
when I built the box (NOT 6.1-RELEASE). 

I'm runining an Intel Serverworks motherboard with 2 1.4 GHz PIII's... The
problem only seems to show up under high load.

I'm wondering what I should do here... 

I'm concerned about doing a binary upgrade to 6.2 won't fix the problem, and
I've tried using freebsd-update, but it complains about the version not
being compatible. 

If I do a binary upgrade from CD, will it also update the kernel sources so
I can build a new one? Will it complain about it not being compatible?

Is there a way to 'force' the ID of the system to be 6.1-RELEASE so that
freebsd-update will work? 

Will doing the 6.1-6.2 binary upgrade as posted by Colin also update the
kernel sources? 

Would my best option really be to start over with a fresh install rather
than upgrade? (this would be painful)

I'm going to try to test out 6.2 on the old MB/CPU combo to see if I can
re-create it under 6.2 as well before I do anything. As well as try doing an
upgrade on the bench from CD from 6.1-STABLE-200608 to 6.2-RELEASE... Since
this is a production server (and for months it was burned in with no
apparent issues) I only have 1 shot at this to do it right.

Any help/recomendation would be appreciated.

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


Updating Bind & OpenSSL on 6.1-Stable/Release

2007-03-26 Thread Don O';Neil
Hi all...

  I'm having some difficulty updating OpenSSL 0.9.8e and Bind 9.3.4... I've
tried both the packages and the original source... The problem is this..

My bind install that came on the 6.1 installation runs from /usr/bin,
whereas both the package and the source want to run from /usr/local/bin...
Not usually a problem, but when I build it or install the package they both
complain about wanting a file 'named.conf', which I don't have and can't
seem to find an example version. My older version of bind 9.3.2 didn't have
this file.

OpenSSL wants to run from /usr/local/openssl, whereas my old version was in
/usr/bin, the source wants to run from /usr/local/ssl... In either case I
just linked the new location back to the old location and it seems to be
working ok.

My question is, where do I get the 'named.conf' file... I need to get my
bind updated for the security issues and why are the packages trying to
install into new locations? I would think that you could just install the
package and restart the service, but that doesn't seem to be the case here.

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


Frontpage 2002 5.0.2.4803 for Linux

2007-03-25 Thread Don O';Neil
Anyone have the fp50.linux.tar.gz distibution that has FP 2002 extensions
v5.0.2.4803 in it? I have the FreeBSD version but I need the Linux version.
I can find the v5.0.2.2634 in several places on the web (including MS) but
not the last patched version that has the security fixes.

Unfortunatly MS has EOL'd the product and RTR doesn't support it either...
I'm hoping someone has an archive laying around somewhere that they
downloaded in the last year before they EOL'd it in June of '06.

Thanks!

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


3Ware - Giant locked?

2007-03-25 Thread Don O';Neil
Anyone know why the 3ware TWE raid driver is still Giant locked?

When my system boots it shows:
twe0: [GIANT-LOCKED]

I would assume with all the improvements that this would have been fixed by
now (v6.1)... Anyone know if there are plans to work on it?


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


RE: Uptime

2007-03-22 Thread Don O';Neil
Type uptime at the prompt. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stan Cooper
Sent: Thursday, March 22, 2007 11:45 PM
To: freebsd-questions@freebsd.org
Subject: Uptime

Hi;
How do I  determine the uptime of my server?
Thanks,
Stan2
 
-
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
___
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]"


Tracking down memory leaks

2007-03-21 Thread Don O';Neil
My setup seems to have a memory leak of some kind and I'm not sure how to
track it down

When I first start up the system and all the processes start the machine has
>1GB in free memory... After running for 20-30 minutes the free memory drops
to somewhere around 20MB... The longer it runs, the more it chews up free
memory until it eventually kernel panics and then reboots and the process
starts all over again.

I originally thought the reboot was from bad RAM, so I swapped it out, but
that didn't help. I ran a memory check and everything checks out ok.

Any ideas where to look (Hardware? Bad CPU? Software?). Temperature is ok,
lots of fans in the box and round cables so there is good air flow. I'm
stumpted.

Thanks!

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


Upgrading from FreeBSD 6.1-Stable to Latest

2007-03-13 Thread Don O';Neil
What is the _easiest_ way to upgrade from a FreeBSD 6.1-stable install to a
6.2-stable install? I can't run freebsd-update because it doesn't know about
-stable, and I'd prefer to avoid doing a buildworld because of the time.

Any suggestions?

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


Exim 4.66 Causing Kernel Panics?

2007-03-13 Thread Don O';Neil
Anyone aware of a reason why a fresh build/install of exim 4.66 would cause
kernel panics and reboots on my FreeBSD 6.1 machine?

My machine, just out of the blue this morning, started rebooting every 3
minutes I narrowed it down to exim I think... As long as I never started
up exim 4.66 the machine didn't have the problem... But as soon as I started
it up, whammo... Panic and reboot.

I've since rolled back to 4.63 and the problem seems to be resolved at least
for the moment.

The strangest thing is that I upgraded to 4.66 several days ago and the
problem didn't show up until this morning. I'm not 100% sure the problem is
exim but that's the only thing I could narrow it down to. Perhaps there is a
new exim bug/exploit that I just didn't get hit with until today? I deleted
the message queue just in case it was corrupt. 

ANY ideas from anyone as to what could be causing this (hardware perhaps?)
would be appreciated.

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


Freebsd-Update & Stable Dist's

2007-03-13 Thread Don O';Neil
When I built my latest server I used a FreeBSD 6.1-STABLE-200608 ISO image
that was produced on one of the serveral 'snapshot' sites

However, I was going to run freebsd-update to check for any patches, etc..
That may need to be applied and it says it won't run on my machine:

This system is running FreeBSD 6.1-STABLE-200608.
FreeBSD Update is only designed to track FreeBSD Security
and Errata branches and cannot update this system

I was wondering if there is a way to force it to think my machine is really
6.1-RELEASE, or to safely use freebsd-update on my machine. 

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


/usr/local/etc/rc.d startup scripts

2007-03-07 Thread Don O';Neil
Are there any special naming requirements for scripts in /usr/local/etc/rc.d
for 6.1?

Someone is telling me they need to have a .sh suffix to startup correctly,
but in past versions of FreeBSD anything you put in there would run as long
as it was executable.

Just trying to confirm the correct info.

Thanks!

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


Temperature Montoring on ServerWorks chipset

2007-03-07 Thread Don O';Neil
Anyone know of a temperature monitoring app that works with the Intel
ServerWorks chipset? I've tried heald and mbmon, but neither work with that
chipset.

Thanks!

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


Smartctl - Smartmontools

2007-03-07 Thread Don O';Neil
Anyone know why this wouldn't work:

smartctl -a /dev/ad0

I get:

Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)

It works fine on my 3ware raid drives: smartctl -a -d 3ware,0 /dev/twed0 

Thanks!

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


3dm-2.04.00.035

2007-03-07 Thread Don O';Neil
Does anyone have any working experiecne with the 3dm-2.04.00.035, 3ware RAID
controller monitoring daemon and web server? I installed the port on my
machine, edited the config file (changed passwords) and the daemon is
running, but I cannot connect to it on port 888 as per the config.

I'm running FreeBSD 6.1 and have a 3ware 7500 series card. I'm not even sure
if that one is supported or not, as there is no reference to v 2.04.00.035
(or anything 2.X) on 3wares web site.

Thanks!

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


RE: Low-cost dedicated FreeBSD server or non-jail VPS?

2007-02-07 Thread Don O';Neil
Try CalPOP... www.calpop.com. They have dedicated P4 3 GHz servers for
$125/month no contract with 10MBPS unmetered connectivity with your choice
of OS.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kelly Jones
Sent: Wednesday, February 07, 2007 6:53 PM
To: Jay Chandler
Cc: FreeBSD Questions
Subject: Re: Low-cost dedicated FreeBSD server or non-jail VPS?

Thanks, Derek. I'm not looking to run this machine from home or to co-locate
an existing box (though I suppose I could do that).

As Jay mentions, I'm looking for something like:

http://tektonic.net/unmanaged.html
http://www.leeware.com/vps100.html
http://rosehosting.com/virtserv.html

(all bad examples because none of them offer FreeBSD)

--
We're just a Bunch Of Regular Guys, a collective group that's trying to
understand and assimilate technology. We feel that resistance to new ideas
and technology is unwise and ultimately futile.

On 2/7/07, Jay Chandler <[EMAIL PROTECTED]> wrote:
> Derek Ragona wrote:
> > FreeBSD runs on most i386 based hardware as long as you have 64 MB 
> > ram or more.  So you can recycle an old desktop PC to run FreeBSD 
> > and then have at it.  Or buy a cheap new desktop or refurbished.
> >
> > -Derek
> >
>
> The problem with this approach is that it doesn't get you a static IP 
> with proper rDNS and a host of other things...
>
> I'd have interest in the answer to this question as well, as a jailed 
> environment isn't quite what I want either.
>
>
> --
> Jay Chandler
> Network Administrator, Chapman University
> 714.628.7249 / [EMAIL PROTECTED]
> Today's Excuse: Too many interrupts
>
> ___
> 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]"

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


Problems with perl script on 6.1/5.8.8

2007-02-06 Thread Don O';Neil
I've got a perl script that just refuses to run on my new 6.1 box with Perl
5.8.8... Whenever I run it from the command line I get this:

Can't modify single ref constructor in lock at ./caldisp.pl line 84, near
"*LOCKF)"
Execution of ./caldisp.pl aborted due to compilation errors.

The lines in question are:

if (open (LOCKF, ">$LOCKF"))
{
lock (\*LOCKF);
}

Now the script work fine on my older 4.10 box with perl 5.6.1.

Anyone have any ideas on how to fix this?

Thanks!!!

P.S. Thanks for the 'doh!' from everyone on the 'rm' with scp... I didn't
even think of just using ssh!

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


SCP & Delete

2007-02-06 Thread Don O';Neil
How do I delete a file after I've copied it with SCP? Is there some sort of
secure 'rm' command?

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


Password on command line with SCP

2007-01-19 Thread Don O';Neil

Is there any way to pass the password for an SCP command via the command
line as a switch? I'd like to embed SCP in a script and pass the password
once through a command line input from the master script... By defauly any
time I use the -B mode it says passwords are required, and without -B it
asks for the password after the command starts to execute.

Thanks!

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


Default config file for 6.1-Stable Kernel

2007-01-19 Thread Don O';Neil
Is the config file in the ISO for 6.1-stable correct and accurate how the
generic kernal that is on the dist is built?

It doesn't seem to be setup right to me, so before I build a kernel with
just a few minor changes I figured I'd ask.

If it doesn't have the right settings, does anyone have the build file for
the 6.1-stable generic kernel?

Thanks!

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


CRON Script not working right.

2007-01-16 Thread Don O';Neil
Anybody have any clues why a shell script run from root's CRON would act
differently then when run directly from the command line?

Specifically, I have a script that looks for files on a NFS mount point and
copies them across and changes the ownership/perms.

Here's the gist of the script:

#!/bin/sh
TDIR=`date +%m%d%y%s`
mkdir /tmp/$TDIR
mv /source/* /tmp/$TDIR/
chown user:group /tmp/$TDIR/*
chmod 660 /tmp/$TDIR/*
mv /tmp/$TDIR/* /destination/

When run from roots CRON it does everything but the chmod correctly, which
is strange. When I run it from the command line as root it works fine as
expected.

I'm running 6.1-STABLE-200608.

Any clues?

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


  1   2   >