Antw: Re: gdm2/gdmgreeter crashes upon start

2004-04-22 Thread Chris Delnooz

> >Checking the messages log, I see the following warnings:
> >
> >Apr 21 17:27:13 morreion gdmgreeter[541]: greeter_parse_config: No
> >configuration file: /usr/X11R6/etc/gdm/gdm.conf. Using defaults.
> >Apr 21 17:27:51 morreion gdmgreeter[567]: greeter_parse_config: No
> >configuration file: /usr/X11R6/etc/gdm/gdm.conf. Using defaults.
> >
> >These confuse me because gdm.conf is exactly at the specified location
> >and it's world readable so gdm should have no problem at all reading the
> >file.
> Is that a file from a previous version of gdm?
> Maybe the syntax has changed, and the error message is just\
> misleading.
> 
> The gdm package/ port comes with a sample ...
> 
> >pkg_info -L gdm2-2.6.0.0_1 | grep gdm.conf
> /usr/X11R6/etc/gdm/factory-gdm.conf
> 
> which you could copy in to place and see if that works better.

it can't be an old version because i did a fresh install on this machine. I diffed the 
factory-gdm.conf with gdm.conf, no difference; I copied factory-gdm.conf to gdm.conf 
anyway, but i get the same results.

Any help on how to tackle this is appreciated
Regards
Chris

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


trunking

2004-04-22 Thread Frank Bonnet
Hi

I have two HP/COMPAQ Proliant 360 that have
two 10/100/1000 Broadcom ethernet interfaces.
I would like to trunk the two interfaces to
an Extreme Networks Summit 5i that support
trunking. Is it possible to trunk the interfaces
with FreeBSD ( 4.9-R ) ?
Thanks
--
Cordialement,
Frank Bonnet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Moving to apache2

2004-04-22 Thread Dick Davies
* Chiang Seng Chang <[EMAIL PROTECTED]> [0414 06:14]:
> hi,
> 
> I am also interested in installing apache2, php4 and subversion.
> 
> Currently using FreeBSD 5.2.1 (from Debian).
> 
> Will
> 
> 1. portinstall www/apache2
> 2. portinstall www/php4
> 3. portinstall devel/subversion
> 
> be sufficient ?  or do I need some make defines/switches ?

I don't use FreeBSD! I'm only here because I want to get a diskless freebsd
box booting.

But I think if you install subversion it will pull in apache2 as a dependency,
and php4 should use whatever apache is there (as it works on both). 

-- 
Real Programmers don't write in PL/I.  PL/I is for programmers who
can't decide whether to write in COBOL or FORTRAN.
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


burncd question

2004-04-22 Thread list

Greetings all,
I have used the burncd tool many a time to burn audio cd's from wav's,
however recently I have been having problems.

I have recorded some wav files using audio/audacity. A nice lil
multitrack editor. All I want to do is burn them to cd. So if I do this
(as I always have):

burncd -s max audio file.wav fixate

It does indeed burn a cd. But the audio is much faster than it should be.
Why is this? I have tryed this on two machines running
freebsd-5.2-release and they both have the same output. My wav is 32 bit
at a sample rate of 44100. I have also tryed converting to a 16 bit wav,
but the outcome is the same. Is there something I have overlooked?

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


broken pkgdb

2004-04-22 Thread David Moler
Greetings all,

I hope someone might be able to help me out.
My computer crashed while I was doing a portupgrade
-arR.  It seems that the +CONTENTS file was lost for
100 installed packages.  Following advice from various
mailing lists, I've tried rebuilding the pkgdb with
pkgdb -Fu (didn't fix problem) and creating empty
+CONTENTS files where they were deleted and rebuilding
with pkgdb -Fu (pkg_info runs okay, but pkg_version
reports each package "does not appear to be a valid
package!").  Others suggested deleting and
reinstalling the invalid packages, but I'm reluctant
to do this for 100 packages.  Is there any other way?

Thanks for your help.
David




__
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: IMAP server and client recommendations?

2004-04-22 Thread Frank Bonnet
Danny MacMillan a écrit :

Is it feasible to use the IMAP server as a mail storage solution like 
this?  Can anyone recommend a good IMAP server (for FreeBSD of course) 
and give me some tips on considerations for choosing one?  I blush to 
say it, but I've never even had an IMAP account.

Thanks in advance.

Hello Danny

I administer the mailhub of our site (http://www.esiee.fr)
we use UW imap server for all of our 2500 users.
We are an engineers school in electronics and have about
2000 students that use different machines/OS inside the school.
The machine is a COMPAQ Proliant 360 with 2.5 Gb RAM
and _a lot_ of disk space.
The main advantage of imap is the emails stay on the server
and every user can access its mailboxes from anywhere and
find the same "environnement" when accessing from different
machines.
The main problem is disk space if you have many users
but thoses days harddisks are cheap.
Also think to a method to bachup mailboxes.

We also use an old webmail that access emails thru IMAP.

Speaking about formats mbox or maildir

For historical reasons we use mbox but if I have to
build a new Imap server I think I'll choose maildir
which is slower to access but more safe "one file per email"
this is of course a personnal thought.
Hope this helps
--
Cordialement,
Frank Bonnet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problems building simple custom Kernel

2004-04-22 Thread Lamb, Andrew
Hi all,

I'm trying to build a custom kernel for my compaq DPENS 450
PC. I can build the GENERIC kernel OK but when i try my own
it always crashes with the same errors (bellow). Love some
input.
Thanks in advance for you help.

Andy

***snip
cc  -shared -nostdlib hack.c -o hack.So
rm -f hack.c
sh /usr/src/sys/conf/newvers.sh MYKERNEL
cc -c -O -pipe -march=pentium3 -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual  -fformat-extensions
-std=c99  -nostdinc -I-  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/dev/acpica
-I/usr/src/sys/contrib/ipfilter
-I/usr/src/sys/contrib/dev/ath
-I/usr/src/sys/contrib/dev/ath/freebsd
-I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h
-fno-common -finline-limit=15000 -fno-strict-aliasing 
-mno-align-long-strings -mpreferred-stack-boundary=2
-ffreestanding -Werror  vers.c
linking kernel
umass.o: In function `umass_cam_attach_sim':
umass.o(.text+0x17f3): undefined reference to
`cam_simq_alloc'
umass.o(.text+0x1844): undefined reference to
`cam_sim_alloc'
umass.o(.text+0x1853): undefined reference to
`cam_simq_free'
umass.o(.text+0x1875): undefined reference to
`xpt_bus_register'
umass.o: In function `umass_cam_rescan_callback':
umass.o(.text+0x18a3): undefined reference to
`xpt_free_path'
umass.o: In function `umass_cam_rescan':
umass.o(.text+0x1918): undefined reference to `xpt_periph'
umass.o(.text+0x1927): undefined reference to
`xpt_create_path'
umass.o(.text+0x1943): undefined reference to
`xpt_setup_ccb'
umass.o(.text+0x1960): undefined reference to `xpt_action'
umass.o: In function `umass_cam_detach_sim':
umass.o(.text+0x1a6c): undefined reference to
`xpt_bus_deregister'
umass.o(.text+0x1a88): undefined reference to `cam_sim_free'
umass.o: In function `umass_cam_action':
umass.o(.text+0x1e6c): undefined reference to
`cam_calc_geometry'
umass.o(.text+0x1e7d): undefined reference to `xpt_done'
umass.o: In function `umass_cam_cb':
umass.o(.text+0x1feb): undefined reference to `xpt_done'
umass.o: In function `umass_cam_sense_cb':
umass.o(.text+0x2154): undefined reference to `xpt_done'
umass.o: In function `umass_cam_quirk_cb':
umass.o(.text+0x218b): undefined reference to `xpt_done'
*** Error code 1

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

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

Stop in /usr/src.
emi-ho--01063#

**CUSTOM KERNEL***
#
# GENERIC -- Generic kernel configuration file for
FreeBSD/i386
#
# For more information on this file, please read the
handbook section on
# Kernel Configuration Files:
#
#   
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-confi
g.html
#
# The handbook is also available locally in
/usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always
see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/)
for the
# latest information.
#
# An exhaustive list of options and more detailed
explanations of the
# device lines is also present in the ../../conf/NOTES and
NOTES files.
# If you are in doubt as to the purpose or necessity of a
line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.394.2.3 2004/01/26
19:42:11 nectar Exp $

machine i386
cpu I686_CPU
ident   MYKERNEL

#To statically compile in device wiring instead of
/boot/device.hints
#hints  "GENERIC.hints" #Default places to look for
devices.

#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug
symbols

options SCHED_4BSD  #4BSD scheduler
options INET#InterNETworking
options INET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options SOFTUPDATES #Enable FFS soft updates support
options UFS_ACL #Support for access control lists
options MD_ROOT #MD is a potential root device
options NFSCLIENT   #Network Filesystem Client
options NFSSERVER   #Network Filesystem Server
options NFS_ROOT#NFS usable as /, requires NFSCLIENT
options CD9660  #ISO 9660 Filesystem
options PROCFS  #Process filesystem (requires
PSEUDOFS)
options PSEUDOFS#Pseudo-filesystem framework
options COMPAT_43   #Compatible with BSD 4.3 [KEEP
THIS!]
options COMPAT_FREEBSD4 #Compatible with FreeBSD4
options SCSI_DELAY=15000#Delay (in ms) before probing SCSI
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B
real-time extensions
options KBD_INSTALL_CDEV   

OpenSSL/0.9.7c-p1 & OpenSSH_3.5p1

2004-04-22 Thread Pelle Andersson
Hi!

How can I the easiest way update/upgrade OpenSSL & OpenSSH on a FreeBSD 4.9
machine?

I saw on the net that they where part of the "base system" and therefore I
can't
use portupgrade or "make deinstall/make reinstall"

I thought they where updated when running 'make world'?

Now I am using:
>> OpenSSL 0.9.7c-p1 30 Sep 2003
>> OpenSSH_3.5p1 FreeBSD-20030924

uname -a:

FreeBSD frodo.domain.xyz 4.9-RELEASE-p5 FreeBSD 4.9-RELEASE-p5 #2: Wed Apr
21 10:21:22 CEST 2004
@frodo.domain.xyz:/usr/obj/usr/src/sys/FIBOPTIMIZED  i386

TIA //Pelle


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


Re: burncd question

2004-04-22 Thread Marc Fonvieille
On Thu, Apr 22, 2004 at 08:40:50AM +0100, [EMAIL PROTECTED] wrote:
> 
> Greetings all,
> I have used the burncd tool many a time to burn audio cd's from wav's,
> however recently I have been having problems.
> 
> I have recorded some wav files using audio/audacity. A nice lil
> multitrack editor. All I want to do is burn them to cd. So if I do this
> (as I always have):
> 
> burncd -s max audio file.wav fixate
> 
> It does indeed burn a cd. But the audio is much faster than it should be.
> Why is this? I have tryed this on two machines running
> freebsd-5.2-release and they both have the same output. My wav is 32 bit
> at a sample rate of 44100. I have also tryed converting to a 16 bit wav,
> but the outcome is the same. Is there something I have overlooked?
>

burncd supports "raw PCM", the wav header should be a cause of problem.
Try the command given at bottom of 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-mp3.html
this should "normalize" your audio file.

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


routed(8)

2004-04-22 Thread Richard P. Williamson
Is it possible to have routed(8) ignore certain ethernet interfaces.

For example, on a device with fxp[0-3], I only need routed to 
interact with fxp[0-1], and to ignore the existence of fxp[2-3].

TIA,
rip

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


FireFox trouble...

2004-04-22 Thread Andrew N. Below
  Hello.

  I have freebsd workbox:

