Re: How to find system call in kernel source code?

2005-11-26 Thread Giorgos Keramidas
On 2005-11-25 21:09, David Kelly [EMAIL PROTECTED] wrote:
 The sendfile(2) function is apparently a kernel system call. I've
 find /usr/src -type f -exec grep -il sendfile {} \; and several
 variations yet not found where the code which performs sendfile() is
 located. Is system call 393. Guessing I'm just missing the dispatch
 table.

The default implementation of sendfile() is in the file:

src/sys/kern/uipc_syscalls.c

Look for '^sendfile' with grep(1).

The arguments of sendfile() are copied in a struct sendfile_args{} and
then passed to do_sendfile().  The definition of the sendfile_args
struct is in src/sys/sys/sysproto.h and it looks a bit scary with all
that padding and macro 'magic' going on around it.

 This is also related to P/R bin/89100. At least for me, RELENG_6
 fails to send files greater than 4 GB after a few hours or days on
 the disk. Freshly copied files work fine. No problem copying the file
 with cp. And md5 confirms the contents have not changed.

This sounds suspiciously like a 32-bit value overflowing somewhere :-/

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


Re: inetd.conf becomes blank after reboot

2005-11-26 Thread Alex Zbyslaw

Jayesh Jayan wrote:


Hi,

On some of the machine where I have FreeBSD 5.4, /etc/inetd.conf becomes a
blank file soon after reboot.

I have kept a copy of the file and when the service fails after reboot I
restore the backup and restart the inetd service.

What I need to check, to solve this issue. How can this be solved
permanently ? Please also let me know the logs which I can check to find the
exact issue.

I'm afraid that the most likely cause is something *you* did.  Nothing 
in the system would deliberately remove that file, and if it is 
happening because of some misconfiguration then nothing would appear in 
a log file.


Two things to try:

   1) Find references in /etc and /usr/local/etc to inetd.conf.  These 
are the likely places to find the problem.


find /etc /usr/local/etc -type f -exec egrep -H inetd {} \;

   2) Compare /etc and /usr/local/etc on the failing machines with the 
ones on good machines.



Changing the flags on /etc/inetd.conf to prevent it being blanked should 
work around the symptoms, but not the cause.  This should work:


chflags schg /etc./inetd.conf

But if you run in secure mode you'll need to go down to single-user to 
get rid of the flag, and you can't edit inetd.conf with the flag in place.


--Alex



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


Some questions about ports system

2005-11-26 Thread Guillaume R.
Hi
At the end of a portsclean -LPPDDC I got this:
** Clean out /usr/local/lib/compat/pkg manually on occasions.
** Try using libchk(1) (sysutils/libchk) to find out unreferenced libraries.
I'm asking thus some questions, the one is how could I clean manually
the /usr/local/lib/compat/pkg directory and the second is about the
nature of libchk. I got no man page on this soft and it doesn't seem
to be installed on my box. Before running it I wish to know what is
it? Could someone explain me what this software is and figure out is
utility for a system?
Finally I got a question about pkgdb, when I run it with the F options
I often have questions to which I have to answer thx to yes or no. I
never know what I must choose. I read the man page of pkgdb but it's
not clear in my mind could someone explain me how this soft works?
Many thx
--
Powered by FreeBSD 6.O
http://www.freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with FreeBSD 6 -STABLE and Dell PowerEdge 2850 spewing arp requests

2005-11-26 Thread Rob Connon (Info)

Hi All,

I have a problem with FreeBSD 6 -Stable, i built the machine with 
-RELEASE and it's been running fine for the last few weeks.. Today i 
tryed to make the jump to -STABLE by running cvsup on the RELENG_6 
branch, running makebuildworld/kernel
which built fine without any errors.. upon the first reboot the machine 
did not come back up.. I went down to the data centre where the machine 
is COLO'd and saw the machine  did boot the new kernel.. it just has no 
network connectivity..


The Machine is a Dell PowerEdge 2850, Raid 1 volume on the Perc4i 
controller.. there are 2 Intel 1000BT adaptors.. i poked around making 
sure there were no errors in the syslog etc.. the machine comes up fine 
as mentioned...
and the only odd thing i found was 1) in the output of ps -aux there was 
over 100 IRQ's listed.. and 2) the network adapter is puking arp 
requests flooding the local network..


With no fix in sight i re-installed the source and base binary's from 
the installer which fixed the problem as the machine was back at 
-RELEASE.. it worked great.. i thought at first i may have had left over 
files in /usr/obj but from what i thought that should not affect the 
kernel build/install.. regardless i followed the handbook and removed 
the /usr/obj/usr dir and ran cvsup again to get the -STABLE source.. i 
ran make cleandir and started the process over again..
and once again after the kernel install the machine loses it's 
networking capabilities and starts spewing Arp requests...


Could anyone offer any insight?

Sorry about not having a dmesg but i dont have access to the machine at 
the moment as it's dead :P



Thanks

Rob.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Some questions about ports system

2005-11-26 Thread Roland Smith
On Sat, Nov 26, 2005 at 10:29:07AM +0100, Guillaume R. wrote:
 Hi
 At the end of a portsclean -LPPDDC I got this:
 ** Clean out /usr/local/lib/compat/pkg manually on occasions.
 ** Try using libchk(1) (sysutils/libchk) to find out unreferenced libraries.
 I'm asking thus some questions, the one is how could I clean manually
 the /usr/local/lib/compat/pkg directory 

The directory /usr/local/lib/compat/pkg is where portsclean puts old and
orphaned libraries. If the libraries are no longer used, you can remove them.

 and the second is about the
 nature of libchk. I got no man page on this soft and it doesn't seem
 to be installed on my box. 

It's in the ports system. /usr/ports/sysutils/libchk

 Before running it I wish to know what is it? Could someone explain me
 what this software is and figure out is utility for a system?

Read /usr/ports/sysutils/libchk/pkg-descr

 Finally I got a question about pkgdb, when I run it with the F options
 I often have questions to which I have to answer thx to yes or no. I
 never know what I must choose. I read the man page of pkgdb but it's
 not clear in my mind could someone explain me how this soft works?

Basically, what it does when it finds a missing or outdated dependancy,
is search for packages that have a name that looks like the dependancy
it's looking for. It then asks you if you think it's guess is correct.

Try 'pkgdb -aF' that will fix anything that can be fixed securely, and
leaves the rest.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgp0QXkv5XFaM.pgp
Description: PGP signature


Kernel options optimal for desktop?

2005-11-26 Thread Alexander Polakov
Good time of day to all freebsd-questions readers!
I'm using FreeBSD 6.0 for my desktop. I think the GENERIC kernel
is not optimal for desktop usage. So can you advise me what options
to use for better performance?
My hardware is a Pentium 3 [EMAIL PROTECTED] chipset, 512 Mb RAM, 
ATA100 30 GB HDD, GeForce2 MX400 video. 
-- 
Good luck!
  Alexander Polakov
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Viewing Programs Running From CRON

2005-11-26 Thread Cezar Fistik
Hello Gerard,

Friday, November 25, 2005, 10:45:51 PM, you wrote:

 I start a program from CRON. As an example, let us use
 /sysutils/portmanager. Now this program is being run in the background.
 How do I get it to run in the foreground so that I can view what it is
 doing, and or stop it if I want to? If I succeed in that maneuver, can I
 place it in the background again?

 I hope that I am explaining this correctly.

Use the screen utility /usr/ports/misc/screen.
See this:
http://www.freebsddiary.org/screen.php


-- 
Best regards,
 Cezarmailto:[EMAIL PROTECTED]

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


pango upgrade from 1.8.1 to 1.10.1 breaks openoffice.org-2.0.RC3 !?!?

2005-11-26 Thread Rob

Hi,

Openoffice.org (2.0.RC3) crashes at startup,
since I have upgraded pango to 1.10.1 :

