Re: Desperate

2006-02-24 Thread Grant Peel
Derek, all,

Regarding my recent system freeze ups, here is a list of software and hardware.

Some other notes:

At one point a week or so ago, I setup a ipfw firewall rule to allow access in 
port 3396 for a client who required remote access to it. I am still awaiting 
work to see if thier connection attempts coincided with the freez ups. I have 
since removed the firewall rule.

The server has ran flawleslly sine November. No hardware changes have been made 
since it was installed and tested.

It is running a custom kernel, because of the DRAC 4 card - it needs to use a 
usb keyboard, as noted in dmesg below.

What I am really looking for is simply a way to see what software / hardware 
crashes the machine. Once identifies, should be easy to fix.

It is a Dell PowerEdge 1850, VIntage November 2005.

Basic hardware (dmesg below).

CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.71-MHz 686-class CPU)
Intel(R) PRO/1000  (x2 emo, em1)
da0:  Fixed Direct Access SCSI-3 device
da0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing 
Enabled
da0: 70007MB (143374650 512 byte sectors: 255H 63S/T 8924C)
Dell DRAC 4 remote access card. (on mother board dedicated riser).
real memory  = 536608768 (511 MB)
avail memory = 515784704 (491 MB)

Ther are no other external devices attached, no keyboard,. no mouse or monitor. 

Basic Software:

FreeBSD 6.0-RELEASE
MySQL 4.1.13 (installed from ports)
Apache 2.1.4
PHP 4.4.0 (from ports, installed into apache as static mod).
vm-pop3d 
Exim 4.52-0 (from ports)
spamassassin (running as deamon) 
perl 5.8.7
proftpd 1.3.0.rc2
IPA, version 1.3.6 (FreeBSD/i386 6.0-RELEASE)

** Begin dmesg*

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.0-RELEASE #1: Wed Jan 25 09:15:04 EST 2006
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/DS9
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.71-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf43  Stepping = 3
  
Features=0xbfebfbff
  Features2=0x641d>
  AMD Features=0x2010
  Hyperthreading: 2 logical CPUs
real memory  = 536608768 (511 MB)
avail memory = 515784704 (491 MB)
ioapic0: Changing APIC ID to 2
ioapic1: Changing APIC ID to 3
ioapic1: WARNING: intbase 32 != expected base 24
ioapic2: Changing APIC ID to 4
ioapic2: WARNING: intbase 64 != expected base 56
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 32-55 on motherboard
ioapic2  irqs 64-87 on motherboard
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: Power Button (fixed)
pci_link0:  irq 11 on acpi0
pci_link1:  irq 3 on acpi0
pci_link2:  irq 7 on acpi0
pci_link3:  irq 10 on acpi0
pci_link4:  irq 11 on acpi0
pci_link5:  irq 10 on acpi0
pci_link6:  on acpi0
pci_link7:  irq 5 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 2.0 on pci0
pci1:  on pcib1
pcib2:  at device 0.0 on pci1
pci2:  on pcib2
mpt0:  port 0xec00-0xecff mem 
0xdfdf-0xdfdf,0xdfde-0xdfde irq 34 at device 5.0 o
n pci2
mpt0: [GIANT-LOCKED]
mpt0: MPI Version=1.2.12.0
mpt0: Unhandled Event Notify Frame. Event 0xa.
pcib3:  at device 0.2 on pci1
pci3:  on pcib3
pcib4:  at device 4.0 on pci0
pci4:  on pcib4
pcib5:  at device 5.0 on pci0
pci5:  on pcib5
pcib6:  at device 0.0 on pci5
pci6:  on pcib6
em0:  port 0xdcc0-0xdcff 
mem 0xdfae-0xdfaf irq 64 at device 7.0
 on pci6
em0: Ethernet address: 00:14:22:1c:d5:7e
em0:  Speed:N/A  Duplex:N/A
pcib7:  at device 0.2 on pci5
pci7:  on pcib7
em1:  port 0xccc0-0xccff 
mem 0xdf8e-0xdf8f irq 65 at device 8.0
 on pci7
em1: Ethernet address: 00:14:22:1c:d5:7f
em1:  Speed:N/A  Duplex:N/A
pcib8:  at device 6.0 on pci0
pci8:  on pcib8
uhci0:  port 0xace0-0xacff irq 16 at 
device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xacc0-0xacdf irq 19 at 
device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0xaca0-0xacbf irq 18 at 
device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0:  mem 0xdff0-0xdff003ff irq 23 at 
device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3:  on ehci0
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
uhub

Re: pointy-hat question

2006-02-24 Thread Kris Kennaway
On Fri, Feb 24, 2006 at 10:55:49PM -0600, Josh Paetzel wrote:
> I posted this to ports@ and didn't get a response.
> 
> http://people.freebsd.org/~fenner/errorlogs/[EMAIL PROTECTED]
> 
> The top line of the page says i386 package building errors for 
> [EMAIL PROTECTED]

This is a fenner question, not a pointyhat question, since you're not
looking at pointyhat.  I presume it's this:

> The Run column says ia64-7-latest
> 
> Which architecture is broken?

as you could check by clicking on the link and reading the contents
;-)

Kris


pgp7yW5yJ51cr.pgp
Description: PGP signature


Re: release in cvsup supfile

2006-02-24 Thread Donald J. O'Neill
On Friday 24 February 2006 22:35, Peter wrote:
> --- Nikolas Britton <[EMAIL PROTECTED]> wrote:
> > On 2/24/06, Michael P. Soulier <[EMAIL PROTECTED]> wrote:
> > > Hey people,
> > >
> > > I notice that in my supfile, I have this:
> > >
> > > *default release=cvs tag=.
> > >
> > > I'm using FreeBSD 5.4. Should I change the tag to 5.4-RELEASE? I
> > > don't
> >
> > want
> >
> > > ports that aren't going to work on 5.4. Is that a concern?
> >
> > No, but you need to have at least two cvsup files, one for the
> > system and the other for ports
>
> Maybe I'm doing something wrong.  I have only one file for
> everything:
>
> *default host=cvsup1.ca.FreeBSD.org
> *default base=/var/db
> *default prefix=/usr
> *default release=cvs tag=RELENG_5
> *default delete use-rel-suffix
> *default compress
>
> src-all
> doc-all
> ports-all tag=.
>
It works the way you have it. However,You can split that into three 
files. You're following 5-STABLE, there are times when you don't want 
to be downloading src, unless you're planning to run buildworld cycles 
a lot. Instead of cvsuping ports, you could use portsnap. Once it's run 
the first time, it's a lot, lot faster way to upgrade the ports tree 
than using cvsup.

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


RE: gam_server driving me nuts

2006-02-24 Thread Peter

--- Zalander Drakos <[EMAIL PROTECTED]> wrote:

> 
> > During a ports upgrade fam was replaced by gamin.  Now my >power
> supply fan
>  >keeps turning up and down.  This is causing a lot of noise and
> is >very
>  >annoying.  I can't seem to kill the thing either; damn thing
> r>espawns. 
>  >What are other people doing?
> 
> 
>  Remove fam by force and then install gamin.
> 
>  What is wrong with running 'pkgdb -F' ?  It is there to help
> you.  Run it
>  and tell it to change all fam dependencies to gamin.
> 
>  Are you going to stop crying now?

HA HA HA HA HA HA !






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


pointy-hat question

2006-02-24 Thread Josh Paetzel
I posted this to ports@ and didn't get a response.

http://people.freebsd.org/~fenner/errorlogs/[EMAIL PROTECTED]

The top line of the page says i386 package building errors for 
[EMAIL PROTECTED]

The Run column says ia64-7-latest

Which architecture is broken?

(make package works on all of the i386 machines I have here)

-- 
Thanks,

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


Re: Areca ARC-1120 vs Adeptec 2820 for RAID 6

2006-02-24 Thread Chad Leigh -- Shire.Net LLC


On Feb 24, 2006, at 5:16 AM, Ashley Moran wrote:

I'm trying to decide whether to go with an Areca ARC-1120 or an  
Adeptec 2820
for a database server.  The Promise SuperTrak EX8350 is out of the  
question

because it lacks FreeBSD support.


I would wonder about Adaptec support.  Areca is officially supporting  
FreeBSD (and Solaris 10 and others).


I have a 12 port PCI-X version of the Areca but not yet installed.   
My correspondence with Areca before I got it was very good.  They  
were quite responsive.


I have been using a lot of adaptec boards over the last 5 years  
(2100S x 2, 2200S, 2410SA x a few, 2400A in one machine). They work  
fine but Adaptec provides no support for FreeBSD and the released  
utilities may or may not work so well as FreeBSD matures but the  
utilities stay at old versions...


best
Chad



One server supplier says customer's he's supplie with ARC boards  
were unhappy

with them, but didn't give any specific reasons.  Does anyone have any
experience with either of these on FBSD?

There's a long comparison of the three cards at
http://www.tomshardware.com/2006/01/02/ 
safer_6_for_raid_controllers/ .  The
Areca board canes the others performance-wise but I want to know if  
it will

be stable for the next however many years.

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


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: configuring KDE on FreeBSD 6.0

2006-02-24 Thread Malcolm Kay
On Sat, 25 Feb 2006 09:24 am, Wendell Anderson wrote:
> I have successfully installed FreeBSD 6.0  with X.org and
> KDE 3.4.3.
>
> When I execute "startx" the  "tcm"  windowing system, starts
> up fine. However when I try starting KDE, I get x-server
> errors.

Do you mean tcm or twm?

>
> I need help in configuring KDE to proper operation.

How are you trying to start KDE?

Do you want to boot into a graphical login screen or start KDE 
from the command line.

To start from the command line you need to replace the window 
manager line in ~/.xinitrc with:
 startkde
or if you don't have ~/.xinitrc creating it with that line.
Now:
% startx
should start up KDE

To start a graphical X windows login at boot up the easiest 
is to change 'off' to 'on' in the line:
 ttyv8   "/usr/X11R6/bin/xdm -nodaemon"  xterm   off secure
which starts the standard xdm display manager and login 
interface.
With this you'll need to inform xdm which windows-manager/desktop 
to use bye creating a file ~/.xsession containing say:

#!/bin/sh
startkde

You should make this file executable (chmod +x .xsession).

% man xdm 
will explain.

Both .xinitrc and .xsession can be used to also perform some 
customisation eg setting PATH, setting modmap, etc.
KDE also offers a kde specific replacement for xdm but this to me 
seems the wrong way to go. Other users may want to run a 
different windows-manager/desktop which they can easily do using 
their own .xsession file with xdm.

Besides xdm has standard unix style documentation (man page) 
which seems to be frowned upon by the kde organisation. For sure 
once it is up KDE offers some browser based help which explains 
what you would have probably guessed anyway but stops short of 
answering any difficult questions.

Malcolm