[12:[EMAIL PROTECTED]:~ uname -a
FreeBSD defanw 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #1: Wed Mar  3 06:26:54
MSK 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DEFWORK  i386

with installed FireFox (from ports):

[12:[EMAIL PROTECTED]:~ pkg_info | grep firefox
firefox-0.8_5   Web browser based on the browser portion of Mozilla

  When I run firebox, it prints the following string and no more
appears:

firefox-bin in realloc(): error: allocation failed

But firebox-bin process is active:

 PID USERNAME PRI NICE   SIZERES STATETIME   WCPUCPU COMMAND
45655 defan 960 28440K 18536K select   0:00  1.57%  0.83%
firefox-bin

 Firebox was installed from fresh cvsup'ed ports.

  I have no idea how to make it work. :(

--
Andrew.

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


Re: OpenSSL/0.9.7c-p1 & OpenSSH_3.5p1

2004-04-22 Thread Matthew Seaman
On Thu, Apr 22, 2004 at 10:27:10AM +0200, Pelle Andersson wrote:
> Hi!
> 
> How can I the easiest way update/upgrade OpenSSL & OpenSSH on a FreeBSD 4.9
> machine?
> 
> I saw on the net that they where part of the "base system" and therefore I
> can't
> use portupgrade or "make deinstall/make reinstall"
> 
> I thought they where updated when running 'make world'?
> 
> Now I am using:
> >> OpenSSL 0.9.7c-p1 30 Sep 2003
> >> OpenSSH_3.5p1 FreeBSD-20030924
> 
> uname -a:
> 
> FreeBSD frodo.domain.xyz 4.9-RELEASE-p5 FreeBSD 4.9-RELEASE-p5 #2: Wed Apr
> 21 10:21:22 CEST 2004
> @frodo.domain.xyz:/usr/obj/usr/src/sys/FIBOPTIMIZED  i386

You're running 4.9-RELEASE.  One of the points about the -RELEASE
branches is that they are guarranteed *not* to have any new
functionality introduced.  Updates are limited to bugfixes, generally
for security bugs only.

Now, you are running the latest patchlevel on the 4.9-RELEASE branch,
which means that all known bugs in OpenSSL and OpenSSH will have been
fixed.  However *only* the bugs have been fixed.  There haven't been
any patches to add features, neither have there been any patches to
modify version numbers.  Naive security scanners that *just* look at
the version numbers of installed packages will tell you incorrectly
that you have a problem.

If you want the newer versions of those packages, then you have two
choices.  You can install them from ports, or you can upgrade to and
track a different FreeBSD source branch.

If you install from ports, there is a facility for you to install the
port in such a way as to overwrite the equivalents in the base system.
You can certainly do this if you want, but think carefully before
doing so.  Overwriting bits of the base system will make it harder for
you to do regular upgrades.

Otherwise, if you choose to upgrade to a different source branch, you
will need to choose one of the development branches in order to get
new versions of stuff -- that either 4-STABLE or 5-CURRENT.  But
5-CURRENT is not really suitable for any use other than developing the
system. 4-STABLE is quite close to winding down, and it's not planned
to import the very latest versions of OpenSSH etc: the upcoming
4.10-RELEASE will probably be the last release branched from there,
and that will have OpenSSH 3.5p1.  Other packages may well get updates
though.  5-STABLE is planned coincident with 5.3-RELEASE, which is the
next release planned to happen after 4.10.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Newbie: ipfw and my own DNS

2004-04-22 Thread Arek Czereszewski
Hi

I have firewall based on rc.firewall:
#!/bin/sh
fwcmd="/sbin/ipfw"
${fwcmd} -f flush
${fwcmd} add 100 pass all from any to any via lo0
${fwcmd} add 200 deny all from any to 127.0.0.0/8
${fwcmd} add 300 deny ip from 127.0.0.0/8 to any
${fwcmd} -f flush

oif="fxp0"
iif="fxp1"
# Stop spoofing
#${fwcmd} add deny all from ${inet}:${imask} to any in via ${oif}
#${fwcmd} add deny all from ${onet}:${omask} to any in via ${iif}
# Stop RFC1918 nets on the outside interface
${fwcmd} add deny all from any to 10.0.0.0/8 via ${oif}
${fwcmd} add deny all from any to 172.16.0.0/12 via ${oif}
${fwcmd} add deny all from any to 192.168.0.0/16 via ${oif}
# Stop draft-manning-dsua-03.txt (1 May 2000) nets (includes RESERVED-1,
# DHCP auto-configuration, NET-TEST, MULTICAST (class D), and class E)
# on the outside interface
${fwcmd} add deny all from any to 0.0.0.0/8 via ${oif}
${fwcmd} add deny all from any to 169.254.0.0/16 via ${oif}
${fwcmd} add deny all from any to 192.0.2.0/24 via ${oif}
${fwcmd} add deny all from any to 224.0.0.0/4 via ${oif}
${fwcmd} add deny all from any to 240.0.0.0/4 via ${oif}
#NAT
${fwcmd} add divert natd all from any to any via ${oif}
# Stop RFC1918 nets on the outside interface
${fwcmd} add deny all from 10.0.0.0/8 to any via ${oif}
${fwcmd} add deny all from 172.16.0.0/12 to any via ${oif}
${fwcmd} add deny all from 192.168.0.0/16 to any via ${oif}
# Stop draft-manning-dsua-03.txt (1 May 2000) nets (includes RESERVED-1,
# DHCP auto-configuration, NET-TEST, MULTICAST (class D), and class E)
# on the outside interface
${fwcmd} add deny all from 0.0.0.0/8 to any via ${oif}
${fwcmd} add deny all from 169.254.0.0/16 to any via ${oif}
${fwcmd} add deny all from 192.0.2.0/24 to any via ${oif}
${fwcmd} add deny all from 224.0.0.0/4 to any via ${oif}
${fwcmd} add deny all from 240.0.0.0/4 to any via ${oif}
# Allow TCP through if setup succeeded
${fwcmd} add pass tcp from any to any established
# Allow IP fragments to pass through
${fwcmd} add pass all from any to any frag
# Allow setup of incoming email
${fwcmd} add pass tcp from any to me 25 setup
# Allow access to our DNS
${fwcmd} add pass tcp from any to me 53 setup
${fwcmd} add pass udp from any to me 53
${fwcmd} add pass udp from me 53 to any
# Allow access to our WWW
${fwcmd} add pass tcp from any to me 80 setup
# Allow access to our POP3S
${fwcmd} add pass tcp from any to me 995 setup
# Allow access to our SMTP
${fwcmd} add pass tcp from any to me 25 setup
# Reject&Log all setup of incoming connections from the outside
${fwcmd} add deny log tcp from any to any in via ${oif} setup
# Allow setup of any other TCP connection
${fwcmd} add pass tcp from any to any setup
# Allow DNS queries out in the world
${fwcmd} add pass udp from me to any 53 keep-state
${fwcmd} add pass udp from any to any 53 keep-state
last rule is default deny all any to any

And now problem:
when i try check something in dns i don't have connection:
[EMAIL PROTECTED] ~]# nslookup poczta.wup-katowice.pl
*** Can't find  server name for adress 213.216.67.81: Time out
This IP is fxp1 on server.
sockstat show:
bind   named   588 20  udp4   213.216.67.81:53*:*
bind   named   588 21  tcp4   213.216.67.81:53*:*
Wher is error in rules?
If anybody can help me?
Thank you
Arek
--
Arek Czereszewski   | jid: aro(at)chrome.pl
arek(at)wup-katowice.pl |  gg: 1349941
"*nix is like a wigwam:
no windows, no gates, apache inside."
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Compatible hardware

2004-04-22 Thread Александр Александров
Dear sirs!

Our company working in personal and server building market in
Tomsk, Russia over 12 years. In present time our customers more using
Free BSD based servers than Windows or other systems. We try to find
information about compability between Intel boards, RAID controllers and
Free BSD but nothing find. Is there is a way to construct 100%
compatible server  with Free BSD system? Can you provide any
recomendations? 

We decide to use Intel 7501CW with dual xeon and Tecram TX2000
card, but Intel techsupport says that this hardware didn't tested with
FreeBSD and we can use it at our own risk...

Thank you.
Alexander Alexandrov
IGREM TOMSK RUSSIA

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


Re: IMAP server and client recommendations?

2004-04-22 Thread Bill Moran
Danny MacMillan wrote:
Hello.

I have six or seven hundred megabytes of email imprisoned in a few .pst 
(Microsoft Outlook "Personal Folders") files.  I've been looking for an 
alternative email client lately.  Of course, the issue is converting 
these old messages so that they are usable by the new software -- 
ideally so that multiple clients could access the mail.  The thought 
that immediately occurred to me was that one of the standard Unix 
formats -- mbox or maildir -- would be appropriate for this task.

After scouring the internet for possibilities for converting between the 
hated .pst format and mbox or Maildir, I found a few people who'd 
seemingly hit upon an ideal solution:  add an IMAP folder to Outlook and 
copy their mail to that folder, then do the reverse inside a client that 
stores its mail in mbox or maildir format.  Then it struck me -- 
=leaving= the mail in the IMAP server would give me even more flexibility.

Is it feasible to use the IMAP server as a mail storage solution like 
this?  Can anyone recommend a good IMAP server (for FreeBSD of course) 
and give me some tips on considerations for choosing one?  I blush to 
say it, but I've never even had an IMAP account.
First, I agree with you and others that this is a good way to go.

Second, I just want to add one more choice to the list of excellent IMAP
servers you might want to use: dovecot.
I've found dovecot to be fast, and simple compared to other IMAP servers.

Of course, the biggest problem with open source software is there are too
many good choices :)
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problems building simple custom Kernel

2004-04-22 Thread Lowell Gilbert
"Lamb, Andrew" <[EMAIL PROTECTED]> writes:

> I'm trying to build a custom kernel for my compaq DPENS 450
> PC. I can build the GENERIC kernel OK but when i try my own
> it always crashes with the same errors (bellow). Love some
> input.

Note the following:

> deviceumass   # Disks/Mass storage - Requires scbus and da

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


Re: Max file system size

2004-04-22 Thread Lowell Gilbert
hal <[EMAIL PROTECTED]> writes:

> What is the maximum file system size for FreeBSD?

"What are the limits for ffs filesystems?"
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html#FFS-LIMITS

UFS2 is now standard in FreeBSD 5.x, however, and has considerably
higher limits.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Trunking

2004-04-22 Thread Yaraghchi, Stephan
Hi Frank,

I used the explanations found at
http://bsdvault.net/sections.php?op=viewarticle&artid=98
for trunking (called bundling in the article) 4 NIC's of
a COMPAQ Proliant ML370 based on the netgraph module.

It works in that way that the NIC's get utilized in sequence.
I was just disappointed that the construction is not fault
tolerant: If one cable gets unplugged the whole connection
breaks down.

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


Keeping Ports synchronised with Packages

2004-04-22 Thread Richard Bradley
Hi all,

I am getting the impression that I am using the ports and packages system the 
wrong way, but can't find a good tutorial on how to use them to their best. I 
would be quite happy to write one up, but I need to understand it first!

My problem is that my ports tree is always a couple of minor versions ahead of 
the available packages.
(I use `cvsup /usr/share/examples/cvsup/ports-supfile` as suggested in the 
handbook)
If I add a program with e.g.

#portinstall gaim

it compiles it from source, and updates a load of libraries and dependent 
ports to the current versions.

This means I have a load of libraries that are different versions to those the 
precompiled packages expect, and some packages even refuse to install.

I end up having to install more and more things from the ports, which is 
slooow (do you have any idea how long it takes to compile kde?) and creates 
even more problems if I try to use a package.

What am I doing wrong? Is there a way to hold back cvsup to the same version 
as the packages on FreeBSD.org?

On a related note, where do the errors from sysinstall go? It refers to the 
"debug screen" but I can't find it on any terminal. What about if you run it 
in a konsole or xterm?

Any pointers would be much appreciated.

All the best,


Rich

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


Re: OpenSSL/0.9.7c-p1 & OpenSSH_3.5p1

2004-04-22 Thread Pelle Andersson

Thanks Matthew for an oustanding answer (Dirk assisted) =)
Thats sorted out a few thing for me and hopefully for others to.

I feel safe now when I know the following:

"One of the points about the -RELEASE branches is that they are
guarranteed *not* to have any new functionality introduced.
Updates are limited to bugfixes, generally for security bugs only."


When I now also know that...

"Now, you are running the latest patchlevel on the 4.9-RELEASE branch,
which means that all known bugs in OpenSSL and OpenSSH will have been
fixed.  However *only* the bugs have been fixed."

...I do not think I shall upgrade to newer versions.


It's very good to know:

"If you want the newer versions of those packages, then you have two
choices."

Maybe there will be a need for an upgrade in the future.



As I wrote in the beginning, thanks a lot for an outstanding reply.

Best regards Pelle



-Ursprungligt meddelande-
Fran: Matthew Seaman [mailto:[EMAIL PROTECTED]
Skickat: den 22 april 2004 13:31
Till: Pelle Andersson
Kopia: [EMAIL PROTECTED]
Amne: Re: OpenSSL/0.9.7c-p1 & OpenSSH_3.5p1


On Thu, Apr 22, 2004 at 10:27:10AM +0200, Pelle Andersson wrote:
> Hi!
>
> How can I the easiest way update/upgrade OpenSSL & OpenSSH on a FreeBSD
4.9
> machine?
>
> I saw on the net that they where part of the "base system" and therefore I
> can't
> use portupgrade or "make deinstall/make reinstall"
>
> I thought they where updated when running 'make world'?
>
> Now I am using:
> >> OpenSSL 0.9.7c-p1 30 Sep 2003
> >> OpenSSH_3.5p1 FreeBSD-20030924
>
> uname -a:
>
> FreeBSD frodo.domain.xyz 4.9-RELEASE-p5 FreeBSD 4.9-RELEASE-p5 #2: Wed Apr
> 21 10:21:22 CEST 2004
> @frodo.domain.xyz:/usr/obj/usr/src/sys/FIBOPTIMIZED  i386

You're running 4.9-RELEASE.  One of the points about the -RELEASE
branches is that they are guarranteed *not* to have any new
functionality introduced.  Updates are limited to bugfixes, generally
for security bugs only.

Now, you are running the latest patchlevel on the 4.9-RELEASE branch,
which means that all known bugs in OpenSSL and OpenSSH will have been
fixed.  However *only* the bugs have been fixed.  There haven't been
any patches to add features, neither have there been any patches to
modify version numbers.  Naive security scanners that *just* look at
the version numbers of installed packages will tell you incorrectly
that you have a problem.

If you want the newer versions of those packages, then you have two
choices.  You can install them from ports, or you can upgrade to and
track a different FreeBSD source branch.

If you install from ports, there is a facility for you to install the
port in such a way as to overwrite the equivalents in the base system.
You can certainly do this if you want, but think carefully before
doing so.  Overwriting bits of the base system will make it harder for
you to do regular upgrades.

Otherwise, if you choose to upgrade to a different source branch, you
will need to choose one of the development branches in order to get
new versions of stuff -- that either 4-STABLE or 5-CURRENT.  But
5-CURRENT is not really suitable for any use other than developing the
system. 4-STABLE is quite close to winding down, and it's not planned
to import the very latest versions of OpenSSH etc: the upcoming
4.10-RELEASE will probably be the last release branched from there,
and that will have OpenSSH 3.5p1.  Other packages may well get updates
though.  5-STABLE is planned coincident with 5.3-RELEASE, which is the
next release planned to happen after 4.10.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


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


Samba's broke....

2004-04-22 Thread Ralph M. Los
Hi all,
Have a question for you that I've tried to search on google with
no real luck.

The issue is that I've tried to get BackupExec 9.1 to back up my Samba
2.2.8a file-server.  In the GUI I can select the files/folders I want to
back up, etc and all looks good.  But when it comes time to run the
backup job, I get a "cannot attach to drive" error.  Now, I've looked
through my Samba logs on the file-server, and can only find this one
error message (over and over).

Apr 22 00:09:49 crazy smbd[80835]: [2004/04/22 00:09:49, 0]
rpc_client/cli_trust.c:change_trust_account_password(248) 
Apr 22 00:09:49 crazy smbd[80835]:   2004/04/22 00:09:49 :
change_trust_account_password: Failed to change password for domain BDZ.

Apr 22 01:47:54 crazy smbd[81102]: [2004/04/22 01:47:54, 0]
rpc_client/cli_trust.c:change_trust_account_password(248) 
Apr 22 01:47:54 crazy smbd[81102]:   2004/04/22 01:47:54 :
change_trust_account_password: Failed to change password for domain BDZ.

I've tried to figure out what this is, and I think my configuration is
right.  I've been running in DOMAIN authentication mode on Samba conf
file, and I did the smbpasswd -j DOMAIN some time ago successfully.
Just for kicks I tried it again and got this:

crazy# smbpasswd -j BDZ
cli_net_auth2: Error NT_STATUS_ACCESS_DENIED
cli_nt_setup_creds: auth2 challenge failed
modify_trust_password: unable to setup the PDC credentials to machine
TENACIOUS. Error was : NT_STATUS_ACCESS_DENIED.
2004/04/22 08:25:28 : change_trust_account_password: Failed to change
password for domain BDZ.
Unable to join domain BDZ.
crazy#


 << Does ANYONE have any clue what to do next?! >>


-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+  Ralph | Internet Systems & Security   +
+   Boundariez.com   | -"Specializing in Paranoia"-  +
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+  ralph[!at]boundariez[dot!]com |  Never understimate the power +
+AIM: SekurityWizard | stupid people +
+ICQ: 2206039|in large groups+
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 

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


Re: Newbie:Home network mail forwarding

2004-04-22 Thread Alex de Kruijff
On Wed, Apr 21, 2004 at 07:33:51PM -0400, Peter Tokanel wrote:
> Hi,
> 
>  I am new to unix but I have managed to setup a home network using  
> Free BSD. The
> FreeBSD box is a gateway/firewall/router for my Windows XP box and a 
> wireless access
> point. The XP box can access the web just great using the shared connection.
>  My problem is when email is used on the WindowsXP box , no messages can be
> sent out. I can receive email from my ISP's pop-server just fine. I am 
> not sure if I need
> to start some kind of mail daemon or what Is it my firewall 
> configuration
>  I have included some of my setup files, hopefully someone can tell me 

XP 192.168.1.0/24 <-> 192.168.1.0/24 gateway  <-> internet

It could be your firewall but it could also be you XP configuration.
If you give me the output of 'ipfw sh' then i'll check if I can find
anything that blocks sending mail.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


advice sought on tape backups with cyrus-imap

2004-04-22 Thread Ed Budd
Hi, all:

Hoping for a "reality check" from anyone on the list with experience
in doing tape backups with cyrus-imap:

I've got FBSD 5.2.1REL acting as a mail server running cyrus-imap and
wondering what the best (read: safest) method of backing up user
mailboxes to tape might be. Can I just dump/restore everything
under /var/imap or is there more to it than this, considering the
mailboxes are stored in cyrus db format? Does this matter when it comes
time to restore?

Thanks in advance for any feedback offered, especially warning on
any gotchas born from experience :)

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


Re: Compatible hardware

2004-04-22 Thread Matthew Seaman
On Thu, Apr 22, 2004 at 12:41:28PM +0700, ? ??? wrote:
> Dear sirs!
> 
>   Our company working in personal and server building market in
> Tomsk, Russia over 12 years. In present time our customers more using
> Free BSD based servers than Windows or other systems. We try to find
> information about compability between Intel boards, RAID controllers and
> Free BSD but nothing find. Is there is a way to construct 100%
> compatible server  with Free BSD system? Can you provide any
> recomendations? 

Most IA32 architecture kit will work under FreeBSD.  The sort of stuff
that tends to have the best support is generally the 'quality' end of
the market -- server class motherboards, NICs with chipsets produced
by well known manufacturers, SCSI controllers, various ATA RAID
controllers and so forth.  Things that tend to be more troublesome are
the more 'consumer' oriented end of the market, particularly stuff
that is really very new on the market, stuff that is intended for use
only under Windows and so that plays fast and loose with standards.

The components that are supported under FreeBSD are documented to some
extent in the man pages for the various drivers: eg. the quite popular
3COM 3C940 gigabit ethernet adapotors are documented as working with
the sk(4) driver.  Often there will be other models using a similar
chipset that also work, but which aren't listed.  Knowing exactly what
is and is not supported is really a matter of experience.  As is
knowing what works really well, and what is a bit so-so.  These sort
of things are discussed on many of the FreeBSD mailing lists quite
regularly. As a systems integrator you should have ready access to
components from any number of suppliers: experimentation will give you
the best information about what does and does not work.
 