$ openoffice.org
(soffice.bin:37276): GLib-GObject-WARNING **: cannot
register existing type `PangoFontset'
(soffice.bin:37276): Pango-CRITICAL **:
pango_fontset_foreach: assertion `PANGO_IS_FONTSET
(fontset)' failed
(soffice.bin:37276): GLib-GObject-WARNING **: cannot
register existing type `PangoFontset'
(soffice.bin:37276): Pango-CRITICAL **:
pango_fontset_foreach: assertion `PANGO_IS_FONTSET
(fontset)' failed
(soffice.bin:37276): GLib-GObject-WARNING **: cannot
register existing type `PangoFontset'
(soffice.bin:37276): Pango-CRITICAL **:
pango_fontset_foreach: assertion `PANGO_IS_FONTSET
(fontset)' failed
(soffice.bin:37276): GLib-GObject-WARNING **: cannot
register existing type `PangoFontset'
(soffice.bin:37276): Pango-CRITICAL **:
pango_fontset_foreach: assertion `PANGO_IS_FONTSET
(fontset)' failed
(soffice.bin:37276): GLib-GObject-CRITICAL **:
g_object_ref: assertion `G_IS_OBJECT (object)' failed
(soffice.bin:37276): GLib-GObject-WARNING **: cannot
register existing type `PangoFont'
(soffice.bin:37276): Pango-CRITICAL **:
_pango_engine_shape_shape: assertion `PANGO_IS_FONT
(font)' failed
Pango-ERROR **: file shape.c: line 75 (pango_shape):
assertion failed: (glyphs-num_glyphs  0)
aborting...
crash_report: not found


Does someone understand these messages?

The problem is solved when I downgrade pango to 1.8.1,
using the pango-1.8.1.tbz package.

Rob.




__ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


about /usr/src/etc

2005-11-26 Thread ivan . roth
Hi,

I am unable to locate this folder (/usr/src/etc). I mean, it does not exist. I
only have sys under /usr/src

I also have no more man page but the one associated with newly
compiled/installed softwares.

May it be the same issue ?

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


Re: Unable to install on large hard drive

2005-11-26 Thread Mike Jeays
On Fri, 2005-11-25 at 23:35 -0800, Christopher Kelley wrote:
 Up until now, I've installed FreeBSD on smaller drives ( 15 gig), but I 
 recently had to replace the HD in my windows machine, so I got a larger 
 hard drive with the idea of installing fBSD on it as well and dual 
 booting that machine.
 
 The motherboard is an Asus A7V133, and the hard drive is a Maxtor 
 4D040H2 40 gig HD.  The motherboard supports LBA, so I'm led to believe 
 (though googling) that the HD size isn't a problem. fBSD correctly 
 recognizes the HD when booting. I am attempting to install FreeBSD 
 6.0-Release, I haven't tried any of the 5.x versions to see if the 
 results are the same.
 
 I have a small partition for the windows system that is 5 gig, a large 
 partition for programs and data that is 18 gig, and around 15 gig left 
 for fBSD.  The installer squawks about the drive geometry, and says it 
 will use a more sane geometry.  I set up the slices and it doesn't 
 squawk about writing them, and then attempts to install the system.  I 
 immediately get an error Write failure on transfer! and it can't seem 
 to write anything to the drive.
 
 The good news is, it isn't harming my windows partitions.  I can easily 
 boot back into windows and everything there works.
 
 I did look through the manual and searched a bit on google, but I'm not 
 having much luck finding even suggestions of what to try.  Does anyone 
 have any suggestions?
 
 Christopher
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

I reported a similar problem with a Maxtor D740X-SL 40GB drive a few
weeks ago.  I cannot get this drive to work properly with recent
versions of FreeBSD, and get the same error during installation.  The
disk seems to work fine with Fedora and Ubuntu.  I made it work by
disabling DMA, but the performance was awful.  My motherboard is an ASUS
P4S533.



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


WARNING /usr was not properly dismounted ...

2005-11-26 Thread Kiffin Gish
When I restarted by machine, I get the warning messages:

WARNING /usr was not properly dismounted
WARNING /tmp was not properly dismounted
...

and for a number of other mount points.

Are there any special precautions I need to take, some disk check utility or
whatever?

Thanks a lot in advance.

-- 
Kiffin Rex Gish
Gouda, The Netherlands

 


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


Re: WARNING /usr was not properly dismounted ...

2005-11-26 Thread Alistair Sutton
On 26/11/05, Kiffin Gish [EMAIL PROTECTED] wrote:
 When I restarted by machine, I get the warning messages:

 WARNING /usr was not properly dismounted
 WARNING /tmp was not properly dismounted
 ...

 and for a number of other mount points.

 Are there any special precautions I need to take, some disk check utility or
 whatever?

Assuming you're running FreeBSD 6 (or -CURRENT) then unless you've
knowingly turned off background fsck, all you need to do is just leave
the system to check itself.

Al
--
GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.4 Via Unichrome / CLE266 Xorg hardware mpeg decoding

2005-11-26 Thread Vincent The
Hello,

I'm kind of lost after all the searching and trying the different solutions.

The situation: I have a motherboard with the Via Unichrome Integrated
Graphics which should support hardware mpeg2 decoding, a feature I
really need on this box. I'm running FreeBSD 5.4 Release with xorg 6.8.2
from ports.

For the past two day's I've tried a number of possible solutions to get
it to work, I do get X to work, but not with hw-mpeg-acceleration. Among
the things I've tried:
http://archive.netbsd.se/?ml=freebsd-mobilea=2005-03m=754535

The error I'm getting at this point is : [drm] failed to load kernel
module via (EE) VIA(0): [dri] DRIScreenInit failed.   Disabling DRI

Apparently Unichrome doesn't support hw-mpeg-decoding anymore, on the
other hand I don't have a clue on how to use the Openchrome alternative.

For the record, I only need hw-mpeg-decoding in combination with
mplayer, so if there's a solution that doesn't need X at all it would be
even better.

Can anyone give me some pointers to get hardware mpeg decoding to run
in conjunction with mplayer? Whether it is via the kernel module, or
any other option, I just need it to work.

Thanks in advance,

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


RE: WARNING /usr was not properly dismounted ...

2005-11-26 Thread Kiffin Gish
I'm using FreeBSD 5.4 at the moment, so does it take care of itself also?

-- 
Kiffin Rex Gish
Gouda, The Netherlands

 



 -Original Message-
 From: Alistair Sutton [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, November 26, 2005 14:14
 To: Kiffin Gish
 Cc: freebsd-questions@freebsd.org
 Subject: Re: WARNING /usr was not properly dismounted ...
 
 
 On 26/11/05, Kiffin Gish [EMAIL PROTECTED] wrote:
  When I restarted by machine, I get the warning messages:
 
  WARNING /usr was not properly dismounted
  WARNING /tmp was not properly dismounted
  ...
 
  and for a number of other mount points.
 
  Are there any special precautions I need to take, some disk check 
  utility or whatever?
 
 Assuming you're running FreeBSD 6 (or -CURRENT) then unless 
 you've knowingly turned off background fsck, all you need to 
 do is just leave the system to check itself.
 
 Al
 --
 GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg
 

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


pango upgrade from 1.8.1 to 1.10.1 breaks openoffice.org-2.0.RC3 !?!?

2005-11-26 Thread Robert Huff

Can you please re-post this to the openoffice@ list?


Robert Huff

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


Re: about /usr/src/etc

2005-11-26 Thread RW
On Saturday 26 November 2005 12:47, [EMAIL PROTECTED] wrote:
 Hi,

 I am unable to locate this folder (/usr/src/etc). I mean, it does not
 exist. I only have sys under /usr/src

You only have the kernel source, not the world source.  Try updating with 
cvsup as described in the handbook.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: about /usr/src/etc

2005-11-26 Thread RW
On Saturday 26 November 2005 13:41, RW wrote:
 On Saturday 26 November 2005 12:47, [EMAIL PROTECTED] wrote:
  Hi,
 
  I am unable to locate this folder (/usr/src/etc). I mean, it does not
  exist. I only have sys under /usr/src

 You only have the kernel source, not the world source.  Try updating with
 cvsup as described in the handbook.

I missed the bit about missing man pages. I guess you did a very minimal 
install without manpages and with only the kernel source.

If you run sysinstall as root you can install the manpages and the full 
source. (Don't be put off by the word full, it's just the source for the 
base system, It doesn't include package source.)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


flash (*.swf)

2005-11-26 Thread Kyryll A Mirnenko aka Mirya
The problem is to watch macromedia flash movie from FreeBSD box. Some wariants 
I've tried:
1) GPL flash - works 50/50, sound is broken
2) Wine + macromedia standalone flash player - mostly works, something wrong 
w/ timing for some movies
3) linuxpluginwrapper + linux-flashplugin6 + (opera|firefox|mozilla) - 
problem (see below)
4) linuxbase + linux-flashplugin7 + linux-(opera|firefox|mozilla) - same 
problem (see below)

For 3 and 4 as far as the browser (any of firefox,mozila,opera for any of 
freebsd,linux-compat) starts the macromedia plugin i'm receiving error 
messages below, firefoxmozilla even coredump after that.
firefox says:

The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 114 error_code 8 request_code 72 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Opera continues to run but similar messages are found in terminal:

motifwrapper: X Error: BadMatch (invalid parameter attributes)
motifwrapper: X Error: serial=0x106, request=0x91, request_minor=0x3, 
resource=0x0
motifwrapper: X Error: BadMatch (invalid parameter attributes)
motifwrapper: X Error: serial=0x109, request=0x91, request_minor=0x3, 
resource=0x3400016
motifwrapper: X Error: BadMatch (invalid parameter attributes)
motifwrapper: X Error: serial=0x10c, request=0x91, request_minor=0x3, 
resource=0x3400016
motifwrapper: X Error: BadMatch (invalid parameter attributes)
motifwrapper: X Error: serial=0x113, request=0x91, request_minor=0x3, 
resource=0x3400016
motifwrapper: X Error: BadMatch (invalid parameter attributes)
motifwrapper: X Error: serial=0x116, request=0x91, request_minor=0x3, 
resource=0x3400016
motifwrapper: X Error: BadMatch (invalid parameter attributes)
motifwrapper: X Error: serial=0x119, request=0x91, request_minor=0x3, 
resource=0x3400016
motifwrapper: X Error: BadMatch (invalid parameter attributes)
motifwrapper: X Error: serial=0x11c, request=0x91, request_minor=0x3, 
resource=0x3400016
motifwrapper: X Error: BadMatch (invalid parameter attributes)
motifwrapper: X Error: serial=0x11f, request=0x91, request_minor=0x3, 
resource=0x3400016
motifwrapper: X Error: BadMatch (invalid parameter attributes)
motifwrapper: X Error: serial=0x122, request=0x91, request_minor=0x3, 
resource=0x3400016
motifwrapper: X Error: BadMatch (invalid parameter attributes)
motifwrapper: X Error: serial=0x125, request=0x91, request_minor=0x3, 
resource=0x3400016
motifwrapper: X Error: BadMatch (invalid parameter attributes)
motifwrapper: X Error: serial=0x128, request=0x91, request_minor=0x3, 
resource=0x3400016

Waiting for someone to help me dealing w/ that.



More about the box:

= $ X -version =
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: FreeBSD 6.0 i386 [ELF]
Current Operating System: FreeBSD foobar.local 6.0-RELEASE FreeBSD 6.0-RELEASE 
#2: Wed Nov  2 20:32:27 EET 2005 
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/FOOBAR i386
Build Date: 28 August 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present


= here comes xorg.conf: =
Section Module
Loaddbe
Loadtype1
Loadspeedo
Loadfreetype
Load   glx
Load   dri
EndSection

Section Extensions
Option Composite Enable
EndSection

Section Files
RgbPath /usr/X11R6/lib/X11/rgb
FontPath   /usr/X11R6/lib/X11/fonts/TTF/
FontPath   /usr/X11R6/lib/X11/fonts/TTF2/
FontPath   /usr/X11R6/lib/X11/fonts/URW-TTF/
FontPath   /usr/local/OpenOffice.org1.1.5/share/fonts/truetype/
FontPath   /usr/X11R6/lib/X11/fonts/koi8-u-gemini/
FontPath   /usr/X11R6/lib/X11/fonts/cyr-rfx-koi8-o/
FontPath   /usr/X11R6/lib/X11/fonts/cyrillic/
FontPath   /usr/X11R6/lib/X11/fonts/URW/
FontPath   /usr/X11R6/lib/X11/fonts/dejavu/
FontPath   /usr/X11R6/lib/X11/fonts/local/
FontPath   /usr/X11R6/lib/X11/fonts/misc/
FontPath   /usr/X11R6/lib/X11/fonts/mozilla/
FontPath   /usr/X11R6/lib/X11/fonts/75dpi-unicode/:unscaled
FontPath   /usr/X11R6/lib/X11/fonts/75dpi/:unscaled
FontPath   /usr/X11R6/lib/X11/fonts/100dpi/:unscaled
FontPath   /usr/X11R6/lib/X11/fonts/Speedo/
FontPath   /usr/local/share/ghostscript/fonts/
FontPath   /usr/local/share/fonts/
FontPath   /usr/local/share/fonts/amspsfonts/
FontPath   /usr/local/share/fonts/cmpsfonts/
FontPath   /usr/X11R6/lib/X11/fonts/Type1/
FontPath   /usr/X11R6/lib/X11/fonts/75dpi/

Re: about /usr/src/etc

2005-11-26 Thread Alexander Polakov
В сообщении от Суббота 26 ноября 2005 15:47 [EMAIL PROTECTED] написал(a):
 Hi,

 I am unable to locate this folder (/usr/src/etc). I mean, it does not
 exist. I only have sys under /usr/src
when installing FreeBSD I think you choosed only kernel source. So, if you 
habethe installation cdrom, fire up sysinstall and choose 
configure--distributions--src, then choose what you want.(All is 
recommended).


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


Re: WARNING /usr was not properly dismounted ...

2005-11-26 Thread Hans Nieser

Kiffin Gish wrote:

I'm using FreeBSD 5.4 at the moment, so does it take care of itself also?


My server went down unexpectedly yesterday (seems like the powergrid had 
some stability issues as I noticed the lights dimming on several 
occasions), and consequently my filesystems weren't cleanly unmounted.


dmesg told me:

WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 4 files 1
WARNING: /mnt/data1 was not properly dismounted
WARNING: /mnt/data2 was not properly dismounted

/var/log/messages said:

Nov 25 18:07:25 royen fsck: /dev/ad0s1e: 19 files, 21 used, 126818 free 
(34 frags, 15848 blocks, 0.0% fragmentation)
Nov 25 18:12:46 royen fsck: /dev/ad0s1f: UNREF FILE I=8201190  OWNER=root 
MODE=100755
Nov 25 18:12:46 royen fsck: /dev/ad0s1f: SIZE=1495233 MTIME=Sep 23 22:54 
2005  (CLEARED)


[ lots of this ]

Nov 25 18:12:46 royen fsck: /dev/ad0s1f: Reclaimed: 0 directories, 25 
files, 0 fragments
Nov 25 18:12:46 royen fsck: /dev/ad0s1f: 210808 files, 22903168 used, 
14065264 free (75304 frags, 1748745 blocks, 0.2% fragmentation)
Nov 25 18:13:05 royen fsck: /dev/ad0s1d: UNREF FILE I=8307  OWNER=mysql 
MODE=100600
Nov 25 18:13:05 royen fsck: /dev/ad0s1d: SIZE=0 MTIME=Nov 10 19:42 2005 
(CLEARED)


[ lots of this ]

Nov 25 18:13:05 royen fsck: /dev/ad0s1d: Reclaimed: 0 directories, 6 
files, 1 fragments
Nov 25 18:13:05 royen fsck: /dev/ad0s1d: 2132 files, 52839 used, 73999 
free (879 frags, 9140 blocks, 0.7% fragmentation)
Nov 25 18:14:57 royen fsck: /dev/ad2s1e: 3 files, 2 used, 24036310 free 
(10 frags, 6009075 blocks, 0.0% fragmentation)
Nov 25 18:20:53 royen fsck: /dev/ad3s1e: 38581 files, 24063902 used, 
4771792 free (2392 frags, 1192350 blocks, 0.0% fragmentation)


It seems to have taken care of everything, I'm using FreeBSD 5.4. Hope 
this helps.

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


Re: sk0: watchdog timeout

2005-11-26 Thread Hans Nieser

A long, long time ago Vladimir Dvorak wrote:


Hello,

I have a problem with network card. From time to time kernel says

sk0: watchdog timeout


I just ran into the same issue. I have an ASUS A8N-SLI Deluxe in my
desktop machine which runs FreeBSD 6.0+Xorg+Gnome. It has two on-board
NICs, the nvidia one and a Marvel one. The nvidia was one big disaster and
was giving me device timeouts so I never bothered with that one again.

-
skc0: Marvell Gigabit Ethernet port 0xac00-0xacff mem
0xd4008000-0xd400bfff irq 17 at device 12.0 on pci5
skc0: Marvell Yukon Lite Gigabit Ethernet rev. (0x9)
sk0: Marvell Semiconductor, Inc. Yukon on skc0
sk0: Ethernet address: 00:11:d8:99:3b:b0
miibus0: MII bus on sk0
e1000phy0: Marvell 88E1000 Gigabit PHY on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
1000baseTX-FDX, auto
-
nve0: NVIDIA nForce MCP9 Networking Adapter port 0xb000-0xb007 mem
0xd500-0xd5000fff irq 22 at device 10.0 on pci0
nve0: Ethernet address 00:11:d8:99:39:be
miibus1: MII bus on nve0
ukphy0: Generic IEEE 802.3u media interface on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
nve0: Ethernet address: 00:11:d8:99:39:be
nve0: [GIANT-LOCKED]
-
[EMAIL PROTECTED]:12:0: class=0x02 card=0x811a1043 chip=0x432011ab rev=0x13
hdr=0x00
vendor   = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
device   = '88E8001/8003/8010 Gigabit Ethernet Controller with
Integrated PHY (copper)'
class= network
subclass = ethernet
-
[EMAIL PROTECTED]:10:0: class=0x068000 card=0x81411043 chip=0x005710de rev=0xa3
hdr=0x00
vendor   = 'NVIDIA Corporation'
device   = 'nForce4 Ethernet Controller'
class= bridge
-

Until now the Marvell one had worked flawlessly for me, until today, when
I was moving 80GB of data to my server. It keeps crapping out with sk0:
watchdog timeout and appears to take the whole desktop down with it, apps
become unresponsive and Nautilus basically freezes.

Bringing the interface down and up restores connectivity, unfortunately
Nautilus won't continue copying files (despite it offering a Retry
button, it just kept spewing errors) so having to manually figure out what
was and wasn't copied over every 20GB or so is quickly becoming a pain in
the behind.

Looks like some PRs were filed on this issue but I guess they haven't been
able to fix it (yet? - say yes please). It may also be worth noting that
this NIC also lost connectivity in Windows XP from time to time forcing me
to disable/enable it, so maybe the NIC itself is just garbage.

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


Re: WARNING /usr was not properly dismounted ...

2005-11-26 Thread RW
On Saturday 26 November 2005 13:36, Kiffin Gish wrote:
 I'm using FreeBSD 5.4 at the moment, so does it take care of itself also?

I guess it will take care of itself on any version of FreeBSD. I think it's 
just the case that more modern versions (5.0 onwards?)  will check the 
non-root partitions in the background.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: proper way to create network devices at boot time.

2005-11-26 Thread Lowell Gilbert
Mark Jayson Alvarez [EMAIL PROTECTED] writes:

  How do you create a network device at boot time? I need to set up my carp 
 devices at boot time. in Openbsd, it can be set in /etc/hostname.if like this.
   
 /etc/hostname.carp1
 inet 172.16.0.100 255.255.255.0 172.16.0.255 vhid 1 carpdev em0 \
  pass lanpasswd  Thanks.

On recent FreeBSD, the devices should be created automatically if the
hardware they support is present.  What device exactly are you trying
to create?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kernel panic after loading ipvs.ko

2005-11-26 Thread Lowell Gilbert
Mark Jayson Alvarez [EMAIL PROTECTED] writes:

  I include these 2 lines in my loader.conf:
  ipvs_load=YES
  ip_vs_rr_load=YES
  
  However, the kernel(6.0) panic after rebooting..
  Manually loading those modules is no problem..
  I am trying to load the ipvs(FreeBSD version of LVS) module at boot time.
  Any idea? 

Where did this module come from?  Are you sure it's compatible with
your 6.0 kernel?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Showing Beastie at boot?

2005-11-26 Thread Chris

RW wrote:

On Tuesday 22 November 2005 23:44, Lowell Gilbert wrote:


David Gerard [EMAIL PROTECTED] writes:


5.4 showed an ASCII Beastie at boot, 6.0 shows FreeBSD in awful
ASCII-art text. As a Beastie traditionalist, what's the option to
display Beastie again?

  loader_logo (``fbsdbw'')
Selects a desired logo in the beastie
boot menu.  Possi- ble values are: ``fbsdbw'', ``beastiebw'', ``beastie'',
and ``none''.



Actually, that isn't in the 6.0 release:

  # man loader.conf | grep -C2 -i beastie
  # 


I got it from beastie.4th.


loader_logo=beastie in loader.conf gave me technicolour beastie on a 
6.0R box


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


Re: WARNING /usr was not properly dismounted ...

2005-11-26 Thread RW
On Saturday 26 November 2005 13:13, Alistair Sutton wrote:
 On 26/11/05, Kiffin Gish [EMAIL PROTECTED] wrote:
  When I restarted by machine, I get the warning messages:
 
  WARNING /usr was not properly dismounted
  WARNING /tmp was not properly dismounted
  ...
 
  and for a number of other mount points.
 
  Are there any special precautions I need to take, some disk check utility
  or whatever?

 Assuming you're running FreeBSD 6 (or -CURRENT) then unless you've
 knowingly turned off background fsck, all you need to do is just leave
 the system to check itself.

FWIW turning-off background fsck just means that the filesystems that would 
have been checked in the background, get checked before they are mounted, as 
part of the boot process.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to have sshd log IP numbers instead of reverse lookups

2005-11-26 Thread Lowell Gilbert
James Long [EMAIL PROTECTED] writes:

 I was looking at /var/log/auth.log and saw an entry of the form:
 
 Nov 24 18:41:37 ns sshd[58083]: error: PAM: authentication error for username 
 from example.com
 
 I wish to have an IP number logged where sshd has instead logged
 'example.com'
 
 Reading sshd's man page and sshd_config's man page, I don't find any
 way to control this.
 
 Since 'example.com' could have multiple IP numbers, how can I change 
 sshd's configuration to log the IP number from whence the 
 authentication error originated?

If I recall correctly, those messages should be associated with other
messages about the host connecting, which would include the IP
address. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sk0: watchdog timeout

2005-11-26 Thread Nicolas Blais
On November 26, 2005 09:15 am, Hans Nieser wrote:
 A long, long time ago Vladimir Dvorak wrote:
  Hello,
 
  I have a problem with network card. From time to time kernel says
 
  sk0: watchdog timeout

 I just ran into the same issue. I have an ASUS A8N-SLI Deluxe in my
 desktop machine which runs FreeBSD 6.0+Xorg+Gnome. It has two on-board
 NICs, the nvidia one and a Marvel one. The nvidia was one big disaster and
 was giving me device timeouts so I never bothered with that one again.

I have an sk0 too on one of my computer's onboard A8V-DX which will timeout 
once in a while too.  I found a way to reduce down time by modifying my 
rc.conf to force 'full-duplex 100Mbps'.  Now, even when it goes into a 
watchdog timeout, I quickly get back my link within that second.

This is what my rc.conf line looks like:

ifconfig_sk0=inet 192.168.1.100 media 100baseTX mediaopt full-duplex netmask 
255.255.255.0

Nicolas.
-- 
FreeBSD 7.0-CURRENT #1: Sat Nov 19 12:36:29 EST 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc


pgp1m2Euu5vqy.pgp
Description: PGP signature


Re: verrevpath -- ipfw: unknown argument ``not''

2005-11-26 Thread Lowell Gilbert
Mark Edwards [EMAIL PROTECTED] writes:

 I am trying to implement the verrevpath suggestion in the ipfw man
 page, as follows:
 
   The verrevpath option could be used to do automated anti-
  spoofing by
   adding the following to the top of a ruleset:
 
 ipfw add deny ip from any to any not verrevpath in
 
 However, when I try to add the rule, I get an error:
 
  lilbuddy:~ paimin$ ipfw add deny ip from any to any not verrevpath in
  ipfw: unknown argument ``not''
 
 Can someone tell what is causing this syntax to fail?  Thanks!

Works fine for me right now on -STABLE (RELENG_6).
You didn't mention what you were running, so there's not much else we
can tell you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to install on large hard drive

2005-11-26 Thread Christopher Kelley

Steve Bertrand wrote:

I have a small partition for the windows system that is 5 
gig, a large partition for programs and data that is 18 gig, 
and around 15 gig left for fBSD.  The installer squawks about 
the drive geometry, and says it will use a more sane 
geometry.  I set up the slices and it doesn't squawk about 
writing them, and then attempts to install the system.  I 
immediately get an error Write failure on transfer! and it 
can't seem to write anything to the drive.


   



This may be the wrong approach, but what exactly are you feeding to the
installer in regards to space per filesystem?

ie:

- 250m (for /)
- xxxm (for swap)
- xm (for /usr)
- etc etc
 


/ - 512m
swap - 1024m (2x system memory)
/var - 512m
/usr - the rest (something like 12g or so)

This setup has worked for me in other computers, but this is the first 
time I've had such a large drive, or tried dual booting.



I've ignored those errors in the past, and have had no difficulty. This
has occurred since the 4.x days for me. Mind you, I never have (and god
willing) never will run a Windows system alongside FBSD, but perhaps
trying to feed it what you want for the most of the filesystems, and
when you get to the last, just accept the default block amount that FBSD
provides you with, and let it use the rest.
 

That's what I did.  It's not writing *anything*, so I doubt filesystem 
size has anything to do with it.  I tried accepting the default fBSD 
geometry as well as a couple other seemingly obvious choices with the 
same results.


The good news is, it isn't harming my windows partitions.  I 
can easily boot back into windows and everything there works.
   



I'd suggest backing up your data on the Windows partition(s) if you have
anything crutially important (especially if you are not familiar with
recovering data), before you keep hammering at it.

Steve
 

Nothing important on my windows partitions.  I have a separate file 
server where all the data goes.  But thanks for the warning. :)


Christopher

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


Re: sk0: watchdog timeout

2005-11-26 Thread Hans Nieser

Nicolas Blais wrote:


On November 26, 2005 09:15 am, Hans Nieser wrote:
 


A long, long time ago Vladimir Dvorak wrote:
   


Hello,

I have a problem with network card. From time to time kernel says

sk0: watchdog timeout
 


I just ran into the same issue. I have an ASUS A8N-SLI Deluxe in my
desktop machine which runs FreeBSD 6.0+Xorg+Gnome. It has two on-board
NICs, the nvidia one and a Marvel one. The nvidia was one big disaster and
was giving me device timeouts so I never bothered with that one again.
   



I have an sk0 too on one of my computer's onboard A8V-DX which will timeout 
once in a while too.  I found a way to reduce down time by modifying my 
rc.conf to force 'full-duplex 100Mbps'.  Now, even when it goes into a 
watchdog timeout, I quickly get back my link within that second.


This is what my rc.conf line looks like:

ifconfig_sk0=inet 192.168.1.100 media 100baseTX mediaopt full-duplex netmask 
255.255.255.0
 


Thanks! Will give this a try
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to install on large hard drive

2005-11-26 Thread Christopher Kelley

Mike Jeays wrote:


On Fri, 2005-11-25 at 23:35 -0800, Christopher Kelley wrote:
 

Up until now, I've installed FreeBSD on smaller drives ( 15 gig), but I 
recently had to replace the HD in my windows machine, so I got a larger 
hard drive with the idea of installing fBSD on it as well and dual 
booting that machine.



[snip, snip]

I did look through the manual and searched a bit on google, but I'm not 
having much luck finding even suggestions of what to try.  Does anyone 
have any suggestions?


Christopher

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



I reported a similar problem with a Maxtor D740X-SL 40GB drive a few
weeks ago.  I cannot get this drive to work properly with recent
versions of FreeBSD, and get the same error during installation.  The
disk seems to work fine with Fedora and Ubuntu.  I made it work by
disabling DMA, but the performance was awful.  My motherboard is an ASUS
P4S533.
 

Hmmm ... well, I already have a few fBSD installs, maybe I'll try Ubuntu 
or something for the dual-boot.  Never hurts to try something new.


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


Re: broken openssl on freebsd60

2005-11-26 Thread Lowell Gilbert
Jeff D. Hamann [EMAIL PROTECTED] writes:

 I should preface this with I'm not sure if this is correct but I've
 got a server running that doesn't make exstensive use of openssl and
 everything seems to run alright for the apps I've been running...
 
 so,
 
 I've been trying to install a new server using the openssl port and
 keep finding problems with the openssl libs...
 
 $ pwd
 /usr/local/lib
 $ ls -la libssl*
 -rw-r--r--  1 root  wheel  516602 Nov 26 12:23 libssl.a
 lrwxr-xr-x  1 root  wheel  11 Nov 26 12:23 libssl.so - libssl.so.4
 -r--r--r--  1 root  wheel  318507 Nov 26 12:23 libssl.so.4
 lrwxr-xr-x  1 root  wheel  12 Sep 16 09:59 libssl3.so - libssl3.so.1
 -r-xr-xr-x  1 root  wheel  155344 Sep 16 10:00 libssl3.so.1
 $
 
 should those be:
 
 lrwxr-xr-x  1 root  wheel  12 Sep 16 09:59 libssl3.so - libssl.so.3
 -r-xr-xr-x  1 root  wheel  155344 Sep 16 10:00 libssl.so.3
 
 or some such thing, because when I attempt to start something like
 postgresql81, I get:
 
 $ psql
 /libexec/ld-elf.so.1: Shared object libssl.so.3 not found, required
 by psql
 $
 
 I need to get the following apps running on the new FREEBSD 6.0 machine:
 
 1) openssl
 
 then,
 
 2) apache2
 3) subversion
 4) uw-imap
 5) postgresql81 or postgresql80+postgis
 6) php
 
 etc, etc, etc and I'm concerned that none of those will work with the
 current status of openssl on freebsd 6.0. I'm running
 
 $ uname -a
 FreeBSD bobby.xxx.xxx 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Fri Nov 18
 10:47:37 PST 2005
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64

OpenSSL is in the base system and the library version should be 4, not
3.  Is there some reason you're installing it from the ports?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Showing Beastie at boot?

2005-11-26 Thread Sean

Chris wrote:

RW wrote:


On Tuesday 22 November 2005 23:44, Lowell Gilbert wrote:


David Gerard [EMAIL PROTECTED] writes:


5.4 showed an ASCII Beastie at boot, 6.0 shows FreeBSD in awful
ASCII-art text. As a Beastie traditionalist, what's the option to
display Beastie again?


  loader_logo (``fbsdbw'')
Selects a desired logo in the 
beastie
boot menu.  Possi- ble values are: ``fbsdbw'', ``beastiebw'', 
``beastie'',

and ``none''.




Actually, that isn't in the 6.0 release:

  # man loader.conf | grep -C2 -i beastie
  #
I got it from beastie.4th.



loader_logo=beastie in loader.conf gave me technicolour beastie on a 
6.0R box


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




Tried it on mine, looks neat.

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


Re: about /usr/src/etc

2005-11-26 Thread ivan . roth
On Saturday 26 November 2005 13:41, RW wrote:

 On Saturday 26 November 2005 12:47, [EMAIL PROTECTED] wrote:

  Hi,
 
  I am unable to locate this folder (/usr/src/etc). I mean, it does not
  exist. I only have sys under /usr/src


 You only have the kernel source, not the world source.  Try updating with
 cvsup as described in the handbook.


I missed the bit about missing man pages. I guess you did a very minimal
install without manpages and with only the kernel source.

If you run sysinstall as root you can install the manpages and the full
source. (Don't be put off by the word full, it's just the source for the
base system, It doesn't include package source.)


--
Excuse me for the strange reply format, I am temporarily using a webmail to send
and a software to receive.

Well, I do not know why it disappeared or maybe I am too tired but I am sure I
installed all sources...

But you're right, no more trouble now, all man pages are back and all
directories too.

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


Re: Showing Beastie at boot?

2005-11-26 Thread David Gerard
Sean wrote:
 Chris wrote:
 RW wrote:
 On Tuesday 22 November 2005 23:44, Lowell Gilbert wrote:
 David Gerard [EMAIL PROTECTED] writes:

 5.4 showed an ASCII Beastie at boot, 6.0 shows FreeBSD in awful
 ASCII-art text. As a Beastie traditionalist, what's the option to
 display Beastie again?

   loader_logo (``fbsdbw'')

 Actually, that isn't in the 6.0 release:

 loader_logo=beastie in loader.conf gave me technicolour beastie on a
 6.0R box

 Tried it on mine, looks neat.


Excellent! Much better!

loader_logo=pokemonsextoy didn't give the result one might expect. This
may or may not be a good thing. I expect someone should submit the patch
just for the joy of having someone have to say why they're rejecting it.


- d.


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


RE: CVSup doubts

2005-11-26 Thread vizion


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Efren Bravo
 Sent: Friday, November 25, 2005 10:39 AM
 To: freebsd-questions@freebsd.org
 Subject: CVSup doubts
 
 Hi,
 
 I'm trying to configure CVSup to download only
 ports but I've several doubts about it. I took
 /usr/share/examples/ports-supfile file. (freeBSD
 6.0 RELEASE-i386)
 
 1- When I update a specific port, only is updated
 his skeleton or his binary files are downloaded
 too?
 
 2- For instance if I'm just interested in
 updating  /usr/ports/net ports, do I do it
 commenting the ports-all line and comment out
 ports-net line?
 
 3- I don't have the /usr/ports/net-im folder, Can
 I add the line ports-net-im, to download his
 content?
 
FWIW I suggest you keep the whole collection because once you have it set up
it does not take much time to keep the collection up to date because the
ports does not include the pkg.

david

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


KDE and PAM

2005-11-26 Thread Andrea Venturoli

Hello.
I've got a problem.
I'm using KDE 3.4.3 on a 5.4p8 system: simply it does not check for 
password!!!
At login (using kdm) I just enter my username and can leave the password 
field blank or type whatever I want. The same happens after the screen 
saver has locked up my session.

Here's my /etc/pam.d/kde:

#
# $FreeBSD: src/etc/pam.d/kde,v 1.6 2003/04/30 21:57:54 markm Exp $
#
# PAM configuration for the kde service
#

# auth
authrequiredpam_nologin.so  no_warn
#auth   sufficient  pam_krb5.so no_warn 
try_first_pass
#auth   sufficient  pam_ssh.so  no_warn 
try_first_pass
#auth   requiredpam_unix.so no_warn 
try_first_pass

authsufficient  /usr/local/lib/pam_smb_auth.so

# account
#accountrequiredpam_krb5.so
account requiredpam_unix.so

# session
#sessionoptionalpam_ssh.so
session requiredpam_permit.so




I've tryed googling, but I only came up either with vulnerability 
reports for older KDE releases (which should have been corrected) or 
with hints which are specific to some particular Linux-based OS.

Any hiny appreciated.

BTW, I'm also using nss_ldap, in case it matters, and text console login 
works fine.


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


Re: Showing Beastie at boot?

2005-11-26 Thread eoghan

On 26 Nov 2005, at 16:11, David Gerard wrote:


Sean wrote:

Chris wrote:

RW wrote:

On Tuesday 22 November 2005 23:44, Lowell Gilbert wrote:

David Gerard [EMAIL PROTECTED] writes:



5.4 showed an ASCII Beastie at boot, 6.0 shows FreeBSD in awful
ASCII-art text. As a Beastie traditionalist, what's the option to
display Beastie again?



  loader_logo (``fbsdbw'')



Actually, that isn't in the 6.0 release:



loader_logo=beastie in loader.conf gave me technicolour beastie on a
6.0R box



Tried it on mine, looks neat.



Excellent! Much better!

loader_logo=pokemonsextoy didn't give the result one might expect.  
This
may or may not be a good thing. I expect someone should submit the  
patch
just for the joy of having someone have to say why they're  
rejecting it.



- d.


Where do you find the loader.conf?

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


Re: CVSup doubts

2005-11-26 Thread Chris
vizion wrote:
 
-Original Message-
From: [EMAIL PROTECTED] [mailto:owner-freebsd-
[EMAIL PROTECTED] On Behalf Of Efren Bravo
Sent: Friday, November 25, 2005 10:39 AM
To: freebsd-questions@freebsd.org
Subject: CVSup doubts

Hi,

I'm trying to configure CVSup to download only
ports but I've several doubts about it. I took
/usr/share/examples/ports-supfile file. (freeBSD
6.0 RELEASE-i386)

1- When I update a specific port, only is updated
his skeleton or his binary files are downloaded
too?

2- For instance if I'm just interested in
updating  /usr/ports/net ports, do I do it
commenting the ports-all line and comment out
ports-net line?

3- I don't have the /usr/ports/net-im folder, Can
I add the line ports-net-im, to download his
content?

I STONGLY suggest you read the handbook. Then, read it again.
Then once more for good measure.

CVS is NOT hard IF you take the time to READ and LEARN.

If however you don't want to take the time to read, learn and understand
- then stick with the packages.

You are the type of user that will download a tarball, try to install
it, then complain that it don't work. Never mind the fact that you have
packages and ports.

You will be the user that EXPECTS everything you download, to run
automagically without an ounce of knowledge of how to use the powerfull
OS and it's tools you seemed to have muddled through installing, right
at your fingertips.

I hate users looking for the shortcuts.


-- 
Best regards,
Chris

Real programmers don't eat muffins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


fla device on 6

2005-11-26 Thread digitalphoto
greetings,

can you please tell me if device fla (m-systems disk-on-chip) is gone on 5.x 
and 6.x?
it still exists on the handbook the man pages are in my clean cvsuped sources, 
but I'm not able to compile it or find a kernel module. my thinclients are 
dead right now.
any hints?

tia,

joe franca

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


NCQ SATA drives

2005-11-26 Thread Wojciech Puchar
will FreeBSD make any use of that feature? it can with command queue with 
SCSI drives, and this looks similar

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


Re: Showing Beastie at boot?

2005-11-26 Thread Alexander Polakov

 Where do you find the loader.conf?
/boot/loader.conf (you can create it if not exist)
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

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


System upgrade questions

2005-11-26 Thread Miguel Saturnino
Hi!

I have a FreeBSD 5.3 release system which was upgraded with CVSup to
RELENG_5. I have recently built a new kernel, but *have not* rebuilt
world. The computer now says it's a FreeBSD 5.4-STABLE system.

This can't be right, can it? :/

I think I have two options: 
  * downgrade the sources to RELENG_5_3 with CVSup (replacing
RELENG_5 with RELENG_5_3 in the supfile) and build a new FreeBSD
5.3 kernel
or 
  * rebuild world to have a FreeBSD 5.4 base system and kernel
correct?

If I opt for the second option, should I rebuild world everytime
there's a version bump in FreeBSD?

TIA!

Best regards,
Miguel




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


Re: verrevpath -- ipfw: unknown argument ``not''

2005-11-26 Thread Mark Edwards

On Nov 26, 2005, at 7:18 AM, Lowell Gilbert wrote:


Mark Edwards [EMAIL PROTECTED] writes:


I am trying to implement the verrevpath suggestion in the ipfw man
page, as follows:


 The verrevpath option could be used to do automated anti-
spoofing by
 adding the following to the top of a ruleset:

   ipfw add deny ip from any to any not verrevpath in


However, when I try to add the rule, I get an error:

lilbuddy:~ paimin$ ipfw add deny ip from any to any not  
verrevpath in

ipfw: unknown argument ``not''


Can someone tell what is causing this syntax to fail?  Thanks!


Works fine for me right now on -STABLE (RELENG_6).
You didn't mention what you were running, so there's not much else we
can tell you.


Sorry, I am running 4.11, and nothing weird that I know of that would  
affect ipfw operation.


I found a posting via google from someone with the same question, and  
then he replied to himself that reading the man page had given him  
the answer, but he didn't say what that answer was.  Tried to email  
him, but it bounced because my mail gateway doesn't have an SPF  
record so his server rejected my mail (even though my server DOES  
have an SPF record -- ugh).


Thanks!

--
Mark Edwards


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


Yesterday's -STABLE kernel corrupts LAN

2005-11-26 Thread P.U.Kruppa

Hi,

I updated -STABLE yesterday and since my FreeBSD machine is set 
up as gateway my home network broke down completely. I rebooted 
into last weeks kernel and everything worked as usual.


Has anyone else seen this or have I been unlucky with my 
download?


Regards,



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


Re: System upgrade questions

2005-11-26 Thread Chris
Miguel Saturnino wrote:
 Hi!
 
 I have a FreeBSD 5.3 release system which was upgraded with CVSup to
 RELENG_5. I have recently built a new kernel, but *have not* rebuilt
 world. The computer now says it's a FreeBSD 5.4-STABLE system.
 
 This can't be right, can it? :/
 
 I think I have two options: 
   * downgrade the sources to RELENG_5_3 with CVSup (replacing
 RELENG_5 with RELENG_5_3 in the supfile) and build a new FreeBSD
 5.3 kernel
 or 
   * rebuild world to have a FreeBSD 5.4 base system and kernel
 correct?
 
 If I opt for the second option, should I rebuild world everytime
 there's a version bump in FreeBSD?
 
 TIA!
 
 Best regards,
 Miguel

Here again - we have questions that are answered in the Handbook and the
FAQ.

If the handbood TELLS you you need to buildworld, why would you think
you would not?

I know - it's because YOU think the handbook is lying.

Go back and READ.

-- 
Best regards,
Chris

If a scientist uncovers a publishable fact, it will
become central to his theory.

His theory, in turn, will become central to all
scientific truth.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Yesterday's -STABLE kernel corrupts LAN

2005-11-26 Thread Chris
P.U.Kruppa wrote:
 Hi,
 
 I updated -STABLE yesterday and since my FreeBSD machine is set up as
 gateway my home network broke down completely. I rebooted into last
 weeks kernel and everything worked as usual.
 
 Has anyone else seen this or have I been unlucky with my download?
 

Did you follow the instructions outlined on how to cvsup your system?
Did you forget a step? Do them out of order.

There is a reason it's documented the way it is on the FBSD site.
Mainly - becasue it works.

I'm sure then when you review what you have done - it's going to be
something you did wrong.


-- 
Best regards,
Chris

If a scientist uncovers a publishable fact, it will
become central to his theory.

His theory, in turn, will become central to all
scientific truth.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE and PAM

2005-11-26 Thread RW
On Saturday 26 November 2005 16:48, Andrea Venturoli wrote:
 Hello.
 I've got a problem.
 I'm using KDE 3.4.3 on a 5.4p8 system: simply it does not check for
 password!!!
 At login (using kdm) I just enter my username and can leave the password
 field blank or type whatever I want. The same happens after the screen
 saver has locked up my session.
 Here's my /etc/pam.d/kde:

I don't really understand how this interacts with pam, but if you go to KDE 
control-centre, and look at the login manager section, what is Enable 
Auto-login set to?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Yesterday's -STABLE kernel corrupts LAN

2005-11-26 Thread Per olof Ljungmark

P.U.Kruppa wrote:

Hi,

I updated -STABLE yesterday and since my FreeBSD machine is set up as 
gateway my home network broke down completely. I rebooted into last 
weeks kernel and everything worked as usual.


Has anyone else seen this or have I been unlucky with my download?


See previous messages today for an explanation.

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


Re: Yesterday's -STABLE kernel corrupts LAN

2005-11-26 Thread Roland Smith
On Sat, Nov 26, 2005 at 06:38:07PM +0100, P.U.Kruppa wrote:
 Hi,
 
 I updated -STABLE yesterday and since my FreeBSD machine is set 
 up as gateway my home network broke down completely. I rebooted 
 into last weeks kernel and everything worked as usual.
 
 Has anyone else seen this or have I been unlucky with my 
 download?

There was a change to if_ether.c that messed things up, but it's fixed
now. You should have either version 1.137.2.4 or 1.137.2.6 of if_ether.c

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpLGJaBUjFiP.pgp
Description: PGP signature


Re: troubles with apcupsd (basic setup)

2005-11-26 Thread Greg Maruszeczka
Dan O'Connor wrote:
   My config file:
   UPSNAME APC_BACKUPS_650
  UPSCABLE 940-0020B
  UPSTYPE dumb
  DEVICE /dev/cuaa0
  LOCKFILE /var/spool/lock
   ONBATTERYDELAY 10
   BATTERYLEVEL 20
  MINUTES 5
  TIMEOUT 600
  
 
 
 Nope.  Same thing.
 
 
 Well, first off, try setting UPSTYPE to apcsmart
 then just set UPSCABLE to smart...
 


To the OP:

Is it a BACKUPS __PRO__ 650 or just a BACKUPS 650? If it's the latter
then the dumb UPSTYPE should be correct. I have two boxes running this
model with apcupsd without issue.

Incidentally, based on your original description it almost sounds like
your battery is dead (or very low charge) which would explain why
apcupsd wants to shutdown immediately. Try running the ups without load
for a few hours to see.

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


Re: System upgrade questions

2005-11-26 Thread Daniel Gerzo
Hi Miguel,

Saturday, November 26, 2005, 6:29:50 PM, you wrote the following:

 Hi!

 I have a FreeBSD 5.3 release system which was upgraded with CVSup to
 RELENG_5. I have recently built a new kernel, but *have not* rebuilt
 world. The computer now says it's a FreeBSD 5.4-STABLE system.

 This can't be right, can it? :/

 I think I have two options: 
   * downgrade the sources to RELENG_5_3 with CVSup (replacing
 RELENG_5 with RELENG_5_3 in the supfile) and build a new FreeBSD
 5.3 kernel
 or 
   * rebuild world to have a FreeBSD 5.4 base system and kernel
 correct?

 If I opt for the second option, should I rebuild world everytime
 there's a version bump in FreeBSD?

I think you should go for the second option.

yes - you should rebuild world everytime, untill you exactly know what
has been changed in sources.

 TIA!

 Best regards,
 Miguel

-- 
Best Regards,

 DanGer, ICQ: 261701668  | e-mail protecting at: http://www.2pu.net/
 http://danger.rulez.sk  | proxy list at:http://www.proxy-web.com/
 | FreeBSD - The Power to Serve!

[ Never mow the grass... ]


Re: Yesterday's -STABLE kernel corrupts LAN

2005-11-26 Thread P.U.Kruppa

On Sat, 26 Nov 2005, Chris wrote:


P.U.Kruppa wrote:

Hi,

I updated -STABLE yesterday and since my FreeBSD machine is set up as
gateway my home network broke down completely. I rebooted into last
weeks kernel and everything worked as usual.

Has anyone else seen this or have I been unlucky with my download?



Did you follow the instructions outlined on how to cvsup your system?
Did you forget a step? Do them out of order.

There is a reason it's documented the way it is on the FBSD site.
Mainly - becasue it works.

I'm sure then when you review what you have done - it's going to be
something you did wrong.
So you updated your system yesterday and your LAN is 
still working correctly?


Regards,

Uli.





--
Best regards,
Chris

If a scientist uncovers a publishable fact, it will
become central to his theory.

His theory, in turn, will become central to all
scientific truth.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]





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


Re: System upgrade questions

2005-11-26 Thread RW
On Saturday 26 November 2005 17:38, Chris wrote:
 Miguel Saturnino wrote:
  Hi!
 
  I have a FreeBSD 5.3 release system which was upgraded with CVSup to
  RELENG_5. I have recently built a new kernel, but *have not* rebuilt
  world. The computer now says it's a FreeBSD 5.4-STABLE system.
 
  This can't be right, can it? :/
 ...

 If the handbood TELLS you you need to buildworld, why would you think
 you would not?

Whilst that is a valid point, is FreeBSD 5.4-STABLE actually wrong for 
RELENG_5. 

RELENG_5_4 wouldn't call itself 5.4-STABLE, it would be something like 
5.4-RELEASE-p8
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Yesterday's -STABLE kernel corrupts LAN

2005-11-26 Thread P.U.Kruppa

On Sat, 26 Nov 2005, Roland Smith wrote:


On Sat, Nov 26, 2005 at 06:38:07PM +0100, P.U.Kruppa wrote:

Hi,

I updated -STABLE yesterday and since my FreeBSD machine is set
up as gateway my home network broke down completely. I rebooted
into last weeks kernel and everything worked as usual.

Has anyone else seen this or have I been unlucky with my
download?


There was a change to if_ether.c that messed things up, but it's fixed
now. You should have either version 1.137.2.4 or 1.137.2.6 of if_ether.c

Thanks,

I'll try a new cvsup.

Regards,

Uli.






Roland
--
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt





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


Re: CVSup doubts

2005-11-26 Thread Jason C. Wells

Chris wrote:


I hate users looking for the shortcuts.


Funny. I didn't see that at all in the original email.  What I saw was a 
genuine misunderstanding.


He was asking about using CVSUP to track ports on a one by one basis. 
What he didn't understand is that a person really wants to CVSUP the 
whole ports tree.  It's a fair misunderstanding if one starts with an 
FTP-ish RPM-ish mindset.  John Chen's answer was appropriate.


To Efren I add the following.  You may also want to read up on 'refuse' 
files as documented in the cvsup(1) man page.  I don't recommend using 
them though.


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


Re: MX freebsd

2005-11-26 Thread Greg Maruszeczka
Glenn Dawson wrote:
 At 04:53 PM 11/25/2005, Beecher Rintoul wrote:
 
 On Friday 25 November 2005 03:43 pm, Francisco Reyes wrote:
  dick hoogendijk writes:
   Any idea how long it takes until the MX freebsd mailservers know that
   my mail relay has changed? It's three days ago now that I changed
 my MX
   records and still mail for nagual.st is routed to my old mx
   mailservers.
  
  dig nagual.st mx
 
  ;;; QUESTION SECTION:
  ;nagual.st. IN  MX
 
  ;; ANSWER SECTION:
  nagual.st.  86400   IN  MX  10 mx1.mailhop.org.
  nagual.st.  86400   IN  MX  20 mx2.mailhop.org.
 
  bc
 
  86400/3600
  24
 
 
  Should only take a day based on the results above.
 
  The command to see your XM settings is
  dig url mx

 Did you update the serial number when you changed the MX record?
 Servers downline will not see the changes otherwise.
 
 
 Actually, the serial number is only used by the slave servers for a
 particular zone to decide whether or not a zone transfer is needed.
 

I don't think that's entirely true. The serial number is also used by
named internally to determine whether to reload your zones, and hence,
to make the actual change in memory. AFAIK if you don't update the
serial number the change won't take effect.

To confirm this I just ran `rndc reload` and then checked
/var/log/messages on my closest available OBSD name server. Reloaded
named.conf but NOT my zone files. Then I changed the serial on one of my
primary zone files and ran `rndc reload` again. This time syslog records
that both named.conf and that zone have been reloaded.

Of course, the serial number change ALSO signals to slaves that they
need to update their copies.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with Firewall...

2005-11-26 Thread siva m
Hi,
 I recently installed FreeBSD 6-Release on my AMD AthlonXP box. I
recompiled the kernel with 'cvstag=6_RELENG' with firewall enabled and
everything went smoothly. I buildworld, compiled kernel and installed it.
And after installing the world in single user mode, I tried to boot into
newly installed kernel, everything seems to be fine except that there is no
internet connection. I enabled the FIREWALL=yes in my rc.conf and the
firewall type I specied as 'client'. Also I specified the IP address and
network in the 'rc.firewall' file.
I have a VoIP adapter at home connected through my cable modem, and my
ethernet connection is coming out of it. I specied a static internal IP with
a gateway.  Even when I booted my newly compiled kernel, the VoIP phone
seems to be not working. I also have debian linux on my second harddisk and
the internet is working fine on debian.

   Can anyone please tell me what's going wrong? and if I am missing
something.

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


Re: Yesterday's -STABLE kernel corrupts LAN

2005-11-26 Thread Chris
P.U.Kruppa wrote:
 On Sat, 26 Nov 2005, Chris wrote:
 
 P.U.Kruppa wrote:

 Hi,

 I updated -STABLE yesterday and since my FreeBSD machine is set up as
 gateway my home network broke down completely. I rebooted into last
 weeks kernel and everything worked as usual.

 Has anyone else seen this or have I been unlucky with my download?


 Did you follow the instructions outlined on how to cvsup your system?
 Did you forget a step? Do them out of order.

 There is a reason it's documented the way it is on the FBSD site.
 Mainly - becasue it works.

 I'm sure then when you review what you have done - it's going to be
 something you did wrong.
 
 So you updated your system yesterday and your LAN is still working
 correctly?
 
 Regards,
 
 Uli.

Mine works just dandy

-- 
Best regards,
Chris

When you're not in a hurry, the traffic light will turn
green as soon as your vehicle comes to a complete stop.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Yesterday's -STABLE kernel corrupts LAN

2005-11-26 Thread Derrick MacPherson

Chris wrote:


P.U.Kruppa wrote:
 


On Sat, 26 Nov 2005, Chris wrote:

   


P.U.Kruppa wrote:

 


Hi,

I updated -STABLE yesterday and since my FreeBSD machine is set up as
gateway my home network broke down completely. I rebooted into last
weeks kernel and everything worked as usual.

Has anyone else seen this or have I been unlucky with my download?

   


Did you follow the instructions outlined on how to cvsup your system?
Did you forget a step? Do them out of order.

There is a reason it's documented the way it is on the FBSD site.
Mainly - becasue it works.

I'm sure then when you review what you have done - it's going to be
something you did wrong.
 


So you updated your system yesterday and your LAN is still working
correctly?

Regards,

Uli.
   



Mine works just dandy

 

My friend posted late last night, on a problem we are seeing, Sub: 
Problem with FreeBSD 6 -STABLE and Dell PowerEdge 2850 spewing arp requests


Pasted here:

Hi All,

I have a problem with FreeBSD 6 -Stable, i built the machine with 
-RELEASE and it's been running fine for the last few weeks.. Today i 
tryed to make the jump to -STABLE by running cvsup on the RELENG_6 
branch, running makebuildworld/kernel
which built fine without any errors.. upon the first reboot the machine 
did not come back up.. I went down to the data centre where the machine 
is COLO'd and saw the machine  did boot the new kernel.. it just has no 
network connectivity..


The Machine is a Dell PowerEdge 2850, Raid 1 volume on the Perc4i 
controller.. there are 2 Intel 1000BT adaptors.. i poked around making 
sure there were no errors in the syslog etc.. the machine comes up fine 
as mentioned...
and the only odd thing i found was 1) in the output of ps -aux there was 
over 100 IRQ's listed.. and 2) the network adapter is puking arp 
requests flooding the local network..


With no fix in sight i re-installed the source and base binary's from 
the installer which fixed the problem as the machine was back at 
-RELEASE.. it worked great.. i thought at first i may have had left over 
files in /usr/obj but from what i thought that should not affect the 
kernel build/install.. regardless i followed the handbook and removed 
the /usr/obj/usr dir and ran cvsup again to get the -STABLE source.. i 
ran make cleandir and started the process over again..
and once again after the kernel install the machine loses it's 
networking capabilities and starts spewing Arp requests...


Could anyone offer any insight?

Sorry about not having a dmesg but i dont have access to the machine at 
the moment as it's dead :P



Thanks

Rob.

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


Re: Yesterday's -STABLE kernel corrupts LAN

2005-11-26 Thread Chris
Derrick MacPherson wrote:
 My friend posted late last night, on a problem we are seeing, Sub:
 Problem with FreeBSD 6 -STABLE and Dell PowerEdge 2850 spewing arp requests
 
 Pasted here:
 
 Hi All,
 
 I have a problem with FreeBSD 6 -Stable, i built the machine with
 -RELEASE and it's been running fine for the last few weeks.. Today i
 tryed to make the jump to -STABLE by running cvsup on the RELENG_6
 branch, running makebuildworld/kernel
 which built fine without any errors.. upon the first reboot the machine
 did not come back up.. I went down to the data centre where the machine
 is COLO'd and saw the machine  did boot the new kernel.. it just has no
 network connectivity..
 
 The Machine is a Dell PowerEdge 2850, Raid 1 volume on the Perc4i
 controller.. there are 2 Intel 1000BT adaptors.. i poked around making
 sure there were no errors in the syslog etc.. the machine comes up fine
 as mentioned...

Yes - I can see running STABLE (or CURRENT for that matter) on a
production box makes perfect sence to me. Yes it does.

-- 
Best regards,
Chris

Exciting plays occur only while you are watching the
scoreboard or out buying a hot dog.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Yesterday's -STABLE kernel corrupts LAN

2005-11-26 Thread Derrick MacPherson

Chris wrote:


Derrick MacPherson wrote:
 


My friend posted late last night, on a problem we are seeing, Sub:
Problem with FreeBSD 6 -STABLE and Dell PowerEdge 2850 spewing arp requests

Pasted here:

Hi All,

I have a problem with FreeBSD 6 -Stable, i built the machine with
-RELEASE and it's been running fine for the last few weeks.. Today i
tryed to make the jump to -STABLE by running cvsup on the RELENG_6
branch, running makebuildworld/kernel
which built fine without any errors.. upon the first reboot the machine
did not come back up.. I went down to the data centre where the machine
is COLO'd and saw the machine  did boot the new kernel.. it just has no
network connectivity..

The Machine is a Dell PowerEdge 2850, Raid 1 volume on the Perc4i
controller.. there are 2 Intel 1000BT adaptors.. i poked around making
sure there were no errors in the syslog etc.. the machine comes up fine
as mentioned...
   



Yes - I can see running STABLE (or CURRENT for that matter) on a
production box makes perfect sence to me. Yes it does.
 

Wow, if I could use that sarcasm to fuel my car I'd be happy. I guess we 
would be the only people to run current or stable on a production 
machine, and everyone else is using RELEASE? I guess I should have stuck 
with 4.1x considering all the initial troubles with 5.x, and not go to 6 
at all cause heck that can't be near ready considering the obvious 
ineptitude of freebsd developers, the horrible track record speaks for 
itself. Or should I run RedHat? ;)


Just wanted to contribute to the discussion in a productive manner, and 
make sure people are aware of issues as well as solve our current issue, 
but thanks for your input nonetheless. I hope it's sunny over there 
today, cause it is here. Whoomp.

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


Re: Yesterday's -STABLE kernel corrupts LAN

2005-11-26 Thread Chris
Derrick MacPherson wrote:
 Chris wrote:
 
 Derrick MacPherson wrote:
  

 My friend posted late last night, on a problem we are seeing, Sub:
 Problem with FreeBSD 6 -STABLE and Dell PowerEdge 2850 spewing arp
 requests

 Pasted here:

 Hi All,

 I have a problem with FreeBSD 6 -Stable, i built the machine with
 -RELEASE and it's been running fine for the last few weeks.. Today i
 tryed to make the jump to -STABLE by running cvsup on the RELENG_6
 branch, running makebuildworld/kernel
 which built fine without any errors.. upon the first reboot the machine
 did not come back up.. I went down to the data centre where the machine
 is COLO'd and saw the machine  did boot the new kernel.. it just has no
 network connectivity..

 The Machine is a Dell PowerEdge 2850, Raid 1 volume on the Perc4i
 controller.. there are 2 Intel 1000BT adaptors.. i poked around making
 sure there were no errors in the syslog etc.. the machine comes up fine
 as mentioned...
   


 Yes - I can see running STABLE (or CURRENT for that matter) on a
 production box makes perfect sence to me. Yes it does.
  

 Wow, if I could use that sarcasm to fuel my car I'd be happy. I guess we
 would be the only people to run current or stable on a production
 machine, and everyone else is using RELEASE? I guess I should have stuck
 with 4.1x considering all the initial troubles with 5.x, and not go to 6
 at all cause heck that can't be near ready considering the obvious
 ineptitude of freebsd developers, the horrible track record speaks for
 itself. Or should I run RedHat? ;)
 
 Just wanted to contribute to the discussion in a productive manner, and
 make sure people are aware of issues as well as solve our current issue,
 but thanks for your input nonetheless. I hope it's sunny over there
 today, cause it is here. Whoomp.

Indeed it is - perhaps a bit more then there.

-- 
Best regards,
Chris

The value of a program is proportional
to the weight of its output.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Compressed filesystem

2005-11-26 Thread Nils Vogels
Hi!

I'm looking for a way to have an on-the-fly compressed filesystem, to
use as an archive under FreeBSD. So far, I've only been able to find
solutions for Linux, are there any for FreeBSD as well ?

Gr,

Nils

-- 
Simple guidelines to happiness:
Work like you don't need the money,
love like your heart has never been broken and 
dance like no one can see you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


tomcat + apache + java

2005-11-26 Thread fbsd
Can anyone point me to a surefire how-to to get tomcat  java  apache running
on a FreeBSD 5.3R box.

Here are the current setup.

OS : FreeBSD 5.3R
Apache 2.0.50
Tomcat 5.0.28
mod_jk - seems to be 1.2.5
java - jdk1.4.2

Thanks,

Ed



This message was sent using IMP, the Internet Messaging Program.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Showing Beastie at boot?

2005-11-26 Thread David Gerard
eoghan wrote:
 Chris wrote:

 loader_logo=beastie in loader.conf gave me technicolour beastie on a
 6.0R box

 Where do you find the loader.conf?


/boot/loader.conf - see man loader.conf for how to use this.

Note that I expect to see my technicolour Beastie very infrequently
indeed, since it only shows at boot time ;-)


- d.

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


Re: broken openssl on freebsd60

2005-11-26 Thread Jeff D. Hamann

OpenSSL is in the base system and the library version should be 4, not
3.  Is there some reason you're installing it from the ports?


I have no idea. I didn't know it was part of the base system, but when I 
went to install apache2, postgresql, etc, those ports wanted to install the 
openssl port or at least they used to.





- Original Message - 
From: Lowell Gilbert [EMAIL PROTECTED]

To: Jeff D. Hamann [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Saturday, November 26, 2005 7:29 AM
Subject: Re: broken openssl on freebsd60



Jeff D. Hamann [EMAIL PROTECTED] writes:


I should preface this with I'm not sure if this is correct but I've
got a server running that doesn't make exstensive use of openssl and
everything seems to run alright for the apps I've been running...

so,

I've been trying to install a new server using the openssl port and
keep finding problems with the openssl libs...

$ pwd
/usr/local/lib
$ ls -la libssl*
-rw-r--r--  1 root  wheel  516602 Nov 26 12:23 libssl.a
lrwxr-xr-x  1 root  wheel  11 Nov 26 12:23 libssl.so - libssl.so.4
-r--r--r--  1 root  wheel  318507 Nov 26 12:23 libssl.so.4
lrwxr-xr-x  1 root  wheel  12 Sep 16 09:59 libssl3.so - libssl3.so.1
-r-xr-xr-x  1 root  wheel  155344 Sep 16 10:00 libssl3.so.1
$

should those be:

lrwxr-xr-x  1 root  wheel  12 Sep 16 09:59 libssl3.so - libssl.so.3
-r-xr-xr-x  1 root  wheel  155344 Sep 16 10:00 libssl.so.3

or some such thing, because when I attempt to start something like
postgresql81, I get:

$ psql
/libexec/ld-elf.so.1: Shared object libssl.so.3 not found, required
by psql
$

I need to get the following apps running on the new FREEBSD 6.0 machine:

1) openssl

then,

2) apache2
3) subversion
4) uw-imap
5) postgresql81 or postgresql80+postgis
6) php

etc, etc, etc and I'm concerned that none of those will work with the
current status of openssl on freebsd 6.0. I'm running

$ uname -a
FreeBSD bobby.xxx.xxx 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Fri Nov 18
10:47:37 PST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64


OpenSSL is in the base system and the library version should be 4, not
3.  Is there some reason you're installing it from the ports?



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


USB audio in 4.11?

2005-11-26 Thread Jesse Sheidlower

I'm running FreeBSD 4.11 on a laptop, and am interested in
plugging in USB speakers. Is this possible, and if so, what
do I have to do? There wasn't anything in the Handbook,
and most things I saw from searching the lists had to do 
with recording audio to a USB device.

Thanks.

Jesse Sheidlower

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


Re: Yesterday's -STABLE kernel corrupts LAN

2005-11-26 Thread Rob Connon (Info)

Chris wrote:


Derrick MacPherson wrote:
 


My friend posted late last night, on a problem we are seeing, Sub:
Problem with FreeBSD 6 -STABLE and Dell PowerEdge 2850 spewing arp requests

Pasted here:

Hi All,

I have a problem with FreeBSD 6 -Stable, i built the machine with
-RELEASE and it's been running fine for the last few weeks.. Today i
tryed to make the jump to -STABLE by running cvsup on the RELENG_6
branch, running makebuildworld/kernel
which built fine without any errors.. upon the first reboot the machine
did not come back up.. I went down to the data centre where the machine
is COLO'd and saw the machine  did boot the new kernel.. it just has no
network connectivity..

The Machine is a Dell PowerEdge 2850, Raid 1 volume on the Perc4i
controller.. there are 2 Intel 1000BT adaptors.. i poked around making
sure there were no errors in the syslog etc.. the machine comes up fine
as mentioned...
   



Yes - I can see running STABLE (or CURRENT for that matter) on a
production box makes perfect sence to me. Yes it does.

 

Who said anything about a production box? just because the machine is 
sitting in a COLO dont mean it's in production.. Why not offer some 
valued input instead of smart ass comments?
you seem like the type of person most people ignore when they hear you 
open your mouth, but it's such a nice day i thought i would respond..


Happy Thanks Giving!!

And for the rest of you thanks for all the help!

Rob




smime.p7s
Description: S/MIME Cryptographic Signature


Instructions for upgrading?

2005-11-26 Thread Dr. Jennifer Nussbaum
where can i find simple instructions for upgrading to
a new major
version? im running 4.10 right now and want to change
to 6.0--why not? heh--but the installation page in the
handbook just talks about doing it from
scratch. and the entire upgrade' section of the 6.0
release notes just says 
Source upgrades to FreeBSD 6.0-RELEASE are only
supported from FreeBSD 5.3-RELEASE or later. Users of
older systems wanting to upgrade 6.0-RELEASE will need
to update to FreeBSD 5.3 or newer first, then to
FreeBSD 6.0-RELEASE. Important: Upgrading FreeBSD
should, of course, only be attempted after backing up
all data and configuration files. but doesnt say how
to really do it.

same with the 5.x release notes. im willing to do this
in two step, from 4.10 to 5.4 and then to 6.0, if that
is neccessary.

my laptop doesnt have a CD drive of a floppy drive, so
i want to do it over the network but i need simple
instructions if someone can help.

thank you!

jen



__ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free. 
http://music.yahoo.com/unlimited/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compressed filesystem

2005-11-26 Thread RW
On Saturday 26 November 2005 18:45, Nils Vogels wrote:
 Hi!

 I'm looking for a way to have an on-the-fly compressed filesystem, to
 use as an archive under FreeBSD. So far, I've only been able to find
 solutions for Linux, are there any for FreeBSD as well ?

There's mkuzip, but it's read only.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Yesterday's -STABLE kernel corrupts LAN

2005-11-26 Thread matt .
Wow I must be missing something here on a very basic, fundamental level.

I run FreeBSD-RELEASE on a production box.  I have my reservations but it
was the only release that supported my RAID controller, so I had no choice
(or buy a $300 raid card that was supported).  Anyway it works fine so far
(knock heavily and repeatedly on huge pieces of wood).

I've read the FreeBSD notes regarding the differences between STABLE,
CURRENT and RELEASE.  So uh, what is supposed to be run on a production
box?  In plain sight on the FreeBSD site it says Latest production release
which is 6.0-RELEASE...are we only supposed to run RELEASE on production
systems or are we supposed to run STABLE?  Seems to me it's
counter-intuitive to call something STABLE and not have it meant for
production.  My head hurts.

matt

On 11/26/05, Rob Connon (Info) [EMAIL PROTECTED] wrote:

 Chris wrote:

 Derrick MacPherson wrote:
 
 
 My friend posted late last night, on a problem we are seeing, Sub:
 Problem with FreeBSD 6 -STABLE and Dell PowerEdge 2850 spewing arp
 requests
 
 Pasted here:
 
 Hi All,
 
 I have a problem with FreeBSD 6 -Stable, i built the machine with
 -RELEASE and it's been running fine for the last few weeks.. Today i
 tryed to make the jump to -STABLE by running cvsup on the RELENG_6
 branch, running makebuildworld/kernel
 which built fine without any errors.. upon the first reboot the machine
 did not come back up.. I went down to the data centre where the machine
 is COLO'd and saw the machine  did boot the new kernel.. it just has no
 network connectivity..
 
 The Machine is a Dell PowerEdge 2850, Raid 1 volume on the Perc4i
 controller.. there are 2 Intel 1000BT adaptors.. i poked around making
 sure there were no errors in the syslog etc.. the machine comes up fine
 as mentioned...
 
 
 
 Yes - I can see running STABLE (or CURRENT for that matter) on a
 production box makes perfect sence to me. Yes it does.
 
 
 
 Who said anything about a production box? just because the machine is
 sitting in a COLO dont mean it's in production.. Why not offer some
 valued input instead of smart ass comments?
 you seem like the type of person most people ignore when they hear you
 open your mouth, but it's such a nice day i thought i would respond..

 Happy Thanks Giving!!

 And for the rest of you thanks for all the help!

 Rob





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


Re: Yesterday's -STABLE kernel corrupts LAN

2005-11-26 Thread J.D. Bronson

At 02:45 PM 11/26/2005, matt . wrote:

Wow I must be missing something here on a very basic, fundamental level.

I run FreeBSD-RELEASE on a production box.  I have my reservations but it
was the only release that supported my RAID controller, so I had no choice
(or buy a $300 raid card that was supported).  Anyway it works fine so far
(knock heavily and repeatedly on huge pieces of wood).

I've read the FreeBSD notes regarding the differences between STABLE,
CURRENT and RELEASE.  So uh, what is supposed to be run on a production
box?  In plain sight on the FreeBSD site it says Latest production release
which is 6.0-RELEASE...are we only supposed to run RELEASE on production
systems or are we supposed to run STABLE?  Seems to me it's
counter-intuitive to call something STABLE and not have it meant for
production.  My head hurts.

matt


I couldnt agree more with this comment. My head hurt after
trying to figure this out as well..

Yea. The information seems to contradict itself.
The only thing I have been able to 100% figure out is:

#*default release=cvs tag=RELENG_6_0
- release branch/security fixes only
Results in: 6.0-RELEASE

#*default release=cvs tag=RELENG_6
- 6.0 + changes will eventually be 6.1
Results in: 6.0-STABLE

It is perhaps a bit easier in OpenBSD land. -STABLE means only 
bugfixes and important patches. In FreeBSD - this seems not the case?


-JD


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


Re: Yesterday's -STABLE kernel corrupts LAN

2005-11-26 Thread Chris
J.D. Bronson wrote:
 At 02:45 PM 11/26/2005, matt . wrote:
 
 Wow I must be missing something here on a very basic, fundamental level.

 I run FreeBSD-RELEASE on a production box.  I have my reservations but it
 was the only release that supported my RAID controller, so I had no
 choice
 (or buy a $300 raid card that was supported).  Anyway it works fine so
 far
 (knock heavily and repeatedly on huge pieces of wood).

 I've read the FreeBSD notes regarding the differences between STABLE,
 CURRENT and RELEASE.  So uh, what is supposed to be run on a production
 box?  In plain sight on the FreeBSD site it says Latest production
 release
 which is 6.0-RELEASE...are we only supposed to run RELEASE on production
 systems or are we supposed to run STABLE?  Seems to me it's
 counter-intuitive to call something STABLE and not have it meant for
 production.  My head hurts.

 matt
 
 
 I couldnt agree more with this comment. My head hurt after
 trying to figure this out as well..
 
 Yea. The information seems to contradict itself.
 The only thing I have been able to 100% figure out is:
 
 #*default release=cvs tag=RELENG_6_0
 - release branch/security fixes only
 Results in: 6.0-RELEASE
 
 #*default release=cvs tag=RELENG_6
 - 6.0 + changes will eventually be 6.1
 Results in: 6.0-STABLE
 
 It is perhaps a bit easier in OpenBSD land. -STABLE means only bugfixes
 and important patches. In FreeBSD - this seems not the case?
 
 -JD

STABLE is Not what you think. Its a work in progress. Towards the next
release. Not quite CURRENT, but not RELEASE.

RELEASE IS what you would think STABLE might be. The 6_0 tag follows all
security patches etc.

STABLE follows the work as it's being don within the banch. And what
will eventually be the next RELEASE

-- 
Best regards,
Chris

The first bug to hit a clean windshield lands directly
in front of your eyes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Instructions for upgrading?

2005-11-26 Thread RW
On Saturday 26 November 2005 20:16, Dr. Jennifer Nussbaum wrote:
 where can i find simple instructions for upgrading to
 a new major
 version? im running 4.10 right now and want to change
 to 6.0--why not? heh--but the installation page in the
 handbook just talks about doing it from
 scratch. and the entire upgrade' section of the 6.0
 release notes just says
 Source upgrades to FreeBSD 6.0-RELEASE are only
 supported from FreeBSD 5.3-RELEASE or later. Users of
 older systems wanting to upgrade 6.0-RELEASE will need
 to update to FreeBSD 5.3 or newer first, then to
 FreeBSD 6.0-RELEASE. Important: Upgrading FreeBSD
 should, of course, only be attempted after backing up
 all data and configuration files. but doesnt say how
 to really do it.

 same with the 5.x release notes. im willing to do this
 in two step, from 4.10 to 5.4 and then to 6.0, if that
 is neccessary.

It's covered in chapter 20 of the handbook. Unfortunately it's under the 
rather misleading title The Cutting Edge, because it's written in terms of 
tracking current/stable.  Upgrading to 5.4 and 6.0 is just the same, but with 
RELENG_5_4 and RELENG_6_0 as the release tags.  You should also look at the 
chapter on building the kernel, which gives more detail on that part of the 
process. 

You should disable any drivers in loader.conf that are built out of ports (eg 
nvidia). After the upgrade is done you will have to rebuild your ports or 
replace everything from packages.










 my laptop doesnt have a CD drive of a floppy drive, so
 i want to do it over the network but i need simple
 instructions if someone can help.

 thank you!

 jen



 __
 Yahoo! Music Unlimited
 Access over 1 million songs. Try it free.
 http://music.yahoo.com/unlimited/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Yesterday's -STABLE kernel corrupts LAN

2005-11-26 Thread Chris
J.D. Bronson wrote:
 At 02:45 PM 11/26/2005, matt . wrote:
 
 Wow I must be missing something here on a very basic, fundamental level.

 I run FreeBSD-RELEASE on a production box.  I have my reservations but it
 was the only release that supported my RAID controller, so I had no
 choice
 (or buy a $300 raid card that was supported).  Anyway it works fine so
 far
 (knock heavily and repeatedly on huge pieces of wood).

 I've read the FreeBSD notes regarding the differences between STABLE,
 CURRENT and RELEASE.  So uh, what is supposed to be run on a production
 box?  In plain sight on the FreeBSD site it says Latest production
 release
 which is 6.0-RELEASE...are we only supposed to run RELEASE on production
 systems or are we supposed to run STABLE?  Seems to me it's
 counter-intuitive to call something STABLE and not have it meant for
 production.  My head hurts.

 matt
 
 
 I couldnt agree more with this comment. My head hurt after
 trying to figure this out as well..
 
 Yea. The information seems to contradict itself.
 The only thing I have been able to 100% figure out is:
 
 #*default release=cvs tag=RELENG_6_0
 - release branch/security fixes only
 Results in: 6.0-RELEASE
 
 #*default release=cvs tag=RELENG_6
 - 6.0 + changes will eventually be 6.1
 Results in: 6.0-STABLE
 
 It is perhaps a bit easier in OpenBSD land. -STABLE means only bugfixes
 and important patches. In FreeBSD - this seems not the case?
 
 -JD
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 

And here once again, the website tells us:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html#STABLE

Good Lord, it's a wunnerful thing to read.

-- 
Best regards,
Chris

The first bug to hit a clean windshield lands directly
in front of your eyes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


right place to load kld modules

2005-11-26 Thread Wojciech Puchar
where is right place to do it, other than loader.conf, to load it after 
kernel is started.


i would like to defer usb bus discovery so SCSI bus numbering is 
independent of USB storage devs connected.


i put it for now in usbd but is there any place made for that, like 
/etc/lkm.conf in NetBSD?

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


Re: Yesterday's -STABLE kernel corrupts LAN

2005-11-26 Thread RW
On Saturday 26 November 2005 18:34, Derrick MacPherson wrote:

 Wow, if I could use that sarcasm to fuel my car I'd be happy. I guess we
 would be the only people to run current or stable on a production
 machine, and everyone else is using RELEASE? I guess I should have stuck
 with 4.1x considering all the initial troubles with 5.x, and not go to 6
 at all cause 

Those of us who are content to drive the latest model, should be gratefull 
that there are people who volunteer to be crash-test dummies.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Yesterday's -STABLE kernel corrupts LAN

2005-11-26 Thread matt .
FreeBSD should really consider changing the name of their branch name STABLE
to DEV or PRE-RELEASE, since it clearly states on freebsd.org the STABLE
branch is for those wishing to track and contribute to the development
process of the next FreeBSD RELEASE.  It makes sense to leave RELEASE the
way it is, since RELEASE branches are meant exactly for how their namesake
states.   FreeBSD-CURRENT pretty much self-explains what it's meant for,
which is the latest, bleeding edge code, which once tested is added to
STABLE...or wait, then maybe CURRENT should be called DEV?  ahhh!!  :)

matt

On 11/26/05, J.D. Bronson [EMAIL PROTECTED] wrote:



 I couldnt agree more with this comment. My head hurt after
 trying to figure this out as well..

 Yea. The information seems to contradict itself.
 The only thing I have been able to 100% figure out is:

 #*default release=cvs tag=RELENG_6_0
 - release branch/security fixes only
 Results in: 6.0-RELEASE

 #*default release=cvs tag=RELENG_6
 - 6.0 + changes will eventually be 6.1
 Results in: 6.0-STABLE

 It is perhaps a bit easier in OpenBSD land. -STABLE means only
 bugfixes and important patches. In FreeBSD - this seems not the case?

 -JD



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


Re: System upgrade questions

2005-11-26 Thread Miguel Saturnino
Hi Daniel,

On Sat, 2005-11-26 at 18:51 +0100, Daniel Gerzo wrote:
  I think I have two options: 
* downgrade the sources to RELENG_5_3 with CVSup (replacing
  RELENG_5 with RELENG_5_3 in the supfile) and build a new
 FreeBSD
  5.3 kernel
  or 
* rebuild world to have a FreeBSD 5.4 base system and kernel
  correct?
 
  If I opt for the second option, should I rebuild world everytime
  there's a version bump in FreeBSD?
 
 I think you should go for the second option.
 
 yes - you should rebuild world everytime, untill you exactly know what
 has been changed in sources. 

Thanks for your answer!

Best regards,
Miguel

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


Re: System upgrade questions

2005-11-26 Thread Miguel Saturnino
Hi Cris!

On Sat, 2005-11-26 at 11:38 -0600, Chris wrote:
  I have a FreeBSD 5.3 release system which was upgraded with CVSup to
  RELENG_5. I have recently built a new kernel, but *have not* rebuilt
  world. The computer now says it's a FreeBSD 5.4-STABLE system.
  
  This can't be right, can it? :/
  
  I think I have two options: 
* downgrade the sources to RELENG_5_3 with CVSup (replacing
  RELENG_5 with RELENG_5_3 in the supfile) and build a new FreeBSD
  5.3 kernel
  or 
* rebuild world to have a FreeBSD 5.4 base system and kernel
  correct?
  
  If I opt for the second option, should I rebuild world everytime
  there's a version bump in FreeBSD?
  
  TIA!
  
  Best regards,
  Miguel
 
 Here again - we have questions that are answered in the Handbook and the
 FAQ.
 
 If the handbood TELLS you you need to buildworld, why would you think
 you would not?
 
 I know - it's because YOU think the handbook is lying.
 
 Go back and READ.

Thanks for your answer.

FYI, I do not think the handbook is lying. I have read most of the
handbook, but it was not clear to me that I should not track RELENG_5
unless I was prepared to rebuild world whenever necessary (which might
not be trivial as this is a remote system accessible only by ssh).

Regards,
Miguel

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


Re: Yesterday's -STABLE kernel corrupts LAN

2005-11-26 Thread Rob Connon (Info)



I couldnt agree more with this comment. My head hurt after
trying to figure this out as well..

Yea. The information seems to contradict itself.
The only thing I have been able to 100% figure out is:

#*default release=cvs tag=RELENG_6_0
- release branch/security fixes only
Results in: 6.0-RELEASE

#*default release=cvs tag=RELENG_6
- 6.0 + changes will eventually be 6.1
Results in: 6.0-STABLE

It is perhaps a bit easier in OpenBSD land. -STABLE means only 
bugfixes and important patches. In FreeBSD - this seems not the case?


-JD


I agree, i think that was my mistake.. i come from using OpenBSD and 
*thought* -STABLE meant RELEASE+ security fixes.. Which is MY fault for 
not paying closer attention to the docs..

oh well i am now informed.

-rob


smime.p7s
Description: S/MIME Cryptographic Signature


Re: CVSup doubts

2005-11-26 Thread Efren Bravo
Jason, David, Chen and the others, !=Chris,  
  
I don't lose my time to answering him because I
wouldn't have time to read the CVSup man pages as
Chris suggests, jajajajaja  
  
thanks for your help


 --- Chris [EMAIL PROTECTED] escribió:

 vizion wrote:
  
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Efren
 Bravo
 Sent: Friday, November 25, 2005 10:39 AM
 To: freebsd-questions@freebsd.org
 Subject: CVSup doubts
 
 Hi,
 
 I'm trying to configure CVSup to download
 only
 ports but I've several doubts about it. I
 took
 /usr/share/examples/ports-supfile file.
 (freeBSD
 6.0 RELEASE-i386)
 
 1- When I update a specific port, only is
 updated
 his skeleton or his binary files are
 downloaded
 too?
 
 2- For instance if I'm just interested in
 updating  /usr/ports/net ports, do I do it
 commenting the ports-all line and comment out
 ports-net line?
 
 3- I don't have the /usr/ports/net-im folder,
 Can
 I add the line ports-net-im, to download his
 content?
 
 I STONGLY suggest you read the handbook. Then,
 read it again.
 Then once more for good measure.
 
 CVS is NOT hard IF you take the time to READ
 and LEARN.
 
 If however you don't want to take the time to
 read, learn and understand
 - then stick with the packages.
 
 You are the type of user that will download a
 tarball, try to install
 it, then complain that it don't work. Never
 mind the fact that you have
 packages and ports.
 
 You will be the user that EXPECTS everything
 you download, to run
 automagically without an ounce of knowledge of
 how to use the powerfull
 OS and it's tools you seemed to have muddled
 through installing, right
 at your fingertips.
 
 I hate users looking for the shortcuts.
 
 
 -- 
 Best regards,
 Chris
 
 Real programmers don't eat muffins.
 


Efren Bravo.



__ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fun with passwd files

2005-11-26 Thread matt .
Hey folks,

I wonder if anybody can help me out here...

FreeBSD 6.0-RELEASE

I'm doing a user migration.  I'm manually populating the /etc/master.passwd
with user entries from the old box.  I run pwd_mkdb on the
master.passwdfile.  This was working dandy until a few moments ago.  I
added a user, then
attempted to delete the user using pw userdel username and I get this:

host# pw userdel jschneider
pw: user 'jschneider' does not exist: No such file or directory

This was weird.  I can usermod, usershow and finger jschneider just fine.
When I change jschneider's password using passwd, magically I am now able to
delete him using pw userdel.

I found out jschneider was being added to /etc/master.passwd but not into
/etc/passwd.  However previous users I had manually added using the same
method did end up in the /etc/passwd file.  So I'm confused.  Now it seems
any user I manually add to master.passwd and run pwd_mkdb on, doesn't get
populated into /etc/passwd.  Any clue what's going on here?

kind regards,

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


Re: Fun with passwd files

2005-11-26 Thread matt .
Ah-haseems if I do anything to update the /etc/passwd file, it'll
populate with the latest /etc/master.passwd entries...for example I just
updated the default shell for a different users, and voila, I see good ol'
jschneider added to the /etc/passwd file now.

So, I was likley only seeing previous users in there because I was randomly
updating other user attributes.

The question now is this...I see a switch for pwd_mkdb which is -p,
meaning generate a /etc/passwd file.  Going forward, when manually adding a
new user to /etc/master.passwd, am I now to issue pwd_mkdb -p file to
properly update /etc/passwd at the same time?  Seems to me this is the thing
to do, however it's my first time really messing with this sort of thing...

matt

On 11/26/05, matt . [EMAIL PROTECTED] wrote:

 Hey folks,

 I wonder if anybody can help me out here...

 FreeBSD 6.0-RELEASE

 I'm doing a user migration.  I'm manually populating the
 /etc/master.passwd with user entries from the old box.  I run pwd_mkdb on
 the master.passwd file.  This was working dandy until a few moments ago.
 I added a user, then attempted to delete the user using pw userdel
 username and I get this:

 host# pw userdel jschneider
 pw: user 'jschneider' does not exist: No such file or directory

 This was weird.  I can usermod, usershow and finger jschneider just
 fine.  When I change jschneider's password using passwd, magically I am now
 able to delete him using pw userdel.

 I found out jschneider was being added to /etc/master.passwd but not into
 /etc/passwd.  However previous users I had manually added using the same
 method did end up in the /etc/passwd file.  So I'm confused.  Now it seems
 any user I manually add to master.passwd and run pwd_mkdb on, doesn't get
 populated into /etc/passwd.  Any clue what's going on here?

 kind regards,

 matt


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


Re: Instructions for upgrading?

2005-11-26 Thread Kevin Kinsey

Dr. Jennifer Nussbaum wrote:


where can i find simple instructions for upgrading to
a new major
version? im running 4.10 right now and want to change
to 6.0--why not? heh--but the installation page in the
handbook just talks about doing it from
scratch. and the entire upgrade' section of the 6.0
release notes just says 
Source upgrades to FreeBSD 6.0-RELEASE are only

supported from FreeBSD 5.3-RELEASE or later. Users of
older systems wanting to upgrade 6.0-RELEASE will need
to update to FreeBSD 5.3 or newer first, then to
FreeBSD 6.0-RELEASE. Important: Upgrading FreeBSD
should, of course, only be attempted after backing up
all data and configuration files. but doesnt say how
to really do it.

same with the 5.x release notes. im willing to do this
in two step, from 4.10 to 5.4 and then to 6.0, if that
is neccessary.

my laptop doesnt have a CD drive of a floppy drive, so
i want to do it over the network but i need simple
instructions if someone can help.

thank you!

jen
 



In addition to the advice given earlier, you might
read Bruce Mah's Migration Guide.  The 5.3 version
is here:

http://people.freebsd.org/~bmah/relnotes/5.3-RELEASE/early-adopter.html

   and might be quite applicable to the 4.x  5.x migration,
as 5.3 was the first -STABLE release in the 5.X branch, and
many users were expected to move to it from 4.11, etc.

As mentioned, a recent 5.X to 6.0-RELEASE upgrade is a
relative breeze by comparison, and doesn't require much
special at all.  YMMV, of course.  As with all upgrades, be
sure and read /src/UPDATING (and /usr/ports/UPDATING if
you use any ports.)

Regards,

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


Re: MX freebsd

2005-11-26 Thread dick hoogendijk
On Sat, 26 Nov 2005 09:58:22 -0800
Greg Maruszeczka [EMAIL PROTECTED] wrote:

 Glenn Dawson wrote:

  Actually, the serial number is only used by the slave servers for a
  particular zone to decide whether or not a zone transfer is needed.
 
 I don't think that's entirely true. The serial number is also used by
 named internally to determine whether to reload your zones, and hence,
 to make the actual change in memory. AFAIK if you don't update the
 serial number the change won't take effect.

 Of course, the serial number change ALSO signals to slaves that they
 need to update their copies.

Just to let you all know it all worked out OK.
And, yes, sure I did update the serial numbers in the zonefiles.
I always do that after (how minor) a change..

Thanks everyone for thinking along.

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.0 +++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tomcat + apache + java

2005-11-26 Thread Michael P. Soulier
On 11/26/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Can anyone point me to a surefire how-to to get tomcat  java  apache running
 on a FreeBSD 5.3R box.

Start here.

http://www.freebsd.org/java/

It worked for me. JDK 1.4.2 and Tomcat 5.5.9. I haven't set up mod_jk
yet, I'm just using ProxyPass from apache.

Mike


 Here are the current setup.

 OS : FreeBSD 5.3R
 Apache 2.0.50
 Tomcat 5.0.28
 mod_jk - seems to be 1.2.5
 java - jdk1.4.2

 Thanks,

 Ed


 
 This message was sent using IMP, the Internet Messaging Program.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



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


Re: Problem with Firewall...

2005-11-26 Thread Kevin Kinsey

siva m wrote:


Hi,
I recently installed FreeBSD 6-Release on my AMD AthlonXP box. I
recompiled the kernel with 'cvstag=6_RELENG' with firewall enabled and
everything went smoothly. I buildworld, compiled kernel and installed it.
And after installing the world in single user mode, I tried to boot into
newly installed kernel, everything seems to be fine except that there is no
internet connection. I enabled the FIREWALL=yes in my rc.conf and the
firewall type I specied as 'client'. Also I specified the IP address and
network in the 'rc.firewall' file.
   I have a VoIP adapter at home connected through my cable modem, and my
ethernet connection is coming out of it. I specied a static internal IP with
a gateway.  Even when I booted my newly compiled kernel, the VoIP phone
seems to be not working. I also have debian linux on my second harddisk and
the internet is working fine on debian.

  Can anyone please tell me what's going wrong? and if I am missing
something.

thanks in advance,
Siva



You can refer to section IV of the Handbook for some pointers,
particularly chapters 25 and 26, I'd think.

Please send diagnostic output to the list if you really want help
(and I assume that you do). 


No network connection is not very telling; it is only a generalization
of the problem and does not address the root cause.  We need to know
what you've tried, and what the machine has replied, before we can give
any decent advice (in short, more data is required)

Perhaps several of the following
would give us a clue:

`netstat -nr`

`ifconfig -a`

`ipfw show`

`ping localhost`

`ping xxx.xxx.xxx.xxx`

If it *really* is the firewall, then perhaps:

#ipfw add 1 allow ip from any to any

... might open things up a bit ;-)


HTH,

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


Re: Showing Beastie at boot?

2005-11-26 Thread cpghost
On Sat, Nov 26, 2005 at 07:02:36PM +, David Gerard wrote:
  Where do you find the loader.conf?
 
 /boot/loader.conf - see man loader.conf for how to use this.
 
 Note that I expect to see my technicolour Beastie very infrequently
 indeed, since it only shows at boot time ;-)

Unless you're running FBSD as guest os in qemu... ;-)

 - d.

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


enabling audio cd sound in emu10kx driver

2005-11-26 Thread Marco Beishuizen

I would like to enable sound for my dvd player so I can listen to audio 
cd's. I installed the driver for my Audigy2 in the ports (emu10kx). Sound 
is working fine, except for audio cd's.

I once had the old driver installed which came with emuctrl, a program 
which controls the volume. Entering emuctrl set in1 100 enabled sound for 
the cd player. But with the new driver in the ports emuctrl doesn't work 
anymore and mixer is unable to control the volume for in1.

So my question is how to enable the volume for the dvd player with this 
driver.

Thanks in advance,
Marco

-- 
The Pig, if I am not mistaken,
Gives us ham and pork and Bacon.
Let others think his heart is big,
I think it stupid of the Pig.
-- Ogden Nash
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MX freebsd

2005-11-26 Thread Glenn Dawson

At 09:58 AM 11/26/2005, Greg Maruszeczka wrote:

Glenn Dawson wrote:
 At 04:53 PM 11/25/2005, Beecher Rintoul wrote:

 On Friday 25 November 2005 03:43 pm, Francisco Reyes wrote:
  dick hoogendijk writes:
   Any idea how long it takes until the MX freebsd mailservers know that
   my mail relay has changed? It's three days ago now that I changed
 my MX
   records and still mail for nagual.st is routed to my old mx
   mailservers.
  
  dig nagual.st mx
 
  ;;; QUESTION SECTION:
  ;nagual.st. IN  MX
 
  ;; ANSWER SECTION:
  nagual.st.  86400   IN  MX  10 mx1.mailhop.org.
  nagual.st.  86400   IN  MX  20 mx2.mailhop.org.
 
  bc
 
  86400/3600
  24
 
 
  Should only take a day based on the results above.
 
  The command to see your XM settings is
  dig url mx

 Did you update the serial number when you changed the MX record?
 Servers downline will not see the changes otherwise.


 Actually, the serial number is only used by the slave servers for a
 particular zone to decide whether or not a zone transfer is needed.


I don't think that's entirely true. The serial number is also used by
named internally to determine whether to reload your zones, and hence,
to make the actual change in memory. AFAIK if you don't update the
serial number the change won't take effect.

To confirm this I just ran `rndc reload` and then checked
/var/log/messages on my closest available OBSD name server. Reloaded
named.conf but NOT my zone files. Then I changed the serial on one of my
primary zone files and ran `rndc reload` again. This time syslog records
that both named.conf and that zone have been reloaded.


Did you actually make a change to one of the zone files? or did you 
just look at logs?


If you make a change to one of the zone files without changing the 
serial number, and then do rndc reload, the changes will be reflected 
in queries sent to that named process.


To quote the fourth edition of DNS and BIND page 432:

When you reload the primary, it loads the updated zone file 
regardless of whether you've changed the serial number.


-Glenn



Of course, the serial number change ALSO signals to slaves that they
need to update their copies.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Running mrtg on FreeBSD

2005-11-26 Thread matt .
Heya folks,

I hope this question isn't too MRTG-centric in-so-far-as I should be posting
it to the MRTG list (which I have and received no response)

My quandry:

I don't want MRTG run as root, however creating a crontab in /var/cron for
the mrtg user yeilds errors every time it tries to run.

mrtg user entry:

mrtg:*:10103:10103::0:0:MRTG Stats Collector:/nonexistent:/sbin/nologin

mrtg directory permissions:

cd /usr/local/etc
drwxr-xr-x   2 mrtg   wheel 512 Nov 23 15:10 mrtg

My output directory:
drwxr-xr-x  2 mrtg  wheel  512 Nov 23 14:18 mrtg

crontab entry:

*/5 * * * * /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg

Error:

2005-11-24 17:55:00 -- Started mrtg with config
'/usr/local/etc/mrtg/mrtg.cfg'
2005-11-24 17:55:00 -- Use of uninitialized value in concatenation (.) or
string at /usr/local/bin/mrtg line 720.
2005-11-24 17:55:00 -- Use of uninitialized value in concatenation (.) or
string at /usr/local/bin/mrtg line 720.
2005-11-24 17:55:00 -- ERROR: Can't Execute '/rateup'

If I run the same cron job as root, it works just dandy.  Even O'Reilly's
Essential SNMP states it's not necessary to run mrtg as root:

Quote from section 13.1:

The next step is to make sure MRTG runs every five minutes. There's no need
for MRTG to be run by root; any user will do. Add a line like the following
to the *crontab* entry for the appropriate user.

I've experienced this problem on 4.11 and 6.0.  I have seen it working on
another 4.11 box, however I can't figure out how they did it :-/

Is there perhaps something FreeBSD-specific I'm overlooking?  thanks!

kind regards,

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


Re: Running mrtg on FreeBSD

2005-11-26 Thread Glenn Dawson

At 03:33 PM 11/26/2005, matt . wrote:

Heya folks,

I hope this question isn't too MRTG-centric in-so-far-as I should be posting
it to the MRTG list (which I have and received no response)

My quandry:

I don't want MRTG run as root, however creating a crontab in /var/cron for
the mrtg user yeilds errors every time it tries to run.

mrtg user entry:

mrtg:*:10103:10103::0:0:MRTG Stats Collector:/nonexistent:/sbin/nologin

mrtg directory permissions:

cd /usr/local/etc
drwxr-xr-x   2 mrtg   wheel 512 Nov 23 15:10 mrtg

My output directory:
drwxr-xr-x  2 mrtg  wheel  512 Nov 23 14:18 mrtg

crontab entry:

*/5 * * * * /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg

Error:

2005-11-24 17:55:00 -- Started mrtg with config
'/usr/local/etc/mrtg/mrtg.cfg'
2005-11-24 17:55:00 -- Use of uninitialized value in concatenation (.) or
string at /usr/local/bin/mrtg line 720.
2005-11-24 17:55:00 -- Use of uninitialized value in concatenation (.) or
string at /usr/local/bin/mrtg line 720.
2005-11-24 17:55:00 -- ERROR: Can't Execute '/rateup'


The line above indicates your problem.  mrtg is looking for rateup in 
/ instead of /usr/local/bin which is where it would normally be.


Did you install mrtg from ports?

You might want to try running mrtg with --debug=cfg,dir and see if 
that gives an indication of why it can't find the rateup binary.


-Glenn



If I run the same cron job as root, it works just dandy.  Even O'Reilly's
Essential SNMP states it's not necessary to run mrtg as root:

Quote from section 13.1:

The next step is to make sure MRTG runs every five minutes. There's no need
for MRTG to be run by root; any user will do. Add a line like the following
to the *crontab* entry for the appropriate user.

I've experienced this problem on 4.11 and 6.0.  I have seen it working on
another 4.11 box, however I can't figure out how they did it :-/

Is there perhaps something FreeBSD-specific I'm overlooking?  thanks!

kind regards,

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


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


Re: Running mrtg on FreeBSD

2005-11-26 Thread matt .
On 11/26/05, Glenn Dawson [EMAIL PROTECTED] wrote:

 At 03:33 PM 11/26/2005, matt . wrote:

 
 2005-11-24 17:55:00 -- Started mrtg with config
 '/usr/local/etc/mrtg/mrtg.cfg'
 2005-11-24 17:55:00 -- Use of uninitialized value in concatenation (.) or
 string at /usr/local/bin/mrtg line 720.
 2005-11-24 17:55:00 -- Use of uninitialized value in concatenation (.) or
 string at /usr/local/bin/mrtg line 720.
 2005-11-24 17:55:00 -- ERROR: Can't Execute '/rateup'

 The line above indicates your problem.  mrtg is looking for rateup in
 / instead of /usr/local/bin which is where it would normally be.


This is curious to me, since when run as root it works.  Why would it know
rateup was in /usr/local/bin as root but not as mrtg?

Did you install mrtg from ports?


Yes I did.


You might want to try running mrtg with --debug=cfg,dir and see if
 that gives an indication of why it can't find the rateup binary.


Trying this now...I'll letcha now.  Thanks!


-Glenn


 If I run the same cron job as root, it works just dandy.  Even O'Reilly's
 Essential SNMP states it's not necessary to run mrtg as root:
 
 Quote from section 13.1:
 
 The next step is to make sure MRTG runs every five minutes. There's no
 need
 for MRTG to be run by root; any user will do. Add a line like the
 following
 to the *crontab* entry for the appropriate user.
 
 I've experienced this problem on 4.11 and 6.0.  I have seen it working on
 another 4.11 box, however I can't figure out how they did it :-/
 
 Is there perhaps something FreeBSD-specific I'm overlooking?  thanks!
 
 kind regards,
 
 matt
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]


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


Re: tomcat + apache + java

2005-11-26 Thread Michael Vince

[EMAIL PROTECTED] wrote:


Can anyone point me to a surefire how-to to get tomcat  java  apache running
on a FreeBSD 5.3R box.

Here are the current setup.

OS : FreeBSD 5.3R
Apache 2.0.50
Tomcat 5.0.28
mod_jk - seems to be 1.2.5
java - jdk1.4.2

Thanks,

Ed

 

Your best off using mod_proxy to connect tomcat and apache2 especially 
since your after a sure fire way.
I also assume because your using Java your after performance, so you the 
threaded apache2 worker MPM,
but it isn't a good idea to load a module like PHP with worker because 
they aren't particularly thread safe and uses more memory.
portupgrade -NRr -m 'WITH_MPM=worker -DWITH_PROXY_MODULES' 
/usr/ports/www/apache2


Mike

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


Re: Showing Beastie at boot?

2005-11-26 Thread Chris

cpghost wrote:

On Sat, Nov 26, 2005 at 07:02:36PM +, David Gerard wrote:


Where do you find the loader.conf?


/boot/loader.conf - see man loader.conf for how to use this.

Note that I expect to see my technicolour Beastie very infrequently
indeed, since it only shows at boot time ;-)



Unless you're running FBSD as guest os in qemu... ;-)


... or you care about the environment ...

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


Re: Fun with passwd files

2005-11-26 Thread Chuck Swiger

matt . wrote:
[ ... ]

The question now is this...I see a switch for pwd_mkdb which is -p,
meaning generate a /etc/passwd file.  Going forward, when manually adding a
new user to /etc/master.passwd, am I now to issue pwd_mkdb -p file to
properly update /etc/passwd at the same time?  Seems to me this is the thing
to do, however it's my first time really messing with this sort of thing...


Set $EDITOR properly, and run vipw.

That program will let you edit the password file and then update the other 
system-specific password databases correctly.


--
-Chuck

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


Re: Problem with Firewall...

2005-11-26 Thread Josh Paetzel
On Saturday 26 November 2005 12:02 pm, siva m wrote:
 Hi,
  I recently installed FreeBSD 6-Release on my AMD AthlonXP box.
 I recompiled the kernel with 'cvstag=6_RELENG' with firewall
 enabled and everything went smoothly. I buildworld, compiled kernel
 and installed it. And after installing the world in single user
 mode, I tried to boot into newly installed kernel, everything seems
 to be fine except that there is no internet connection. I enabled
 the FIREWALL=yes in my rc.conf and the firewall type I specied as
 'client'. Also I specified the IP address and network in the
 'rc.firewall' file.
 I have a VoIP adapter at home connected through my cable modem,
 and my ethernet connection is coming out of it. I specied a static
 internal IP with a gateway.  Even when I booted my newly compiled
 kernel, the VoIP phone seems to be not working. I also have debian
 linux on my second harddisk and the internet is working fine on
 debian.

Can anyone please tell me what's going wrong? and if I am
 missing something.

 thanks in advance,
 Siva

Could you attach your kernel config file and /etc/rc.conf.  I suspect 
that you didn't put gateway_enable=YES into rc.conf but there are 
other things that could be an issue besides that.

-- 
Thanks,

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


  1   2   >