>
> Wendell Anderson
> [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: release in cvsup supfile

2006-02-24 Thread Peter

--- Nikolas Britton <[EMAIL PROTECTED]> wrote:

> On 2/24/06, Michael P. Soulier <[EMAIL PROTECTED]> wrote:
> > Hey people,
> >
> > I notice that in my supfile, I have this:
> >
> > *default release=cvs tag=.
> >
> > I'm using FreeBSD 5.4. Should I change the tag to 5.4-RELEASE? I don't
> want
> > ports that aren't going to work on 5.4. Is that a concern?
> >
> 
> No, but you need to have at least two cvsup files, one for the system
> and the other for ports

Maybe I'm doing something wrong.  I have only one file for everything:

*default host=cvsup1.ca.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_5
*default delete use-rel-suffix
*default compress

src-all
doc-all
ports-all tag=.






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Ping timeout

2006-02-24 Thread Gargi Bodke
Hi
  I am new to this list and new to freebsd also. I have  a Freebsd server
set up with apache and qmail on it, with an ADSL connection to the
internet.  Most of the time the server works fine but it is not available
early mornings and weekends. The machine is physically at my workplace and
has a static IP mapped to it by a Service provider. When I say not available
I am unable to ping it from home and a tracert also fails. When it started
happening I went to my work place to see if the server was down, But it has
always been up and running.  Also even if the server is not rebooted the
machine becomes accessible after some time. Thinking it to be a network
problem I have complained to the ISP but they are unable to provide any
solution.

Is it possible that a freebsd machine sleeps after being idle for some time?
Early mornings and weekends is the time when no one is in office that's why
am asking. Sorry if this sounds stupid but I ab unable to figure out the
cause so though I  should give it a try on this list.


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


Re: release in cvsup supfile

2006-02-24 Thread Nikolas Britton
On 2/24/06, Nikolas Britton <[EMAIL PROTECTED]> wrote:
>
>
> Now install FreeBSD, delete the old slices first with fdisk and don't
> install X11, the only package you should install is cvsup-without-gui.
> After FreeBSD is installed run cvsup to get all the new ports, then
> uninstall perl, run the following:
> 
> cd /usr/ports/lang/perl5.8/
> make deinstall
> make install
> perl-after-upgrade
> 
>

Hey, first check the version of perl installed, perl 5.8.8 might have
made it onto the BETA2 disk, if you run 'perl -v' and it spits out
version 5.8.8 then you don't have to uninstall/reinstall perl.


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


Zombie jail?

2006-02-24 Thread Francisco Reyes

I have a jail that after running /etc/rc.d/jail seems to stay around.


jls
1   

but if I do "pgrep -lfj 1" nothing is listed.
I am able to enter the jail by "jexec 1 chs", but once inside it doesn't 
seem like anything is working.


Is this basically a Zombie jail? ie an entry claiming there is a jail even 
though there isn't one?

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


Bug in newfs?

2006-02-24 Thread Dieter
FreeBSD 6.0   AMD64

newfs -N -b 65536 -f 8192 -i 262144 -m 0 -o space -s 2295104 -S 2048 
/dev/ad10s1 
/dev/ad10s1: 4482.6MB (9180416 sectors) block size 65536, fragment size 8192
using 4 cylinder groups of 1120.69MB, 17931 blks, 4608 inodes.
super-block backups (for fsck -b #) at:
 256, 2295424, 4590592, 6885760

2295104 * 2048 = 4700372992 bytes in filesystem.

17931 blocks * 65536 bytes/block = 1175126016 bytes
1175126016 * 4 cylinder groups = 4700504064 bytes

4700504064 > 4700372992   so it will not fit

Does "17931 blks" include the inodes, superblocks, etc.?
If not, it doesn't fit even worse.



Any reason that "-a 71724" shouldn't work?

Any reason that "-e 17931" shouldn't work?

Goal is to create a filesystem that can be written to a
DVD+RW without the 2GB per file limit of ISO-9660.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: release in cvsup supfile

2006-02-24 Thread Nikolas Britton
On 2/24/06, Michael P. Soulier <[EMAIL PROTECTED]> wrote:
> Hey people,
>
> I notice that in my supfile, I have this:
>
> *default release=cvs tag=.
>
> I'm using FreeBSD 5.4. Should I change the tag to 5.4-RELEASE? I don't want
> ports that aren't going to work on 5.4. Is that a concern?
>

No, but you need to have at least two cvsup files, one for the system
and the other for ports and everything else so keep reading (all
the way to the end!)

Change "*default host" to the cvsup server of your choice, servers are
listed at the bottom of this page:
http://www.freebsd.org/handbook/cvsup.html

Change "*default release=cvs tag=" To:
RELENG_5_4: Tracks 5.4-RELEASE errata fix branch
RELENG_5: Tracks 5-STABLE Branch
RELENG_6_0: Tracks 6.0-RELEASE errata fix branch
RELENG_6: Tracks 6-STABLE Branch
HEAD: Tracks -CURRENT, currently FreeBSD 7, it's for developers.

For a full list of branch tags and other good reading materials refer
to the release engineering page:
http://www.freebsd.org/releng/index.html

infomatic# more ~/standard-supfile
*default host=cvsup12.us.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_6
*default delete use-rel-suffix
*default compress
src-all


Ports, docs, etc. do not have -RELEASE tags, when you cvsup ports you
always get what would be the equivalent of cvsup'ing you system up
with -CURRENT, hence the dot for the release tag.  You can however
cvsup to a specific date and time in the passed if you use something
like this "*default date=2005.11.27.00.00.00", all the zero's are for
time (GMT, 24 hour clock).

infomatic# more ~/ports-supfile
*default host=cvsup12.us.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress
ports-all
doc-all

After you cvsup new ports you must always read the /usr/ports/UPDATING
file, if your planning on cvsup'ing your ports today your in for a big
doozy as libtool just had a major overhaul, perl and expat were both
update with in the last few weeks and then you have the whole fam vs.
gamin debacle.

Because of the libtool overhaul and the 3 other things you will have
to uninstall every port and package on your system and then reinstall
them.  The good news is that now would be the perfect time to wipe the
system clean and do a fresh install of FreeBSD 6.1-BETA2.  All you
really need to do is backup the important stuff, just tarball
everything and copy it over the network to another system, backup the
following:

/etc
/root
your home directory
/usr/local/etc
/usr/local/ (look around in here for stuff to save, like apache's data
directory, etc.)
/usr/src/sys/i386/conf/ (if you have custom kernel config files)
Possibly /var (I don't know what you use this system for or what you
have installed)
Anything else you want saved

Then download and burn: 6.1-BETA2-i386-disc1.iso
ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/6.1/6.1-BETA2-i386-disc1.iso
MD5 (6.1-BETA2-i386-disc1.iso) = 3267d7794079d3b803f5f5f004cf04f1

Now install FreeBSD, delete the old slices first with fdisk and don't
install X11, the only package you should install is cvsup-without-gui.
After FreeBSD is installed run cvsup to get all the new ports, then
uninstall perl, run the following:

cd /usr/ports/lang/perl5.8/
make deinstall
make install
perl-after-upgrade


Ok now your good to go, reinstall all the ports you need.


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


Re: index update

2006-02-24 Thread Kris Kennaway
On Fri, Feb 24, 2006 at 09:33:15PM -0500, Michael P. Soulier wrote:
> Hey people,
> 
> Reading the manpage for portsdb, and looking at some examples where this is
> run
> 
> /usr/local/sbin/portsdb -Uu
> 
> I'm wondering what the difference between this and
> 
> cd /usr/ports && make index
> 
> is. Don't they both rebuild the index?

Yes (in fact the former calls the latter), but the former also
rebuilds the INDEX.db used by portupgrade and friends.

Kris



pgpliwzkIglsn.pgp
Description: PGP signature


status of daemon news mag

2006-02-24 Thread Michael P. Soulier
Hey people,

I got my hands on a few issues of Daemon News magazine, and I like it. I'm
wondering if the magazine is still published, since daemonnews.org doesn't
seem to mention it. 

Thanks,
Mike

-- 
Michael P. Soulier <[EMAIL PROTECTED]>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein


pgpIfFpc6ZLf2.pgp
Description: PGP signature


Re: release in cvsup supfile

2006-02-24 Thread Donald J. O'Neill
On Friday 24 February 2006 20:35, Peter wrote:
> --- "Michael P. Soulier" <[EMAIL PROTECTED]> wrote:
> > Hey people,
> >
> > I notice that in my supfile, I have this:
> >
> > *default release=cvs tag=.
> >
> > I'm using FreeBSD 5.4. Should I change the tag to 5.4-RELEASE? I
> > don't want
> > ports that aren't going to work on 5.4. Is that a concern?
>
> No, that's the way it should be.  The Handbook is quite clear on this
> point:
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#
>CVSUP-CONFIG-VERS
>
Well now, I think that depends on what else he's got in his supfile. He 
may have a problem at some point.

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


Re: portsnap failing

2006-02-24 Thread Donald J. O'Neill
On Thursday 23 February 2006 05:33, Ashley Moran wrote:
> I'm trying to update my ports tree on a 6.0-RELEASE/amd64 machine.  I
> get this error:
>
> Updating from Wed Feb 15 08:30:17 GMT 2006 to Thu Feb 23 10:20:03 GMT
> 2006. Fetching 3 metadata patches.. done.
> Applying metadata patches... done.
> Fetching 3 metadata files... /usr/sbin/portsnap: cannot open
> f1777c019669546744ef448c17531bdd125884253a6bf4b73f6e77001d7a0b12.gz:
> No such file or directory
>
>
> If I delete the portsnap files and try to fetch a new snapshot, I get
> this error instead:
>
> Fetching snapshot generated at Thu Feb 23 03:09:19 GMT 2006:
> f4b0454e7bce8a4decdb9190e22b8325a966e92005df5f 97% of   39 MB  118
> kBps 00m08s fetch: transfer timed out
>
>
> Neither of my i386 boxes have this problem.  Does anyone know where
> the issue lies?
>
> Ashley
>
Why are you deleting the portsnap files. That's a 39 MB file that you 
have to download everytime you do that. The idea is to just download 
the patches necessary to update the ports tree after 'portsnap fetch', 
'portsnap install' has been run once. After that, all you need to do is 
run 'portsnap fetch update', you'll get plenty of action from that. I 
think by now you're going to have to remove the ports tree and start 
over. Why not do it an easier way.

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


Re: release in cvsup supfile

2006-02-24 Thread Peter

--- "Michael P. Soulier" <[EMAIL PROTECTED]> wrote:

> Hey people,
> 
> I notice that in my supfile, I have this:
> 
> *default release=cvs tag=.
> 
> I'm using FreeBSD 5.4. Should I change the tag to 5.4-RELEASE? I don't
> want
> ports that aren't going to work on 5.4. Is that a concern?

No, that's the way it should be.  The Handbook is quite clear on this
point:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CVSUP-CONFIG-VERS






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Remove a Port and All Dependencies

2006-02-24 Thread Aaron Dalton

Peter wrote:

--- Aaron Dalton <[EMAIL PROTECTED]> wrote:



Jeff Cross wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I would like to know if it is possible to remove a port/package and


all


of the dependencies it installed that are not needed by other


applications.


Example: I installed Nautilus and some Gnome games but don't want them
installed any longer.  However, if I remove the package itself,


doesn't


it leave all of the other dependencies out there?

Upgrading my system takes forever now that there are a ton of libs and
such installed by these applications.  So, if anyone can point me in


the


right direction for doing this I would greatly appreciate it.



pkg_deinstall -R portname



Wouldn't this remove all ports that depend on the port in question (its
dependants)?  The OP wants to remove all ports that are *required* by the
port (its dependencies).  But furthermore, he wants to remove those that
AREN'T NEEDED BY ANY OTHER PORTS.



pkg_deinstall won't remove ports that are required by other ports. 
pkg_deinstalling a Perl (p5-) port, for example, won't forcefully 
deinstall lang/perl itself (unless you're removing the very last port 
that requires lang/perl).  'man pkg_deinstall' will tell you how to 
accomplish what you want.  There are a number of other port mgmt 
utilities as well.  (sysutils/portmaster comes to mind.)


Good luck!
--
Aaron Dalton
[EMAIL PROTECTED]
FreeBSD Ports Committer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


index update

2006-02-24 Thread Michael P. Soulier
Hey people,

Reading the manpage for portsdb, and looking at some examples where this is
run

/usr/local/sbin/portsdb -Uu

I'm wondering what the difference between this and

cd /usr/ports && make index

is. Don't they both rebuild the index?

Thanks,
Mike

-- 
Michael P. Soulier <[EMAIL PROTECTED]>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein


pgpBQHDZmZz3K.pgp
Description: PGP signature


Re: ls -c vs. ls -u / manpage / architecture question

2006-02-24 Thread Chuck Swiger
[EMAIL PROTECTED] wrote:
[ ... ]
> I could see in the source of ls that these two options
> are opposite of each other, but being ignorant about
> the architecture of UNIX file system, i'm not positive
> that in addition to the time of last modification
> and the time of last access, there is not
> another time - "file status change time".
> 
> Or is it what I suppose, that the -c option is just on by default
> and no other than these 2 times are saved in the file system
> info about the file.

There are three timestamps kept per file in Unix (see "man 2 stat"):

The time-related fields of struct stat are as follows:

 st_atime  Time when file data last accessed.  Changed by the
   mknod(2), utimes(2), read(2) and readv(2) system calls.

 st_mtime  Time when file data last modified.  Changed by the
   mkdir(2), mkfifo(2), mknod(2), utimes(2), write(2) and
   writev(2) system calls.

 st_ctime  Time when file status was last changed (inode data modifi-
   cation).  Changed by the chflags(2), chmod(2), chown(2),
   creat(2), link(2), mkdir(2), mkfifo(2), mknod(2),
   rename(2), rmdir(2), symlink(2), truncate(2), unlink(2),
   utimes(2), write(2) and writev(2) system calls.

By default, ls uses st_mtime; -c means st_ctime; -u means st_atime.

-- 
-Chuck

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


Re: Remove a Port and All Dependencies

2006-02-24 Thread Peter

--- Aaron Dalton <[EMAIL PROTECTED]> wrote:

> Jeff Cross wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > I would like to know if it is possible to remove a port/package and
> all
> > of the dependencies it installed that are not needed by other
> applications.
> > 
> > Example: I installed Nautilus and some Gnome games but don't want them
> > installed any longer.  However, if I remove the package itself,
> doesn't
> > it leave all of the other dependencies out there?
> > 
> > Upgrading my system takes forever now that there are a ton of libs and
> > such installed by these applications.  So, if anyone can point me in
> the
> > right direction for doing this I would greatly appreciate it.
> > 
> 
> pkg_deinstall -R portname

Wouldn't this remove all ports that depend on the port in question (its
dependants)?  The OP wants to remove all ports that are *required* by the
port (its dependencies).  But furthermore, he wants to remove those that
AREN'T NEEDED BY ANY OTHER PORTS.

--
Peter









__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ls -c vs. ls -u / manpage / architecture question

2006-02-24 Thread lalev
Hi,

I want to ask if I got this right.

The manpage of ls, supplied with FreeBSD 6.0 says:

-c  Use time when file status was last changed for sorting or printing.
-u  Use time of last access, instead of last modification of the file
for sorting and printing

I could see in the source of ls that these two options
are opposite of each other, but being ignorant about
the architecture of UNIX file system, i'm not positive
that in addition to the time of last modification
and the time of last access, there is not
another time - "file status change time".

Or is it what I suppose, that the -c option is just on by default
and no other than these 2 times are saved in the file system
info about the file.

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


release in cvsup supfile

2006-02-24 Thread Michael P. Soulier
Hey people,

I notice that in my supfile, I have this:

*default release=cvs tag=.

I'm using FreeBSD 5.4. Should I change the tag to 5.4-RELEASE? I don't want
ports that aren't going to work on 5.4. Is that a concern?

Thanks,
Mike

-- 
Michael P. Soulier <[EMAIL PROTECTED]>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein


pgpoXUxQ1NoG2.pgp
Description: PGP signature


Re: 10 years of "The Complete FreeBSD"