>   We decide to use Intel 7501CW with dual xeon and Tecram TX2000
> card, but Intel techsupport says that this hardware didn't tested with
> FreeBSD and we can use it at our own risk...

Unfortunately almost all big manufacturers will say things like that.
What they mean is that *they* didn't write any drivers (because they
didn't think that FreeBSD was popular enough to justify the expense)
so don't come crying to them if 3rd party stuff doesn't work.  Some of
the more pointy-haired management class use this as a justification
for not using FreeBSD, ignoring the facts, which are that the drivers
written by the 3rd parties (in this case various FreeBSD developers)
are often more reliable and better performing than what the
manufacturers turn out themselves.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


jdk14

2004-04-22 Thread Radu MOLNAR
Hello list

I have problems installing jdk14 from the ports. I searched for the error
and i found that i have to have linuxprocfs mounted so i did that:
linprocfs on /usr/compat/linux/proc (linprocfs, local)

I also have installed linux_base package:
linux_base-7.1_7The base set of packages needed in Linux mode

Do i have to do something else to get this to compile?

the error that i get is this:

/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1:
'class' or 'interface' expected
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
^
/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1:
unclosed character literal
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
   ^
2 errors
gmake[4]: *** [.compile.classlist] Error 1
gmake[4]: Leaving directory
`/usr/ports/java/jdk14/work/j2se/make/java/java'
gmake[3]: *** [optimized] Error 2
gmake[3]: Leaving directory
`/usr/ports/java/jdk14/work/j2se/make/java/java'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2

Thanks


Radu Molnar
Babes-Bolyai Comunication Center


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


What is PPPPoed?

2004-04-22 Thread JJB
I read the man pppoed, but that is so cryptic I got nothing out of
it.

What is the purpose of PPPoed?

Who are the typical users?

How is this different than using ppp with
'set device PPPoE:XXX' in the ppp.conf

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


Re: jdk14

2004-04-22 Thread Martin Hudec
Hello Radu,

and do you have linux_enable="YES" set in /etc/rc.conf?


Cheers,

Martin


On Thu, Apr 22, 2004 at 04:13:27PM +0300 or thereabouts, Radu MOLNAR wrote:
> I have problems installing jdk14 from the ports. I searched for the error
> and i found that i have to have linuxprocfs mounted so i did that:
> linprocfs on /usr/compat/linux/proc (linprocfs, local)
> 
> I also have installed linux_base package:
> linux_base-7.1_7The base set of packages needed in Linux mode
> 
> Do i have to do something else to get this to compile?

-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393

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


Re: Keeping Ports synchronised with Packages

2004-04-22 Thread Andrew L. Gould
On Thursday 22 April 2004 07:41 am, Richard Bradley wrote:
> Hi all,
>
> I am getting the impression that I am using the ports and packages system
> the wrong way, but can't find a good tutorial on how to use them to their
> best. I would be quite happy to write one up, but I need to understand it
> first!
>
> My problem is that my ports tree is always a couple of minor versions ahead
> of the available packages.
> (I use `cvsup /usr/share/examples/cvsup/ports-supfile` as suggested in the
> handbook)
> If I add a program with e.g.
>
> #portinstall gaim
>
> it compiles it from source, and updates a load of libraries and dependent
> ports to the current versions.
>
> This means I have a load of libraries that are different versions to those
> the precompiled packages expect, and some packages even refuse to install.
>
> I end up having to install more and more things from the ports, which is
> slooow (do you have any idea how long it takes to compile kde?) and creates
> even more problems if I try to use a package.
>
> What am I doing wrong? Is there a way to hold back cvsup to the same
> version as the packages on FreeBSD.org?
>
> On a related note, where do the errors from sysinstall go? It refers to the
> "debug screen" but I can't find it on any terminal. What about if you run
> it in a konsole or xterm?
>
> Any pointers would be much appreciated.
>
> All the best,
>
>
> Rich

The way to update your system source and hold back package/port versions is to 
refuse ports.  See:

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

Alternatively, you can continue to cvsup ports and then upgrade your packages 
to newer versions using the port portupgrade, which can be found 
at /usr/ports/sysutils/portsupgrade.

Best of luck,

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


Re: IMAP server and client recommendations?

2004-04-22 Thread Dick Davies
* Danny MacMillan <[EMAIL PROTECTED]> [0423 05:23]:
> Hello.
> 
> I have six or seven hundred megabytes of email imprisoned in a few .pst 
> (Microsoft Outlook "Personal Folders") files.  I've been looking for an 
> alternative email client lately.  Of course, the issue is converting these 
> old messages so that they are usable by the new software -- ideally so 
> that multiple clients could access the mail.  The thought that immediately 
> occurred to me was that one of the standard Unix formats -- mbox or 
> maildir -- would be appropriate for this task.
> 
> After scouring the internet for possibilities for converting between the 
> hated .pst format and mbox or Maildir, I found a few people who'd 
> seemingly hit upon an ideal solution:  add an IMAP folder to Outlook and 
> copy their mail to that folder, then do the reverse inside a client that 
> stores its mail in mbox or maildir format.  Then it struck me -- =leaving= 
> the mail in the IMAP server would give me even more flexibility.

I use cyrus with  - mozilla, mutt, outlook express, squirrelmail, thunderbird
osx and zaurus clients - it's great.

Add an LDOP address book and use sieve instead of the evil thet is Procmail
and you have a single point of failure^W control for all your maily needs

(Mail is again 1 per file, but you don't usually access it direct. That's a 
Good Thing IMO, a Maildir in my home directory is too breakable...)

Courier didn't scale for me, dovecot wasn't configurable enough.
Cyrus is a bit more complex, but behaves itself and performs very well.
Lots of howtos, try a few and see what you like. 

-- 
Blood is thicker than water, and much tastier.
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: PORT comms/gnokii won't build

2004-04-22 Thread Shawn Kennedy
> -Original Message-
> From: Kris Kennaway [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 21, 2004 5:17 PM
> To: Shawn Kennedy
> Cc: [EMAIL PROTECTED]
> Subject: Re: PORT comms/gnokii won't build
> 
> 
> On Wed, Apr 21, 2004 at 12:35:04PM -0500, Shawn Kennedy wrote:
> > 
> > A port update came in for gnokii and I can't get it
> > to build. It's trying to use stdint.h even though 
> > it checks for it and cannot find it (finds inttypes.h
> > which is correct).  Below is the offending
> > portion of the build.  Anyone with
> > any ideas?
> 
> Talk to the port maintainer, or complain to the software developers
> for writing unportable code.

FYI - I was able to get a hold of the port owner - they found 
the problem and submitted changes via CVS last night.

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


Re: Compatible hardware

2004-04-22 Thread vasilkin
Hello Александр,

Drivers for Intel, examples:
http://downloadfinder.intel.com/scripts-df/Detail_Desc.asp?agr=N&Inst=Yes&ProductID=884&DwnldID=5095


Thursday, April 22, 2004, 9:41:28 AM, you wrote:

АА> Dear sirs!

АА> Our company working in personal and server building market in
АА> Tomsk, Russia over 12 years. In present time our customers more using
АА> Free BSD based servers than Windows or other systems. We try to find
АА> information about compability between Intel boards, RAID controllers and
АА> Free BSD but nothing find. Is there is a way to construct 100%
АА> compatible server  with Free BSD system? Can you provide any
АА> recomendations? 

АА> We decide to use Intel 7501CW with dual xeon and Tecram TX2000
АА> card, but Intel techsupport says that this hardware didn't tested with
АА> FreeBSD and we can use it at our own risk...

АА> Thank you.
АА> Alexander Alexandrov
АА> IGREM TOMSK RUSSIA

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



-- 
Best regards,
 vasilkinmailto:[EMAIL PROTECTED]

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


Re: Keeping Ports synchronised with Packages

2004-04-22 Thread Richard Bradley
On Thursday 22 April 2004 2:29 pm, Andrew L. Gould wrote:
> On Thursday 22 April 2004 07:41 am, Richard Bradley wrote:
[...]
> > My problem is that my ports tree is always a couple of minor versions
> > ahead of the available packages.
[...]
> > This means I have a load of libraries that are different versions to
> > those the precompiled packages expect, and some packages even refuse to
> > install.
>
> The way to update your system source and hold back package/port versions is
> to refuse ports.  See:
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
>
> Alternatively, you can continue to cvsup ports and then upgrade your
> packages to newer versions using the port portupgrade, which can be found
> at /usr/ports/sysutils/portsupgrade.
>
> Best of luck,
>
> Andrew Gould

Perhaps I am confused about the terminology here - by "packages" I mean 
precompiled programs, and by "ports" I mean source code & make files for the 
same programs.

I want to keep my programs up to date, and I want to use precompiled versions 
as much as possible because it can take hours to compile a large program. 
However some programs don't have packages, or the packages won't install 
because I have used the ports system and other, required, programs are out of 
sync.

If I use `portupgrade -PP` (i.e. forcing it to use packages) it (almost) 
always fails because there are never precompiled packages of the same version 
as my (cvsup'ed) ports tree. 

In the same way, `portupgrade -P` (i.e. try to use packages) is equivalent to 
`portupgrade` (i.e. compile from source) because of the version lag in the 
packages as compared to the ports.

One solution might be to get cvsup to check out slightly older versions of the 
port tree that matches up with the available packages. However this doesn't 
seem possible.


Rich

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


Re: iptables to ipfw

2004-04-22 Thread Chiang Seng Chang
Thanks, everything is working now.

It turns out that openvpn configures tun0 with too small a MTU which causes
the "black hole router" effect (i think).  Problems occured like able to net
use samba share but unable to list files, etc. Once the MTU was upped, all
seems to work now.

-cs


>
> On Tue, 20 Apr 2004, Chiang Seng Chang wrote:
>
> > hi,
> >
> > anyone knows what is the equivalent of these in ipfw ?
> >
> >   iptables -t nat -A POSTROUTING -s 10.1.0.2/32 -o eth0 -j MASQUERADE
> >   iptables -t nat -A POSTROUTING -s 10.50.4.0/22 -o eth0 -j MASQUERADE
> >
> > it's for openvpn using tun0.
> >
> > i have setup natd using:
> >
> >   ipfw add divert natd all from any to any via dc0
> >
> > and it is working.
> >
> > but i would like to be more specific so that i am not nat'ing
unnecessary.
> >
> > tried without success:
> >
> >   ipfw add divert natd all from 10.1.0.1/32 to any via dc0
> >   ipfw add divert natd all from 10.50.4.0/22 to any via dc0
> >
> try
> (from natd man page)
>
> -unregistered_only | -u
> Only alter outgoing packets with an unregistered source
> address.  According to RFC 1918, unregistered source
> addresses are 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16.
>
>
> as an extra flag to natd
>
>
> > thanks and regards.
> >
> > -cs
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
> >
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

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


newbie question: Gnome 2.6 upgrade

2004-04-22 Thread Ian Bowers
I finally came to my senses and got a copy of FreeBSD about a week ago.  I'm very 
compitent in window$ and DOS, and wanted to start in on something new.  I've been 
toying with BSD for a while and I'm getting to know my way around.  

I'm having trouble upgrading to gnome 2.6.  I had gnome 2.4 installed and running just 
fine.  I cvsup'd with the ports-supfile, and ran the gnome_upgrade.sh file.  It 
pondered the meaning of life until well after I left for work.  When I came home, I 
saw it was at the login prompt.  There were some messages that I assume have to deal 
with renewing DHCP leases with my cable modem, but I logged in as normal.  there was 
nothing indicating a troubled install.  

Since running cvsup and the upgrade, I can't run startx like I used to.  It used to 
run regardless of what directory I was in, and now I have to be in /usr/X11R6/bin to 
run it.  when I run it, I get the same message as usual that says it can't contact 
some host server and I ned to add a line into my /etc/hosts file.  I've always gotten 
that one, even when 2.4 was running perfectly smoothly.  a terminal window comes up 
right away after that message when gnome starts as it begins loading it's components 
at the splash screen.  it hangs on "window manager" but eventually gets to the desktop 
with the terminal window still open.  I can't run any applications at all.  it says 
that the indicated file is nowhere to be found.  I can run the files, epiphany for 
example, from the terminal window and they run just fine as far as I can tell.  

I'm sure there's some painfully obvious thing I haven't done, but I can't tell what it 
is.  I've followed the upgrade instructions to the letter, but apaprently I'm not cool 
enough to pull it off.  sorry for the longwindedness.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What is PPPoed?

2004-04-22 Thread Jorn Argelo
I believe it's dialup service for DSL lines (Point to Point Protocol over 
ethernet daemon? Just a wild guess though) So if you have a DSL line which 
requires the user to dial in, you'll need PPPoed. Otherwise, if your ISP 
gives you an peminent IP address, you can just set your interface to DHCP or 
anything else the ISP requires.

Cheers,

Jorn

On Thursday 22 April 2004 15:11, JJB wrote:
> I read the man pppoed, but that is so cryptic I got nothing out of
> it.
>
> What is the purpose of PPPoed?
>
> Who are the typical users?
>
> How is this different than using ppp with
> 'set device PPPoE:XXX' in the ppp.conf
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Keeping Ports synchronised with Packages

2004-04-22 Thread Andrew L. Gould
On Thursday 22 April 2004 08:57 am, Richard Bradley wrote:
> On Thursday 22 April 2004 2:29 pm, Andrew L. Gould wrote:
> > On Thursday 22 April 2004 07:41 am, Richard Bradley wrote:
>
> [...]
>
> > > My problem is that my ports tree is always a couple of minor versions
> > > ahead of the available packages.
>
> [...]
>
> > > This means I have a load of libraries that are different versions to
> > > those the precompiled packages expect, and some packages even refuse to
> > > install.
> >
> > The way to update your system source and hold back package/port versions
> > is to refuse ports.  See:
> >
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
> >
> > Alternatively, you can continue to cvsup ports and then upgrade your
> > packages to newer versions using the port portupgrade, which can be found
> > at /usr/ports/sysutils/portsupgrade.
> >
> > Best of luck,
> >
> > Andrew Gould
>
> Perhaps I am confused about the terminology here - by "packages" I mean
> precompiled programs, and by "ports" I mean source code & make files for
> the same programs.
>
> I want to keep my programs up to date, and I want to use precompiled
> versions as much as possible because it can take hours to compile a large
> program. However some programs don't have packages, or the packages won't
> install because I have used the ports system and other, required, programs
> are out of sync.
>
> If I use `portupgrade -PP` (i.e. forcing it to use packages) it (almost)
> always fails because there are never precompiled packages of the same
> version as my (cvsup'ed) ports tree.
>
> In the same way, `portupgrade -P` (i.e. try to use packages) is equivalent
> to `portupgrade` (i.e. compile from source) because of the version lag in
> the packages as compared to the ports.
>
> One solution might be to get cvsup to check out slightly older versions of
> the port tree that matches up with the available packages. However this
> doesn't seem possible.
>
> Rich

Portupgrade uses the package database of installed applications, which (to my 
knowledge) doesn't care/know whether the package was installed from a binary 
or from the port system.  This assumes that the binary package registered the 
application with the package database.  If you're using third-party, binary 
packages that do not register themselves with the package database, keeping 
applications in sync will probably become a manual process.

'portupgrade -arRP' will upgrade all of the installed packages where it can 
find a binary package or the related port, with a preference for binary 
packages.  If it completes successfully, your packages (binary and port) 
should be in sync.  As long as you don't update your ports tree, it should be 
easy to keep them in sync.  Yes, this can take a long time.  To shorten the 
process, I pkg_delete Open Office and few other huge packages prior to 
portupgrade.  I then manually install the newer binaries after everything 
else has been upgraded.

Also, if you recompile the system and kernel, your entire system will be in 
sync!

Best of luck,

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


Re: IMAP server and client recommendations?

2004-04-22 Thread Jim Hatfield
On Thu, 22 Apr 2004 05:42:00 +0100, in local.freebsd.questions you
wrote:

>Almost right, but not quite.  You set up an IMAP server that stores 
>mail in the desired format, add the IMAP support to Outlook, and then 
>drag/drop the mail into the IMAP mailbox.  There is no equivalent 
>client-side export needed.

Not always possible, unfortunately. Outlook 2000 with a MAPI
connection to an Exchange server lets you add a POP3 service but
not IMAP.


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


RE: newbie question: Gnome 2.6 upgrade

2004-04-22 Thread Lucas Holt
 
I would run portversion -v | grep "<" and make sure everything was upgraded
to start with.  If all the gnome and X11 related stuff appears to be
upgraded, it might be hard to track down which build was at fault.  I think
the gnome upgrade script made a logfile in tmp.  I would check to see if
there is one there and if so see what happened.  Did you have x11 running
when you tried the upgrade?  Did the machine reboot or simply logout?  

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

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


Re: Keeping Ports synchronised with Packages

2004-04-22 Thread Richard Bradley
On Thursday 22 April 2004 3:25 pm, Andrew L. Gould wrote:
> On Thursday 22 April 2004 08:57 am, Richard Bradley wrote:
> >
...
> > I want to keep my programs up to date, and I want to use precompiled
> > versions as much as possible because it can take hours to compile a large
> > program.
...
> > If I use `portupgrade -PP` (i.e. forcing it to use packages) it (almost)
> > always fails because there are never precompiled packages of the same
> > version as my (cvsup'ed) ports tree.
> >
> > In the same way, `portupgrade -P` (i.e. try to use packages) is
> > equivalent to `portupgrade` (i.e. compile from source) because of the
> > version lag in the packages as compared to the ports.
> >
...
>
> Portupgrade uses the package database of installed applications, which (to
> my knowledge) doesn't care/know whether the package was installed from a
> binary or from the port system.  This assumes that the binary package
> registered the application with the package database.  If you're using
> third-party, binary packages that do not register themselves with the
> package database, keeping applications in sync will probably become a
> manual process.

Yep.

> 'portupgrade -arRP' will upgrade all of the installed packages where it can
> find a binary package or the related port, with a preference for binary
> packages.  If it completes successfully, your packages (binary and port)
> should be in sync.  As long as you don't update your ports tree, it should
> be easy to keep them in sync.  Yes, this can take a long time.  To shorten
> the process, I pkg_delete Open Office and few other huge packages prior to
> portupgrade.  I then manually install the newer binaries after everything
> else has been upgraded.

If I don't update the ports tree, won't portupgrade look for the old versions 
of programs? Without updating the ports, portupgrade won't have anything to 
do, as all my programs would appear to be the current version. Wouldn't they?

> Also, if you recompile the system and kernel, your entire system will be in
> sync!

That would take _days_! Perhaps this is ok for a server, but I am trying to 
use FreeBSD as a desktop system here. It's taking me all afternoon to 
re-install eclipse (you have to compile java) as things stand.


Rich

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


RE: IMAP server and client recommendations?

2004-04-22 Thread Lucas Holt
 
I have had good luck with uw-imap and dovecot.  Dovecot seems to work better
in FreeBSD 5.21 though.  I had problems with uw-imap crashing.  Dovecot is
arguably more secure.  The main drawback to dovecot is that it allows
multiple clients access to a mailbox at once.  It works great for well
behaved clients but MacOS X's mail.app occasionaly screws up when deleting
and downloading new messages simultaneously with dovecot.  It never occurred
with uw-imapd. 

As for clients, I use mail.app on OSX, pine on the road through ssh (or when
booted into FreeBSD at home), and Outlook 2003.  I had a lot of trouble with
Office XP's imap support, but it seems much better in 2003.  Mozilla works
ok as well.  Old versions of netscape mail didn't handle deleting messages
very cleanly.  

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


4.8 on i386

2004-04-22 Thread rad7
I have a super p6dgs/dbs board that I put two 300mhz pentium 2 processors in. When I 
get a system info report thru windows 2000 it says I have "processor x86 family 6 
model 3  stepping 3 genuineIntel ~200Mhz. Is this correct?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Keeping Ports synchronised with Packages

2004-04-22 Thread Matthew Seaman
On Thu, Apr 22, 2004 at 02:57:53PM +0100, Richard Bradley wrote:

> Perhaps I am confused about the terminology here - by "packages" I mean 
> precompiled programs, and by "ports" I mean source code & make files for the 
> same programs.

Yes -- that's the correct terminology.  But there's no real difference
other than that: the pkg is built by compiling the port, and you can
freely mix software derived from either source on your system.
 
> I want to keep my programs up to date, and I want to use precompiled versions 
> as much as possible because it can take hours to compile a large program. 
> However some programs don't have packages, or the packages won't install 
> because I have used the ports system and other, required, programs are out of 
> sync.

Absolutely.  Now, where are you getting the pre-compiled packages
from?  If it's from one of the 4-Disk FreeBSD CD Rom sets, then yes,
you're going to have problems with file versions as there have been
updates to a number of major software systems gone into the ports tree
in the 4 months or so since 4.9-RELEASE.

On the other hand, if you're downloading the packages from the ftp
sites, you should be within a week or two of the latest versions.
Take a look at, eg:


http://www.mirror.ac.uk/sites/ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/

(if you want to access that server for your FTP'ing needs, it's also
known as ftp2.uk.freebsd.org)

That shows you all of the packages for 4-STABLE that have been updated
since 4.9-RELEASE came out. (There's a similar directory structure for
the 5.x packages).  Looks like there was a new batch produced on 11th
April, including the KDE packages:


http://www.mirror.ac.uk/sites/ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/kde.tgz

That gets you kde-3.2.1_1 The ports tree is currently at kde-3.2.2 --
like you say, a minor version number behind.  Unfortunately, that's
just the way things are: the project only has a limited capacity to
keep compiling new packages when ports get updated, especially since
they're producing packages for both 4.x and 5.x at the moment.  Also,
sometime soon the new package set for 4.10-RELEASE will be produced,
which means compiling *everything* in the ports tree from scratch.

You should be able to get all of the dependencies of KDE etc. as
precompiled packages -- using:

# pkg_add -r kde

will try and download everything required.  

I should note that you're particularly unlucky right now with both KDE
and Gnome having gone through some major updates just recently.
Usually the lag between the port coming out and the updated package
doesn't affect such a large proportion of all of the available
ports/packages.
 
> If I use `portupgrade -PP` (i.e. forcing it to use packages) it (almost) 
> always fails because there are never precompiled packages of the same version 
> as my (cvsup'ed) ports tree. 
> 
> In the same way, `portupgrade -P` (i.e. try to use packages) is equivalent to 
> `portupgrade` (i.e. compile from source) because of the version lag in the 
> packages as compared to the ports.
> 
> One solution might be to get cvsup to check out slightly older versions of the 
> port tree that matches up with the available packages. However this doesn't 
> seem possible.

As someone else commented, you can hold various packages inside
pkgtools.conf -- that means portupgrade won't even attempt to upgrade
them.  Or you can tell portupgrade that you want certain ports to be
installed either preferentially or exclusively via packages -- see the
section in /usr/local/etc/pkgtools.conf on USE_PKGS and USE_PKGS_ONLY.
If you enter the names of the really big packages that you never want
to spend time compiling in one or other of those arrays, then you can
let portupgrade upgrade everything else around them.  You will find
that certain ports are marked as 'ignored' if they depend on a port
where there isn't the latest version of a package available yet, but
that includes a lot of ports that wouldn't need to be upgraded anyhow.

You can certainly check out a backdated version of the ports tree via
cvsup(1) -- eg. to get the ports tree from 1st April just add:

*default date=2004.04.01.12.00

to your supfile.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: jdk14

2004-04-22 Thread Matt Navarre
You might have to make clean and restart the build. I was getting the same 
error building java after I started the build without linprocfs mounted, 
blowing it away and starting over built fine.

On Thursday 22 April 2004 06:26, Martin Hudec wrote:
> Hello Radu,
>
>   and do you have linux_enable="YES" set in /etc/rc.conf?
>
>
>   Cheers,
>
>   Martin
>
> On Thu, Apr 22, 2004 at 04:13:27PM +0300 or thereabouts, Radu MOLNAR wrote:
> > I have problems installing jdk14 from the ports. I searched for the error
> > and i found that i have to have linuxprocfs mounted so i did that:
> > linprocfs on /usr/compat/linux/proc (linprocfs, local)
> >
> > I also have installed linux_base package:
> > linux_base-7.1_7The base set of packages needed in Linux mode
> >
> > Do i have to do something else to get this to compile?

-- 
[EMAIL PROTECTED] http://badstateofgruntledness.blogspot.com 
it was a hard sell, since he's a database person, and as far as I've seen, 
once those database worms eat into your brain, it's hard to ever get anything 
practical done again. To a database person, every nail looks like a thumb. Or 
something like that. - jwz
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: newbie question: Gnome 2.6 upgrade

2004-04-22 Thread Ewald Jenisch

On Thu, Apr 22, 2004 at 10:16:25AM -0400, Ian Bowers wrote:

> I'm having trouble upgrading to gnome 2.6.  I had gnome 2.4
> installed and running just fine.  I cvsup'd with the ports-supfile,
> and ran the gnome_upgrade.sh file.  

Maybe dumb question: Did you upgrade "ruby" as instructed in
/usr/ports/UPDATING before upgrading Gnome? (I ran into that trap a
while ago)


> Since running cvsup and the upgrade, I can't run startx like I used
> to.  

Are your problems only related to X11 - or do you have the problems
when running in "console"-mode too?

Try switching virtual terminals with  (like
). First of all this switches you out to a
console-terminal leaving X running and thus gives to the ability to
track things down further.

-ewald

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


vinum requirements

2004-04-22 Thread synrat

does vinum configuration need to be located
in the beginning of the drive after bootstrap or
is it possible to store at the end of the drive ?
the reason I ask is I only have 60kb available in
the beginining and the first partition is /.
I should be able to shrink swap, which is at the end
of the drive, but I'm not sure I understand how vinum
stores it's configuration. Does there need to be a separate
partition for vinum that has at least enough space for configuration,
which doesn't overlap with anything else ? Is the rest of vinum
partition supposed to overlap with everything that I want to configure
as a plex ( I'm talking about mirroring exisiting partitions )
Or should there be 2 different vinum partitions, one for configuration and
another one for plexes ?

I'd appreciate any suggestions.

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


Re: Keeping Ports synchronised with Packages

2004-04-22 Thread Andrew L. Gould
On Thursday 22 April 2004 09:50 am, Richard Bradley wrote:
> On Thursday 22 April 2004 3:25 pm, Andrew L. Gould wrote:
> > On Thursday 22 April 2004 08:57 am, Richard Bradley wrote:
>
> ...
>
> > > I want to keep my programs up to date, and I want to use precompiled
> > > versions as much as possible because it can take hours to compile a
> > > large program.
>
> ...
>
> > > If I use `portupgrade -PP` (i.e. forcing it to use packages) it
> > > (almost) always fails because there are never precompiled packages of
> > > the same version as my (cvsup'ed) ports tree.
> > >
> > > In the same way, `portupgrade -P` (i.e. try to use packages) is
> > > equivalent to `portupgrade` (i.e. compile from source) because of the
> > > version lag in the packages as compared to the ports.
>
> ...
>
> > Portupgrade uses the package database of installed applications, which
> > (to my knowledge) doesn't care/know whether the package was installed
> > from a binary or from the port system.  This assumes that the binary
> > package registered the application with the package database.  If you're
> > using third-party, binary packages that do not register themselves with
> > the package database, keeping applications in sync will probably become a
> > manual process.
>
> Yep.
>
> > 'portupgrade -arRP' will upgrade all of the installed packages where it
> > can find a binary package or the related port, with a preference for
> > binary packages.  If it completes successfully, your packages (binary and
> > port) should be in sync.  As long as you don't update your ports tree, it
> > should be easy to keep them in sync.  Yes, this can take a long time.  To
> > shorten the process, I pkg_delete Open Office and few other huge packages
> > prior to portupgrade.  I then manually install the newer binaries after
> > everything else has been upgraded.
>
> If I don't update the ports tree, won't portupgrade look for the old
> versions of programs? Without updating the ports, portupgrade won't have
> anything to do, as all my programs would appear to be the current version.
> Wouldn't they?
>

This advice was assuming that your ports tree we more current than some of 
your packages.  This could occur if you updated your ports tree after you 
installed some packages.  In such a case, portupgrade would upgrade the older 
packages to the versions currently in your ports tree.

> > Also, if you recompile the system and kernel, your entire system will be
> > in sync!
>
> That would take _days_! Perhaps this is ok for a server, but I am trying to
> use FreeBSD as a desktop system here. It's taking me all afternoon to
> re-install eclipse (you have to compile java) as things stand.

You could use the '-n' option to have portupgrade give you a report on which 
packages need upgrading without actually doing any upgrading.  Then, rather 
than use the '-a' option for all packages, you could name specific packages 
to upgrade.  You'll probably still want to use the '-rR' options to sync 
dependencies.  See 'man portupgrade' and:

http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html

> Rich

There is certainly a cost/benefit trade-off when you want to use more current 
applications than were included in the latest release.  After your next 
upgrade of FreeBSD, I would advise that you cvsup your system from the 
SECURITY branch and refuse updates for ports.  In the url below, you will 
find directories of binary packages that are specific to various releases:

ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/

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


Matrox "mga_hal" driver in 5.2.1?

2004-04-22 Thread Streiner, Justin
Has anyone gotten the mga_hal code to compile cleanly under freebsd
5.2.1/i386?  I downloaded the 'nix distribution for that, as well as the
source for their powerdesk utility from the Matrox website, but haven't
had much luck getting the drivers to compile.

The driver distribution doesn't include an autoconf utility, so I suspect
it may come down to extensive surgery on the Makefile to get it to look
for required headers and libraries in the right places.  I don't know if
the powerdesk distribution is more polished or not - haven't seen a reason
to mess with it until I get the drivers built...

If anyone has specific familiarity with this driver set, please let me
know.  The card I'm using is a Matrox G450 PCI and I'm trying to get the
HAL functionality working so I can do dualhead and/or TV output.

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


Re: IMAP server and client recommendations?

2004-04-22 Thread Danny MacMillan
On Thu, 22 Apr 2004 15:40:40 +0100, Jim Hatfield <[EMAIL PROTECTED]> 
wrote:

On Thu, 22 Apr 2004 05:42:00 +0100, in local.freebsd.questions you
wrote:
Almost right, but not quite.  You set up an IMAP server that stores
mail in the desired format, add the IMAP support to Outlook, and then
drag/drop the mail into the IMAP mailbox.  There is no equivalent
client-side export needed.
Not always possible, unfortunately. Outlook 2000 with a MAPI
connection to an Exchange server lets you add a POP3 service but
not IMAP.
I use Outlook 2000, but this is not a problem in my case, as I don't use 
Exchange.  If I did though, I could get around it by copying all my mail 
from Exchange into a local .pst, hit the fantabulous "Reconfigure Mail 
Support" in Outlook and specify "Internet Only", then add the IMAP account 
and proceed as before.

Thanks everyone for your suggestions.

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


RE: Rackmount Server recommendation

2004-04-22 Thread Troy Settle
> -Original Message-
> From: Doug Poland
> Sent: Wednesday, April 21, 2004 8:30 AM
> 
> Hello,
> 
> I'm looking for recommendations on vendor/hardware for a rackmount 
> server.  The intention is to run 4.9-STABLE and host e-commerce sites.
> 
> Obviously, the vendor/hardware needs to support FreeBSD.  
> Specifically, 
> I'm looking for 4-6 hot-swappable SCSI RAID support.
> 
> Thanks for your help.
> 

Doug,

I've had two wonderful experiences with www.asacomputers.com.  Both were
nearly identical machines (save for the raid controller), one for FreeBSD,
the other for w2k server.  I'm getting ready to order a 3rd box from them in
order to deploy dialup accelleration.

--
  Troy Settle
  Pulaski Networks
  http://www.psknet.com
  866.477.5638
 

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


FW: Kernel debugging question

2004-04-22 Thread Jorn Argelo

Alright, I've added the below mentioned information (backtrace,
register info and the chunk of source code) as an attachment(34KB)
It also contains an ps -ax output, and some other kernel messages
which might be of use.

Thanks Greg, I look forward to your reply.

Jorn

P.S: I did notice your signature, but I thought about it the moment
I pressed the send button. Sorry about that. I'll make sure everything
will remain as it was.

On Thursday, 22 April 2004 at 4:18:52 +0200, Gregg 'groggy' Lehey wrote:

>[Format recovered--see http://www.lemis.com/email/email-format.html]

>Quoted text wrapped incorrectly.

>On Monday, 19 April 2004 at 14:46:57 +0200, Jorn Argelo wrote:
>> On Monday, 19 April 2004 at 12:56:56 +0200, Jorn Argelo wrote:
>>> [snip]
>> #0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
>> (kgdb)

> You want at least a backtrace.

 How do I do that? I'm sorry, but I've never done a kernel debug or
 anything.
>>
>>> That's why I pointed you to the documentation explaining what to do:
>>
>> Sorry, I didn't see that in your previous mail.
>
>Looks like you didn't see this either:
>
>> 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
>
>> I must say your documentation looks very well, though it goes far
>> above my level.  (Wouldn't be too healthy for a 17 year old kid to
>> do some kernel debugging already, no?)
>
>Younger people have done it.  Our record for the youngest committer is
>something like 14.
>
>> I currently have a backtrace, a chunk of source code which probably
>> causes the panic, and some register output. I haven't read all 99
>> pages of your documentation, but hopefully it'll be enough. Send me
>> a mail when you have time, and I'll mail you the contents. (The
>> source code is quite long, so posting everything in a single mail is
>> not a good idea). I can drop a mail at the current folks as well, if
>> you prefer that.

>Put it on the -questions list for now.  It could be instructive.

>Greg
>--
>When replying to this message, please take care not to mutilate the
>original text.
>For more information, see http://www.lemis.com/email.html
>Note: I discard all HTML mail unseen.
>Finger [EMAIL PROTECTED] for PGP public key.
>See complete headers for address and phone numbers.
[EMAIL PROTECTED] ~/dump# gdb -k /boot/kernel/kernel.debug /usr/home/jorn/dump/vmcore.0
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
panic: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code  = supervisor write, page not present
instruction pointer = 0x8:0xcdcb7bef
stack pointer   = 0x10:0xcdcb7bec
frame pointer   = 0x10:0xcdcb7c04
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= resume, IOPL = 0
current process = 11 (idle)
trap number = 12
panic: page fault

syncing disks, buffers remaining... 2107 2107 2107 2107 2107 2107 2107 2107 2107 2107 
2107 2107 2107 2107 2107 2107 2107 2107 2107 2107
giving up on 1594 buffers
Uptime: 4h26m37s
Dumping 255 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
---

warning: cannot find file for module nvidia.ko

Error while mapping shared library sections:
nvidia.ko: No such file or directory.
Error while reading shared library symbols:
nvidia.ko: No such file or directory.
Reading symbols from 
/usr/obj/usr/src/sys/smeagol/modules/usr/src/sys/modules/linux/linux.ko.debug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/smeagol/modules/usr/src/sys/modules/linux/linux.ko.debug
Reading symbols from 
/usr/obj/usr/src/sys/smeagol/modules/usr/src/sys/modules/acpi/acpi.ko.debug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/smeagol/modules/usr/src/sys/modules/acpi/acpi.ko.debug
Reading symbols from 
/usr/obj/usr/src/sys/smeagol/modules/usr/src/sys/modules/smbfs/smbfs.ko.debug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/smeagol/modules/usr/src/sys/modules/smbfs/smbfs.ko.debug
Reading symbols from 
/usr/obj/usr/src/sys/smeagol/modules/usr/src/sys/modules/libiconv/libiconv.ko.debug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/smeagol/modules/usr/src/sys/modules/libiconv/libiconv.ko.debug
Reading symbols from 
/usr/obj/usr/src/sys/smeagol/modules/usr/src/sys/modules/li---Type  to 
continue, or q  to quit---
bmchain/libmchain.ko.debug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/smeagol/modules/usr/src/sys/modules/

GD from ports on FreeBSD 4.9

2004-04-22 Thread Wayne Pascoe
Hi all,

I'm trying to build mrtg from /usr/ports/net-mgmt/mrtg and it appears to
want to update gd

The gd update is failing with the following errors:

cc -O -pipe -march=pentiumpro -I/usr/ports/graphics/gd/work/gd-2.0.22
-I/usr/local/include/freetype2/freetype  -I/usr/local/include/freetype2
-I/usr/local/include  -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE
-DHAVE_LIBZ   -c gdft.c -o gdft.o
gdft.c: In function `fontFetch':
gdft.c:485: `FT_ENCODING_MS_SYMBOL' undeclared (first use in this
function)
gdft.c:485: (Each undeclared identifier is reported only once
gdft.c:485: for each function it appears in.)
gdft.c:486: `FT_ENCODING_ADOBE_CUSTOM' undeclared (first use in this
function)
gdft.c:486: `FT_ENCODING_ADOBE_STANDARD' undeclared (first use in this
function)
gdft.c: In function `gdImageStringFTEx':
gdft.c:1050: `FT_ENCODING_MS_SYMBOL' undeclared (first use in this
function)
*** Error code 1

Stop in /usr/ports/graphics/gd/work/gd-2.0.22.
*** Error code 1

Stop in /usr/ports/graphics/gd/work/gd-2.0.22.
*** Error code 1

Stop in /usr/ports/graphics/gd.

Any idea how to fix it ? 

-- 
Wayne Pascoe
Everything to excess. To enjoy the flavour of 
life, take big bites. Moderation is for 
monks. - Robert Heinlein
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: GD from ports on FreeBSD 4.9

2004-04-22 Thread Dan Nelson
In the last episode (Apr 22), Wayne Pascoe said:
> I'm trying to build mrtg from /usr/ports/net-mgmt/mrtg and it appears
> to want to update gd
> 
> The gd update is failing with the following errors:
> 
> cc -O -pipe -march=pentiumpro -I/usr/ports/graphics/gd/work/gd-2.0.22
> -I/usr/local/include/freetype2/freetype  -I/usr/local/include/freetype2
> -I/usr/local/include  -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE
> -DHAVE_LIBZ   -c gdft.c -o gdft.o
> gdft.c: In function `fontFetch':
> gdft.c:485: `FT_ENCODING_MS_SYMBOL' undeclared (first use in this
> function)

Make sure your freetype is up-to-date (2.1.7_3 is the current version) also.

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


RE: What is PPPoed?

2004-04-22 Thread Jorn Argelo

>Your wild guess makes no sense.
>DSL lines are 24/7.
>They are like leased line, with permanent connection.
>Dailup service uses user ppp to 56k voice line style modem.

This is not true. A friend of mine does not have a 24/7 DSL line.
He needs to dial-in into his DSL connection before he has internet.
Perhaps it does not exist in your country, or you are unaware of it,
but I am sure that it does exists.

Here is a quote from the first line of the pppoed man page:

The pppoed utility listens to the given interface for PPP over Ethernet
PPPoE) service request packets, and actions them by negotiating a ses-
sion then invoking a ppp(8) program.

I don't really find it that hard to understand though. It makes perfect
sense with what I said. It uses PPP (Dial-in) over ethernet.(PPPoe) A
modem does not use an ethernet line, as far as I know. (Modem is a
simple
telephone line, using RJ-11 connectors. Ethernet uses RJ-45 connectors) 
So it has to be a utility to dial into a permanent DSL line, since you
can't dial into a cable modem. For a regular modem connection you just
use the PPP
utility. 

Jorn


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


Re: How do I know if the gnome upgrade script is running properly?

2004-04-22 Thread dick hoogendijk
On 18 Apr [EMAIL PROTECTED] wrote:
> I am currently on stage 4 of 5 of the gnome upgrade script and the
> only thing I get is that it will take a long time.
> 
> No other indications. I check with top and it shows actvity with cc1
> and a fiew other items but no output is sent to the terminal session
> and occasionally the HD LED blinks but that's about it.
> 
> Is there something to be worried about?

Read the stuff about "tailing the logfiles" ..
If you do it's possible to get all activity on screen.
Nothing to worry about but it's always nice to know what exactly the
script is doing.. ;-)

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.9 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilya
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: newbie question: Gnome 2.6 upgrade

2004-04-22 Thread Ian Bowers
I'll track down that logfile and check it out.  I didn't have X11 running at 
the time, since I figured it might have to upgrade some components that X11 
runs on.  It rebooted the machine, and when I scrolled up to check out all 
the startup text, everything looked in order.  Hopefully something will jump 
out in the logfile.


From: "Lucas Holt" <[EMAIL PROTECTED]>
To: "'Ian Bowers'" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Subject: RE: newbie question:  Gnome 2.6 upgrade
Date: Thu, 22 Apr 2004 10:44:22 -0400
I would run portversion -v | grep "<" and make sure everything was upgraded
to start with.  If all the gnome and X11 related stuff appears to be
upgraded, it might be hard to track down which build was at fault.  I think
the gnome upgrade script made a logfile in tmp.  I would check to see if
there is one there and if so see what happened.  Did you have x11 running
when you tried the upgrade?  Did the machine reboot or simply logout?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"

_
Watch LIVE baseball games on your computer with MLB.TV, included with MSN 
Premium! 
http://join.msn.com/?page=features/mlb&pgmarket=en-us/go/onm00200439ave/direct/01/

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


ARAID 99 1000L

2004-04-22 Thread Mark
Does anyone here, by any chance, have experience with the ARAID 99 1000L?
Specifically, how to obtain the status of the array (in FreeBSD, of course).
As usual, it comes with Windoze SNMP stuff, but nada for UNIX.

Thanks,

- Mark

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


Re: newbie question: Gnome 2.6 upgrade

2004-04-22 Thread Ian Bowers



From: Ewald Jenisch <[EMAIL PROTECTED]>
To: Ian Bowers <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: newbie question:  Gnome 2.6 upgrade
Date: Thu, 22 Apr 2004 17:16:14 +0200
On Thu, Apr 22, 2004 at 10:16:25AM -0400, Ian Bowers wrote:

> I'm having trouble upgrading to gnome 2.6.  I had gnome 2.4
> installed and running just fine.  I cvsup'd with the ports-supfile,
> and ran the gnome_upgrade.sh file.
Maybe dumb question: Did you upgrade "ruby" as instructed in
/usr/ports/UPDATING before upgrading Gnome? (I ran into that trap a
while ago)
Like a proper n00b, I didn't even know there was such a directory.  I 
followed the upgrade FAQ at freebsd.org on the assumption that it was a full 
set of instructions.  Thank you very much for this tidbit.  I'll upgrade 
ruby and check out that dir.

> Since running cvsup and the upgrade, I can't run startx like I used
> to.
Are your problems only related to X11 - or do you have the problems
when running in "console"-mode too?
Try switching virtual terminals with  (like
). First of all this switches you out to a
console-terminal leaving X running and thus gives to the ability to
track things down further.
-ewald



The problem only seems to be with X11.  I tried running several commands in 
console mode that I can normally run from any location and they all worked 
fine.  so far startx seems to be the only thing that won't run like it used 
to.  I read something about shells having to be rehashed to update the PATH 
lines?  I run in bash if that makes a difference.

Thank you very much for your help so far.

_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


SNMP and MRTG

2004-04-22 Thread whizkid
Hey all I am new to SNMP.  I have installed mrtg and net-snmp but I am
having some issues.  I found a few web sites that explain how to query for
memory usage from snmp.  But it doesn't work I get a Unknown object error.
 So I verify that all the MIB files are in /usr/local/share//snmp/mibs
which they are.  I then did a  cat HOST-RESOURCES-MIB.txt | grep
hrStorageSize and found references to the hrStorageSize.  BUT if I do a
snmpwalk -v 1 -Cc -c public localhost | grep hrStorageSize I get nothing. 
There are hrStorageDesc.1, hrStorageDesc.2, hrStorageDesc.3,
hrStorageDesc.4, hrStorageDesc.5 but nothing to do with size.  Am I doing
something wrong?

Here is the output from:
snmpwalk -v 1 -Cc -c public localhost | grep hrStorage

HOST-RESOURCES-MIB::hrStorageIndex.1 = INTEGER: 1
HOST-RESOURCES-MIB::hrStorageIndex.2 = INTEGER: 2
HOST-RESOURCES-MIB::hrStorageIndex.3 = INTEGER: 3
HOST-RESOURCES-MIB::hrStorageIndex.4 = INTEGER: 4
HOST-RESOURCES-MIB::hrStorageIndex.5 = INTEGER: 5
HOST-RESOURCES-MIB::hrStorageIndex.6 = INTEGER: 6
HOST-RESOURCES-MIB::hrStorageIndex.7 = INTEGER: 7
HOST-RESOURCES-MIB::hrStorageIndex.8 = INTEGER: 8
HOST-RESOURCES-MIB::hrStorageType.1 = OID:
HOST-RESOURCES-TYPES::hrStorageOther
HOST-RESOURCES-MIB::hrStorageType.2 = OID: HOST-RESOURCES-TYPES::hrStorageRam
HOST-RESOURCES-MIB::hrStorageType.3 = OID:
HOST-RESOURCES-TYPES::hrStorageVirtualMemory
HOST-RESOURCES-MIB::hrStorageType.4 = OID:
HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.5 = OID:
HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.6 = OID:
HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.7 = OID:
HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.8 = OID:
HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: Memory Buffers
HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: Real Memory
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: Swap Space
HOST-RESOURCES-MIB::hrStorageDescr.4 = STRING: /
HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: /dev
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: /tmp
HOST-RESOURCES-MIB::hrStorageDescr.7 = STRING: /usr
HOST-RESOURCES-MIB::hrStorageDescr.8 = STRING: /var
HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 256 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.2 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.4 = INTEGER: 2048 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.5 = INTEGER: 512 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 2048 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.7 = INTEGER: 2048 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.8 = INTEGER: 2048 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationFailures.1 = Counter32: 0
HOST-RESOURCES-MIB::hrSWRunParameters.18077 = STRING: "hrStorage"

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


RE: newbie question: Gnome 2.6 upgrade

2004-04-22 Thread Lucas Holt
 

The problem only seems to be with X11.  I tried running several commands in
console mode that I can normally run from any location and they all worked
fine.  so far startx seems to be the only thing that won't run like it used
to.  I read something about shells having to be rehashed to update the PATH
lines?  I run in bash if that makes a difference.



If I'm not mistaken, you only need to run rehash with a csh not sh/bash.
Besides, you said the machine rebooted.  The path should be correct then.

You could type env and look at your environment variables. Make sure X11 is
still in your path.

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


pppd version

2004-04-22 Thread Todd
I'm curently running FreeBSD 4.9-STABLE #1: Fri Mar 26 10:15:04 EST 2004

Which has pppd version 2.3 patch level 5.

I'm trying to use the X-ISP GUI program and it requires pppd version
2.3.9 or later to be able to automatically obtain DNS.  I'm going to be
connecting at various locations, each with it's own DNS, and would like
to be able to pull them automatically as opposed to hard coding them and
carrying around a list.

Anyone know how I can update pppd?

Is pppd even being maintained?

If I update to the latest 4.9-stable what pppd version does it have?




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


rsync: connection unexpectedly closed (0 bytes read so far)

2004-04-22 Thread samy lancher

Hello all,

I am having a problem with rsync. I want to backup data from one machine  to another 
remote machine. I have Freebsd4.7 on source and FreeBSD4.9 on destination machines. 
rsync is installed on both the machines. I gave the following command at the source 
machine.

rsync -avvznrbe  rsh  /sourcepath   66.123.34.123:/destinationpath 

(66.123.34.123 is the destination ip address)

Below is the error i get

opening connection using rsh 66.123.34.123 rsync --server -vvbnlogDtprz . 
/destinationpath
66.123.34.123: operation timed out
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(189)

I am using dry run for testing purpose. I can "rsh" from source to destination machine 
but i do not understand why rsync is not working. Any direction would be very helpful.

Thanks in advance.

Naveen.



-
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Rackmount Server recommendation

2004-04-22 Thread Bill Campbell
On Thu, Apr 22, 2004, Troy Settle wrote:
...
>
>I've had two wonderful experiences with www.asacomputers.com.  Both were
>nearly identical machines (save for the raid controller), one for FreeBSD,
>the other for w2k server.  I'm getting ready to order a 3rd box from them in
>order to deploy dialup accelleration.

We got a 1U box from asacomputers.com that was delivered with a couple of
screws cross threaded and wrenched off on the DB-9 serial connectors at the
back of the case (I personally ban any non-manual screwdrivers and such
from the shop).  ASA replaced the main board, but it was a bit of a hassle.

We use IBM xSeries rack mount servers for most of our critical sites,
largely because of the 3 year on-site support from IBM.  It's a lot easier
on our customers in the boonies than to wait for somebody from Seattle to
get there.  The xSeries boxes are easily the best engineered of any Intel
servers I've seen with hot-swap everything, and even allow one person to
mount them on their standard slide rails unassisted.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

When I hear a man applauded by the mob I always feel a pang of pity
for him.  All he has to do to be hissed is to live long enough.
-- H.L. Mencken, ``Minority Report''
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What is PPPoed?

2004-04-22 Thread Peter Ulrich Kruppa
On Thu, 22 Apr 2004, Jorn Argelo wrote:

> I believe it's dialup service for DSL lines (Point to Point Protocol over
> ethernet daemon? Just a wild guess though)
Yes it is. But you don't use it directly, it is a part of the ppp
"package".

Uli.
> So if you have a DSL line which
> requires the user to dial in, you'll need PPPoed. Otherwise, if your ISP
> gives you an peminent IP address, you can just set your interface to DHCP or
> anything else the ISP requires.
>
> Cheers,
>
> Jorn
>
> On Thursday 22 April 2004 15:11, JJB wrote:
> > I read the man pppoed, but that is so cryptic I got nothing out of
> > it.
> >
> > What is the purpose of PPPoed?
> >
> > Who are the typical users?
> >
> > How is this different than using ppp with
> > 'set device PPPoE:XXX' in the ppp.conf
> >
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: What is PPPoed?

2004-04-22 Thread JJB
If you do not use it directly, then why is there rc.conf statements
to enable it just like you would enable user ppp?
Pppoed_enable="YES"

It's more than a behind the scenes module.

-Original Message-
From: Peter Ulrich Kruppa [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 1:33 PM
To: Jorn Argelo
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: What is PPPoed?

On Thu, 22 Apr 2004, Jorn Argelo wrote:

> I believe it's dialup service for DSL lines (Point to Point
Protocol over
> ethernet daemon? Just a wild guess though)
Yes it is. But you don't use it directly, it is a part of the ppp
"package".

Uli.
> So if you have a DSL line which
> requires the user to dial in, you'll need PPPoed. Otherwise, if
your ISP
> gives you an peminent IP address, you can just set your interface
to DHCP or
> anything else the ISP requires.
>
> Cheers,
>
> Jorn
>
> On Thursday 22 April 2004 15:11, JJB wrote:
> > I read the man pppoed, but that is so cryptic I got nothing out
of
> > it.
> >
> > What is the purpose of PPPoed?
> >
> > Who are the typical users?
> >
> > How is this different than using ppp with
> > 'set device PPPoE:XXX' in the ppp.conf
> >
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+

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


Re: Keeping Ports synchronised with Packages

2004-04-22 Thread Kent Stewart
On Thursday 22 April 2004 08:01 am, Matthew Seaman wrote:
> On Thu, Apr 22, 2004 at 02:57:53PM +0100, Richard Bradley wrote:


> Absolutely.  Now, where are you getting the pre-compiled packages
> from?  If it's from one of the 4-Disk FreeBSD CD Rom sets, then yes,
> you're going to have problems with file versions as there have been
> updates to a number of major software systems gone into the ports
> tree in the 4 months or so since 4.9-RELEASE.
>
> On the other hand, if you're downloading the packages from the ftp
> sites, you should be within a week or two of the latest versions.
> Take a look at, eg:
>
>
> http://www.mirror.ac.uk/sites/ftp.freebsd.org/pub/FreeBSD/ports/i386/
>packages-4-stable/Latest/
>
> (if you want to access that server for your FTP'ing needs, it's also
> known as ftp2.uk.freebsd.org)
>
> That shows you all of the packages for 4-STABLE that have been
> updated since 4.9-RELEASE came out. (There's a similar directory
> structure for the 5.x packages).  Looks like there was a new batch
> produced on 11th April, including the KDE packages:
>
>
> http://www.mirror.ac.uk/sites/ftp.freebsd.org/pub/FreeBSD/ports/i386/
>packages-4-stable/Latest/kde.tgz
>
> That gets you kde-3.2.1_1 The ports tree is currently at kde-3.2.2 --
> like you say, a minor version number behind.  Unfortunately, that's
> just the way things are: the project only has a limited capacity to
> keep compiling new packages when ports get updated, especially since
> they're producing packages for both 4.x and 5.x at the moment.  Also,
> sometime soon the new package set for 4.10-RELEASE will be produced,
> which means compiling *everything* in the ports tree from scratch.
>
> You should be able to get all of the dependencies of KDE etc. as
> precompiled packages -- using:
>
> # pkg_add -r kde
>
> will try and download everything required.
>
> I should note that you're particularly unlucky right now with both
> KDE and Gnome having gone through some major updates just recently.
> Usually the lag between the port coming out and the updated package
> doesn't affect such a large proportion of all of the available
> ports/packages.
>

A fix for kde is on Fruitsalad

Last stable version build

3.2.2 Packages 
i386 4-STABLE (Posted Tue April 20 01:47 CET 2004) 
Packages: http://rabarber.fruitsalad.org/packages/3.2.2-final-3/4-STABLE 

PACKAGESITE: 
http://rabarber.fruitsalad.org/packages/3.2.2-final-3/4-STABLE/Latest/

While I was downloading the source tarballs from a mirror in Oregon, I 
updated the computer I am using right now defining the packagsite 
option.

Kent

> > If I use `portupgrade -PP` (i.e. forcing it to use packages) it
> > (almost) always fails because there are never precompiled packages
> > of the same version as my (cvsup'ed) ports tree.
> >
> > In the same way, `portupgrade -P` (i.e. try to use packages) is
> > equivalent to `portupgrade` (i.e. compile from source) because of
> > the version lag in the packages as compared to the ports.
> >
> > One solution might be to get cvsup to check out slightly older
> > versions of the port tree that matches up with the available
> > packages. However this doesn't seem possible.
>
> As someone else commented, you can hold various packages inside
> pkgtools.conf -- that means portupgrade won't even attempt to upgrade
> them.  Or you can tell portupgrade that you want certain ports to be
> installed either preferentially or exclusively via packages -- see
> the section in /usr/local/etc/pkgtools.conf on USE_PKGS and
> USE_PKGS_ONLY. If you enter the names of the really big packages that
> you never want to spend time compiling in one or other of those
> arrays, then you can let portupgrade upgrade everything else around
> them.  You will find that certain ports are marked as 'ignored' if
> they depend on a port where there isn't the latest version of a
> package available yet, but that includes a lot of ports that wouldn't
> need to be upgraded anyhow.
>
> You can certainly check out a backdated version of the ports tree via
> cvsup(1) -- eg. to get the ports tree from 1st April just add:
>
> *default date=2004.04.01.12.00
>
> to your supfile.
>
>   Cheers,
>
>   Matthew

-- 
Kent Stewart
Richland, WA

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


RE: What is PPPoed?

2004-04-22 Thread Peter Ulrich Kruppa
On Thu, 22 Apr 2004, JJB wrote:

First of all: Sorry, I think I was talking nonsense:
I am running a DSL connection which uses the kind of protocol
that is called PPPoE and which is managed by ppp . ppp either
needs netgraph (default) or pppoed (alternatively). Since
netgraph is built into the kernel by default nowadays, you don't
have to worry about either.

Uli.

> If you do not use it directly, then why is there rc.conf statements
> to enable it just like you would enable user ppp?
> Pppoed_enable="YES"
>
> It's more than a behind the scenes module.
>
> -Original Message-
> From: Peter Ulrich Kruppa [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 22, 2004 1:33 PM
> To: Jorn Argelo
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: What is PPPoed?
>
> On Thu, 22 Apr 2004, Jorn Argelo wrote:
>
> > I believe it's dialup service for DSL lines (Point to Point
> Protocol over
> > ethernet daemon? Just a wild guess though)
> Yes it is. But you don't use it directly, it is a part of the ppp
> "package".
>
> Uli.
> > So if you have a DSL line which
> > requires the user to dial in, you'll need PPPoed. Otherwise, if
> your ISP
> > gives you an peminent IP address, you can just set your interface
> to DHCP or
> > anything else the ISP requires.
> >
> > Cheers,
> >
> > Jorn
> >
> > On Thursday 22 April 2004 15:11, JJB wrote:
> > > I read the man pppoed, but that is so cryptic I got nothing out
> of
> > > it.
> > >
> > > What is the purpose of PPPoed?
> > >
> > > Who are the typical users?
> > >
> > > How is this different than using ppp with
> > > 'set device PPPoE:XXX' in the ppp.conf
> > >
> > > ___
> > > [EMAIL PROTECTED] mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> > > "[EMAIL PROTECTED]"
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> >
>
> +---+
> |Peter Ulrich Kruppa|
> | Wuppertal |
> |  Germany  |
> +---+
>
>

+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: What is PPPPoed?

2004-04-22 Thread Thompson, Jimi
PPPoed is the Point-to-Point Protocol over Ethernet Daemon.
The RFC is here - http://www.faqs.org/rfcs/rfc2516.html

I also suggest that you Google on PPPOE and do some reading.

HTH,

Jimi

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JJB
Sent: Thursday, April 22, 2004 8:12 AM
To: [EMAIL PROTECTED] ORG
Subject: What is oed?

I read the man pppoed, but that is so cryptic I got nothing out of
it.

What is the purpose of PPPoed?

Who are the typical users?

How is this different than using ppp with
'set device PPPoE:XXX' in the ppp.conf

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


Specifying sort fields

2004-04-22 Thread JJB
How to specify the  fields the sort program is to sort on?

My file has blanks between the fields and I want to sort on
field number 9 which is ip address.

I want to sort filea and put results in fileb.

A sample of the sort command  to be used from the command line would
go an long way to understanding how to use it.

Thanks

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


RE: being DOSed

2004-04-22 Thread Thompson, Jimi

I have found some IPs are opening 10 HTTP connection. Their IPs are
Changing and all IPs are from different ISP network.
What should I do next?
Thanks
Meimi


I'd suggest putting a firewall on another server, if you are being
DDOS'd.  Most people don't realize this, but your average old crunch
Pentium I or MMX CPU has a lot more horse power than the average high
end router that has nearly the same name as my vegetable shortening.
Take anything you have and make it into something running a firewall or
proxy which can filter the traffic to your web server.  IMHO if you web
server is already straining under a load from all the inbound traffic,
you might not want to add a firewall to that box since it might not
handle the additional load of inspecting all the packets/network
connections.  

I would suggest making some changed to your httpd.conf as well.  Since
you're posting to the FreeBSD list, I'm assuming that you're using
Apache.

While what I'm suggesting won't help with making the actual DDOS'ing
stop but it can help to keep your server from crashing due to the load.
Most DDOS's against a web site occur by having a utility that opens a
connection to your web server and then leave it hanging - waiting for an
additional response from the client connection.  That being the case,
there are quite a few things you can do to change how your web server
responds and processes those requests.

In this situation, your best friends are the TimeOut  & KeepAliveTimeout
directives - turn those puppies down.  You'll cause some legit users to
get timed out but it will also cause the DDOS requests to time out
faster as well.  That said, you'll also probably want to edit some of
the other directives in your httpd.conf as well.  I didn't see a mention
of which version of apache you are running, so I'm going to mention
things I've found useful in the past.  

You can set the MaxClients directive down so that your server will stop
accepting so many incoming sessions.  When you go to set it back up
(after all this is over), be careful not to set it to something over 256
unless you have compiled special options in to your apache installation.
If you don't know what I'm talking about, you haven't done it.  

You can also set the MaxKeepAliveRequests to something low. Setting the
MaxRequestsPerChild to something low will cause the spawned child
processes to be killed off and restarted fairly frequenly.  If you are
seeing anyting involving escalating memory usage, this can be quite
helpful.  You should also probably MaxSpareServers so that any unused
processes are dying on their own.  I've found that limiting the
MinSpareServers to be useful in stopping more children from spawning
when the server is under an undesirable high load.  

Depending on your version, you may also be able to set ThreadsPerChild,
RLimitNPROC directive, RLimitMEM directive, RLimitCPU directive to limit
system resource utilization.  

If you're already being DOS'd, you may also want to consider setting the
port directive to something other than 80 as least for now.

HTH,

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


RE: What is PPPPoed?

2004-04-22 Thread JJB
I all ready did my homework reading the man pppoed and googleing.

If the cryptic documentation was written for other people than
expert
Unix programmers then it would have answered my questions.

I already know that pppoed is different than 'user pppoe'.
I know under what conditions someone would use 'user pppoe'.

>From the view point of FreeBSD, under what conditions would
someone need to use pppoed?

What need or purpose does it fill in the Freebsd world?


Please Explain by giving example .



-Original Message-
From: Thompson, Jimi [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 2:31 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED] ORG
Subject: RE: What is oed?

PPPoed is the Point-to-Point Protocol over Ethernet Daemon.
The RFC is here - http://www.faqs.org/rfcs/rfc2516.html

I also suggest that you Google on PPPOE and do some reading.

HTH,

Jimi

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JJB
Sent: Thursday, April 22, 2004 8:12 AM
To: [EMAIL PROTECTED] ORG
Subject: What is oed?

I read the man pppoed, but that is so cryptic I got nothing out of
it.

What is the purpose of PPPoed?

Who are the typical users?

How is this different than using ppp with
'set device PPPoE:XXX' in the ppp.conf

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

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


Dummynet+Firewall+One_pass question

2004-04-22 Thread Marcelo Pinheiro
Hi,

I am very new to FreeBSD, and I have a quite simple question: How does IPFW
work when I use PIPES, divert and some other Firewall rules?
What does net.inet.ip.fw.one_pass mean? For instance, if I use a pipe before
a divert with one_pass set to 1, the packet passes through the pipe, but
does not pass through the divert and that makes total sense. However if I
set one_pass to 1 and set the pipe after the divert using the internal IP
address ( RFC 1918 ) it works that does not make any sense, at least to
me. :)
Here are some sample rules:

# INTERNAL NETWORK
${fwcmd} pipe 1000 config bw 1024Kbit/s
${fwcmd} pipe 1001 config bw 1024Kbit/s

${fwcmd} add divert natd all from 10.0.0.0/8 to any
${fwcmd} add divert natd all from any to 200.x.x.x

${fwcmd} add pipe 1038 ip from 10.0.0.0/8 to any
${fwcmd} add pipe 1039 ip from any to 10.0.0.0/8

If I set the way above, it works fine, even if the one_pass is set to 1 (
one ). The divert changes the packet header to my external IP, and my real
question is: How in the world the pipe works if the header is changed to
200, instead of 10?

THIS WAY IT DOES NOT WORK WITH ONE_PASS SET TO 1, it passes through the
pipe, but does not pass through the divert:

# INTERNAL NETWORK
${fwcmd} pipe 1000 config bw 1024Kbit/s
${fwcmd} pipe 1001 config bw 1024Kbit/s

${fwcmd} add pipe 1038 ip from 10.0.0.0/8 to any
${fwcmd} add pipe 1039 ip from any to 10.0.0.0/8

${fwcmd} add divert natd all from 10.0.0.0/8 to any
${fwcmd} add divert natd all from any to 200.x.x.x

I deeply appreciate any ideas.

Sincerely,

Marcelo Pinheiro

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.664 / Virus Database: 427 - Release Date: 21/4/2004

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


Re: jdk14

2004-04-22 Thread Radu MOLNAR

Yes, i do.


On Thu, 22 Apr 2004, Martin Hudec wrote:

> Hello Radu,
>
>   and do you have linux_enable="YES" set in /etc/rc.conf?
>
>
>   Cheers,
>
>   Martin
>
>
> On Thu, Apr 22, 2004 at 04:13:27PM +0300 or thereabouts, Radu MOLNAR wrote:
> > I have problems installing jdk14 from the ports. I searched for the error
> > and i found that i have to have linuxprocfs mounted so i did that:
> > linprocfs on /usr/compat/linux/proc (linprocfs, local)
> >
> > I also have installed linux_base package:
> > linux_base-7.1_7The base set of packages needed in Linux mode
> >
> > Do i have to do something else to get this to compile?
>
> --
> Martin Hudec  | corwin at aeternal.net
>   | corwin at web.markiza.sk
> http://www.aeternal.net   | cell +421 907 303 393
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: routed(8)

2004-04-22 Thread Thomas Beer
Try to put two lines in /etc/gateways

if=fxp2 passive
if=fxp3 passive

Cheers Tom

> Is it possible to have routed(8) ignore certain ethernet interfaces.
>
> For example, on a device with fxp[0-3], I only need routed to
> interact with fxp[0-1], and to ignore the existence of fxp[2-3].
>
> TIA,
> rip
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>
>

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


Good PCI Firewire Card?

2004-04-22 Thread Michael Barrett
Can anyone reccomend a good PCI Firewire card that has good
support in FreeBSD 5.2.1?
-- 
 
Mike Barrett | "We have veggie bacon, why don't we have
 [EMAIL PROTECTED] |  meat fruit?"
  www.daboyz.org |-- My ex-coworker, Ben
 +---
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Antw: Re: gdm2/gdmgreeter crashes upon start

2004-04-22 Thread Lee Harr
> >Apr 21 17:27:13 morreion gdmgreeter[541]: greeter_parse_config: No
> >configuration file: /usr/X11R6/etc/gdm/gdm.conf. Using defaults.
> >Apr 21 17:27:51 morreion gdmgreeter[567]: greeter_parse_config: No
> >configuration file: /usr/X11R6/etc/gdm/gdm.conf. Using defaults.
> >
> >These confuse me because gdm.conf is exactly at the specified location
> >and it's world readable so gdm should have no problem at all reading 
the
> >file.
>
> Is that a file from a previous version of gdm?
> Maybe the syntax has changed, and the error message is just\
> misleading.
>
> The gdm package/ port comes with a sample ...
>
> >pkg_info -L gdm2-2.6.0.0_1 | grep gdm.conf
> /usr/X11R6/etc/gdm/factory-gdm.conf
>
> which you could copy in to place and see if that works better.
It can't be from a previous versions, I did a complete new installation of 
FBSD on this machine. I diff-ed the two and there were no differences. But 
I went ahead and copied factory-gdm.conf to gdm.conf. No change, the same 
error pop-up, the same warnings in the message log...

I'm open for suggestions how to further tackle this...



Have you tried gdmsetup?

Also, there is always kdm if you can't get it going.

_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

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


Re: Specifying sort fields

2004-04-22 Thread Dan Nelson
In the last episode (Apr 22), JJB said:
> How to specify the  fields the sort program is to sort on?
> 
> My file has blanks between the fields and I want to sort on
> field number 9 which is ip address.
> 
> I want to sort filea and put results in fileb.
> 
> A sample of the sort command  to be used from the command line would
> go an long way to understanding how to use it.

Somthing like "sort -k 9bn < filea > fileb" should work, but it will
end up sorting only the first octect.  If you can get your addresses to
be 0-padded (000.000.000.000), you can drop the 'n' from the sort
command and just do a plain ascii sort.

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


Sil0680 causes panic on 5.2.1-p5.

2004-04-22 Thread Lewis Thompson
Hi,

I've just bought a Silicon Image Sil 0680 RAID controller.  I will only
be using it as an IDE controller (i.e. without any RAID functionality).

  This causes a panic on 5.2.1-p5 (GENERIC):

atapci1: 
port 0xcc00-0xcc0f,0xd000-0xd003,0xd400-0xd407, 0xd800-0xd803,
0xdc00-0xdc07 mem 0xcfffbf00-0xcfffbfff irq 5 at device 9.0 on pic0
atapci1: [MPSAFE]

Fatal trap 12: page fault while in kernel mode
cpuid = 0, apic id = 00

fault virtual address = 0xd12f8000
fault code = supervisor write, page not present
instruction pointer = 0x8:0xc04d2627
stack pointer = 0x10:0xc219a0
frame pointer = 0x10:0xc219ac
code segment = base 0x0, limit 0xf, type = 0x1b
 = DPL 0, pres1, def32 1, grain 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 0 (swapper)
trap number = 12
cpuid = 0;

  As you can see I just wrote this down and typed it up (so there may be
errors!).  If somebody needs meaningful numbers please ask me and I will
go over and double-check everything.

  I have tried the obvious things -- removing other PCI devices, etc.  I
was unable to disable the onboard IDE controller because this card
doesn't seem to support booting.

  The twist is this:  there is no panic if I boot 4.9-rc4 (disk1,
install) or 5.1-RELEASE (disk1, install).  It is specific to 5.2.1-p5
(or at least between 5.1-R and this).

  I verified this with a GENERIC kernel (compiled by me) and a custom
kernel (unneeded devices removed and some firewall stuff added).


  Please ask for any details -- I've not included a dmesg since it would
be of the machine without the card plugged in.  I can provide anything
(but I've not used kernel debugging before).


  Any help with this would be much appreciated,

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgp0.pgp
Description: PGP signature


Home server upgrade 4.9 -> 5.2.1, drop in hard disk or network performance?

2004-04-22 Thread Markie
Hello everyone!

I just upgraded my home server frmo 4.9-R-p3 to 5.2.1-R after having a few
problems with modems and random hard lockups(?).

Well, first off the upgrade didn't solve this and I can still reliably make
the box freeze with a new modem I bought which I hoped would cure the
problem... when infact it's 10x worse with that modem :o) Has anyone got
any ideas as to what could be causing this? The network card for the
internal side is an fxp card and the network card the modem is attached to
is an older 10megabit vx card (3com Etherlink III).

I can't really think of any other information to provide right now but I
really would be grateful for some prompting of more info and a bit of help!
My last few emails to questions about the hard lock ups didn't get any
replies if I remember rightly :o)

Aside from that, I just copied a 400 meg file over samba and it really did
seem incredibly slow compared to when it was running 4.9. It took agess
to untar the backup 1.5gig file too! Is there anything I am supposed to
tweak here?
I am thinking about just reinstalling 4.9 again but I would like to avoid
that if I can, as it would be alot of time wasted :o) I don't have any
numbers for this unfortuantly either, it just feels and seems a hell of
alot slower! For instance, when I was copying this file and tried to ssh in
from my windows machine it just sat there for ages doing (apparently)
nothing!

Thanks!

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


Re: Home server upgrade 4.9 -> 5.2.1, drop in hard disk or networkperformance?

2004-04-22 Thread Markie

- Original Message - 
From: "Markie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 22, 2004 10:53 PM
Subject: Home server upgrade 4.9 -> 5.2.1, drop in hard disk or
networkperformance?


| Hello everyone!
|
| I just upgraded my home server frmo 4.9-R-p3 to 5.2.1-R after having a
few
| problems with modems and random hard lockups(?).
|
| Well, first off the upgrade didn't solve this and I can still reliably
make
| the box freeze with a new modem I bought which I hoped would cure the
| problem... when infact it's 10x worse with that modem :o) Has anyone got
| any ideas as to what could be causing this? The network card for the
| internal side is an fxp card and the network card the modem is attached
to
| is an older 10megabit vx card (3com Etherlink III).
|
| I can't really think of any other information to provide right now but I
| really would be grateful for some prompting of more info and a bit of
help!
| My last few emails to questions about the hard lock ups didn't get any
| replies if I remember rightly :o)
|
| Aside from that, I just copied a 400 meg file over samba and it really
did
| seem incredibly slow compared to when it was running 4.9. It took
agess
| to untar the backup 1.5gig file too! Is there anything I am supposed to
| tweak here?
| I am thinking about just reinstalling 4.9 again but I would like to avoid
| that if I can, as it would be alot of time wasted :o) I don't have any
| numbers for this unfortuantly either, it just feels and seems a hell of
| alot slower! For instance, when I was copying this file and tried to ssh
in
| from my windows machine it just sat there for ages doing (apparently)
| nothing!
|
| Thanks!
|

Well I was just using bmon from ports to monitor the speed and copying a
file to the box over samba is dramatically slower than copying from it:

Copying a 1.5gig backup tar from the freebsd machine to my box is around
6-7 meg a second
Copying a 600 odd meg file to the freebsd machine from my box is around
only 1-2 meg a second!

I do seem to remember having this kind of problem ages ago when I used
Linux. Before installing 5.2.1 I did enable plug and play in BIOS (it hung
with that turned on using 4.9, not with 5.2.1 though) so I will try
disabling that either later or tomorrow morning to see if that fixes my
issue! Could it be that which is causing it?

Other than that I don't think I have had any major issues with the install
yet :o) Well... except for it didn't solve my hard lockup problem like I
hoped it would have. Seems like it isn't a hard disk performance drop
though :o)

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

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


Missing Port

2004-04-22 Thread whizkid
I am tring to install mrtg on my test FreeBSD 5.1 box.  I change into my
/usr/ports/net/mrtg directory and find that there is only a README.html 
How can I get this port back?  I tried to cvsup it with ports-all but the
files are not there.  What would be a quick solution to get the files? 
Without downloading the ports.tar.gz file and extracting it
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Home server upgrade 4.9 -> 5.2.1, drop in hard disk ornetworkperformance?

2004-04-22 Thread Markie

- Original Message - 
From: "Markie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 22, 2004 11:14 PM
Subject: Re: Home server upgrade 4.9 -> 5.2.1, drop in hard disk
ornetworkperformance?


|
| - Original Message - 
| From: "Markie" <[EMAIL PROTECTED]>
| To: <[EMAIL PROTECTED]>
| Sent: Thursday, April 22, 2004 10:53 PM
| Subject: Home server upgrade 4.9 -> 5.2.1, drop in hard disk or
| networkperformance?
|
|
| | Hello everyone!
| |
| | I just upgraded my home server frmo 4.9-R-p3 to 5.2.1-R after having a
| few
| | problems with modems and random hard lockups(?).
| |
| | Well, first off the upgrade didn't solve this and I can still reliably
| make
| | the box freeze with a new modem I bought which I hoped would cure the
| | problem... when infact it's 10x worse with that modem :o) Has anyone
got
| | any ideas as to what could be causing this? The network card for the
| | internal side is an fxp card and the network card the modem is attached
| to
| | is an older 10megabit vx card (3com Etherlink III).
| |
| | I can't really think of any other information to provide right now but
I
| | really would be grateful for some prompting of more info and a bit of
| help!
| | My last few emails to questions about the hard lock ups didn't get any
| | replies if I remember rightly :o)
| |
| | Aside from that, I just copied a 400 meg file over samba and it really
| did
| | seem incredibly slow compared to when it was running 4.9. It took
| agess
| | to untar the backup 1.5gig file too! Is there anything I am supposed to
| | tweak here?
| | I am thinking about just reinstalling 4.9 again but I would like to
avoid
| | that if I can, as it would be alot of time wasted :o) I don't have any
| | numbers for this unfortuantly either, it just feels and seems a hell of
| | alot slower! For instance, when I was copying this file and tried to
ssh
| in
| | from my windows machine it just sat there for ages doing (apparently)
| | nothing!
| |
| | Thanks!
| |
|
| Well I was just using bmon from ports to monitor the speed and copying a
| file to the box over samba is dramatically slower than copying from it:
|
| Copying a 1.5gig backup tar from the freebsd machine to my box is around
| 6-7 meg a second
| Copying a 600 odd meg file to the freebsd machine from my box is around
| only 1-2 meg a second!
|
| I do seem to remember having this kind of problem ages ago when I used
| Linux. Before installing 5.2.1 I did enable plug and play in BIOS (it
hung
| with that turned on using 4.9, not with 5.2.1 though) so I will try
| disabling that either later or tomorrow morning to see if that fixes my
| issue! Could it be that which is causing it?
|
| Other than that I don't think I have had any major issues with the
install
| yet :o) Well... except for it didn't solve my hard lockup problem like I
| hoped it would have. Seems like it isn't a hard disk performance drop
| though :o)
|

Ok, well, I just rebooted and put plug and play os back to disabled but
it's the same... so I guess this must have something to do with it being a
newer version of samba (same config as before though) or freebsd? Anyone
else seem anything like this before?

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


Re: Kernel debugging question

2004-04-22 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Wrapped text still broken.

On Thursday, 22 April 2004 at 16:45:11 +0200, Jorn Argelo wrote:
> On Thursday, 22 April 2004 at 4:18:52 +0200, Gregg 'groggy' Lehey wrote:
>> On Monday, 19 April 2004 at 14:46:57 +0200, Jorn Argelo wrote:
>>> I currently have a backtrace, a chunk of source code which probably
>>> causes the panic, and some register output. I haven't read all 99
>>> pages of your documentation, but hopefully it'll be enough. Send me
>>> a mail when you have time, and I'll mail you the contents. (The
>>> source code is quite long, so posting everything in a single mail is
>>> not a good idea). I can drop a mail at the current folks as well, if
>>> you prefer that.
>
>> Put it on the -questions list for now.  It could be instructive.
>
> Alright, I've added the below mentioned information (backtrace,
> register info and the chunk of source code) as an attachment(34KB)
> It also contains an ps -ax output, and some other kernel messages
> which might be of use.
>
>
> Thanks Greg, I look forward to your reply.
>
> Jorn
>
> P.S: I did notice your signature, but I thought about it the moment
> I pressed the send button. Sorry about that. I'll make sure everything
> will remain as it was.

You seem to have missed (again):

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

> [EMAIL PROTECTED] ~/dump# gdb -k /boot/kernel/kernel.debug 
> /usr/home/jorn/dump/vmcore.0
> ...
> (kgdb) bt
>
> #0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
> #1  0xc0520da2 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:372
> #2  0xc05210d7 in panic () at /usr/src/sys/kern/kern_shutdown.c:550
> #3  0xc0647866 in trap_fatal (frame=0xcdcb7bac, eva=0)
> at /usr/src/sys/i386/i386/trap.c:821
> #4  0xc0646f13 in trap (frame=
>   {tf_fs = -1066532840, tf_es = 16, tf_ds = -1066991600, tf_edi = -1049879296, 
> tf_esi = 1, tf_ebp = -842302460, tf_isp = -842302504, tf_ebx = -842302241, tf_edx = 
> -1066500160, tf_ecx = -1049858920, tf_eax = 0, tf_trapno = 12, tf_err = 2, tf_eip = 
> -842302481, tf_cs = 8, tf_eflags = 67714, tf_esp = -1049902208, tf_ss = 0}) at 
> /usr/src/sys/i386/i386/trap.c:250
> #5  0xc0638f48 in calltrap () at {standard input}:94
> #6  0xc064a209 in clkintr (frame=0xcdcb7cdf)
> at /usr/src/sys/i386/isa/clock.c:193
> #7  0xc063d078 in intr_execute_handlers (isrc=0xc06d9fe0, iframe=0x1)
> at /usr/src/sys/i386/i386/intr_machdep.c:192
> #8  0xc0649d1f in atpic_handle_intr (iframe=
>   {if_vec = 0, if_fs = 24, if_es = 16, if_ds = -1026949104, if_edi = 
> -1026910720, if_esi = -1026910696, if_ebp = -842302280, if_ebx = -1049871268, if_edx 
> = 0, if_ecx = -1026910048, if_eax = 1, if_eip = -1063719291, if_cs = 8, if_eflags = 
> 582, if_esp = -842302232, if_ss = -1063719867})
> at /usr/src/sys/i386/isa/atpic.c:368
> #9  0xc0649e7e in Xatpic_intr0 () at {standard input}:32
> #10 0xc098ec45 in acpi_cpu_idle () at /usr/src/sys/dev/acpica/acpi_cpu.c:830
> #11 0xc063f3af in cpu_idle () at /usr/src/sys/i386/i386/machdep.c:1074
> #12 0xc050da48 in idle_proc (dummy=0x0) at /usr/src/sys/kern/kern_idle.c:86
> #13 0xc050d7ee in fork_exit (callout=0xc050da30 , arg=0x0,
> frame=0x0) at /usr/src/sys/kern/kern_fork.c:793

Interesting one.  You've had a trap in the clock interrupt code, which
suggests some type of memory corruption.  This could be difficult to
debug.

> (kgdb) l
> 235 static void
> 236 doadump(void)
> 237 {
> 238
> 239 savectx(&dumppcb);
> 240 dumping++;
> 241 dumpsys(&dumper);
> 242 }

As shown on page 45 and 46, the frame you're looking for is the one
below trap.  This is the code at frame 0, showing how the system
dumps.  It's not related to the problem.  Take a look at page 46 and
send me the information for frame 6.

I'm omitting the dmesg output, the log file extract and the ps output.
None are interesting at this stage.

Greg
--
When replying to this message, please take care not to mutilate the
original text.
For more information, see http://www.lemis.com/email.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: vinum requirements

2004-04-22 Thread Greg 'groggy' Lehey
On Thursday, 22 April 2004 at 11:32:22 -0400, synrat wrote:
>
> does vinum configuration need to be located
> in the beginning of the drive after bootstrap or
> is it possible to store at the end of the drive ?

Currently it must be at the beginning of a drive.

> the reason I ask is I only have 60kb available in the beginining and
> the first partition is /.  I should be able to shrink swap, which is
> at the end of the drive, but I'm not sure I understand how vinum
> stores it's configuration. Does there need to be a separate
> partition for vinum that has at least enough space for
> configuration, which doesn't overlap with anything else ?

No, it's part of the drive.  In Vinum terminology, a "drive" is a disk
partition, the same one on which the subdisks are stored.

> Is the rest of vinum partition supposed to overlap with everything
> that I want to configure as a plex ( I'm talking about mirroring
> exisiting partitions ) Or should there be 2 different vinum
> partitions, one for configuration and another one for plexes ?

I'd suggest you take a look at the documentation at
http://www.vinumvm.org/cfbsd/vinum.pdf.  It should clarify a number of
things.

And yes, in retrospect it was a bad idea to put the configuration at
the front of the drive.

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
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: Missing Port

2004-04-22 Thread Lewis Thompson
On Thu, Apr 22, 2004 at 03:24:03PM -0700, [EMAIL PROTECTED] wrote:
> I am tring to install mrtg on my test FreeBSD 5.1 box.  I change into my
> /usr/ports/net/mrtg directory and find that there is only a README.html 
> How can I get this port back?  I tried to cvsup it with ports-all but the
> files are not there.  What would be a quick solution to get the files? 
> Without downloading the ports.tar.gz file and extracting it

If it's supposed to be there, try CVSweb http://cvsweb.freebsd.org/ and
you can create a specific tarball to download.

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgp0.pgp
Description: PGP signature


Re: Missing Port

2004-04-22 Thread Kevin D. Kinsey, DaleCo, S.P.
[EMAIL PROTECTED] wrote:

I am tring to install mrtg on my test FreeBSD 5.1 box.  I change into my
/usr/ports/net/mrtg directory and find that there is only a README.html 
How can I get this port back?  I tried to cvsup it with ports-all but the
files are not there.  What would be a quick solution to get the files? 
Without downloading the ports.tar.gz file and extracting it
 

/usr/ports/net-mgmt/mrtg

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


Re: rsync: connection unexpectedly closed (0 bytes read so far)

2004-04-22 Thread Bill Moran
[There's an rsync mailing list - you're bound to get better assistance
if you ask your questions there: http://rsync.samba.org/lists.html ]
samy lancher wrote:
Hello all,

I am having a problem with rsync. I want to backup data from one machine  to another
> remote machine. I have Freebsd4.7 on source and FreeBSD4.9 on destination machines.
> rsync is installed on both the machines. I gave the following command at the source 
machine.
rsync -avvznrbe  rsh  /sourcepath   66.123.34.123:/destinationpath 

(66.123.34.123 is the destination ip address)

Below is the error i get

opening connection using rsh 66.123.34.123 rsync --server -vvbnlogDtprz . 
/destinationpath
66.123.34.123: operation timed out
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(189)
I am using dry run for testing purpose. I can "rsh" from source to destination machine
> but i do not understand why rsync is not working. Any direction would be very helpful.

I'm not sure, the only time I've seen that type of error is when I've had connection
problems (i.e., my packet filter was blocking rsync).
You might do better using rsync's native communication protocol (i.e., running rsyncd
on one machine and connecting from the other).
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


installing kde-lite from port

2004-04-22 Thread Chiang Seng Chang
not a question but may be its not such a good idea after all to install kde
from port on a p2-400, still compiling after 10 hours...

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


Re: installing kde-lite from port

2004-04-22 Thread Kris Kennaway
On Thu, Apr 22, 2004 at 08:31:42PM -0400, Chiang Seng Chang wrote:
> not a question but may be its not such a good idea after all to install kde
> from port on a p2-400, still compiling after 10 hours...

It'll be going for a while yet.  The smart thing to do on slow
hardware is to install from packages.

Kris


pgp0.pgp
Description: PGP signature


Re: Missing Port

2004-04-22 Thread Robert Huff

Kevin D. Kinsey, DaleCo, S.P. writes:

>  > I am tring to install mrtg on my test FreeBSD 5.1 box.  I change
>  > into my /usr/ports/net/mrtg directory and find that there is
>  > only a README.html 
>
>  /usr/ports/net-mgmt/mrtg

In such cases, it is often useful to check /usr/ports/MOVED.


Robert Huff


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


Re: fetchmail/pine nonsense - newbie

2004-04-22 Thread David Fleck
On Wed, 21 Apr 2004, rainer [EMAIL PROTECTED] wrote:

> hello,
>
> i'm having trouble accessing my mail as 'user'.

When you go into pine's setup interface, what value do you have set for
inbox-path?  Does it point to /var/mail/{user}?  Is there actually any
mail in /var/mail/{user}?


--
David Fleck
[EMAIL PROTECTED]

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


improper mounting of firewire hard disk crashes system

2004-04-22 Thread Tadimeti Keshav
Hi all,
I tried to mount my Firewire Hard disk; but this was
taking a long time, I killed off KDE
(CTRL+ALT+BACK_SPACE), and from root prompt rebooted
the machine.
Then:
fsck -Bv /
fsck -Bv /usr
fsck -Bv /tmp
fsck -Bv /var
fsck -Bv /home
Then I tried to mount the firewire hard disk.
When I do this, I got a series of characters printed
on terminal, and a message that the computer will be
reeboted in 15 seconds.

What went wrong and how can I begin to use my firewire
disk? I am not able to post the output cos, I don't
know how.
Thanks in advance
Tk






Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Good PCI Firewire Card?

2004-04-22 Thread Bill Campbell
On Thu, Apr 22, 2004, Michael Barrett wrote:
>Can anyone reccomend a good PCI Firewire card that has good
>support in FreeBSD 5.2.1?

I've had good results with Adaptec and SIIG cards.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

The only logical reason to take guns away from responsible people is to
give irresponsible people an edge in the perpetration of their crimes
against us. -- The Idaho Observer, Vol. 1, No. 2 February 1997
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: newsyslog and apache

2004-04-22 Thread Noah
On Mon, 22 Mar 2004 21:37:47 -0500, Garance A Drosihn wrote
> At 5:19 PM -0800 3/22/04, Noah wrote:
> >
> >I ask that you please be specific as to what you think is wrong
> >with my newsyslog.conf file because I cant seem to figure out
> >what you are talking about here?  Looks like my newsyslog.conf
> >file matches the recommended config:
> 
> Hi.
> 
> I do not run apache at all, but I am the guy who has done the
> most-recent work on the newsyslog command.
> 
> If I were to guess, I think your problem might be that you end
> up sending multiple USR1 signals to apache.  I haven't looked
> at the code recently, but I think the freebsd newsyslog still
> does not optimize the number of signal's that it sends to a
> single process.
> 
> What I would suggest you try is some kind of staggered setup.
> (it's an easy thing to try...).  Something like:
> 
> .../www.domain1.com/access_log  640 30  *  @T00  ZN
> .../www.domain1.com/error_log   640 30  *  @T00  Z 
>  /var/run/httpd.pid 30 .../www.domain2.org/access_log  640 30  * 
>  @T02  ZN .../www.domain2.org/error_log   640 30  *  @T02  Z 
>  /var/run/httpd.pid 30 .../www.domain3.com/access_log  640 30  * 
>  @T04  ZN .../www.domain3.com/error_log   640 30  *  @T04  Z 
>  /var/run/httpd.pid 30


Hmm,

I suppose this is a viable option.  it would be really beneficial to do all
teh log rotations at midnight just to keep our logs rolling at the same time.
 maybe I am a little stringent here about these things.

anyways cna somebody possibly recommend another program out there that rotate
the apache log files all at the same time without creating memory errors for
apache because of restarting the daemon each time.

thanks in advance,

Noah



> 
> (the ...'s are just an attempt to avoid line-wrapping in this
> message.  you still want the full pathname in the control file)
> 
> The idea is to rotate the log-and-error files for any one domain
> at the same time, and only specify the pid once for that group.
> And then wait two minutes between the files for each domain name.
> 
> See if that helps you at all.
> 
> -- 
> Garance Alistair Drosehn=   [EMAIL PROTECTED]
> Senior Systems Programmer   or  [EMAIL PROTECTED]
> Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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


Re: newsyslog and apache

2004-04-22 Thread Noah
On Mon, 22 Mar 2004 11:54:21 +, Jez Hancock wrote
> On Mon, Mar 22, 2004 at 03:06:22AM -0800, Noah wrote:
> > apache complains of being out of memory during a graceful restart when
> > newsyslog is sending a series of SIGUSR1 signal to it.  Any clues on this?
> 
> This looks familiar from the apache-httpd-users list :P
> 
> I'm not sure about your specific problem, but have you considered using
> cronolog instead of depending on newsyslog to rotate your logs daily?
> 
> In the ports:
> 
> /usr/ports/sysutils/cronolog
> 
> On the web:
> 
> http://cronlog.org/


Hi there,

this advice does not give me many warm fuzzies - the website appears to be
down.  any other util recommendations that rotate hundreds of apache logs
files really well.  newsyslog is not meeting our requirements at the moment.

- Noah



> 
> -- 
> Jez Hancock
>  - System Administrator / PHP Developer
> 
> http://munk.nu/
> http://jez.hancock-family.com/  - Another FreeBSD Diary
> http://ipfwstats.sf.net/- ipfw peruser traffic logging
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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


Re: newsyslog and apache

2004-04-22 Thread Noah
On Thu, 22 Apr 2004 18:53:49 -0800, Noah wrote
> On Mon, 22 Mar 2004 11:54:21 +, Jez Hancock wrote
> > On Mon, Mar 22, 2004 at 03:06:22AM -0800, Noah wrote:
> > > apache complains of being out of memory during a graceful restart when
> > > newsyslog is sending a series of SIGUSR1 signal to it.  Any clues on this?
> > 
> > This looks familiar from the apache-httpd-users list :P
> > 
> > I'm not sure about your specific problem, but have you considered using
> > cronolog instead of depending on newsyslog to rotate your logs daily?
> > 
> > In the ports:
> > 
> > /usr/ports/sysutils/cronolog
> > 
> > On the web:
> > 
> > http://cronlog.org/
> 


okay it was a mistype

http://www.cronolog.org works fine

- Noah



> Hi there,
> 
> this advice does not give me many warm fuzzies - the website appears 
> to be down.  any other util recommendations that rotate hundreds of 
> apache logs files really well.  newsyslog is not meeting our 
> requirements at the moment.
> 
> - Noah
> 
> > 
> > -- 
> > Jez Hancock
> >  - System Administrator / PHP Developer
> > 
> > http://munk.nu/
> > http://jez.hancock-family.com/  - Another FreeBSD Diary
> > http://ipfwstats.sf.net/- ipfw peruser traffic logging
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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


Re: newsyslog and apache

2004-04-22 Thread Tim Aslat
In the immortal words of "Noah" <[EMAIL PROTECTED]>...
> this advice does not give me many warm fuzzies - the website appears
> to be down.  any other util recommendations that rotate hundreds of
> apache logs files really well.  newsyslog is not meeting our
> requirements at the moment.

Have you tried using the internal rotation code in apache?

this excerpt from "man rotatelogs" should provide more information
   rotatelogs  is  a  simple  program for use in conjunction with
Apache's   piped logfile feature which can be used like this:

  TransferLog "| rotatelogs /path/to/logs/access_log 86400"

   This creates the files /path/to/logs/access_log. where 
is  the   system time at which the log nominally starts (this time
will always be   a multiple of the rotation time, so you can 
synchronize  cron  scripts   with it).  At the end of each rotation
time (here after 24 hours) a new   log is started.

Logging is internal to apache, and doesn't require apache to be
restarted.

Hope this helps

Cheers

Tim

-- 
Tim Aslat <[EMAIL PROTECTED]>
Spyderweb Consulting
http://www.spyderweb.com.au
P: +61 8 82243020M: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Booting Q.

2004-04-22 Thread MIchael Alexander
What is the command to make a bootable disk for FreeBSD? I need it in
case I screw up my latest project. I have a dual OS set-up running BSD
and Fedora C1. Fedora only boots from a floppy disk and doesn't show up
as bootable when trying to boot from FreeBSD boot loader. Both
partitions are primary. How do I get Fedora to become "bootable". When I
fix Fedora does the FreeBSD boot utility have an OS finder (like Acronis
BL)?

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


Re: Booting Q.

2004-04-22 Thread Vijay
Which OS did you install first? Fedora/FreeBSD ? 
I've FreeBSD first and then RH9. The Grub Seems to load the FBSD without
any problem.

On Fri, 2004-04-23 at 08:40, MIchael Alexander wrote:
>   What is the command to make a bootable disk for FreeBSD? I need it in
> case I screw up my latest project. I have a dual OS set-up running BSD
> and Fedora C1. Fedora only boots from a floppy disk and doesn't show up
> as bootable when trying to boot from FreeBSD boot loader. Both
> partitions are primary. How do I get Fedora to become "bootable". When I
> fix Fedora does the FreeBSD boot utility have an OS finder (like Acronis
> BL)?
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> 

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


Re: newsyslog and apache

2004-04-22 Thread Noah
On Fri, 23 Apr 2004 12:36:02 +0930, Tim Aslat wrote
> In the immortal words of "Noah" <[EMAIL PROTECTED]>...
> > this advice does not give me many warm fuzzies - the website appears
> > to be down.  any other util recommendations that rotate hundreds of
> > apache logs files really well.  newsyslog is not meeting our
> > requirements at the moment.
> 
> Have you tried using the internal rotation code in apache?
> 
> this excerpt from "man rotatelogs" should provide more information
>rotatelogs  is  a  simple  program for use in conjunction with
> Apache's   piped logfile feature which can be used like this:
> 
>   TransferLog "| rotatelogs /path/to/logs/access_log 86400"
> 


Okay this looks like a viable option.  can rotatelogs also age out and delete
log files that are older than 30 days?  And does it compress the log files as
well?

- Noah




>This creates the files /path/to/logs/access_log. where 
>  is  the   system time at which the log nominally starts 
> (this time will always be   a multiple of the rotation time, so 
> you can synchronize  cron  scripts   with it).  At the end of 
> each rotation time (here after 24 hours) a new   log is started.
> 
> Logging is internal to apache, and doesn't require apache to be
> restarted.
> 
> Hope this helps
> 
> Cheers
> 
> Tim
> 
> -- 
> Tim Aslat <[EMAIL PROTECTED]>
> Spyderweb Consulting
> http://www.spyderweb.com.au
> P: +61 8 82243020M: +61 0401088479
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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


Re: newsyslog and apache

2004-04-22 Thread Tim Aslat
In the immortal words of "Noah" <[EMAIL PROTECTED]>...
> Okay this looks like a viable option.  can rotatelogs also age out and
> delete log files that are older than 30 days?  And does it compress
> the log files as well?

No, but it isn't hard to come up with a script to proces the logs in any
way you see fit.  Regardless of what you choose to do to the logs, you
don't have to restart apache, which I thought was the main object of
your question.

The main advantage to doing it this way is that the logs will be pretty
much rotated simultaneously by apache, so a couple of minutes after it's
scheduled, you can run a script to compress, analyse, delete or whatever
the rotated logfile.

Cheers

Tim


-- 
Tim Aslat <[EMAIL PROTECTED]>
Spyderweb Consulting
http://www.spyderweb.com.au
P: +61 8 82243020M: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >