Re: zpool not grabbing hot spare

2012-02-28 Thread Randy Schultz
On Tue, 28 Feb 2012, Matthew Seaman spaketh thusly:

-}
-}Yes.  That's the generally accepted meaning of the concept of a 'hot
-}spare.'  The fact that the spare hasn't been automatically bought
-}on-line in this case is a bug.  There's an open PR on the subject:
-}
-}http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/134491

Tnx for the pointer!


-}
-}That seems to suggest the problem was known to be solved at some point
-}in 2011, but it was not necessarily propagated to all stable branches.
-}However, given your experience perhaps that is not the case.

Yeah, current kernel src's (8.2-STABLE) were sup'd and rebuilt Dec 22.


-}
-}You should be able to use zfs commands manually to sub-in the spare
-}drive and get it resilvered.
-}
-}As an aside -- you've got a pretty odd setup there: 41 drives all in one
-}big RAIDZ2 vdev?  Standard practice would be to create something like 5
-}RAIDZ2 vdevs of 8 drives each (Or maybe 6 vdevs of 7 drives apiece: 6--9
-}drives is about the sweet spot for a RAIDZ2) and then stripe those vdevs
-}together to create your zpool.

We looked at doing things this way, especially since it give much better
performance.  However, performance was less important than maximizing storage.
Over the last 9 weeks we are averaging (including nighly backups):

   capacity operationsbandwidth
poolalloc   free   read  write   read  write
--  -  -  -  -  -  -
data1.41T  8.34T 47 29  2.82M  1.31M
  raidz21.41T  8.34T 47 27  2.82M  1.17M
da2 -  - 20  2  69.3K  30.1K
da3 -  - 20  2  69.3K  30.1K
da4 -  - 20  2  69.3K  30.1K
da5 -  - 20  2  69.3K  30.1K
da6 -  - 20  2  69.3K  30.1K
da7 -  - 20  2  69.3K  30.1K
da9 -  - 20  2  69.3K  30.1K
da10-  - 20  2  69.3K  30.1K
da11-  - 20  2  69.3K  30.1K
da12-  - 20  2  69.3K  30.1K
da13-  - 20  2  69.3K  30.1K
da14-  - 20  2  69.3K  30.1K
da15-  - 20  2  69.3K  30.1K
da17-  - 20  2  69.3K  30.1K
da18-  - 20  2  69.3K  30.1K
da19-  - 20  2  69.3K  30.1K
da20-  - 20  2  69.3K  30.1K
da21-  - 20  2  69.3K  30.1K
da22-  - 20  2  69.3K  30.1K
da23-  - 20  2  69.3K  30.1K
da25-  - 20  2  69.3K  30.1K
da26-  - 20  2  69.3K  30.1K
da27-  - 20  2  69.3K  30.1K
da28-  - 20  2  69.4K  30.1K
da29-  - 20  2  69.2K  30.1K
da30-  - 20  2  67.6K  29.9K
da31-  - 20  2  69.2K  30.1K
da32-  - 20  2  69.3K  30.1K
da33-  - 20  2  69.3K  30.1K
da34-  - 20  2  69.3K  30.1K
da35-  - 20  2  69.3K  30.1K
da36-  - 20  2  69.3K  30.1K
da37-  - 20  2  69.3K  30.1K
da38-  - 20  2  69.3K  30.1K
da39-  - 20  2  69.3K  30.1K
da40-  - 20  2  69.3K  30.1K
da41-  - 20  2  69.3K  30.1K
da42-  - 20  2  69.3K  30.1K
da43-  - 20  2  69.3K  30.1K
da44-  - 20  2  69.3K  30.1K
da45-  - 20  2  69.3K  30.1K
da46-  - 20  2  69.3K  30.1K
da47-  - 20  2  69.3K  30.1K


--
 Randy(schu...@earlham.edu)  765.983.1283 <*>

nosce te ipsum

___
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: zpool not grabbing hot spare

2012-02-28 Thread Randy Schultz
On Tue, 28 Feb 2012, Randy Schultz spaketh thusly:

-}
-}I thought the spare was supposed to come online and be resilvered
-}automatically.  Did I miss some config thing
-}or did I just misunderstand how the hot spare bit works?

Gah.  Forgot to check the beasty forums (tnx Mark for the gentle poke).  For 
any others not aware, the docs
all say the spare is hot, but this is not accurate.  See

   http://lists.freebsd.org/pipermail/freebsd-fs/2012-January/013428.html

Heh, shows how much I've been paying attention - I didn't even realize there 
was a freebsd-fs list.  "But I'm
feeling much better now".  ;>

--
 Randy(schu...@earlham.edu)  765.983.1283 <*>

nosce te ipsum

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


zpool not grabbing hot spare

2012-02-28 Thread Randy Schultz

Howdy howdy,

Got a zpool that lost a drive:
   Feb 24 20:46:01 booto kernel: (da30:mpt3:0:6:0): lost device
   Feb 24 20:46:41 booto kernel: (da30:mpt3:0:6:0): Synchronize cache failed, 
status == 0xa, scsi status ==
   0x0
   Feb 24 20:46:41 booto kernel: (da30:mpt3:0:6:0): removing device entry

however the spare never came online:
  zpool status -v
 pool: data
state: DEGRADED
   status: One or more devices has been removed by the administrator.
   Sufficient replicas exist for the pool to continue functioning in a
   degraded state.
   action: Online the device using 'zpool online' or replace the device with
   'zpool replace'.
scan: resilvered 0 in 0h2m with 0 errors on Tue Oct 25 13:40:59 2011
   config:

   NAMESTATE READ WRITE CKSUM
   dataDEGRADED 0 0 0
 raidz2-0  DEGRADED 0 0 0
   da2 ONLINE   0 0 0
   da3 ONLINE   0 0 0
   da4 ONLINE   0 0 0
   da5 ONLINE   0 0 0
   da6 ONLINE   0 0 0
   da7 ONLINE   0 0 0
   da9 ONLINE   0 0 0
   da10ONLINE   0 0 0
   da11ONLINE   0 0 0
   da12ONLINE   0 0 0
   da13ONLINE   0 0 0
   da14ONLINE   0 0 0
   da15ONLINE   0 0 0
   da17ONLINE   0 0 0
   da18ONLINE   0 0 0
   da19ONLINE   0 0 0
   da20ONLINE   0 0 0
   da21ONLINE   0 0 0
   da22ONLINE   0 0 0
   da23ONLINE   0 0 0
   da25ONLINE   0 0 0
   da26ONLINE   0 0 0
   da27ONLINE   0 0 0
   da28ONLINE   0 0 0
   da29ONLINE   0 0 0
   da30REMOVED  0 0 0
   da31ONLINE   0 0 0
   da32ONLINE   0 0 0
   da33ONLINE   0 0 0
   da34ONLINE   0 0 0
   da35ONLINE   0 0 0
   da36ONLINE   0 0 0
   da37ONLINE   0 0 0
   da38ONLINE   0 0 0
   da39ONLINE   0 0 0
   da40ONLINE   0 0 0
   da41ONLINE   0 0 0
   da42ONLINE   0 0 0
   da43ONLINE   0 0 0
   da44ONLINE   0 0 0
   da45ONLINE   0 0 0
   da46ONLINE   0 0 0
   da47ONLINE   0 0 0
   logs
 mirror-1  ONLINE   0 0 0
   da24ONLINE   0 0 0
   da16ONLINE   0 0 0
   spares
 da1   AVAIL

I thought the spare was supposed to come online and be resilvered 
automatically.  Did I miss some config thing
or did I just misunderstand how the hot spare bit works?

--
 Randy(schu...@earlham.edu)  765.983.1283 <*>

nosce te ipsum

___
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: Ezjail & freebsd-update

2011-08-22 Thread Randy Schultz
On Sun, 21 Aug 2011, Rocky Borg spaketh thusly:

-}I had an opportunity to upgrade a server from freebsd 8.1 to 8.2 since it had
-}to be restarted any way. I upgraded it with freebsd-update and compiled a
-}custom kernel with no problem. However I haven't been able to find a procedure
-}for updating jails when they've been setup with ezjail. I did 'ezjail-admin
-}update -u' however it doesn't seem like that upgraded things like the /etc/
-}dir inside jails. I'm not too worried since everything is working however if
-}anyone can point me in the right direction I would appreciate it. I figure
-}this will be especially important when moving to 9.0 when it's released.

My understanding of ezjail is you just say "ezjail-admin update".  Ezjail then
grabs the sources and rebuilds everything.  If you already have everything
built locally, e.g. you csup'd the sources, did the make buildworld, etc., you
can then just issue an "ezjail-admin update -i".  I'm not familiar with the "-u"
option to ezjail and my man pages do not show it as an option.  ;>


--
 Randy(schu...@earlham.edu)  765.983.1283 <*>

nosce te ipsum

___
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: Making installworld got stuck on SunFire v20z (Freebsd 8.0)

2010-02-19 Thread Randy Schultz
On Thu, 18 Feb 2010, Lucas Wang spaketh thusly:

-}I tried to install Freebsd 8.0 on one of our lab machines, which is
-}SunFire v20z. After successfully installing it from CD, I followed the
-}following steps trying to update the kernel and world:
-}
-}cvsup
-}make buildworld
-}make buildkernel
-}make installkernel
-}reboot
-}mergemaster -p
-}make installworld
-}
-}Everything was fine until the `make installworld` process run for a while and 
then got stuck, 
-}after that it won't respond to Ctrl-C. When I tried to login from another 
tty, it 
-}doesn't respond either. I even tried installing the machine from scratch
-}several times, and at different times it got stuck when installing different 
libraries. 

Hard tellin'.  When you tried to install from scratch, did you keep the same
partitions and not force a newfs?  When you rebooted, did you reboot into
single-user?

The steps that have never failed me are close to what you have:
   - csup
   - env -i make buildworld
   - env -i make buildkernel
   - env -i make installkernel
   - reboot into single user
   - mount -a
   - mergemaster -paU
   - make installworld
   - mergemaster -aU
   - reboot

Perhaps try a re-install but fiddle a bit with the partition sizes and/or
force a newfs of the partitions.  Also, at the install step where you select
the entire drive (assuming this is what you are doing), you can delete what's
there and re-select "use the entire drive".  That also forces newfs'ing.

YMMV

--
 Randy(schu...@earlham.edu)  765.983.1283 <*>

Love with your heart, think with your head;  not the other way around.

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


Re: freebsd

2010-02-15 Thread Randy Schultz
On Mon, 15 Feb 2010, tristan spaketh thusly:

-}i recently installed freebsd on my system. when i sign in to the root 
account, i get a prompt telling me about the documentation, then a # sign. how 
do i acess an interactive desktop like the one in windows/mac?

Freebsd does not install a window manager by default.  You have to pick one.
There are many for all ranges of needs.  If you do not wish to deal with
installing one but want the power/stability of freebsd, look for distros that
come complete with a window manager, such as pc-bsd.

--
 Randy(schu...@earlham.edu)  765.983.1283 <*>

Love with your heart, think with your head;  not the other way around.

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


ipf fails after cvsup

2008-05-02 Thread Randy Schultz

Heya,

Running a fresh install of 7.0-RELEASE.  I've cvsup'd the sources, done the
standard updating, e.g.
 make buildworld
 make buildkernel
 make installkernel
 (reboot)
 mergemaster -p
 make installworld
 mergemaster
 (reboot)

But now ipf gives me ye olde
 Root Dude ? /sbin/ipf -Fa -f /etc/ipf.rules
 open device: No such file or directory
 User/kernel version check failed

The ipf version is:
 Root Dude ? ipf -V
 ipf: IP Filter: v4.1.28 (512)
 open device: No such file or directory


My supfile is pretty standard, with
 *default release=cvs tag=RELENG_7
 src-all

I've had this before when I've spaced out the make installworld.  I've never
gotten this *after* the sync/build.

Have I missed a bit of documentation somewhere?

--
 Randy([EMAIL PROTECTED])  765.983.1283 <*>

Love with your heart, think with your head;  not the other way around.

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


jails and security [was: Jails and multicore boxes]

2007-11-16 Thread Randy Schultz
On Fri, 16 Nov 2007, Federico Lorenzi spaketh thusly:

-}> > you trying to protect? If you're worrying about getting cracked and used
-}> > as a spam bot, jails are no more secure than a non-jail system.
-}>
-}> Maybe some qualification is needed here.
-}>
-}> If your mail jail gets broken into, then it will still be used as a spambot.
-}>
-}> But your host (the machine in which your jails run in) wouldn't have been 
compromised, necessarily, by the fact that the jail got compromised. Having 
root on a jail  > (if that's what we are talking about by 'compromised' ) 
shouldn't affect your host machine. Unless there is some other vulnerability 
that can be used, of course.
-}
-}Thats true indeed, however many people are saying that jails do not 
necessarily,
-}make an environment more secure. I'm not really knowledable in that area,
-}but they do add another layer to the proverbial onion. I use jails, but more
-}for convenience then security, if i get a new (home) server box, I can just
-}move some jails across with a simple tar and then scp, and have them
-}work pretty much instantly.

MHO.

This depends on your definition of "secure".  

If you have a receiving MTA then you must allow inbound on port 25.  If that
MTA has a security hole that allows remote access/exploitation then it really
doesn't matter a whole lot what you're running on/under/in/with.  You're MTA
will be hijacked.

MHO - the beauty of jails is threefold.

First, important parts of the jail can be mounted read-only.  If you use the
ezjail package then this is done for you.  Set up a jail with ezjail and try
to create a file in, say, /usr/include.  Not even root(inside the jail) can do
this.  

Second, it allows 1 piece of hardware to do multiple things, all separated.
Using a slightly contrived example, let's say a company has a piece of
hardware that has plenty of power to run authentication and mail.  If you put
these on the system, and the MTA has a security hole, everything is suspect.
Now run each in a jail.  Cracking in via the MTA only allows access to mail,
not authentication.

Third, the parent can monitor the jails.  The parent is completely blocked off
from all incoming traffic except ssh from an internal net.  Somebody cracks
into a jail via port 22 or 23(or really, any port).  They gain root access and
modify the logs such that no login shows up.  You look at the ipf logs on the
parent and see tons of traffic to/from a.b.c.d on port 22, with TCP bits set
so you know there's a conversation going on there, yet no sign of login in the
jail's logs.

Just some random musings.

--
 Randy([EMAIL PROTECTED])  765.983.1283 <*>

Love with your heart, think with your head;  not the other way around.

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


Re: Fwd: Static Routes, gateways and the end of my sanity

2007-05-29 Thread Randy Schultz
On Tue, 29 May 2007, Reuben A. Popp spaketh thusly:
-}
-}Hello everyone, can someone please (_please_!!) let me know what I'm doing
-}wrong in the following example?  I am near my wits end on implementing this,
-}any suggestions are greatly appreciated!
-}
-}The scenario is that I have a server here with twin nics, bce0 and bce1; I
-}would like bce0 to be connected to our dmz network (192.168.x.x), while bce1
-}would be on our internal network.  A jail will reside on the ip assigned to
-}bce0, while the regular base system will bind to bce1.
-}
-}My current rc.conf consists of the following:
-}---
-}defaultrouter="10.228.228.254"
-}ifconfig_bce0="inet 192.168.4.80 netmask 255.255.255.0"
-}ifconfig_bce1="inet 10.228.228.228 media 100BaseTX mediaopt full-duplex
-}netmask 255.255.255.0"
-}
-}# Enable Jails for multi-homed box (video)
-}jail_enable="YES"
-}jail_list="video"
-}jail_video_rootdir="/usr/local/jail/video"
-}jail_video_hostname="video.eastcentral.edu"
-}jail_video_ip="192.168.4.80"
-}jail_named_exec_start="/bin/sh /etc/rc"
-}jail_video_devfs_enable="YES"
-}
-}# Routed and gateway settings
-}static_routes="net1"
-}route_net1="-net 192.168.4.80/24 -netmask 255.255.255.0 192.168.4.254"
-}--
-}
-}Of course there's other things in there like binding various services (inetd,
-}syslog, et al) to the internal ip.
-}
-}On bringing the machine up, I can ping both ips just fine; what I can't do is
-}ssh to the dmz address.  Yes, sshd is running inside the jail ;).  The output
-}of tcpdump shows a connect to that ip on bce0, but all responses appear to be
-}going out on bce1.

Are you remembering to edit /etc/ssh/sshd_config for both the jail and the
parent system to listen on the appropriate addresses?  The jail's
/etc/ssh/sshd_config needs a line that says "ListenAddress 192.168.4.80", the
parent's sshd_config needs to say "ListenAddress 10.228.228.228".  Also, crank
up the debugging for sshd with something like "LogLevel DEBUG3" and watch your
log files.

--
 Randy([EMAIL PROTECTED])  765.983.1283 <*>

Rain puts a hole in stone because of its constancy, not its force.
   - H. Joseph Gerber

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


Re: syslog configuration

2007-05-29 Thread Randy Schultz
On Tue, 29 May 2007, grace ingabire spaketh thusly:

-}
-}Hello,
-}
-} 
-}
-}I have installed 
-}and configured  freeBSD 6.1  and have seen the configuration of the syslog in 
-}/usr/src/libexec/bootpd.
-}
-}I would like to 
-}monitor my system using SYSLOG.
-}
-} 
-}
-}How can I go 
-}forward?

Quite a few things are monitored/logged by default.  Check /etc/syslog.conf
for which.  To tweak, "man syslogd" and "man syslog.conf" will give you many
juicy details.

--
 Randy([EMAIL PROTECTED])  765.983.1283 <*>

Rain puts a hole in stone because of its constancy, not its force.
   - H. Joseph Gerber

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


Re: building packages for dependencies

2007-05-21 Thread Randy Schultz
On Mon, 21 May 2007, Erik Norgaard spaketh thusly:

-}Hi:
-}
-}When I do a
-}
-}# make install package
-}
-}I only get a package built for the port in question, not for dependencies. How
-}do I make packages of all dependencies too?

portupgrade -N package

--
 Randy([EMAIL PROTECTED])  765.983.1283 <*>

Rain puts a hole in stone because of its constancy, not its force.
   - H. Joseph Gerber

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


Re: Anti Spam

2007-04-21 Thread Randy Schultz
On Fri, 20 Apr 2007, Derek Ragona spaketh thusly:

-}
-}If your volume of mail is >5 per day don't use the baracuda.  It won't
-}keep up.

I think this greatly depends on the model.  I've not used the 200 but it
certainly is a small box.  My experience shows the 600 could easily handle
this per hour.  I suspect the 400 could handle 50k/day w/o trouble.  (and no,
I have never worked for Barracuda, nor do I have any stock in them.  ;)

--
 Randy([EMAIL PROTECTED])  765.983.1283 <*>

Rain puts a hole in stone because of its constancy, not its force.
   - H. Joseph Gerber

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


Re: Anti Spam

2007-04-20 Thread Randy Schultz
On Fri, 20 Apr 2007, Grant Peel spaketh thusly:

-}Hi all,
-}
-}I am posting this question here because I know there are alot of ISPs using 
FreeBSD (including me) and am hoping to get feedback, either directly to me or 
to the list.
-}
-}We are wrestling (as I am sure many are), with spam. Up until now we have 
been employing Spamassassin locally and using some 3rd party Anti-Spam 
servervices that are getting less and less reliable as the weeks go by.
-}
-}We are considering two hardware solutions, Easyantispam and Barracuda. 
Barracuda is very expensive, so the most likely candidate is Easyantispam. Does 
anyone out there have thought on either or both of these? Usability? 
Reliability? Total Cost of ownership? Integration issues?

I have no experience with Easyantispam.  At a previous company I implemented a
Barracuda solution, 3 - 600's to be exact, after investigating numerous
(Postini, Brightmail, Ironport just to name 3).  I set them up in
geographically dispersed areas, including different timezones, and had them
clustered to look from the inside as 1 unit.  They took a tremendous beating,
frequently >1.5 million hits/day each.  Note that a "hit" != an email passing
through the box as many of the hits were quickly turned away via RBL's.  I
pounded on a demo model, again a 600, for 7 days, 2 or 3 of which I over-drove
the box(sending it more than it could handle, allowing the extras to build up
on the lab's source systems).  I had nearly every check enabled, including
multiple header and body regex matching, and saw a sustained throughput of
IIRC ~56,000/hr, for an average email size of IIRC 5kB.  In the 3 years that I
was there with the boxen IIRC only 2 had hardware fails, neither of which
impacted us due to the clustering(tho' response times for quarantine access
increased significantly).

I found their tech support to be easy to work with and very professional.  If
the first-level support didn't know the answer they quickly admitted it and
just as quickly called in second-level support.  A few times I actually got to
their third-level support.  ;>  In any case, I never sat on hold more than a
minute or two.  

I like their API.  It was powerful, having the ability to muck with any system
parameter.  I preferred the API when dealing with various setting enmasse.

I did not like their reporting capabilities.  IMHO they had the worst of all
we looked at.  A fair amount of data was available but nearly all of it
required further massaging by us to be useful.

All of these thoughts were circa 2003/2004 so FWIW.

--
 Randy([EMAIL PROTECTED])  765.983.1283 <*>

Rain puts a hole in stone because of its constancy, not its force.
   - H. Joseph Gerber

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


Re: program/binary ip filtering

2007-04-19 Thread Randy Schultz
Hey Bill,

Tnx much for the input.  I'm the new lead sys admin here.  Been away from
freebsd for far too long.  It's good to be back.  ;>

On Wed, 18 Apr 2007, Bill Moran spaketh thusly:

-}
-}that you either need to write stateful rules (so that the initial connection
-}creates a state that is then used to allow traffic in both directions) or

That's what we currently have set up.

-}you need to create two rules -- one to allow traffic out, the other to
-}allow traffic in.  Stateful filtering is generally considered to be more
-}secure, but you then have concerns about properly maintaining state tables,
-}which can be a problem on very busy servers.

Oh?  Why is stateful considered more secure?  Anybody have links to good
reading on this?  I've been through the links in the handbook.  Tho' I could
have missed something, I didn't see anything on why stateful is more secure
than in/out.  

--
 Randy([EMAIL PROTECTED])  725.983.1283 <*>

Rain puts a hole in stone because of its constancy, not its force.
   - H. Joseph Gerber

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


Re: loader.conf != limits?

2006-02-27 Thread Randy Schultz
On Mon, 27 Feb 2006, Dan Nelson spaketh thusly:

-}In the last episode (Feb 27), Randy Schultz said:
-}> I've been running some code with larger data sets and needed to up
-}> some kernerl parameters.  I added this to loader.conf:
-}>kern.maxdsiz="1073741824"
-}>kern.dfldsiz="1073741824"
-}>kern.maxssiz="134217728"
-}> 
-}> The odd thing is limits shows:
-}> Resource limits (current):
-}>   cputime  infinity secs
-}>   filesize infinity kB
-}>   datasize  1048576 kB
-}>   stacksize  131072 kB
-}> 
-}> Anybody know what's up with this?
-}
-}Should something be up?  1073741824/1024 is 1048576, which is what the
-}limit command shows.  The stack size hasn't changed because you didn't
-}set kern.dflssiz.  You can also set the default sizes in
-}/etc/login.conf.

Doh!  Thinking powers of 10 not 2.  Sorry.  Didn't know about the login.conf
bit tho'.  Tnx.

--
 Randy([EMAIL PROTECTED])  715-726-2832 email bodhisattva <*>

 "There is no fire like passion, there is no shark like hatred,  there is no
snare like folly, there is no torrent like greed."

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


loader.conf != limits?

2006-02-27 Thread Randy Schultz

Hey all,

I've been running some code with larger data sets and needed to up some
kernerl parameters.  I added this to loader.conf:
   kern.maxdsiz="1073741824"
   kern.dfldsiz="1073741824"
   kern.maxssiz="134217728"

The odd thing is limits shows:
Resource limits (current):
  cputime  infinity secs
  filesize infinity kB
  datasize  1048576 kB
  stacksize  131072 kB
  coredumpsize infinity kB
  memoryuseinfinity kB
  memorylocked infinity kB
  maxprocesses 5547
  openfiles   11095
  sbsize   infinity bytes
  vmemoryuse   infinity kB

Anybody know what's up with this?

--
 Randy([EMAIL PROTECTED])  715-726-2832 email bodhisattva <*>

 "There is no fire like passion, there is no shark like hatred,  there is no
snare like folly, there is no torrent like greed."

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


Re: did something change in SMP scheduling from 5.4 to 6.0?

2006-01-30 Thread Randy Schultz
Tnx for the response.

On Fri, 27 Jan 2006, Lowell Gilbert spaketh thusly:

-}
-}What was the actual workload at that point?  It looks like there's

Not much actually.  ~.3 or .4.

-}only one runnable process, and it's running, so there is no reason to
-}care which processor it's on.  

Yeah that's what I was thinking as well but I have been pushing it a fair
bit and still see everything on the first proc.  Here is 1 example:

last pid: 82302;  load averages:  2.20,  0.82,  0.41 up 6+23:37:10  11:24:50
127 processes: 6 running, 121 sleeping
CPU states: 16.1% user,  0.0% nice,  2.1% system,  0.0% interrupt, 81.9% idle
Mem: 295M Active, 1050M Inact, 294M Wired, 72K Cache, 112M Buf, 364M Free
Swap: 4096M Total, 4096M Free
 
  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
  655 schultz 1  760 30024K 29276K RUN0  50:32  2.25% Xorg
82301 root1 1390 10784K 10200K RUN0   0:00  2.25% cc1
12185 schultz 1  760 76532K 75704K select 0  22:37  0.00% opera
14583 schultz 1  760  5512K  4548K select 0   5:49  0.00% xterm-static
 3013 schultz 8  200 91760K 77840K kserel 0   4:57  0.00% evolution-2.2
10846 schultz 1  760  5452K  4460K select 0   3:24  0.00% xterm-static
41670 schultz 1  760 10236K  8572K select 0   2:23  0.00% pine
  667 schultz 1  760 20844K 10208K select 0   1:20  0.00% xchat
 

Now when running the compile it seemed to make no difference whether or not
I was running 1 or 3 compiles, the system still hugged cpu0.  I did see
occasional hops to the second cpu but they were rare.
 
-}
-}I'm not sure there's an issue here.  Spreading the work among two

Me either but I thought I'ld ask those who know more.

-}processors might make slightly better use of cache space, but would
-}make power-saving modes less useful.  Now if you run two completely
-}independent CPU-intensive processes, you'll see both CPUs in use.

Well, I have and have seen them running all on cpu0 and have seen some
spread out.  What I cannot be sure of is when multiple compiles are running
on the same cpu what exactly each was doing.  For example I've kicked off
several portupgrades and they all run mostly on cpu0 however with a 
portupgrade there is so much more going.  If I can get more data 
I'll post back here.  

Tnx again for the help.

--
 Randy([EMAIL PROTECTED])  715-726-2832 email bodhisattva <*>

 "There is no fire like passion, there is no shark like hatred,
 there is no snare like folly, there is no torrent like greed."

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


did something change in SMP scheduling from 5.4 to 6.0?

2006-01-26 Thread Randy Schultz
Hey all,

I am curious if something changed in the way extra cpus are utilized in 6.0
vs. 5.4 in a SMP kernel.

My system is a dual-proc Xeon box.  When I was using 5.4 top would show
both procs being used roughly the same, e.g. the "C" column usually had
almost as many processes running on the second cpu as on the first.  On
Jan 23 I did a cvsup and compiled a new 6.0-STABLE SMP kernel.  Now 
watching top I rarely see the second proc being used, even though 
roundrobin is enabled.  FWIW, here's some possibly relevant config bits:
Dude ? sysctl -a|egrep smp
kern.timecounter.smp_tsc: 0
kern.smp.forward_roundrobin_enabled: 1
kern.smp.forward_signal_enabled: 1
kern.smp.cpus: 4
kern.smp.disabled: 0
kern.smp.active: 1
kern.smp.maxcpus: 16
Dude ? 
Dude ? sysctl -a|egrep hyperth
machdep.hyperthreading_allowed: 0

I've attached the output of a typical top with some builds running.  
Unfortunately I don't have any saved data from 5.4.

I do see the second processor being used but those times are rare.  When it 
does happen it seems almost exclusively when I'm seriously hammering the 
system.  This makes me think something has changed with 6.0 behind-the-scenes
such that if the system doesn't need the extra power then it sticks to cpu 0.  
I poked around the release notes and handbook but failed to find anything
on this topic.  Am I all wet and simply have something misconfigured or 
indeed all is well with 6.x doing it's thing hugging cpu 0?

--
 Randy([EMAIL PROTECTED])  715-726-2832 email bodhisattva <*>

 "There is no fire like passion, there is no shark like hatred,
 there is no snare like folly, there is no torrent like greed."
last pid: 86336;  load averages:  0.37,  0.31,  0.22 up 2+22:34:02  10:21:42
148 processes: 2 running, 146 sleeping
CPU states: 14.9% user,  0.0% nice, 10.2% system,  0.0% interrupt, 74.8% idle
Mem: 312M Active, 963M Inact, 187M Wired, 11M Cache, 112M Buf, 529M Free
Swap: 4096M Total, 4096M Free

  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
86122 root1   80  1612K  1500K wait   0   0:00 16.50% make
86335 root1 1390   584K   476K RUN0   0:00 16.50% make
86288 root1  -80  1648K  1184K piperd 0   0:00 16.50% sh
85738 root1  -80 21276K 20924K piperd 0   0:02 14.99% ruby18
86121 root1   80  1636K  1172K wait   0   0:00 14.99% sh
  655 schultz 1  760 30148K 29220K select 0  15:43  0.00% Xorg
11160 schultz 1  760  2644K  1924K select 0   2:20  0.00% top
80862 schultz 7  200   203M   190M kserel 0   2:06  0.00% firefox-bin
  667 schultz 1  760 14136K 10276K select 0   0:32  0.00% xchat
 4023 schultz 1  760  6924K  5948K select 0   0:31  0.00% xterm-static
 3013 schultz 8  200 55640K 41624K kserel 0   0:29  0.00% evolution-2.2
 4006 schultz 1  760  5468K  4492K select 0   0:25  0.00% xterm-static
  801 schultz 1  760  5472K  4496K select 0   0:20  0.00% xterm-static
  592 root1  760  1216K   676K select 0   0:19  0.00% moused
41670 schultz 1  760  8672K  6968K select 0   0:15  0.00% pine
  692 schultz 1  760  5484K  4424K select 0   0:11  0.00% xterm-static
10846 schultz 1  760  5452K  4460K select 0   0:10  0.00% xterm-static
  708 schultz 1  760  5500K  4524K select 0   0:09  0.00% xterm-static
 1172 schultz 1  760  5452K  4476K select 0   0:09  0.00% xterm-static
80886 schultz 1  760  2632K  1912K CPU0   0   0:08  0.00% top
  494 root1  760  2924K  1760K select 0   0:08  0.00% ntpd
  888 schultz 1  760  5452K  4448K select 0   0:07  0.00% xterm-static
  660 schultz 1  760  5400K  3548K select 0   0:06  0.00% fvwm
12259 schultz 1  760  5472K  4496K select 0   0:05  0.00% xterm-static
81573 schultz 1  760  5468K  4492K select 0   0:05  0.00% xterm-static
20918 schultz 1  760  5500K  4524K select 0   0:05  0.00% xterm-static
32772 schultz 1  760  5452K  4448K select 0   0:05  0.00% xterm-static
  385 root1  760  1300K   828K select 0   0:04  0.00% syslogd
 9622 schultz 1  760  5468K  4504K select 0   0:03  0.00% xterm-static
 9287 schultz 1  760  5468K  4504K select 0   0:03  0.00% xterm-static
14583 schultz 1  760  5500K  4536K select 0   0:02  0.00% xterm-static
20866 schultz 1  760  5480K  4512K select 0   0:02  0.00% xterm-static
20907 schultz 1  760  5468K  4504K select 0   0:02  0.00% xterm-static
  688 schultz 1  760  4888K  3680K select 0   0:02  0.00% gconfd-2
  664 schultz 1  760  4664K  3040K select 0   0:02  0.00% FvwmPager
 3018 schultz 7  200 32768K 18764K kserel 0   0:02  0.00% evolution-alar
45374 schultz 1 1390  3336K  2780K select 0   0:01  0.00% ssh
  662 schultz 1  760  4844K  3992K select 0   0:01  0.00% xclock
 3015 schultz 8  200 19500K 13188K kserel 0   0:01  0.00% evolution-data
  533 

Re: openldap23 sasl server

2006-01-06 Thread Randy Schultz
On Fri, 6 Jan 2006, Denis Lemire spaketh thusly:

-}The port you are looking for is net/openldap23-server.
-}
-}If you do a make config on this port and enable SASL support the
-}resulting package will be openldap23-sasl-server.

Ah, there it is.  Tnx.

--
 Randy([EMAIL PROTECTED])  715-726-2832 email bodhisattva <*>

 "There is no fire like passion, there is no shark like hatred,  there is no
snare like folly, there is no torrent like greed."

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


openldap23 sasl server

2006-01-06 Thread Randy Schultz

Hi there,

I had a 5.4 system running the openldap23 sasl server that I did a bin upgrade 
to 6.0-stable.  Once that was done I cvsup'd everything to bring it up to 
date.  When I did a portupgrade -a I noticed, due to portupgrade dying, that

openldap23-sasl-server does not exist in the ports tree.  Yet using sysinstall,
which is what I did initially to install, it's there for installing.  Can
somebody point me to the answer as to why it's available using sysinstall
but not when using the ports tree?  The 2.3 sasl client is there but not
the 2.3 sasl server.

--
 Randy([EMAIL PROTECTED])  715-726-2832 email bodhisattva <*>

 "There is no fire like passion, there is no shark like hatred,  there is no
snare like folly, there is no torrent like greed."

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


Re: wazzup with this java build warning?

2005-10-06 Thread Randy Schultz
On Thu, 6 Oct 2005, Kris Kennaway spaketh thusly:

-}> 
-}> Tnx Ken.
-}
-}Who's Ken? ;P

Blech.  Sorry about that Kris.  The Sam Smith Taddy Porter musta snuck up
on me when I wasn't looking.  ;>

-}
-}> So it's ok and the end result will be the native jdk?
-}
-}Yes.

Sweetness.  Tnx again.

--
 Randy([EMAIL PROTECTED])  715-726-2832 email bodhisattva <*>

 "There is no fire like passion, there is no shark like hatred,  there is no
snare like folly, there is no torrent like greed."

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


Re: wazzup with this java build warning?

2005-10-06 Thread Randy Schultz
On Thu, 6 Oct 2005, Kris Kennaway spaketh thusly:

-}On Thu, Oct 06, 2005 at 07:32:41PM -0500, Randy Schultz wrote:
-}> Doing a make in ports/java/jdk14.  Have in ports/distfiles the files the
-}> make asks for.  When the make continues it warns with:
-}> 
-}> ===>Verifying install for /usr/local/linux-sun-jdk1.4.2/bin/javac in 
/usr/ports/java/linux-sun-jdk14
-}> ==
-}> Warning: This JDK may be unstable. You are advised to use the native
-}> FreeBSD JDK, in ports/java/jdk14.
-}> 
-}> 
-}> I don't get this.  I am using ports/java/jdk14, performing the make there,
-}> yet it barks with this.  Is this some debris from a bygone check or did I 
-}> miss a step?
-}
-}No, read what it says..it's installing the linux-sun-jdk14 port as
-}part of the build of jdk14.  Why?  Because you need a java compiler to
-}bootstrap the java compiler.

Tnx Ken.

So it's ok and the end result will be the native jdk?

--
 Randy([EMAIL PROTECTED])  715-726-2832 email bodhisattva <*>

 "There is no fire like passion, there is no shark like hatred,  there is no
snare like folly, there is no torrent like greed."

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


wazzup with this java build warning?

2005-10-06 Thread Randy Schultz
Doing a make in ports/java/jdk14.  Have in ports/distfiles the files the
make asks for.  When the make continues it warns with:

===>Verifying install for /usr/local/linux-sun-jdk1.4.2/bin/javac in 
/usr/ports/java/linux-sun-jdk14
==
Warning: This JDK may be unstable. You are advised to use the native
FreeBSD JDK, in ports/java/jdk14.


I don't get this.  I am using ports/java/jdk14, performing the make there,
yet it barks with this.  Is this some debris from a bygone check or did I 
miss a step?

--
 Randy([EMAIL PROTECTED])  715-726-2832 email bodhisattva <*>

 "There is no fire like passion, there is no shark like hatred,  there is no
snare like folly, there is no torrent like greed."

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


Re: sendmail or another mail server?

2005-09-27 Thread Randy Schultz
On Mon, 26 Sep 2005, Efren Bravo spaketh thusly:

-}Hi,
-}
-}I've installed a fBSD and now I'm tuning it 'cause I need to put it to
-}serve as mail server.  
-}  
-}My questions is if sendmail is able to serve as a serious mail server or I
-}should try with another software for this job.  
-}  
-}In case I choose sendmail or another mail server software, exists an web
-}interface for them?  

In-house volume testing I've done for with fbsd 5.4 has postfix smokin' 
sendmail with at least a 260% increase.  With softupdates enabled and a
few other simple things pfix on fbsd rocks.  FWIW.

--
 Randy([EMAIL PROTECTED])  715-726-2832 email bodhisattva <*>

 "There is no fire like passion, there is no shark like hatred,
 there is no snare like folly, there is no torrent like greed."

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


Re: Performance of mailserevr in FreeBSD 5.4

2005-09-23 Thread Randy Schultz
On Tue, 20 Sep 2005, Deepak Naidu spaketh thusly:

-}Thanx Randy,
-} 
-} It would be good, if I have some data of posted doc regarding 
this... or of 
-}your own experience. Thanx for your advise   

Ok.  I'm posting this to advocacy as well in case any find it useful or
at least interesting.

Here's a summation of the testing I did and the results of those tests.
As we were only looking for a few things this is far from a scientific 
analysis so FWIW.

Test background/setup:
   I wanted to test various configs to see what gave the best throughput in 
   a relay configuration for our real-time requirements, i.e. ave # of 
   recipients, ave size of each email, etc. 

   - OS's: FreeBSD 5.4 with and w/o softupdates, Fedora Core 3, Fedora Core 4.
 The FC installations used ext3 for the filesystems.  I wanted to try
 with Reiser but ran out of time.
   - Sink systems simply threw everything to /dev/null.  We had multiple sink
 systems to ensure they were never a chokepoint.  
   - Source systems used fbsd's postal package as:
 postal -m 11 -p 4 -c 2 d3 usernames -
 where usernames contained 2 and 3 usernames.  No significant 
 difference was found using 2 or 3 usernames.
   - Test relay was a dual-proc 800 MHz system PC with 1 GB RAM and the 
 entire system on 1 5400 RPM drive.  (I know - nobody would ever run
 a mail server with /var/spool on the root drive but we were really
 just looking for difference percentages, not max throughput and had 
 some old systems lying around... ;)
   - All installs were default installs.  I thought about tweaking this or
 that, e.g. postfix has some notes on things to do for high-volume
 installations that we didn't do.  I wanted out-of-the-box as much as
 possible.  Tweaking can quickly turn into a slippery slope of just 1 
 more here and 1 more there.  I figured we can tweak all we want for
 more specific needs as they arise.
   - The versions of sendmail and postfix were whatever was current stable
 in June, compiled locally with default build instructions.

So, given all that, here's the #'s I came up with.  

Sendmail
   Linux:47,000 emails/hr
   FreeBSD:  66,000 emails/hr

   this is about a 40% increase in throughput.

Postfix
   Linux: 86,000 emails/hr
   FreeBSD:  223,000 emails/hr

   this is about a 260% increase in throughput.

The above data is for FC4 and FBSD 5.4 with softupdates enabled.  My 
apologies but I can't find the notes for FC3 and FBSD w/o softupdates.  FC4 
was faster but not by much, and by about the same % for sendmail and postfix.
Softupdates showed a similar pattern(as expected) - not as fast as with 
softupdates.  IIRC the data for postfix/fbsd w/o softupdates was still
around 190k emails/hr(this is from memory so take it with a grain of salt).

I was amazed at the difference with postfix.  Whatever Mr. Venema did inside
postfix really works well on fbsd.  Even though I can't find the #'s I 
remember my amazement that fbsd w/o softupdates still smoked FC4 when using 
postfix.

Pls remember this is far from a scientific analysis.  Your mileage will vary
in many ways.  I would recommend doing your own tests with your own criteria.

--
 Randy([EMAIL PROTECTED])  715-726-2832 email bodhisattva <*>

 "There is no fire like passion, there is no shark like hatred,
 there is no snare like folly, there is no torrent like greed."

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


Re: Performance of mailserevr in FreeBSD 5.4

2005-09-20 Thread Randy Schultz
On Tue, 19 Sep 2005, Chuck Swiger spaketh thusly:

-}Deepak Naidu wrote:
-}>I wanted to know whether FreeBSD can make a perfect
-}> mailserver compared to mailservers on linux.  I am in
-}> process of porting them, but needed some statistical
-}> info regarding its performance compared with other os.
-}
-}FreeBSD makes a fine mailserver.

It certainly does.

A few months ago I did some testing and found that freebsd 5.4 with softupdates
enabled was able to process IIRC ~300% more email than fedora core 4.  In fact 
sendmail on fbsd 5.4 handled nearly as much email as postfix on fc4 while 
postfix on fbsd 5.4 was smokin' the wire.  I still have the hard data around 
somewhere if you think it'll be useful to you.

--
 Randy([EMAIL PROTECTED])  715-726-2832 email bodhisattva <*>

 "There is no fire like passion, there is no shark like hatred,
 there is no snare like folly, there is no torrent like greed."

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


Re: wizard mode docs

2005-08-12 Thread Randy Schultz
On Fri, 12 Aug 2005, Giorgos Keramidas spaketh thusly:

-}On 2005-08-11 16:09, Randy Schultz <[EMAIL PROTECTED]> wrote:
-}> Hey all,
-}> Is there any documentation on wizard mode?  I'm just wondering what
-}> the scan function does.
-}
-}What is "wizard mode" supposed to be?

Arg.  Forgot about other wizard modes like ye olde sendmail wizard mode.
My apologies all...

This is during the install process when deciding what partitions to put on
the drives.  In that screen there is a wizard mode.

--
 Randy([EMAIL PROTECTED])  715-726-2832 email bodhisattva <*>

 "There is no fire like passion, there is no shark like hatred,
 there is no snare like folly, there is no torrent like greed."

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


wizard mode docs

2005-08-11 Thread Randy Schultz
Hey all,

Is there any documentation on wizard mode?  I'm just wondering what the
scan function does.

--
 Randy([EMAIL PROTECTED])  715-726-2832 email bodhisattva <*>

 "There is no fire like passion, there is no shark like hatred,
 there is no snare like folly, there is no torrent like greed."

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


Re: expat portupgrade dies

2005-03-04 Thread Randy Schultz
On Thu, 3 Mar 2005, Michael C. Shultz wrote:

-}On Thursday 03 March 2005 01:59 pm, Randy Schultz wrote:
-}> On a 5.3 system when I try to portupgrade some ports the portupgrade
-}> dies on expat:
-}>   --->  Upgrading 'expat-1.95.6_1' to 'expat-1.95.8'
-}> (textproc/expat2) --->  Building '/usr/ports/textproc/expat2'
-}>   ===>  Cleaning for libtool-1.3.5_2
-}>   ===>  Cleaning for expat-1.95.8
-}>   ===>  Vulnerability check disabled, database not found
-}>   ===>  Extracting for expat-1.95.8
-}>
-}>   >> Checksum OK for expat-1.95.8.tar.gz.
-}>
-}>   ===>  Patching for expat-1.95.8
-}>   ===>  Applying FreeBSD patches for expat-1.95.8
-}>   1 out of 2 hunks failed--saving rejects to lib/expat.h.rej
-}>
-}>   >> Patch patch-expat.h failed to apply cleanly.
-}>   >> Patch(es) patch-configure applied cleanly.
-}>
-}>   *** Error code 1
-}>
-}>   Stop in /usr/ports/textproc/expat2.
-}>
-}>
-}> I've tried doing a pkg_delete on the old expat, same effect.  Is
-}> there a standard way to continue from this fail other than patching
-}> by hand?
-}
-}Make sure you first run "make clean" to get rid of old patched files,
-}then run "make patch". If the patches still fail to apply then notify
-}the portmaintainer, if the patches apply then just continue with a
-}normal "make install clean".

Hmm.  I did try to run the patch command by hand.  Hadn't tried the make patch. 
 
(stepping into a nearby phone booth...)

Ok.  Same issues.  I'll contact the port maintainer.

Tnx all for the pointers.

--
 Randy([EMAIL PROTECTED])  715-726-2832  <*>

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


Re: expat portupgrade dies

2005-03-04 Thread Randy Schultz
On Thu, 3 Mar 2005, Paul Schmehl wrote:

-}--On Thursday, March 03, 2005 03:59:00 PM -0600 Randy Schultz 
-}<[EMAIL PROTECTED]> wrote:
-}
-}> On a 5.3 system when I try to portupgrade some ports the portupgrade
-}> dies on expat:
-}>
-}> I've tried doing a pkg_delete on the old expat, same effect.  Is there
-}> a standard way to continue from this fail other than patching by hand?
-}>
-}Try running make distclean in the expat2 ports directory.  Then run make 
-}install and see if it installs independently of portupgrade.

Ah, forgot to mention I had tried this with the same effect.

--
 Randy([EMAIL PROTECTED])  715-726-2832  <*>

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


expat portupgrade dies

2005-03-03 Thread Randy Schultz
On a 5.3 system when I try to portupgrade some ports the portupgrade
dies on expat:
 --->  Upgrading 'expat-1.95.6_1' to 'expat-1.95.8' (textproc/expat2)
 --->  Building '/usr/ports/textproc/expat2'
 ===>  Cleaning for libtool-1.3.5_2
 ===>  Cleaning for expat-1.95.8
 ===>  Vulnerability check disabled, database not found
 ===>  Extracting for expat-1.95.8
 >> Checksum OK for expat-1.95.8.tar.gz.
 ===>  Patching for expat-1.95.8
 ===>  Applying FreeBSD patches for expat-1.95.8
 1 out of 2 hunks failed--saving rejects to lib/expat.h.rej
 >> Patch patch-expat.h failed to apply cleanly.
 >> Patch(es) patch-configure applied cleanly.
 *** Error code 1
 Stop in /usr/ports/textproc/expat2.
I've tried doing a pkg_delete on the old expat, same effect.  Is there
a standard way to continue from this fail other than patching by hand?
--
 Randy([EMAIL PROTECTED])  715-726-2832  <*>
 The Penguin Cometh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


sysinstall suddenly quitting

2003-01-29 Thread Randy Schultz
Hey all,

I've got a 4.6 system that I'm trying to get to 4.7.  I've dropped on the
sysinstall from 4.7(per the docs).  I run it as 
"/stand/sysinstall installUpgrade".  When I get to the "Choose Installation
Media" screen I go into Options to change the Release Name.  Regardless of
what I do on this screen, in fact even if I do nothing at all, when I press
'Q' to quit sysinstall exits, dropping right to the commandline.  On the 
screen it says "chflags'ing old binaries - please wait".  There doesn't 
seem to be anything about this in docs or list/newsgroup archives and I've
tried a number of different things - making sure I'm root, perms on chflags,
getting chflags from the 4.7 dist, even different term types and keyboards
(hey - maybe there was some weird key bounce going on ;).  I'm guessing
PEBCAK but am not sure where to look.

-- 
 Randy([EMAIL PROTECTED])  715-726-2832  <*>

 The BeaSD Cometh


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message