2006-02-24 Thread Greg 'groggy' Lehey
On Friday, 24 February 2006 at 14:10:59 +0200, Giorgos Keramidas wrote:
> On 2006-02-24 16:50, Greg 'groggy' Lehey <[EMAIL PROTECTED]> wrote:
>> On Thursday, 23 February 2006 at 23:44:30 -0500, David Stanford wrote:
>>> I purchased this book nearly a year ago shortly after I began using
>>> FreeBSD and it has been an invaluable resource ever since. Now that
>>> you have made it publicly available, maybe the FreeBSD project could
>>> find a way to merge some of your book in with their own handbook
>>> or at least link it on FreeBSD.org for newbies like myself to easily
>>> find :).
>>
>> That's probably a good idea.  Can somebody from the doc project
>> comment?
>
> Yes.  I would very much like to see this published online at least as
> part of our "publish.html" page.
>
> Greg,
>
> if I have your approval, the following patch is the least I can to thank
> you for all the work you've put into the book all these years, and for
> releasing it now:

You, too, are welcome :-)

> --- publish.sgml  4 Oct 2005 21:58:59 -   1.66
> +++ publish.sgml  24 Feb 2006 12:07:48 -
> @@ -188,13 +188,21 @@
>
>   http://www.freebsdmall.com/cgi-bin/fm/bsdcomp";> SRC="gifs/bsdcomp-4.2.gif" WIDTH="200" HEIGHT="220" alt="book cover">
>   
> - The Complete FreeBSD with CDs, 3rd Ed, FreeBSD 4.2.
> + The Complete FreeBSD with CDs, 3rd Ed, FreeBSD 4.2.

Well, the current version is the 4th edition, and it covers FreeBSD
5.0.  It also doesn't have CDs.

>   Everything you ever wanted to know about how to get
>   your computer up and running FreeBSD. Includes 4 CDs
> - containing the FreeBSD operating system!
> + containing the FreeBSD operating system!

Again, no CDs.

> - Released: November 2000 ISBN: 1-57176-246-9
> -  
> + Released: November 2000 ISBN: 1-57176-246-9

Released May 2003, ISBN 0-596-00516-4.  You should probably mention
that the publisher is now O'Reilly, and maybe link to
http://www.oreilly.com/catalog/cfreebsd/desc.html.

> + On 24 February 2006, at the 10th anniversary of the
> +   publication of the first ever book on FreeBSD, "Installing and
> +   Using FreeBSD", Greg Lehey has released the full text and
> +   sources of "The Complete FreeBSD" under the Creative Commons
> +   license.  The book text & sources are available at:
> +
> +  href="http://www.lemis.com/grog/Documentation/CFBSD/";>http://www.lemis.com/grog/Documentation/CFBSD/
> + 

Yup, that's fine.  Since there are different versions, maybe you can
also point out that this is the Attribution-NonCommercial-ShareAlike
2.5 license (yes, they ask for all that verbiage :-)

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpQBN4GAZOPj.pgp
Description: PGP signature


Re: Trouble with resources under network load

2006-02-24 Thread Chuck Swiger
Andrew Pantyukhin wrote:
> On 2/5/06, Chuck Swiger <[EMAIL PROTECTED]> wrote:
[ ... ]
> 
> Feb 24 19:47:21 gw named[482]: client 10.32.7.32#1027: error sending
> response: not enough free resources
> 
> Feb 24 19:46:57 gw snmpd[714]: sysctl get: Cannot allocate memory
> Feb 24 19:56:00 gw last message repeated 50 times
> 

Perhaps you should set up a cron job that appends the output of
"sysctl kern.malloc" to a file every five minutes or whatever, and see whether
that shows any interesting trends which might indicate whether something is
leaking memory.

> last pid: 86717;  load averages:  0.00,  0.00,  0.00   up
> 3+02:57:27  19:59:39
> 29 processes:  1 running, 28 sleeping
> CPU states:  0.4% user,  0.0% nice,  0.0% system,  1.5% interrupt, 98.1% idle
> Mem: 39M Active, 311M Inact, 132M Wired, 20K Cache, 84M Buf, 246M Free
> Swap: 453M Total, 453M Free

Your VM usage seems much happier now.

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


Important update: "The Complete FreeBSD": errata and addenda

2006-02-24 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

"The Complete FreeBSD" has been through a total of five editions, including its
predecessor "Installing and Running FreeBSD".  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


NX Bit

2006-02-24 Thread Glenn St. Jeffries
Does FreeBSD include any support for NX bit technology?
-- 
http://www.spreadfirefox.com/?q=affiliates&id=155381&t=183";>ReclaimYourInbox!http://www.mozilla.org/products/thunderbird/
--010501080401000900090503--

-
Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


wdm and fluxbox help??

2006-02-24 Thread RYAN M. vAN GINNEKEN

 Original Message -
From: Norberto Meijome <[EMAIL PROTECTED]>
To: RYAN M. vAN GINNEKEN <[EMAIL PROTECTED]>
Cc: Norberto Meijome <[EMAIL PROTECTED]>,
freebsd-questions@freebsd.org
Sent: Sun Feb 19 19:12:03 2006
Subject: Re: kdm and fluxbox

RYAN M. vAN GINNEKEN wrote:
> Thanks to all and i will take your advice Norberto as i do not really
like kde that much anyway.  If i wanted window i would just install
windowsxp or maybe vista would be more like Kde any how i digress.  
>
> I am tiring to set up wdm and added this line to my /etc/ttys  
>
> ttyv8   "/usr/X11R6/bin/wdm -nodaemon"  xterm   on  secure
>
> followed the instructions below found on the fulxbox site but it does
not quite work
>
> http://fluxbox-wiki.org/index.php/Howto_add_fluxbox_to_wdm
>
> I get the wdm ok beasty is there, very cool backgound i might add,
seen it used in a theme somewhere. No matter what i pick for a windows
manager i get the stock Freebsd one wmaker i think? u know the one with
the terminal and green menu bars very vanilla.
green menu bars  = twm
wmaker = much better, check it out @ http://www.windowmaker.org
>   An exception to this kde still works and failsafe gives me control
of the terminal window bottom right.
>
> Also i removed a bunch of managers out of the wdm-config file as i was
not using them like this.  
>
> DisplayManager*wdmWm:   wmaker:enlightenment:gnome:kde:fluxbox
>
> I still get failsafe and wmaker where do us suppose these come from.
Kde still works but not enlightenment gnome or flux box 
>
>   

After editing the wdm-config, you need to restart wdm.
Ctrl-Alt-Backspace will kill the X server and re-read all the configs.

I did that

can you please post your wdm-config and a list of your package installed
? (or make them available online)

I have tried to attached them but my mail server is giving me grief with
attachment right now.

the relevant section in my config:
---
! It will run .xsession
!DisplayManager*wdmWm:   None
---
which means it will read .xsession in my home.
my .xsession is :

$ cat ~/.xsession
## RUNNING bbkeys from Blackbox because it feels more powerful
## to avoid conflicts with fluxbox's key mgr, I emptied .fluxbox/keys
bbkeys &
xscreensaver -no-splash &
fbpager -w &
#wmwifi &
sleep 1 && gkrellm -w &
#fbdesk &
torsmo &
tilda &
skype &
gaim &
fluxbox
---

though I realise that I should be simply running startfluxbox and adding
all the other cmds to ~/.fluxbox/startup

I do not have an .xsession file in my home dir in fact i do not seem to
have an .xsession or an xsession file anywhere on my system just
Xsession see below

[EMAIL PROTECTED] find / -name xsession
[EMAIL PROTECTED] find / -name .xsession
[EMAIL PROTECTED] find / -name .Xsession
[EMAIL PROTECTED] find / -name Xsession
/usr/local/share/config/kdm/Xsession
/usr/X11R6/etc/gdm/Xsession
/usr/X11R6/lib/X11/xdm/Xsession
/usr/X11R6/lib/X11/wdm/Xsession


the contents of the wdm one is also attached

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

-- 
Computer King/CaNMail

http://www.computerking.ca http://www.canmail.org

Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials

Affiliates
http://www.computerking.ca/pages/links/affiliates/affiliates.htm

Maybe Computer Science should be in the College of Theology. -- R. S.
Barton 



-- 
Computer King/CaNMail

http://www.computerking.ca http://www.canmail.org

Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials

Affiliates
http://www.computerking.ca/pages/links/affiliates/affiliates.htm

Maybe Computer Science should be in the College of Theology. -- R. S. Barton 
ImageMagick-6.2.5.5 Image processing tools
ORBit-0.5.17_2  High-performance CORBA ORB with support for the C language
ORBit2-2.12.5_1 High-performance CORBA ORB with support for the C language
OpenEXR-1.2.2_1 A high dynamic-range (HDR) image file format
aalib-1.4.r5_1  An ascii art library
akode-2.0,1 Default KDE audio backend
akode-plugins-mpc-2.0,1 Musepack decoder plugin for akode
akode-plugins-mpeg-2.0,1 MPEG audio decoder plugin for akode
akode-plugins-oss-2.0,1 OSS output plugin for akode
akode-plugins-resampler-2.0,1 Resampler plugin for akode
akode-plugins-xiph-2.0,1 FLAC/Speex/Vorbis decoder plugin for akode
amspsfnt-1.0_3  AMSFonts PostScript Fonts (Adobe Type 1 format)
apache-ant-1.6.5_1  Java- and XML-based build tool, conceptually similar to mak
apr-db4-1.2.2_2 The Apache Group's Portability Library
arts-1.5.1,1Audio system for the KDE integrated X11 desktop
artswrapper-1.2.2   Setuid wrapper for arts
aspell-0.60.4_2 Spelling checker with better suggestion logic than ispell
at-spi-1.6.6_1  An Assistive Technology Service Provider Interface
atk-1.10.3  A GNOME accessibility toolkit (ATK)
autoconf-

Re: Areca ARC-1120 vs Adeptec 2820 for RAID 6

2006-02-24 Thread Mike Tancsa
On Fri, 24 Feb 2006 12:16:00 +, in sentex.lists.freebsd.questions
you wrote:

>
>One server supplier says customer's he's supplie with ARC boards were unhappy 
>with them, but didn't give any specific reasons.  Does anyone have any 
>experience with either of these on FBSD?
>
>There's a long comparison of the three cards at 
>http://www.tomshardware.com/2006/01/02/safer_6_for_raid_controllers/ .  The 
>Areca board canes the others performance-wise but I want to know if it will 
>be stable for the next however many years.

I have been using them in a few boxes and they certainly are quite
fast under RELENG_6.  I have some running RAID5 and RAID10 have they
really good disk IO.  Prior to running ARECA cards I used exclusively
3wares.  However, their performance was just not there until their SX
cards came out.  They are much closer in performance to the ARECA and
I think they are stable now as well, but they dont have PCI-e versions
of the card which I am looking for more and more.  I was told that is
coming soon now.

On FreeBSD, the drives show up as a SCSI device

da0 at arcmsr0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-3 device 
da0: 166.666MB/s transfers (83.333MHz, offset 32, 16bit), Tagged
Queueing Enabled
da0: 228881MB (468749312 512 byte sectors: 255H 63S/T 29178C)

In short, I would recommend the card if you need speed under FreeBSD.

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Re: server problem

2006-02-24 Thread [EMAIL PROTECTED]
For clarity's sake:
> Jack williams:
> | my IP address change as it is dynamic after this i could still use ftp
> | from elsewhere but no one could access my pages.

> Lowell Gilbert:
> | Probably.  How do people try to access your pages?  Are they using an
> | outdated DNS name?

On 2/24/06, Jack williams <[EMAIL PROTECTED]> wrote:
> no there trying to use my ip address i have given them my right one
> by the way. i just cant think of what could be wrong

Might be a case of your isp blocking it, check your terms of service
to see if they have such policies.

http://www.dynu.com/ provides free redirection and a FreeBSD
client, and if it is your isp not allowing inbound on port 80
you can have it proxied to another port ( is default, I think)
at their end.
And if you decide to pay for a real domain name, the redirection
can still be pretty inexpensive (or free).

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


Re: dovecot-1.0.alpha5 + mysql

2006-02-24 Thread Wes Santee
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

fa wrote:
> Hi. Sorry if this is a wrong place to ask. I've just compiled
> dovecot-1.0.alpha5 with mysql support.from freebsd
> ports (FreeBSD 6.0-RELEASE). It looks like dovecot has problems connecting
> to mysql. In the log I'm getting:
> 
> dovecot: Feb 24 16:57:41 Error: auth-worker(default): mysql: Connect failed
> to (null) (exim): Access denied for user 'root'@'localhost' (using
> password:
> YES) - waiting for 5 seconds before retry
> dovecot: Feb 24 16:57:41 Error: auth-worker(default):
> sql([EMAIL PROTECTED],127.0.0.1): Password query failed: Not connected to
> database
> dovecot: Feb 24 16:57:44 Info: pop3-login: Aborted login:
> user=<[EMAIL PROTECTED]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,
> secured
> 
> This is my dovecot-mysql.conf:
> connect = host=localhost dbname=exim user=root password=qwer
> default_pass_scheme = PLAIN
> password_query = SELECT password FROM auth WHERE username = '%u' AND domain
> = '%d'

http://www.dovecot.org/list/dovecot/2005-November/01.html

Check this thread.  If it's the same thing that happened to me, you have
to use OLD_PASSWORD(), not PASSWORD() in MySQL (assuming you're using
5.0) to set your password that dovecot uses to connect.

Cheers,
- -Wes


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)

iQIVAwUBQ/+cO4rq8W17hxGfAQhmIhAAmRpyrCY9731s7CKRtOvaOfExZiFekZRj
1S7YVz4op3BdHmhs5iydvhjLRaLSVYKKDRmubaPWOZbjDsAPdoAsPjyhOTHBTvuA
vzRaiR2XFj8m77qhYDnzd031RZz7MPUCXYkxOXs5NBa5hRQSvaxWJOYDXO81/p4i
wMUnyUaht974OurWaZaT56JIEg1AnJRY7wurx5Q1i6ZcNLBIkM39neVbkkI18rMS
rFUbc2L2l27745ttKLW1xqX7dkkyAKW+M/cz2n3IDIjfa31cue5u4ddFS2RYMD+f
1sMt2M5UMsxwPlLpBdI7kZYw7j5nwVuoYlsSShbKKyZBoTCgDKHUomIiuYIjwkrP
3DB3DH1R+yUZcvrR92JDZ2t80QpzyM7gckRCR5ig7aQdNg667SaFhvrpOlbDw9JJ
rfryHhtsK6mKqMd8J+y14PTGDzvUZTYF6UIhDJFEvJos+XBDeG7Co82ZlgH7MY/f
/QZ0fTH6YOonfy5KY0UL+HUCv/VHwrSMpp/wZsLh1A7Y2xJC8yFsOKUIy42DkARH
2Yg4Z4GwxFRt7bUvcVeeutBQrVNLBf5/vOpq2SlGbJtzKPPhCAz7FIGAbw4qF2TE
1TLTPcDum/ugJeKRcv6/PaIIgvdHJ+ZU9Ydl2hmXMafI90e16RLO5XGjr0EJHTyF
Lvk1CpyOxME=
=nKqV
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Tracing Program

2006-02-24 Thread Derek Ragona

Up the logging by sendmail, you will see alot more then.

-Derek


At 04:13 PM 2/24/2006, Gerard Seibert wrote:

Chris wrote:

> Greetings,
> Are you using Sendmail? If so, check your /var/log/maillog. That should
> at least point you in the right direction.
>
> Best wishes,
> Chris
>
There is nothing worth noting in the maillog. I need to trace the DADA
module to see what it is actually doing. The developer does not have
access to a FreeBSD machine so he cannot tell why it works correctly on
Linux but not FreeBSD.
>
> Quoting Gerard Seibert <[EMAIL PROTECTED]>:
>
> > I have a program. DADA Mail, which is unfortunately not available in the
> > ports system. One of the modules supports a discussion list. It is
> > designed to POP a message from the mailbox and send it. Unfortunately,
> > it is failing to delete the message from the mailbox after sending it.
> >
> > I need a program that I can run in conjunction with this program that
> > can produce a log of everything that is happening when the module is
> > running so I can send it to the developer of DADA. Perhaps someone could
> > suggest something that would accomplish that. I am not talking a 'script'
> > which only records output to the screen. I need one that will record
> > exactly what the program is actually doing; i.e, system calls, etc.
> >
> > Thanks!
> >
> > --
> > Gerard Seibert
> > [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: configuring KDE on FreeBSD 6.0

2006-02-24 Thread [EMAIL PROTECTED]
On 2/24/06, Wendell Anderson <[EMAIL PROTECTED]> wrote:
> I have successfully installed FreeBSD 6.0  with X.org and
> KDE 3.4.3.
>
> When I execute "startx" the  "tcm"  windowing system, starts
> up fine. However when I try starting KDE, I get x-server errors.
>
> I need help in configuring KDE to proper operation.
>

>From root issue:
/usr/local/bin/kdm
(I think there's where kdm installs to by default,
you can probably get by with just typing kdm)
or change the line in /etc/ttys:
ttyv8   "/usr/X11R6/bin/xdm -nodaemon"  xterm   off secure
to something more like:
ttyv8 "/usr/local/bin/kdm" xterm on secure
which should start kde at boot.

Note, the exact syntax of these escapes me, try:
where kdm
man kdm
Also note, if you've installed user accounts with uids below
1000, I believe kde will not allow you to log in until you've
edited the kdm config file, which I cannot recall where that
lives.  man kdm should answer that.

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


Re: 10 years of "The Complete FreeBSD" (5150)

2006-02-24 Thread Bill Schoolcraft
Greg,

I want to thank you for you help in making FreeBSD what it is today.

I first met Greg on a fluke and a weird one that that too.

While working in techsupport at Linuxcare, and the only one to my
knowledge doing so running FreeBSD, I was sitting there one day and
this fellow comes in, scans the room and makes a bee-line to my work
area.  I at the time was the only techsupport with my personal
library of Unix/Linux tech books.  Having just left the Machinist
Union for the 'dot-com' I was alway one for self help.

This guy, with the scraggly beard reaches over me, grabs the first
FreeBSD book written by Greg Lehey and opens it.

At that time in San Francisco we were having alot of homeless people
getting into the office building and sometimes wandering the halls
on drugs, drunk or whatever.

When I asked him "Hey..., can I help you?"  He said, "I wrote this
book!"

At that time I was sure he was "5150" (the penal code for being
nuts) and I was about to get up and escort him out when one of my
co-workers, knowing my background as an ex-steelworker at the San
Francisco waterfront "quickly" jumped in and introduced "Greg Lehey"
to me, I then realized it was not a joke, Greg was not a homeless
person, and I've felt honored ever since to have been a co-worker of
his, briefly sharing the same domain name in our work's email
address.

A few weeks later Richard Stallman came through the office...  I
had the exact same inkling this time but jumped up pre-emptively and
again my co-worker came to the rescue.  

I could write a book of the stuff that I've experienced, maybe call
it "From the Shipyards to Silicon Valley" or something

The one thing I've learned (besides FreeBSD kicks ass) is that in
this industry you can NEVER, EVER judge a book by it's cover!

-- 
Bill Schoolcraft <> http://wiliweld.com

"If your life was full of nothing but
sunshine, you would just be a desert."



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


Re: portsnap failing

2006-02-24 Thread Colin Percival
Ceri Davies wrote:
> On 23/2/06 11:33, "Ashley Moran" <[EMAIL PROTECTED]> wrote:
>> Updating from Wed Feb 15 08:30:17 GMT 2006 to Thu Feb 23 10:20:03 GMT 2006.
>> Fetching 3 metadata patches.. done.
>> Applying metadata patches... done.
>> Fetching 3 metadata files... /usr/sbin/portsnap: cannot open
>> f1777c019669546744ef448c17531bdd125884253a6bf4b73f6e77001d7a0b12.gz: No such
>> file or directory
> 
> Go on, humour me and run that bad boy with -x!
> 
> sh -x /usr/sbin/portsnap fetch

Even better, throw in the --debug flag as well:
sh -x /usr/sbin/portsnap --debug fetch

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


configuring KDE on FreeBSD 6.0

2006-02-24 Thread Wendell Anderson
I have successfully installed FreeBSD 6.0  with X.org and
KDE 3.4.3.

When I execute "startx" the  "tcm"  windowing system, starts
up fine. However when I try starting KDE, I get x-server errors.

I need help in configuring KDE to proper operation.


Wendell Anderson
[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: portsnap failing

2006-02-24 Thread Ceri Davies
On 23/2/06 11:33, "Ashley Moran" <[EMAIL PROTECTED]> wrote:

> I'm trying to update my ports tree on a 6.0-RELEASE/amd64 machine.  I get this
> error:
> 
> Updating from Wed Feb 15 08:30:17 GMT 2006 to Thu Feb 23 10:20:03 GMT 2006.
> Fetching 3 metadata patches.. done.
> Applying metadata patches... done.
> Fetching 3 metadata files... /usr/sbin/portsnap: cannot open
> f1777c019669546744ef448c17531bdd125884253a6bf4b73f6e77001d7a0b12.gz: No such
> file or directory
> 
> 
> If I delete the portsnap files and try to fetch a new snapshot, I get this
> error instead:
> 
> Fetching snapshot generated at Thu Feb 23 03:09:19 GMT 2006:
> f4b0454e7bce8a4decdb9190e22b8325a966e92005df5f 97% of   39 MB  118 kBps 00m08s
> fetch: transfer timed out
> 
> 
> Neither of my i386 boxes have this problem.  Does anyone know where the issue
> lies?

Go on, humour me and run that bad boy with -x!

sh -x /usr/sbin/portsnap fetch

Ceri
-- 
That must be wonderful!  I don't understand it at all.
  -- Moliere



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


Re: Tracing Program

2006-02-24 Thread Kevin Kinsey

Gerard Seibert wrote:


I have a program. DADA Mail, which is unfortunately not available in the
ports system. One of the modules supports a discussion list. It is
designed to POP a message from the mailbox and send it. Unfortunately,
it is failing to delete the message from the mailbox after sending it.

I need a program that I can run in conjunction with this program that
can produce a log of everything that is happening when the module is
running so I can send it to the developer of DADA. Perhaps someone could
suggest something that would accomplish that. I am not talking a 'script'
which only records output to the screen. I need one that will record
exactly what the program is actually doing; i.e, system calls, etc.

Thanks!

 



ktrace(1)
kdump(1)

might help.

KDK

--
Oh, love is real enough, you will find it some day, but it has one
arch-enemy -- and that is life.
-- Jean Anouilh, Ardele


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


pam_ldap nss_ldap

2006-02-24 Thread beckey
pam_ldap, nss_ldap not found.


--
GANBARE! NIPPON!
Yahoo! JAPAN JOC OFFICIAL INTERNET PORTAL SITE PARTNER
http://pr.mail.yahoo.co.jp/ganbare-nippon/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DHCP leases

2006-02-24 Thread David Kelly
On Fri, Feb 24, 2006 at 01:43:40PM -0800, Jose Borquez wrote:
> I know you can view the current DHCP leases in the dhcpd.leases file,
> but is there a command that can be used to dynamically view the DHCP
> leases as they are handed out?

man dhcpd.conf
man syslog.conf

dhcpd writes status updates to syslogd. You can configure syslogd to
redirect them to where ever you wish, including piped into another
program for additional processing.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


scanner problems: I/O error/scanner application hangs

2006-02-24 Thread Erik Nørgaard

Hi:

I had my scanner, Epson 2480, working half a year ago on FBSD 6.0, now 
it's been a while since I used it, I have upgraded to FBSD 6.1-PREREL as 
well as upgrading applications, and now it doesn't work.


First scanner probe gives an I/O error, second hangs:

charm# date && scanimage -L && date && scanimage -T || date
Fri 24 Feb 2006 23:07:28 CET
device `snapscan:/dev/uscanner0' is a EPSON EPSON Scanner flatbed scanner
Fri 24 Feb 2006 23:07:29 CET
scanimage: open of device snapscan:/dev/uscanner0 failed: Error during 
device I/O

Fri 24 Feb 2006 23:07:29 CET
charm# date && scanimage -L && date && scanimage -T || date
Fri 24 Feb 2006 23:07:33 CET
Killed
Fri 24 Feb 2006 23:09:09 CET

I need to turn off the scanner in order to repeat, it is not enough to 
unplug the usb port.


The scanner is found correctly after applying the patches I submitted 
(pr usb/86094), otherwise it appears as a ugen device.


My system is:
FreeBSD charm 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #3: Fri Feb 24 
22:25:37 CET 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLIENT6  i386


No difference whether uscanner is compiled in kernel or loadable module.

Sane:

sane-backends-1.0.17
sane-frontends-1.0.14_1
xsane-0.991

I believe I had it working with sane-backends 1.0.15 and xsane 0.80

Any ideas?

Thanks, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Desperate

2006-02-24 Thread David Kelly
On Fri, Feb 24, 2006 at 03:41:55PM -0600, Derek Ragona wrote:
> It is likely a hardware issue, so please detail the hardware you are
> using.  You may also want to remove any unneeded hardware in the
> server.

Not only that but the fact the hardware is new makes it more suspicious
than if it was tried and true.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Tracing Program

2006-02-24 Thread Gerard Seibert
Chris wrote:

> Greetings,
> Are you using Sendmail? If so, check your /var/log/maillog. That should
> at least point you in the right direction.
> 
> Best wishes,
> Chris
> 
There is nothing worth noting in the maillog. I need to trace the DADA
module to see what it is actually doing. The developer does not have
access to a FreeBSD machine so he cannot tell why it works correctly on
Linux but not FreeBSD.
> 
> Quoting Gerard Seibert <[EMAIL PROTECTED]>:
> 
> > I have a program. DADA Mail, which is unfortunately not available in the
> > ports system. One of the modules supports a discussion list. It is
> > designed to POP a message from the mailbox and send it. Unfortunately,
> > it is failing to delete the message from the mailbox after sending it.
> >
> > I need a program that I can run in conjunction with this program that
> > can produce a log of everything that is happening when the module is
> > running so I can send it to the developer of DADA. Perhaps someone could
> > suggest something that would accomplish that. I am not talking a 'script'
> > which only records output to the screen. I need one that will record
> > exactly what the program is actually doing; i.e, system calls, etc.
> >
> > Thanks!
> >
> > --
> > Gerard Seibert
> > [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: Chicken or Egg

2006-02-24 Thread Chris

Lowell,
Thank you *very* much for the pointer.
For the record; I *did* read the Handbook and UPDATING in the
source and ports trees. But I was reading Kernel in the handbook
and didn't catch the link you sent.

Thanks again!

--Chris


Quoting Lowell Gilbert <[EMAIL PROTECTED]>:


Chris <[EMAIL PROTECTED]> writes:


What I cannot recall is wheather I do a BuildWorld, *then* build the
kernel. Or whether I build and install the kernel first. Also, as it
has now been so long. Would it be best to re-build my obj tree by way
of diong a config>make>make install?


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#MAKEWORLD

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






This message was brought to you by
the H.R. Communications Corp.,
Webmail Internet Messaging System.


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


Re: DHCP leases

2006-02-24 Thread Beech Rintoul
On Friday 24 February 2006 12:43, Jose Borquez wrote:
> I know you can view the current DHCP leases in the dhcpd.leases file,
> but is there a command that can be used to dynamically view the DHCP
> leases as they are handed out?

tail -f /var/db/dhcpd.leases

Beech

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpxLnTGamTfW.pgp
Description: PGP signature


Re: Tracing Program

2006-02-24 Thread Chris

Greetings,
Are you using Sendmail? If so, check your /var/log/maillog. That should
at least point you in the right direction.

Best wishes,
Chris


Quoting Gerard Seibert <[EMAIL PROTECTED]>:


I have a program. DADA Mail, which is unfortunately not available in the
ports system. One of the modules supports a discussion list. It is
designed to POP a message from the mailbox and send it. Unfortunately,
it is failing to delete the message from the mailbox after sending it.

I need a program that I can run in conjunction with this program that
can produce a log of everything that is happening when the module is
running so I can send it to the developer of DADA. Perhaps someone could
suggest something that would accomplish that. I am not talking a 'script'
which only records output to the screen. I need one that will record
exactly what the program is actually doing; i.e, system calls, etc.

Thanks!

--
Gerard Seibert
[EMAIL PROTECTED]

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






This message was brought to you by
the H.R. Communications Corp.,
Webmail Internet Messaging System.


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


DHCP leases

2006-02-24 Thread Jose Borquez
I know you can view the current DHCP leases in the dhcpd.leases file, 
but is there a command that can be used to dynamically view the DHCP 
leases as they are handed out?


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


Re: Chicken or Egg

2006-02-24 Thread Lowell Gilbert
Chris <[EMAIL PROTECTED]> writes:

> What I cannot recall is wheather I do a BuildWorld, *then* build the
> kernel. Or whether I build and install the kernel first. Also, as it
> has now been so long. Would it be best to re-build my obj tree by way
> of diong a config>make>make install?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#MAKEWORLD

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


Re: Desperate

2006-02-24 Thread Derek Ragona
It is likely a hardware issue, so please detail the hardware you are 
using.  You may also want to remove any unneeded hardware in the server.


-Derek


At 03:00 PM 2/24/2006, Grant Peel wrote:

Hi all,

I am getting server 'freeze ups". 4 in the past 3 days, on a very new 
server with no apparent hardware issues.


There is nothing showing in any log anywhere. The sytem just stops responding.

Can anyone help me with understanding how to setup crash dumps and how to 
get to them and root cause the issue after the fact?


-Grant

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


Tracing Program

2006-02-24 Thread Gerard Seibert
I have a program. DADA Mail, which is unfortunately not available in the
ports system. One of the modules supports a discussion list. It is
designed to POP a message from the mailbox and send it. Unfortunately,
it is failing to delete the message from the mailbox after sending it.

I need a program that I can run in conjunction with this program that
can produce a log of everything that is happening when the module is
running so I can send it to the developer of DADA. Perhaps someone could
suggest something that would accomplish that. I am not talking a 'script'
which only records output to the screen. I need one that will record
exactly what the program is actually doing; i.e, system calls, etc.

Thanks!

-- 
Gerard Seibert
[EMAIL PROTECTED]

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


Chicken or Egg

2006-02-24 Thread Chris

Greetings,
I'm running 5.4-STABLE (SMP) and have already tweaked my kernel
(built two for this machine). It's been about 5mos. since I've
built World/kernel. But since then have synced up my source and ports
as there have been some security issues since then.
My question(s) is/ are:

Since the kernel I built for this box was built so long ago, I want
to re-build it and rebuild all my currently built ports in an effort
to overcome the security issues that have developed.

What I cannot recall is wheather I do a BuildWorld, *then* build the
kernel. Or whether I build and install the kernel first. Also, as it
has now been so long. Would it be best to re-build my obj tree by way
of diong a config>make>make install?

Thank you for all your time and consideration in this matter.

--Chris



This message was brought to you by
the H.R. Communications Corp.,
Webmail Internet Messaging System.


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


Re: 10 years of "The Complete FreeBSD"

2006-02-24 Thread Parv
in message <[EMAIL PROTECTED]>,
wrote Greg 'groggy' Lehey thusly...
>
> Ten years ago today, on 24 February 1996, I submitted for publication
> the final version of the first ever book on FreeBSD, "Installing and
> Using FreeBSD".  It was later renamed to "The Complete FreeBSD".
> 
> I have always retained full rights to the book, and for today I've
> decided to release it for download under the Creative Commons
> license.  See more at http://www.lemis.com/grog/Documentation/CFBSD/.

Hi Greg,

I started w/ FreeBSD 3.4.  Along with the 4+ CD set, i also bought
your book (1st or 2d ed.).  That book helped me in my first few
years, mainly w/ slicing, booting, custom kernel compiling, and
possibly installing software from ports.

Later, when using 4.x at some point, i referred to it when i was
trying to load kernel or set the root partition to boot from (don't
remember exactly).

I would recommend your book to someone who would be starting afresh
w/ FreeBSD.  (Then again, i have not read other recent books on
FreeBSD.)

Thanks for your contribution.

  - Parv

-- 

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


Re: Desperate

2006-02-24 Thread Andreas Rudisch
On Fri, 2006-02-24 at 16:00 -0500, Grant Peel wrote:
> Hi all,
> 
> I am getting server 'freeze ups". 4 in the past 3 days, on a very new server 
> with no apparent hardware issues.
> 
> There is nothing showing in any log anywhere. The sytem just stops 
> responding.
> 
> Can anyone help me with understanding how to setup crash dumps and how to 
> get to them and root cause the issue after the fact?

You might want to give us some information about the soft- and hardware.

-- 
GnuPG key  : 0x2A573565  |  http://cyb.websimplex.de/pubkey.asc
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


signature.asc
Description: This is a digitally signed message part


Re: Desperate

2006-02-24 Thread User Infos

Hello,
You might be able to get better results from the group if you can provide the
output of: uname -a
Also, a copy of dmesg.today would also be invaluable in resolving any
issues you are having.

Just a thought.

Best wishes.

Quoting Grant Peel <[EMAIL PROTECTED]>:


Hi all,

I am getting server 'freeze ups". 4 in the past 3 days, on a very new 
server with no apparent hardware issues.


There is nothing showing in any log anywhere. The sytem just stops 
responding.


Can anyone help me with understanding how to setup crash dumps and 
how to get to them and root cause the issue after the fact?


-Grant


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






This message was brought to you by
the H.R. Communications Corp.,
Webmail Internet Messaging System.


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


Re: Redirecting Traffic with PF

2006-02-24 Thread Frank Staals

Eric Schultz wrote:


Frank Staals wrote:


Hey,


Good afternoon...

I'm just stabbing in the dark here since I use neither 5-Stable nor PF.

I have an FreeBSD server/firewall running 5-Stable with PF. I want to 
redirect all udp traffic on port 27902 from the internet to a 
computer in my network. I used this rule but I have some problem with 
it: sometimes connections on that port are refused and I can't 
connect with other players ( it's for a online game ) :


What do you mean by "sometimes" ???  "sometimes" problems are the 
worst kind.


Sometimes: about 90% of all attempts to connect



rdr on $extif inet proto udp from any port 27902 -> 192.168.2.11 port 
27902


I think the problem might have something to do with the different 
network interfaces since the traffic is comming in on $extif and has 
to go to an computer connected to $intif ? And how can I do that ? 
Can I change it to:


rdr on $extif inet proto udp from any port 27902 -> $intif 
192.168.2.11 port 27902


How are your two interfaces configured and what does your routing 
table look like?  If you do a traceroute to 192.168.2.11 from the 
firewall when you're having trouble connecting what is the result?


The Firewall is the default gateway for my localnetwork, so 192.168.2.11 
is directly connected to the server/firewall


--
-Frank Staals


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


Re: Redirecting Traffic with PF

2006-02-24 Thread Noel Jones
On 2/24/06, Frank Staals <[EMAIL PROTECTED]> wrote:
> Hey,
>
> I have an FreeBSD server/firewall running 5-Stable with PF. I want to
> redirect all udp traffic on port 27902 from the internet to a computer
> in my network. I used this rule but I have some problem with it:
> sometimes connections on that port are refused and I can't connect with
> other players ( it's for a online game ) :
>
> rdr on $extif inet proto udp from any port 27902 -> 192.168.2.11 port 27902
>
> I think the problem might have something to do with the different
> network interfaces since the traffic is comming in on $extif and has to
> go to an computer connected to $intif ? And how can I do that ? Can I
> change it to:
>
> rdr on $extif inet proto udp from any port 27902 -> $intif 192.168.2.11
> port 27902
>
> ? Or what do I have to do to fix it.
>
> Thanks in advance,
>
> --
> -Frank Staals
>
>

I think you want something like
rdr on $extif inet proto udp from any to self port 27902 ->
192.168.2.11 port 27902

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


Desperate

2006-02-24 Thread Grant Peel

Hi all,

I am getting server 'freeze ups". 4 in the past 3 days, on a very new server 
with no apparent hardware issues.


There is nothing showing in any log anywhere. The sytem just stops 
responding.


Can anyone help me with understanding how to setup crash dumps and how to 
get to them and root cause the issue after the fact?


-Grant 



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


Re: Redirecting Traffic with PF

2006-02-24 Thread Eric Schultz

Frank Staals wrote:

Hey,


Good afternoon...

I'm just stabbing in the dark here since I use neither 5-Stable nor PF.

I have an FreeBSD server/firewall running 5-Stable with PF. I want to 
redirect all udp traffic on port 27902 from the internet to a computer 
in my network. I used this rule but I have some problem with it: 
sometimes connections on that port are refused and I can't connect with 
other players ( it's for a online game ) :


What do you mean by "sometimes" ???  "sometimes" problems are the worst 
kind.



rdr on $extif inet proto udp from any port 27902 -> 192.168.2.11 port 27902

I think the problem might have something to do with the different 
network interfaces since the traffic is comming in on $extif and has to 
go to an computer connected to $intif ? And how can I do that ? Can I 
change it to:


rdr on $extif inet proto udp from any port 27902 -> $intif 192.168.2.11 
port 27902


How are your two interfaces configured and what does your routing table 
look like?  If you do a traceroute to 192.168.2.11 from the firewall 
when you're having trouble connecting what is the result?


--
Headed for the second star to the right and straight on 'til morning...

  Eric Schultz
  (aka Storkman)

Photos: http://community.webshots.com/user/schultznet
Homepage: http://www.schultznet.ca
Blog: http://schultznet.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Remove a Port and All Dependencies

2006-02-24 Thread Hans Nieser
Jeff Cross wrote:
> I would like to know if it is possible to remove a port/package and all
> of the dependencies it installed that are not needed by other applications.
> 
> Example: I installed Nautilus and some Gnome games but don't want them
> installed any longer.  However, if I remove the package itself, doesn't
> it leave all of the other dependencies out there?
> 
> Upgrading my system takes forever now that there are a ton of libs and
> such installed by these applications.  So, if anyone can point me in the
> right direction for doing this I would greatly appreciate it.
> 

There is a menu-ish version of pkg_cutleaves called pkg_rmleaves. I use
this to clean up any ports that don't aren't depended upon anymore and
that I don't need anymore. When new leaf-packages (packages that arent
depended upon) are created by doing so it will show them again and allow
you to remove these too (and so on, recursively). I found this to be a
really easy way to clean up an entire system in a matter of minutes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Redirecting Traffic with PF

2006-02-24 Thread Frank Staals

Hey,

I have an FreeBSD server/firewall running 5-Stable with PF. I want to 
redirect all udp traffic on port 27902 from the internet to a computer 
in my network. I used this rule but I have some problem with it: 
sometimes connections on that port are refused and I can't connect with 
other players ( it's for a online game ) :


rdr on $extif inet proto udp from any port 27902 -> 192.168.2.11 port 27902

I think the problem might have something to do with the different 
network interfaces since the traffic is comming in on $extif and has to 
go to an computer connected to $intif ? And how can I do that ? Can I 
change it to:


rdr on $extif inet proto udp from any port 27902 -> $intif 192.168.2.11 
port 27902


? Or what do I have to do to fix it.

Thanks in advance,

--
-Frank Staals


___
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 seem to boot from 6.0-RELEASE

2006-02-24 Thread Nikolas Britton
On 2/24/06, Alex Zbyslaw <[EMAIL PROTECTED]> wrote:
> Alex Mayfield wrote:
>
> > I have tried both the 6.1 and 5.4 CD's, both of them bombing at the
> > exact same point the 6.0 boot failed.  I'll try 5.5 sometime tomorrow,
> > though I kinda doubt it would make a difference.  Is there anything
> > else I can try?
>
> If 6.1 and 5.4 fail then it seems really likely that 5.5 will fail too.
> In your shoes I would start changing BIOS options one at a time -
> anything that might have an effect like ACPI, memory holes, making sure
> plug 'n' play is off.  I'm no expert on that kind of thing.  If no-one
> here has any better ideas then you could also try re-posting on the
> freebsd-hardware list and see if anyone there can help.  You could also
> check that there is no newer BIOS for the mobo.
>

Your mainboard has two primary models and also goes by other names:
755FXK8AA-8EKRS: a.k.a. K8S755FXA-8EKRS
http://www.foxconnchannel.com/productsDownload_motherboard2.cfm?pMotherboard=755FXK8AA-8EKRS%3Cbr%3EAlso%20known%20as%20K8S755FXA-8EKRS

755FXK8AA-ERS: a.k.a. K8S755FXA-6ELRS, a.k.a K8S755FXA-ERS
http://www.foxconnchannel.com/productsDownload_motherboard2.cfm?pMotherboard=755FXK8AA-ERS%3Cbr%3EAlso%20known%20as%20K8S755FXA-6ELRS%3Cbr%3EAlso%20known%20as%20K8S755FXA-ERS

Flash the BIOS with the newest version and try FreeBSD.

Next, Use "Load Fail-Safe Defaults" and try FreeBSD.

If those don't work change these settings and try again:
Advanced BIOS Features Menu:
Gate A20 Option = Normal
APIC Mode = Disabled
MPS Version Control For OS = Try a Diffrent Setting
Video BIOS Shadow = Disabled

SIS OnChip PCI Device Menu:
SIS USB Controller = Disabled
SIS AC97 Audio = Disabled
SIS S/W Modem = Disabled
SIS Serial ATA Controller = Disabled

Onboard SuperIO Device Menu:
Lan Controller = Disabled
Onboard FDC Controller = Disabled
Onboard Serial Port 1/2 = Disabled
Onboard Parallel Port = Disabled

Power Management Setup Menu:
ACPI function = Disabled

PnP/PCI Configurations Menu:
Reset Configuration Data = Enabled
---
Your best bets are:
APIC Mode = Disabled
ACPI function = Disabled
And Disable all the Hardware listed above

You should be booting FreeBSD with verbose output too


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


Re: dovecot-1.0.alpha5 + mysql

2006-02-24 Thread Peter Giessel
On Friday, February 24, 2006, at 10:21AM, fa <[EMAIL PROTECTED]> wrote:

>Hi. Sorry if this is a wrong place to ask. I've just compiled 
>dovecot-1.0.alpha5 with mysql support.from freebsd
>ports (FreeBSD 6.0-RELEASE). It looks like dovecot has problems connecting
>to mysql.

What version of MySQL are you using?  I've had problems with 4.1
and dovecot.

See this thread for more details:
http://lists.freebsd.org/pipermail/freebsd-questions/2005-October/100452.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


dovecot-1.0.alpha5 + mysql

2006-02-24 Thread fa
Hi. Sorry if this is a wrong place to ask. I've just compiled 
dovecot-1.0.alpha5 with mysql support.from freebsd

ports (FreeBSD 6.0-RELEASE). It looks like dovecot has problems connecting
to mysql. In the log I'm getting:

dovecot: Feb 24 16:57:41 Error: auth-worker(default): mysql: Connect failed
to (null) (exim): Access denied for user 'root'@'localhost' (using password:
YES) - waiting for 5 seconds before retry
dovecot: Feb 24 16:57:41 Error: auth-worker(default):
sql([EMAIL PROTECTED],127.0.0.1): Password query failed: Not connected to
database
dovecot: Feb 24 16:57:44 Info: pop3-login: Aborted login:
user=<[EMAIL PROTECTED]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,
secured

This is my dovecot-mysql.conf:
connect = host=localhost dbname=exim user=root password=qwer
default_pass_scheme = PLAIN
password_query = SELECT password FROM auth WHERE username = '%u' AND domain
= '%d'

Exim is working with the same settings on the same machine. I also checked
if I can use these settings with mysql console client. I don't know where to
look for errors. Is anyone else having this problem?

Thanks in advance for your answers.



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


RE: Re: server problem

2006-02-24 Thread Jack williams
no there trying to use my ip address i have given them my right one by the way. 
i just cant think of what could be wrong
_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Remove a Port and All Dependencies

2006-02-24 Thread Aaron Dalton

Jeff Cross wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I would like to know if it is possible to remove a port/package and all
of the dependencies it installed that are not needed by other applications.

Example: I installed Nautilus and some Gnome games but don't want them
installed any longer.  However, if I remove the package itself, doesn't
it leave all of the other dependencies out there?

Upgrading my system takes forever now that there are a ton of libs and
such installed by these applications.  So, if anyone can point me in the
right direction for doing this I would greatly appreciate it.



Oh, and sysutils/pkg_cutleaves is also an excellent utility to clean 
stuff up.


$ pkg_cutleaves -l

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


Re: Remove a Port and All Dependencies

2006-02-24 Thread Aaron Dalton

Jeff Cross wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I would like to know if it is possible to remove a port/package and all
of the dependencies it installed that are not needed by other applications.

Example: I installed Nautilus and some Gnome games but don't want them
installed any longer.  However, if I remove the package itself, doesn't
it leave all of the other dependencies out there?

Upgrading my system takes forever now that there are a ton of libs and
such installed by these applications.  So, if anyone can point me in the
right direction for doing this I would greatly appreciate it.



pkg_deinstall -R portname

pkg_deinstall is part of the sysutils/portupgrade package.

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


Remove a Port and All Dependencies

2006-02-24 Thread Robert Huff


Jeff Cross writes:

>  I would like to know if it is possible to remove a port/package
>  and all of the dependencies it installed that are not needed by
>  other applications.

I don't know of a way to do it automatically; among other
things, there seems to be way too great a chance of removing
something prematurely.
However, I have done this manually by repeated application of
pkg_cutleaves (sysutils/pkg_cutleaves) + pkg_delete.


Robert "back to the libtool upgrade" Huff




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


Re: Remove a Port and All Dependencies

2006-02-24 Thread Frank Laszlo
Jeff Cross wrote:
> I would like to know if it is possible to remove a port/package and all
> of the dependencies it installed that are not needed by other
> applications.
>
> Example: I installed Nautilus and some Gnome games but don't want them
> installed any longer.  However, if I remove the package itself, doesn't
> it leave all of the other dependencies out there?
>
> Upgrading my system takes forever now that there are a ton of libs and
> such installed by these applications.  So, if anyone can point me in the
> right direction for doing this I would greatly appreciate it.
>
> Jeff Cross
>
sysutils/pkg_cutleaves.
__
Frank Laszlo
System Administrator
The VonOstin Group
Email:  [EMAIL PROTECTED]
WWW:http://www.vonostingroup.com
Mobile: 248-863-7584
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Remove a Port and All Dependencies

2006-02-24 Thread Babak Farrokhi
Jeff,

'pkg_deinstall -R portname' should work in this case.

--
Babak Farrokhi
[EMAIL PROTECTED]

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Cross
> Sent: Friday, February 24, 2006 9:59 PM
> To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
> Subject: Remove a Port and All Dependencies
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> I would like to know if it is possible to remove a 
> port/package and all of the dependencies it installed that 
> are not needed by other applications.
> 
> Example: I installed Nautilus and some Gnome games but don't 
> want them installed any longer.  However, if I remove the 
> package itself, doesn't it leave all of the other 
> dependencies out there?
> 
> Upgrading my system takes forever now that there are a ton of 
> libs and such installed by these applications.  So, if anyone 
> can point me in the right direction for doing this I would 
> greatly appreciate it.
> 
> Jeff Cross
> 
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.2.1 (FreeBSD)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFD/1A/jEeRttyBLroRAjMyAJ94CqOeKoo0BPpqGjw9GCeatB6EewCfRRdh
> SOnrTu3rRT+iUoQpQQIwJOw=
> =Xbcd
> -END PGP SIGNATURE-
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> 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: htdig Archive Access Failure

2006-02-24 Thread Duane Whitty

Micah wrote:

Duane Whitty wrote:

Hi,

When searching the FreeBSD mailing lists archives,
irrespective of which list I am searching, I
receive an error if I try to access a second or
subsequent page.  Does anyone else experience this?

--Duane


Yes, makes that search interface rather useless.

I asked [EMAIL PROTECTED] about this and here is the response I got 
about the problem:

Sorry; this sort of thing happens, and I don't know how to fix it.

In he mean time,
 is another
way to search the archives -- one that pre-dates the use of Mailman at
FreeBSD.org.

 -- [EMAIL PROTECTED]"



Later,
Micah




Hi,

Thanks, this works great.  Just what I was looking
for

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


Remove a Port and All Dependencies

2006-02-24 Thread Jeff Cross
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I would like to know if it is possible to remove a port/package and all
of the dependencies it installed that are not needed by other applications.

Example: I installed Nautilus and some Gnome games but don't want them
installed any longer.  However, if I remove the package itself, doesn't
it leave all of the other dependencies out there?

Upgrading my system takes forever now that there are a ton of libs and
such installed by these applications.  So, if anyone can point me in the
right direction for doing this I would greatly appreciate it.

Jeff Cross


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD/1A/jEeRttyBLroRAjMyAJ94CqOeKoo0BPpqGjw9GCeatB6EewCfRRdh
SOnrTu3rRT+iUoQpQQIwJOw=
=Xbcd
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: htdig Archive Access Failure

2006-02-24 Thread Micah

Duane Whitty wrote:

Hi,

When searching the FreeBSD mailing lists archives,
irrespective of which list I am searching, I
receive an error if I try to access a second or
subsequent page.  Does anyone else experience this?

--Duane


Yes, makes that search interface rather useless.

I asked [EMAIL PROTECTED] about this and here is the response I got 
about the problem:

Sorry; this sort of thing happens, and I don't know how to fix it.

In he mean time,
 is another
way to search the archives -- one that pre-dates the use of Mailman at
FreeBSD.org.

 -- [EMAIL PROTECTED]"



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


Re: Haven't been able to make world in about a year

2006-02-24 Thread Alex Zbyslaw

Kristian Vaaf wrote:


The point is I've been having this problem for so long,
and none of the developers are willing to help me.

This is one of the reason I think, why most people these
days seem to go (back) to DragonflyBSD.

I certainly am going to.


Did you even try the suggestions I posted?  Did you bother to report 
back whether they worked?


Did you follow up to Giorgos questions?  Or to Donald J O'Neill's?  Or 
to [EMAIL PROTECTED]'s?  No, you just came back and whined.


Developers have better things to do than fix problems which are mostly 
caused by people not following the instructions correctly, or thinking 
that they knew better than the instructions.  The problem you have is 
guaranteed to be a configuration problem on *your* system because 99.9% 
of people out there have no trouble at all.  I want the developers to 
spend their time doing just that, developing, not responding to 
questions that us mortals can usually handle.  You may think that your 
problem is important enough to rate a developer fixing it for you but I 
doubt that many people here would agree with such a judgement.


Looking through the archive, I could find on one question from you on 
this topic, from Dec 31st 2005, which is certainly not the year in your 
subject line, and not a great time to expect speedy responses .  You did 
get a reply from Kent Stewart, and again you didn't reply at all.  How 
could anyone possibly know that his suggestion didn't work for you?  So 
far I count 5 different people who have attempted to help you with this 
issue and so far I see not one single piece of feedback from you on how 
their suggestions worked out.


Please, switch to DragonFly.  You could also try shooting yourself in 
the foot, and cutting off your nose to spite your face.  I gather some 
people enjoy that kind of thing and you would seem to be one of them.


Welcome to the select few on my kill list.

--Alex

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


htdig Archive Access Failure

2006-02-24 Thread Duane Whitty

Hi,

When searching the FreeBSD mailing lists archives,
irrespective of which list I am searching, I
receive an error if I try to access a second or
subsequent page.  Does anyone else experience this?

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


RE: setting up french keyboard

2006-02-24 Thread Me
sorry, test

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


Re: Trouble with resources under network load

2006-02-24 Thread Andrew Pantyukhin
On 2/5/06, Chuck Swiger <[EMAIL PROTECTED]> wrote:
> Andrew Pantyukhin wrote:
> > I'm constantly stumbling upon some out-of-resources
> > problems. Just to name a couple:
> >
> > named[400]: client 10.32.23.92#1714:
> > error sending response: not enough free resources
> >
> > snmpd[806]: sysctl get: Cannot allocate memory
> >
> > 
> >
> > I have these in loader.conf and sysctl.conf:
> >
> > kern.maxfiles=65536
> > kern.maxfilesperproc=65536
> > net.graph.maxdgram=65536
> > net.graph.recvspace=65536
> > kern.maxusers=512
> > kern.ipc.maxpipekva=268435456
> > net.graph.maxalloc=65536
> [ ... ]
> > What's wrong?
>
> For one thing, if you've got a machine with 256MB of RAM, you cannot possibly 
> be
> able to dedicate 256MB just to kern.ipc.maxpipekva.  Likewise, a machine with
> 256MB of users would auto-tune kern.maxusers to ~100 or so, and kern.maxfiles
> ought to be under 1, if not half that.
>
> You should revert to the defaults and make gradual tuning changes, if needed,
> from there.

A couple of days ago I've added 512MB RAM, bringing
the total up to 768MB. I followed your advice and eased
the sysctl settings:


kern.maxfiles=7500
kern.maxfilesperproc=7000
net.graph.maxdgram=65536
net.graph.recvspace=65536
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1
net.link.ether.inet.maxtries=2
net.link.ether.inet.max_age=7200
net.link.ether.inet.prune_intvl=1200
net.inet.tcp.minmssoverload=50
net.inet.tcp.msl=7500
net.inet.icmp.icmplim=50
kern.ipc.somaxconn=16384
kern.ipc.maxpipekva=50331648
net.graph.maxalloc=65536

gw# netstat -m
872/4123/4995 mbufs in use (current/cache/total)
870/3872/4742/24768 mbuf clusters in use (current/cache/total/max)
0/5/6448 sfbufs in use (current/peak/max)
1982K/8774K/10757K bytes allocated to network (current/cache/total)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
0 calls to protocol drain routines

gw# netstat -s | grep drop
2776 connections closed (including 435 drops)
11 embryonic connections dropped
198 connections dropped by rexmit timeout
0 connections dropped by persist timeout
9 connections dropped by keepalive
1 dropped
53405 dropped due to no socket
460821 broadcast/multicast datagrams dropped due to no socket
0 dropped due to full socket buffers
0 fragments dropped (dup or out of space)
685 fragments dropped after timeout
193 output packets dropped due to no bufs, etc.

Feb 24 19:47:21 gw named[482]: client 10.32.7.32#1027: error sending
response: not enough free resources

Feb 24 19:46:57 gw snmpd[714]: sysctl get: Cannot allocate memory
Feb 24 19:56:00 gw last message repeated 50 times

last pid: 86717;  load averages:  0.00,  0.00,  0.00   up
3+02:57:27  19:59:39
29 processes:  1 running, 28 sleeping
CPU states:  0.4% user,  0.0% nice,  0.0% system,  1.5% interrupt, 98.1% idle
Mem: 39M Active, 311M Inact, 132M Wired, 20K Cache, 84M Buf, 246M Free
Swap: 453M Total, 453M Free

  PID USERNAME  THR PRI NICE   SIZERES STATETIME   WCPU COMMAND
  714 root1  960  3036K  2744K select  14:22  2.78% bsnmpd
17259 root1  960  7268K  5664K select   7:54  0.00% mpd
  287 root1  960  3044K  2584K select   4:31  0.00% natd
  482 bind1  960 20224K 19280K select   2:36  0.00% named
55185 root1  960  3772K  2456K select   0:36  0.00% nmbd
  473 root1  960  1352K   880K select   0:24  0.00% syslogd
  574 root1  960  3052K  1764K select   0:08  0.00% ntpd
  636 dhcpd   1  960  3028K  2656K select   0:06  0.00% dhcpd


Is there a change to trace the problem to its source?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


"The Complete FreeBSD": errata and addenda

2006-02-24 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

"The Complete FreeBSD" has been through a total of five editions, including its
predecessor "Installing and Running FreeBSD".  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Have you found a problem with the book, or maybe something confusing?  Please
let me know: I'm constantly updating it.

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


How to get best results from FreeBSD-questions

2006-02-24 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the "newcomers"), and also those who answer the
questions (the "hackers").

   Note that the term "hacker" has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is "cracker", but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for "[EMAIL PROTECTED]").  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send "how to" questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  Fr

Re: no usb detection during load

2006-02-24 Thread Peter de Rooij
On 24 Feb 2006 09:26:10 -0500, Lowell Gilbert
<[EMAIL PROTECTED]> wrote:
> Peter de Rooij <[EMAIL PROTECTED]> writes:
>
> > Well, very little.  FreeBSD 6.0 GENERIC does not detect my USB mouse
> > or printer at boot.  It did not recognize a USB thumb drive either
> > until I added the thing to /etc/fstab.  Everything works fine if I
> > plug it in after boot.  (A bit inconvenient for the mouse...)
> >
> > How do I force detection at boot?
> > I already added usbd_load="YES" and ums_load="YES" to loader.conf,
> > with no effect.
> >
> > dmesg attached.
> > Note the detection of ums0 after completion of boot -- that's when I
> > plug it in after logging in.
>
> Hmm.  Strange.  Does usbdevs(8) show it before kernel detection?  [I
> doubt it, but without being able to reproduce it myself, I'm kind of
> grasping at straws...]
>
No, doing usbdevs in a shell (is that what you meant?) doesn't show
anything either.  (It does, of course after re-insertion.)

More symptoms:
- the detection of the usb drive after adding to fstab was a fluke. 
The next few boots it was missing again...
- I have seen the usb mouse and printer appear at boot twice now; each
time after changing boot parameters (boot verbose, boot with ACPI). 
The usb key appear every time(?)
- when the usb mouse is not found there is a 30sec delay after
detecting the keyboard and before the message about failure to
allocate an IRQ for psm0 (no surprise, there's nothing there.)

I am now reinstalling from scratch (not that far back:-)

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


RE: setting up french keyboard

2006-02-24 Thread Me
sorry, test

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


why does strftime not respect my locale settings?

2006-02-24 Thread Fritz Heinrichmeyer
here is what locale says:
LANG=de_DE.ISO8859-15
LC_CTYPE="de_DE.ISO8859-15"
LC_COLLATE="de_DE.ISO8859-15"
LC_TIME="de_DE.ISO8859-15"
LC_NUMERIC="de_DE.ISO8859-15"
LC_MONETARY="de_DE.ISO8859-15"
LC_MESSAGES="de_DE.ISO8859-15"
LC_ALL=de_DE.ISO8859-15

but today

strftime(buffer, 1000, "%d %A %B", localtime(&timev));

delivers

24 Friday February

setlocale(LC_TIME, "de_DE.ISO8859-15");
strftime(buffer, 1000, "%d %A %B", localtime(&timev));
delivers

24 Freitag Februar

how can i change strftime without setting locale explicitly?

-- 
Fritz Heinrichmeyer FernUniversitaet, LG ES, 58084 Hagen (Germany)
tel:+49 2331/987-1166 fax:987-355
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ATAPICAM?

2006-02-24 Thread Chris Maness

Kris Kennaway wrote:

On Fri, Feb 24, 2006 at 06:49:34AM -0800, Chris Maness wrote:
  

Kris Kennaway wrote:


On Thu, Feb 23, 2006 at 10:06:22PM -0800, Chris Maness wrote:
 
  
How do I load atapicam at boot time?  I can load it with no problems 
after the system has started, but I if I ad the line atapicam_load="YES" 
in /*boot*/loader.conf, the kernel turns to fried chicken at boot time.  
   


"Fried chicken" isn't a technical term I'm familiar with ;-)

Kris
 
  

And the kernel himself holding the heart of the FreeBSD operating system.



You can either make funny jokes or you can describe your problem
better so that someone can help you :-)

Kris

  
OK, seriously, when I added the module at boot time through the fore 
mentioned method the system hung just after it detected the ata hard drives.

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


Rails port problems

2006-02-24 Thread Bart Braem
I've installed Rails following the instructions on
 but I did
use fcgid instead of fastcgi.
Then I installed Typo from the ports and edited dispatch.fcgi to use the
right ruby (env ruby does not work) and .htaccess to use the right CGI
handler.
The result is that when surfing to /typo/public I don't get anything. The
Apache error logs reveal problems:

[Fri Feb 24 17:09:33 2006] [notice] mod_fcgid:
server /usr/local/www/typo/public/dispatch.fcgi(43675) started
[Fri Feb 24 17:09:37 2006] [notice] child pid 43670 exit signal Segmentation
fault (11)
[Fri Feb 24 17:09:38 2006] [notice] child pid 43672 exit signal Segmentation
fault (11)
[Fri Feb 24 17:09:38 2006] [notice] child pid 43671 exit signal Segmentation
fault (11)
[Fri Feb 24 17:09:39 2006] [notice] child pid 43674 exit signal Segmentation
fault (11)
[Fri Feb 24 17:09:39 2006] [notice] child pid 43673 exit signal Segmentation
fault (11)

Does anyone have a clue on how to do this? I'm sure other people are running
FreeBSD/Apache/FastCgi/Rails so how do they do that?

Bart

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


Re: server problem

2006-02-24 Thread Lowell Gilbert
"Jack williams" <[EMAIL PROTECTED]> writes:

> I was wondering if you could help me with a problem a few months ago i start 
> using free bsd on a computer then used it to web serve, this worked fine when 
> i set it up. after a few months my IP address change as it is dynamic after 
> this i could still use ftp from elsewhere but no one could access my pages. 
> could you help me with this?

Probably.  How do people try to access your pages?  Are they using an
outdated DNS name?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Haven't been able to make world in about a year

2006-02-24 Thread Chuck Swiger
Kristian Vaaf wrote:
[ ... ]
>>> I've tried over and over again. And sent about a
>>> dozen e-mails to this list.
>>>
>>> http://www.home.no/hedhnta/result.txt

That URL doesn't work:

4-sec% fetch -v http://www.home.no/hedhnta/result.txt
looking up www.home.no
connecting to www.home.no:80
requesting http://www.home.no/hedhnta/result.txt

404 Not Found

Not Found
The requested URL /hedhnta/result.txt was not found on this server.

[ ... ]
> The point is I've been having this problem for so long,
> and none of the developers are willing to help me.

Most people who ask questions on the FreeBSD list get helpful responses quickly,
but we aren't telepathic: if you don't provide enough information for others to
help you, well, in that case you're going to have to solve the problems 
yourself.

> This is one of the reason I think, why most people these
> days seem to go (back) to DragonflyBSD.
> 
> I certainly am going to.

Whatever you like, dude.  Have fun,

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


Re: FreeBSD on Sun Fire V20Z

2006-02-24 Thread Paul Schmehl
--On Friday, February 24, 2006 06:36:58 + Deepak Naidu 
<[EMAIL PROTECTED]> wrote:



Paul, I have FreeBSD 5.4 running on Sun Fire v20, no issues when
installing...

I havent tried FreeBSD 6.0, should not give issue, ensure ur booting from
the first CD(I know u may b wright incase...)

You may try FreeBSD 5.4 if it works you can come know why not with 6.0..

The problem with booting from the 6.0 ISO was an ID 10 T problem.  I forgot 
to include the command "fixate" when burning the CD.


It works fine now.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Haven't been able to make world in about a year

2006-02-24 Thread Giorgos Keramidas
On 2006-02-24 16:45, Kristian Vaaf <[EMAIL PROTECTED]> wrote:
>At 19:47 21.02.2006, Kris Anderson wrote:
>>--- Kristian Vaaf <[EMAIL PROTECTED]> wrote:
>>>
>>> Hello!
>>>
>>> I don't know what's wrong. But all my makes error out.  I've tried
>>> over and over again. And sent about a dozen e-mails to this list.
>>>
>>> http://www.home.no/hedhnta/result.txt
>>>
>>> When doing:
>>>
>>> cvsup -g -L 2 /etc/cvsupfile

Kristian, you would have to show us your cvsupfile.  It's possible that
you are missing some of the sources, so the source tree you download is
not exactly buildable.

>>> And then running:
>>>
>>> cd /usr/src \
>>> && make buildworld \
>>> && make buildkernel KERNCONF=ARBA \
>>> && make installkernel KERNCONF=ARBA \
>>> && make installworld \
>>> && mergemaster \
>>> && make clean \
>>> && rm -rf /usr/obj/*
>>>
>>> This is how it's done, no?

Not quite.

>> Sort of done like that. Looking at the FreeBSD handbook it says:
>>
>>make buildworld
>>make buildkernel KERNCONF=ARBA
>>make installkernel KERNCONF=ARBA
>>reboot
>>
>> Note: There are a few rare cases when an extra run of mergemaster -p
>> is needed before the buildworld step. These are described in
>> UPDATING. In general, though, you can safely omit this step if you
>> are not updating across one or more major FreeBSD versions.

This is also suggested in /usr/src/UPDATING.

> The point is I've been having this problem for so long, and none of
> the developers are willing to help me.

Patience, please.  It's not the end of the world.  There is a sane,
logical explanation why you can't build the system.  We just have to
find it :)

> This is one of the reason I think, why most people these days seem to
> go (back) to DragonflyBSD.

This is very uncalled for.  If you really want help, then please spare
us the (in my opinion) unsupported, unwarranted rhetoric about why
FreeBSD is not for you.  The helpful people of this list don't deserve
this, and you don't deserve the flames such inflammatory material can
start.

> I certainly am going to.

Ultimately, this is your choise to make, of course.  We can't force to
use something that you don't like.

Before that happens, I'd like to see at least the following though:

- Your cvsupfile

- The error messages you get.  The URL in the previous paragraphs
  that is supposed to show the errors, is not fetchable:

  $ cd /tmp
  $ fetch http://www.home.no/hedhnta/result.txt
  fetch: http://www.home.no/hedhnta/result.txt: Not Found
  $

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


Re: 10 years of "The Complete FreeBSD"

2006-02-24 Thread Mike Jeays
On Fri, 2006-02-24 at 16:50 +1030, Greg 'groggy' Lehey wrote:
> On Thursday, 23 February 2006 at 23:44:30 -0500, David Stanford wrote:
> > On 2/23/06, Greg 'groggy' Lehey <[EMAIL PROTECTED]> wrote:
> >>
> >> Ten years ago today, on 24 February 1996, I submitted for publication
> >> the final version of the first ever book on FreeBSD, "Installing and
> >> Using FreeBSD".  It was later renamed to "The Complete FreeBSD".
> >>
> >> I have always retained full rights to the book, and for today I've
> >> decided to release it for download under the Creative Commons
> >> license.  See more at http://www.lemis.com/grog/Documentation/CFBSD/.
> >
> > Greg,
> >
> > All I can think to say is thanks!
> 
> You (and everybody else) are welcome.
> 
> > I purchased this book nearly a year ago shortly after I began using
> > FreeBSD and it has been an invaluable resource ever since. Now that
> > you have made it publicly available, maybe the FreeBSD project could
> > find a way to merge some of your book in with their own handbook
> 
> That's happened already, as you can easily see by comparing
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum-vinum.html
> with chapter 12 of the book.  The FreeBSD documentation project know
> they can rely on me to contribute documentation where it makes sense.
> 
> > or at least link it on FreeBSD.org for newbies like myself to easily
> > find :).
> 
> That's probably a good idea.  Can somebody from the doc project
> comment?
> 
> Greg
> --
> When replying to this message, please copy the original recipients.
> If you don't, I may ignore the reply or reply to the original recipients.
> For more information, see http://www.lemis.com/questions.html
> See complete headers for address and phone numbers.

Here is one more vote of thanks for a very generous contribution to the
community!  My copy is getting quite dog-eared too, and it will be great
to have a machine-readable version.
-- 
Mike Jeays
http://ca.geocities.com/[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: Ports/packages confusion

2006-02-24 Thread Lowell Gilbert
Chandan Haldar <[EMAIL PROTECTED]> writes:

> Will someone please point me to an explanation for why the packages in
> my install sets (that I chose at the time of installation of my
> FreeBSD 6.0 Release), for example the X11R6 packages, do not show up
> in the installed packages list (pkg_info or pkg_version)?

That's not supposed to be the case.  I certainly haven't seen it.

>What will
> happen to the installed Xorg set if I try to upgrade to a newer Xorg
> rel through the ports/packages system?

You may need to "force" it. (-f)

> May be this would explain to me how (while trying to upgrade my
> installed ports including gnome 2.10->2,12 upgrade) I managed to mess
> up my working gnome 2.10 installation (done from the ISO disk images
> at FreeBSD install time) so badly that I'm finding it impossible to
> recover from that.

Well, since you missed gnome_upgrade.sh the first time, you're left
with quite a mess.  Forcibly removing all the X-related packages,
wiping out the detritis left /usr/X11, and reinstalling gnome would be
my approach, but I don't mind leaving the machine alone for a long
time while it grinds through the install.

> The mysteries of pkgdb -F also needs way more
> effort than I have been able to give so far.  It shows stale
> dependnecies right after portsnap fetch/extract even before pkg_info
> shows any packages installed.  Why?!  Where can I read a precise
> definition of 'stale dependency' as understood by the ports management
> programs?

That's just an unavoidable result of the fact that the ports database
has no idea where your X installation came from.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Haven't been able to make world in about a year

2006-02-24 Thread Kristian Vaaf

At 19:47 21.02.2006, Kris Anderson wrote:



--- Kristian Vaaf <[EMAIL PROTECTED]> wrote:

>
> Hello!
>
> I don't know what's wrong. But all my makes error
> out.
> I've tried over and over again. And sent about a
> dozen e-mails to this list.
>
> http://www.home.no/hedhnta/result.txt
>
> When doing:
>
> cvsup -g -L 2 /etc/cvsupfile
>
> And then running:
>
> cd /usr/src \
> && make buildworld \
> && make buildkernel KERNCONF=ARBA \
> && make installkernel KERNCONF=ARBA \
> && make installworld \
> && mergemaster \
> && make clean \
> && rm -rf /usr/obj/*
>
> This is how it's done, no?
Sort of done like that. Looking at the FreeBSD
handbook it says:
 make buildworld
 make buildkernel KERNCONF=ARBA
 make installkernel KERNCONF=ARBA
 reboot

Note: There are a few rare cases when an extra run
of mergemaster -p is needed before the buildworld
step. These are described in UPDATING. In general,
though, you can safely omit this step if you are not
updating across one or more major FreeBSD versions.

After installkernel finishes successfully, you should
boot in single user mode (i.e. using boot -s from the
loader prompt). Then run:

 mergemaster -p
 make installworld
 mergemaster
 reboot
> Please help me.
>
> Thanks,
> Vaaf
Hope that helps.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


The point is I've been having this problem for so long,
and none of the developers are willing to help me.

This is one of the reason I think, why most people these
days seem to go (back) to DragonflyBSD.

I certainly am going to.

Vaaf

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


RE: gam_server driving me nuts

2006-02-24 Thread Zalander Drakos

> During a ports upgrade fam was replaced by gamin.  Now my >power supply fan
 >keeps turning up and down.  This is causing a lot of noise and
is >very
 >annoying.  I can't seem to kill the thing either; damn thing
r>espawns. 
 >What are other people doing?


 Remove fam by force and then install gamin.

 What is wrong with running 'pkgdb -F' ?  It is there to help
you.  Run it
 and tell it to change all fam dependencies to gamin.

 Are you going to stop crying now?
-
Free POP3 Email from www.Gawab.com 
Sign up NOW and get your account @gawab.com!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: setting up french keyboard

2006-02-24 Thread Peter

--- "Webster, Andrew" <[EMAIL PROTECTED]> wrote:

> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> > [EMAIL PROTECTED] On Behalf Of Peter
> > Sent: Thursday, February 23, 2006 22:19
> > To: freebsd-questions
> > Subject: setting up french keyboard
> > 
> > Hi.  Does anyone know how I can set up my 5.4 system to output French
> > characters?  If so, how?
> 
> You can set the LANG environment variable.  For example setting it to
> fr_CA.ISO8859-1 will produce French Canadian error messages with
> ISO8859-1 characters.
> You can see all the available locales with 'locale -a' command.
> You might need to change the screen fonts for other languages, but the
> default ISO8859-1 set works fine.  
> Only programs that are locale aware will actually output French, others
> will continue to output English.

Well I changed the LANG variable and my keyboard still outputs English. 
Ideally I would like to toggle between an English keyboard and a French
one.  I got one suggestion to use the kbdcontrol command but that too does
has no effect.  Although when I tried the equivalent method of setting it
up in /etc/rc.conf via the keymap variable and rebooted, the console
(before startx) was affected (the key bindings were still wrong) but when
I entered X-windows I was back to where I started.

--
Peter






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 10 years of "The Complete FreeBSD"

2006-02-24 Thread Rob
>Ten years ago today, on 24 February 1996, I submitted for publication
>the final version of the first ever book on FreeBSD, "Installing and
>Using FreeBSD".  It was later renamed to "The Complete FreeBSD".

>I have always retained full rights to the book, and for today I've
>decided to release it for download under the Creative Commons
>license.  See more at http://www.lemis.com/grog/Documentation/CFBSD/.

>Greg

Despite using FreeBSD off and on for quite a while, I always end up clueless
about something.  Between the mailings lists and that book I usually can figure
out what to do.  Thanks.

Rob.

-- 

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


RE: setting up french keyboard

2006-02-24 Thread Webster, Andrew
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Peter
> Sent: Thursday, February 23, 2006 22:19
> To: freebsd-questions
> Subject: setting up french keyboard
> 
> Hi.  Does anyone know how I can set up my 5.4 system to output French
> characters?  If so, how?

You can set the LANG environment variable.  For example setting it to
fr_CA.ISO8859-1 will produce French Canadian error messages with
ISO8859-1 characters.
You can see all the available locales with 'locale -a' command.
You might need to change the screen fonts for other languages, but the
default ISO8859-1 set works fine.  
Only programs that are locale aware will actually output French, others
will continue to output English.


--
Andrew


> 
> --
> Peter
> 
> 
> 
> 
> 
> 
> __
> Find your next car at http://autos.yahoo.ca
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> [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: New Computer System

2006-02-24 Thread Jerry McAllister
> 
> On 2006-02-24 00:56, Robert Huff <[EMAIL PROTECTED]> wrote:
> > Jerry McAllister writes:
> >>  For those reasons, I generally make the following partitions.
> >>
> >>  partition  Mount size  comments
> >>a =  / (root)  128MB
> >
> > May I ask what OS version you're running?  Because on my -CURRENT
> > system:
> >
> > huff@>> du /boot | sort -nr
> > 151838  /boot
> > 66596   /boot/kernel.old
> > 66526   /boot/kernel
> > 17810   /boot/kernel.generic
> > 20  /boot/defaults
> > 2   /boot/modules
> > 2   /boot/firmware
> 

On my machine running FreeBSD 6.0  df -k  shows this: 

> # df -k /
> Filesystem1K-blocks  Used   Avail  Capacity  Mounted on
> /dev/da0s4a12670256206  6036048%  /
> #

Doing a 'du /boot' gets me:
   18   /boot/defaults
   43026/boot/kernel
   2/boot/modules
   43614/boot

This is for a machine to use and not tinker with so it does not
have extra kernels and such sitting around. 

Remember also that /tmp is its own partition and doesn't use any space 
in root and /var and /usr are all in their own partitions and not 
taking up space in root.

> CURRENT usually has larger binaries, because of all the extra debugging
> information that is customarily enabled in the kernel.  

Good point.

>On an amd64
> system here, the root partition uses even more disk space:
> 
> # df -m /
> Filesystem  1M-blocks  Used Avail Capacity  Mounted on
> /dev/ad0s2a  1583   285  117120%/
> #
> 
> > Su unless I'm doing sonething that causes bloat, 128mb will be
> > woefully inadwquate.
> 
> Possibly.  I'd certainly go for a larger root partition than 128 MB, but
> Jerry has done a great work outlining his partition scheme and why he
> choose those sizes.  

Thanks for the positive comment.

True, if I was using that machine for development work, I would probably
increase both root and /usr by at least 50% if not more or else move
that /usr/src as well as /usr/ports over to the big /home or /work
file systems (which I do on another development machine, but it is
running an ancient 4.xxx FreeBSD at the moment :( ).

>   The general idea here is that there isn't an easy
> way to find the One True Partitioning Scheme(TM) -- one that will match
> everyone's needs for now and all eternity.

That is for sure.   Running services for many users or many virtual
hosts or a number of jails or doing development or a huge database or 
mainly playing games or many other things all make big differences in 
how you divide your disk as well as what 3rd party software you install.

jerry

> The original poster should spend some time thinking about what the
> system will be used for.  Then the mechanics of using fdisk(8) and
> disklabel(8) or bsdlabel(8) are an eays thing to explain :)
> 
> ___
> 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: arp: XXX is on rl0 but got reply from ...

2006-02-24 Thread Lowell Gilbert
Andrei Iarus <[EMAIL PROTECTED]> writes:

> I have read a lot about this error message, but I have another
> questions: What actually happens when this error occures? I mean what
> can this error lead to? Is it enough to switch the specific sysctl
> variable to stop the error (and all it can lead to)?  I dont think so,
> then: Is the blocking of some of those packets the best solution to
> this problem? (In my case, the problem is because the 2 NICs are
> connected to the same network through the same switch).

Turn off one of these NICs; there's not real reason to do that
anyway. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gam_server driving me nuts

2006-02-24 Thread Lowell Gilbert
Peter <[EMAIL PROTECTED]> writes:

> During a ports upgrade fam was replaced by gamin.  Now my power supply fan
> keeps turning up and down.  This is causing a lot of noise and is very
> annoying.  I can't seem to kill the thing either; damn thing respawns. 
> What are other people doing?

These facts seem very unlikely to be related...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: virtual memory exhausted: Cannot allocate memory

2006-02-24 Thread Lowell Gilbert
"Ken Williams" <[EMAIL PROTECTED]> writes:

> Hi FreeBSD folks,
> 
>I'm having trouble compiling the java/jdk15 package.  I've
> downloaded the files from Sun and eyesbeyond, as per usual. When I go
> to the jdk15 directory and do 'make' the compilation starts and runs
> for an hour or two and then grinds to a halt with the following error
> message;
> --
> gmake[3]: Leaving directory
> `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
> gmake[3]: Entering directory
> `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
> Compiling ../generated/adfiles/ad_i486.cpp
> virtual memory exhausted: Cannot allocate memory
> gmake[3]: *** [ad_i486.o] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
> gmake[2]: *** [the_vm] Error 2
> gmake[2]: Leaving directory
> `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
> gmake[1]: *** [jvmg] Error 2
> gmake[1]: Leaving directory
> `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp'
> gmake: *** [jvmg] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/java/jdk15.
> --
> 
>The PC I'm using has a 2.3GHz Pentium, with 128MB memory and 70GB
> free disk space
> running FreeBSD-6.1PRERELEASE. Interestingly, when I run 'make' and do
> 'top' the compilation process steadily grows to 128MB in size and then
> stays at that size until it grinds to a halt.
> 
>   I was under the impression that FreeBSD imposed a default maximum
> process size of 512MB, maybe that's changed or I was wrong (anyone
> ??). After Googling, I found that the way to increase the maximum
> process size was to add the following entries to /boot/loader.conf and
> reboot;
> 
> root$ more /boot/loader.conf
> kern.maxdsiz="1073741824" # 1GB
> kern.dfldsiz="1073741824" # 1GB
> kern.maxssiz="134217728" # 128MB
> 
>   I did this and tried compiling jdk15 again but it made no difference.
> 
>   So I had the idea that another way to increase the amount of virtual
> memory available is to increase the amount of swap memory available
> (correct ??) which I did (to 1GB) as described in the Handbook here
> (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/adding-swap-space.html).
> This I did, and when I do 'top' it shows up as available swap memory
> but when I tried compiling jdk15 again it also made no difference.
> 
>   I've also checked my resource limits (ulimit) but they look
> reasonable to me;
> 
> root$ ulimit -SHacdflmnpstuv
> core file size(blocks, -c) unlimited
> data seg size (kbytes, -d) 524288
> file size (blocks, -f) unlimited
> max locked memory (kbytes, -l) unlimited
> max memory size   (kbytes, -m) unlimited
> open files(-n) 1735
> pipe size  (512 bytes, -p) 1
> stack size(kbytes, -s) 65536
> cpu time (seconds, -t) unlimited
> max user processes(-u) 867
> virtual memory(kbytes, -v) unlimited
> 
> 
>For info, I also have java/linux-sun-jdk14 installed with linprocfs
> mounted (to bootstrap the jdk15 installation) but I don't think this
> is related to my problem.
> 
>   I'm at a bit of a loss what to do next. Do I need to buy some more
> memory for my PC (just to compile jdk15) or is there anything else I
> can try or change in FreeBSD which may help me ?

Do you have swap space?  Does it fill up?  Do you have the same
problem with the 1.4 jdk?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: no usb detection during load

2006-02-24 Thread Lowell Gilbert
Peter de Rooij <[EMAIL PROTECTED]> writes:

> Well, very little.  FreeBSD 6.0 GENERIC does not detect my USB mouse
> or printer at boot.  It did not recognize a USB thumb drive either
> until I added the thing to /etc/fstab.  Everything works fine if I
> plug it in after boot.  (A bit inconvenient for the mouse...)
> 
> How do I force detection at boot?
> I already added usbd_load="YES" and ums_load="YES" to loader.conf,
> with no effect.
> 
> dmesg attached.
> Note the detection of ums0 after completion of boot -- that's when I
> plug it in after logging in.

Hmm.  Strange.  Does usbdevs(8) show it before kernel detection?  [I
doubt it, but without being able to reproduce it myself, I'm kind of
grasping at straws...]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >