make buildworld error

2007-03-19 Thread Dino Vliet
Hi folks,

on my pc ,

CPU: VIA C3 Samuel 2 (796.10-MHz 686-class CPU)
  Origin = "CentaurHauls"  Id = 0x673  Stepping = 3
  Features=0x803035
real memory  = 503250944 (479 MB)
avail memory = 483028992 (460 MB)


I get the following error after I issue a make buildworld:

buf -lbsdxml -lutil
gzip -cn /usr/src/sbin/geom/core/geom.8 > geom.8.gz
===> sbin/geom/class (all)
===> sbin/geom/class/concat (all)
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe  
-I/usr/src/sbin/geom/class/concat/../.. -Wsystem-headers -Werror -Wall 
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline 
-Wnested-externs -Wredundant-decls -c 
/usr/src/sbin/geom/class/concat/geom_concat.c -o geom_concat.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe  
-I/usr/src/sbin/geom/class/concat/../.. -Wsystem-headers -Werror -Wall 
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline 
-Wnested-externs -Wredundant-decls -c 
/usr/src/sbin/geom/class/concat/../../misc/subr.c -o subr.So
building shared library geom_concat.so
gzip -cn /usr/src/sbin/geom/class/concat/gconcat.8 > gconcat.8.gz
===> sbin/geom/class/eli (all)
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe  
-I/usr/src/sbin/geom/class/eli/../../../../sys 
-I/usr/src/sbin/geom/class/eli/../.. -Wsystem-headers -Werror -Wall 
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c 
/usr/src/sbin/geom/class/eli/../../../../sys/geom/eli/g_eli_crypto.c -o 
g_eli_crypto.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe  
-I/usr/src/sbin/geom/class/eli/../../../../sys 
-I/usr/src/sbin/geom/class/eli/../.. -Wsystem-headers -Werror -Wall 
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c 
/usr/src/sbin/geom/class/eli/../../../../sys/geom/eli/g_eli_key.c -o 
g_eli_key.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe  
-I/usr/src/sbin/geom/class/eli/../../../../sys 
-I/usr/src/sbin/geom/class/eli/../.. -Wsystem-headers -Werror -Wall 
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c 
/usr/src/sbin/geom/class/eli/../../../../sys/geom/eli/pkcs5v2.c -o pkcs5v2.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe  
-I/usr/src/sbin/geom/class/eli/../../../../sys 
-I/usr/src/sbin/geom/class/eli/../.. -Wsystem-headers -Werror -Wall 
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c 
/usr/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c -o sha2.So
/usr/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:641: error: 
syntax error before '*' token
/usr/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:644: error: 
syntax error before '&' token
/usr/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:645: error: 
syntax error before '&' token
/usr/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:645: warning: 
type defaults to `int' in declaration of `context'
/usr/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:645: warning: 
type defaults to `int' in declaration of `data'
/usr/src/sbin/geom/class/eli/../../../../sys/crypto/sha2/sha2.c:645: error: 
syntax error before ')' token
*** Error code 1

Stop in /usr/src/sbin/geom/class/eli.
*** Error code 1

Stop in /usr/src/sbin/geom/class.
*** Error code 1

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

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

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

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

Stop in /usr/src.
[EMAIL PROTECTED] /usr/src]#

I do have enabled geom and have a raid array:
mirror/gm0  COMPLETE  ad0
  ad3

What could be the problem here?
Thanks in advanced for your valuable time





 

Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Fwd: pause before "Trying to mount root from ufs:"

2007-03-19 Thread Vlad GURDIGA

Hello,

Very glad to be back with a a solution to my earlier problem: the key
was the SCSI_DELAY option in kernel: I've change it from the default
5000 to 500 (I guess milliseconds) and now th delay before "Trying to
mount root from ufs" is gone.

The way to solution was not very smart but simple, and I'm going to
tell it because it may help with other troubles too: I tried to boot
with a 6.0-RELEASE but the delay was still there, then I tried to boot
from a 5.4-RELEASE boot CD and it went smooth! No delay! A diff
between output of sysctl -a on both versions revealed a possible
difference: the sysctl kern.cam.scsi_delay variable is not present on
5.4-RELEASE (GENERIC) at all. There is also a chapter in handbook
about this: 
http://graphics.itb.ac.id/wnugroho/freebsd/handbook/configtuning-disk.html
11.12.1.6 SCSI_DELAY (kern.cam.scsi_delay).


Have a nice day!



-- Forwarded message --
From: Vlad GURDIGA <[EMAIL PROTECTED]>
Date: 15-Mar-2007 10:20
Subject: pause before "Trying to mount root from ufs:"
To: freebsd-questions@freebsd.org


Hello,

My motherboard Intel D955XBK died these day, I took it to service
center and they gave me a new one of another model: DP965LT.
On my home computer I have dual boot with Windows XP and FreeBSD
6.2-STABLE. I've expected Windows XP not to boot at all after the
change, but fortunately it successfully came up, found all new
component and everything went smooth. What I did not expect at all is
that FreeBSD showed some problems: there is a short pause on boot
before (I've measured about 4 seconds) before "SMP: AP CPU #1
Launched!", and a long one (I've measured about 90 seconds!!!) between
this message and "Trying to mount root from ufs:/dev/ad8s2a".
Last night (14.03.2007) I've updated mys source tree (6.2-STABLE) an
rebuilt the work and kernel hoping for salvation to come, but it did
not. Rebuilt SMP-GENERIC but it did not help either.
Another (bad) change that came with the motherboard change is that
Xorg is hanging on start without any message. If I try to get back to
console with Alt-Ctrl-FN, it beeps. Alt-Ctrl-Backspace does not work
either. Keyboard is working: NumLock responds and fortunately
Alt-Ctrl-Del works fine too, being the only way out of Xorg's hang.

With the exception of motherboard nothing changed in hardware.

What could be the cause?


Here is the dmesg output.

 dmesg output start 
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #0: Wed Mar 14 23:33:20 EET 2007
   [EMAIL PROTECTED]:/usr/src/sys/i386/compile/kpax.smp
WARNING: MPSAFE network stack disabled, expect reduced performance.
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2802.82-MHz 686-class CPU)
 Origin = "GenuineIntel"  Id = 0xf44  Stepping = 4
 
Features=0xbfebfbff
 Features2=0x641d>
 AMD Features=0x2010
 Cores per package: 2
real memory  = 1055305728 (1006 MB)
avail memory = 1019219968 (972 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0:  on acpi0
p4tcc0:  on cpu0
cpu1:  on acpi0
p4tcc1:  on cpu1
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
drm0:  port 0x2000-0x20ff mem
0x4000-0x4fff,0x5021-0x5021 irq 16 at device 0.0 on
pci1
info: [drm] Initialized radeon 1.25.0 20060524
pci1:  at device 0.1 (no driver attached)
pci0:  at device 3.0 (no driver attached)
em0:  port
0x30c0-0x30df mem 0x5030-0x5031,0x50324000-0x50324fff irq 20
at device 25.0 on pci0
em0: Ethernet address: 00:19:d1:09:de:de
em0: [GIANT-LOCKED]
uhci0:  port 0x30a0-0x30bf irq 16 at
device 26.0 on pci0
uhci0: [GIANT-LOCKED]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0x3080-0x309f irq 21 at
device 26.1 on pci0
uhci1: [GIANT-LOCKED]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0:  mem 0x50325400-0x503257ff
irq 18 at device 26.7 on pci0
ehci0: [GIANT-LOCKED]
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2:  on ehci0
usb2: USB revision 2.0
uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
pci0:  at device 27.0 (no driver atta

Re: Shared object "libintl.so.6" not found

2007-03-19 Thread Leslie Jensen



Gerard Seibert wrote:

FreeBSD-6.2

After booting up my system, I receive an error message:

Shared object "libintl.so.6" not found

This file should be in /usr/local/lib, but it isn't. I have no idea why.
I can now only log in as root. Since I am not sure where this file even
came from, I don't know how to replace it.

I assume I don't have to reinstall the OS (I hope) so where do I go from
here?

Thanks!




I've just been through that! Reinstalling gettext won't solve this!

Take a look in

cd /usr/local/lib

And make a link
ln -s libintl.so.8 libintl.so.6

Also read /usr/ports/UPDATING it says

20070318:
  AFFECTS: users of devel/gettext (ie: YOU)
  AUTHOR: [EMAIL PROTECTED]

  As a result of the upgrade to gettext-0.16.1, the shared library version
  of libintl has changed, so you will need to rebuild all ports that
  depend on gettext (ie: most of them, sorry).

  portupgrade -rf gettext
  portmaster -r gettext

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


Re: safe0 and kernel panic

2007-03-19 Thread Rajkumar S

On 3/19/07, Lowell Gilbert <[EMAIL PROTECTED]> wrote:

Thanks a lot for your reply.


"Rajkumar S" <[EMAIL PROTECTED]> writes:

> I am trying to install SafeNet 1141 support in one of the freebsd
> boxes here.

You do have one of those cards installed, I assume?


Yes, it's not a card, but an on board chip.


Have you tried booting a GENERIC kernel and loading the kernel module
for the safenet support?


Yes, the message I get is

safe0 mem 0xf612-0xf6121fff irq 22 at device 10.0 on pci0
safe0: cannot allocate DMA tag
device_attach: safe0 attach returned 6

but the machine remains stable, with no panic. But I still get the
"cannot allocate DMA tag" error that I got when the safenet is
compiled in.

I am not sure if this is normal and I can put the machine live.


If that doesn't give you a clue, you will need to try kernel
debugging, as described in the Handbook.


I am trying in that direction also, at least to understand why I am
getting the panic and file a meaning full PR.

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


Re: FreeBSD 6.2 + Subversion - cannot connect...

2007-03-19 Thread Elliot Finley
On Tue, 20 Mar 2007 15:16:23 +1100, you wrote:

>Hi All,
>
>I'm trying to set up a subversion server on a miniITX box running a
>freebsd server (no X) and vanilla subversion - no appache, either
>straight svn or svn+ssh.
>
>followed the basics from 2 howtos on the net - OnLamp and another (I
>can't recall off the top of my head)
>
>I can svn import, svn commit and svn checkout using the file method
>from either the svn user or other users using the file:/// method.
>
>I cannot svn to the repository using tortoise SVN from the windows XP
>box on the same network.
>
>any suggestions welcome for where to start looking - I'm all out.

in /etc/rc.conf
svnserve_flags="-d --listen-port=3690 --listen-host="
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 6.2 + Subversion - cannot connect...

2007-03-19 Thread Paul van den Bergen

Hi All,

I'm trying to set up a subversion server on a miniITX box running a
freebsd server (no X) and vanilla subversion - no appache, either
straight svn or svn+ssh.

followed the basics from 2 howtos on the net - OnLamp and another (I
can't recall off the top of my head)

I can svn import, svn commit and svn checkout using the file method
from either the svn user or other users using the file:/// method.

I cannot svn to the repository using tortoise SVN from the windows XP
box on the same network.

any suggestions welcome for where to start looking - I'm all out.

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


Hi,

2007-03-19 Thread rothlee
Hi,

I will be away from the office from March 19 to March 23. Please direct your 
requests and concerns to Raj ([EMAIL PROTECTED]) and Jay ([EMAIL PROTECTED]).

Thanks, 

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


Re: 'nodump' on directories: new contents still dumped

2007-03-19 Thread Ian Smith
On Mon, 19 Mar 2007 12:35:25 + Alex Zbyslaw writes:

 > Bram Schoenmakers wrote:
 > 
 > >Op vrijdag 16 maart 2007, schreef Alex Zbyslaw:
 > >  
 > >
 > >>Can you try explicitly putting a "-h 0" into your incremental command
 > >>line and see if that makes a difference?
 > >>
 > >>
 > >
 > >I've done that and now dump behaves like it should. I don't understand why, 
 > >because the man page says that -h 1 is default (and shouldn't be supplied 
 > >then). But with -h 0 on every incremental dump it's OK now.

My reading of the man doesn't suggest that -h "shouldn't be supplied
then", ie that -h 1 is only the default *iff* you supply -h at all, not
that -h 1 is default if you don't mention -h .. but I could be mistaken!

 > I can only think of two possibilities:
 > 
 > 1) There is a bug in whatever version of FreeBSD you are running and 
 > -h 1 is somehow *not* the default.  6.2 Release?
 > 
 > 2) There is some kind of bug with your command line, but without 
 > seeing it, I can't tell.
 > 
 > Glad you got the problem worked around;  when I finally get around to 
 > 6.2 I will be curious to see if I can replicate the problem.

Or perhaps it only requires clarification / better phrasing in the man? 

Cheers, Ian

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


Re: Protsnap won't fetch updates

2007-03-19 Thread Colin Percival
[EMAIL PROTECTED] wrote:
> I've installed portsnap and setup the conf file, but when I run it with the 
> fetch
> command, it always says I have the latest snapshot [...]
> The /usr/ports/UPDATING file never gets updated, so I know it's not working! 
> Any
> suggestions?

You might be running a very old version of portsnap.  Uninstall portsnap and
install the version from the ports tree which you downloaded.

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


Re: Differences between BSD and Linux : got article link?

2007-03-19 Thread youshi10

On Mon, 19 Mar 2007, A.J. Kehoe IV (Nanoman) wrote:


[EMAIL PROTECTED] wrote:

On Mon, 19 Mar 2007, Chris Slothouber wrote:


http://www.freebsd.org/doc/en_US.ISO8859-1/articles/explaining-bsd/

Google is your friend.

[EMAIL PROTECTED] wrote:
Need to educate some people because they made some incorrect statements 
or misunderstand the purpose of *BSD.


I know it's been discussed on the list, but I forget when and the 
archives are large enough that I won't have time to search them during 
my lunch break =\..


Chris,
 There was a different article outside of the handbook that I was 
thinking of. I don't remember who posted it or wrote the original 
article though..

-Garrett


These are from FreeBSD.org, but might be kind of like what you're looking for:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/linux-comparison/

http://people.freebsd.org/~murray/bsd_flier.html

--
A.J. Kehoe IV (Nanoman) |  /"\  ASCII Ribbon Campaign
Nanoman's Company   |  \ /   - No HTML/RTF in E-mail
E-mail: [EMAIL PROTECTED]  |   X- No proprietary attachments
XMPP:   [EMAIL PROTECTED]  |  / \   - Respect for open standards
S/MIME X.509 Certificate: http://www.nanoman.ca/smime.crt


Bingo. Thanks!

-Garrett

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


Protsnap won't fetch updates

2007-03-19 Thread [EMAIL PROTECTED]

Hi,
I'm trying to use portsnap on a 5.4 server which is behind a firewall, so I 
can't
use cvsup (the department that controls the firewall won't open the cvsup port).
I have my system setup with my proxy settings so that I can fetch files from the
Internet using HTTP or FTP protocol using either the fetch command or FTP. (for
instance sudo fetch ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/README.TXT 
will
successfully fetch that file.

I've installed portsnap and setup the conf file, but when I run it with the 
fetch
command, it always says I have the latest snapshot:
internal:~% sudo portsnap fetch
Password:
Fetching updated snapshot tag... done.
Latest snapshot on server matches what we already have.
No updates needed.
internal:~% sudo portsnap update
Removing old files and directories... done.
Extracting new files:

The /usr/ports/UPDATING file never gets updated, so I know it's not working! Any
suggestions?

Cheers,
Ian


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


Re: sendmail name resolution

2007-03-19 Thread jekillen


On Mar 19, 2007, at 3:17 AM, Derek Ragona wrote:


Sendmail uses the system calls to resolve names.  You need to check:
/etc/nsswitch.conf

In that file check the hosts line, this gives the order for hostname 
resolution, typically it is files then dns.


Then you should check your /etc/hosts file to be sure that localhost 
is there and correct.


Also check /etc/resolve.conf that you have the correct nameservers for 
dns lookups.


-Derek



Thanks, I look into all your suggestions. I think I have gone through 
this before but
I do not install OS's often enough to remember these details. I also 
have so many
books on Unix and related subjects, networking, dns, etc etc that I 
forget where to

find the answer.
Jeff K

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


Re: Shared object "libintl.so.6" not found

2007-03-19 Thread Cédric Jonas
On Mon, 19 Mar 2007 18:15:06 -0400
"Brian A. Seklecki" <[EMAIL PROTECTED]> wrote:

> Reinstall gettext from ports as root.  Rebuild your shells that are
> linked against it.
> 
> Like, ldd /usr/local/bin/bash and see if it's looking for an old
> version.  Maybe a temporary symlink for now?
> 
> ~BAS
> 
> On Mon, 2007-03-19 at 18:04 -0400, Gerard Seibert wrote:
> > FreeBSD-6.2
> > 
> > After booting up my system, I receive an error message:
> > 
> > Shared object "libintl.so.6" not found
> > 
> > This file should be in /usr/local/lib, but it isn't. I have no idea
> > why. I can now only log in as root. Since I am not sure where this
> > file even came from, I don't know how to replace it.
> > 
> > I assume I don't have to reinstall the OS (I hope) so where do I go
> > from here?
> > 
> > Thanks!
> > 

I think there should be an entry in UPDATING: 

portmaster -r gettext

will help...

-- 
Cédric Jonas[EMAIL PROTECTED]

GPG ID: 30CCFE8D
GPG Key: http://box.decemplex.net/~cedric/cedric.key.asc
GPG Fingerprint:  CF03 E1FD 9428 1B6B E971  B107 9044 AA99 30CC FE8D

Jabber-ID:  [EMAIL PROTECTED]


signature.asc
Description: PGP signature


Re: Shared object "libintl.so.6" not found

2007-03-19 Thread Karol Kwiatkowski
Gerard Seibert wrote:
> FreeBSD-6.2
> 
> After booting up my system, I receive an error message:
> 
> Shared object "libintl.so.6" not found
> 
> This file should be in /usr/local/lib, but it isn't. I have no idea why.
> I can now only log in as root. Since I am not sure where this file even
> came from, I don't know how to replace it.

Have a look if you've got other version of libintl in /usr/local/lib.
Mine is at '.8':

$ ls -l /usr/local/lib/libintl.so.*
-r--r--r--  1 root  wheel  45025 [...] /usr/local/lib/libintl.so.8
$ pkg_which /usr/local/lib/libintl.so.8
gettext-0.16.1

> I assume I don't have to reinstall the OS (I hope) so where do I go from
> here?

Anything under /usr/local is not a part of an OS, "just" some software
needs libintl.so.6 and refuses to start.

First check if you've got gettext installed and what version. Most
probably you'd want to check 20070318 entry in /usr/ports/UPDATING.

HTH,

Karol

-- 
Karol Kwiatkowski   
OpenPGP 0x06E09309



signature.asc
Description: OpenPGP digital signature


Re: I need help with external USB DVD writer.

2007-03-19 Thread FreeBSD User Giacomo
On Mon, Mar 19, 2007 at 03:34:40PM +0100, Wojciech Puchar wrote:

> 
> umass.c patch (6.2-RELEASE):
> 
> 
> everything works. i think umass driver is simply too restrictive
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Hi.
How to apply this patch on FreeBSD 6.1? I must recompile the kernel?
Thank for your help.
-- 
Isaia Luciano
FreeBSD user
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Shared object "libintl.so.6" not found

2007-03-19 Thread Brian A. Seklecki
Reinstall gettext from ports as root.  Rebuild your shells that are
linked against it.

Like, ldd /usr/local/bin/bash and see if it's looking for an old
version.  Maybe a temporary symlink for now?

~BAS

On Mon, 2007-03-19 at 18:04 -0400, Gerard Seibert wrote:
> FreeBSD-6.2
> 
> After booting up my system, I receive an error message:
> 
> Shared object "libintl.so.6" not found
> 
> This file should be in /usr/local/lib, but it isn't. I have no idea why.
> I can now only log in as root. Since I am not sure where this file even
> came from, I don't know how to replace it.
> 
> I assume I don't have to reinstall the OS (I hope) so where do I go from
> here?
> 
> Thanks!
> 
-- 
Brian A. Seklecki <[EMAIL PROTECTED]>
Collaborative Fusion, Inc.




IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


Re: Shared object "libintl.so.6" not found

2007-03-19 Thread Chuck Swiger

On Mar 19, 2007, at 3:04 PM, Gerard Seibert wrote:

After booting up my system, I receive an error message:

Shared object "libintl.so.6" not found

This file should be in /usr/local/lib, but it isn't. I have no idea  
why.
I can now only log in as root. Since I am not sure where this file  
even

came from, I don't know how to replace it.

I assume I don't have to reinstall the OS (I hope) so where do I go  
from here?


That library comes from the gettext port; so try to reinstall /usr/ 
ports/devel/gettext...


(pkg_which might become your friend. :)

--
-Chuck

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


Shared object "libintl.so.6" not found

2007-03-19 Thread Gerard Seibert
FreeBSD-6.2

After booting up my system, I receive an error message:

Shared object "libintl.so.6" not found

This file should be in /usr/local/lib, but it isn't. I have no idea why.
I can now only log in as root. Since I am not sure where this file even
came from, I don't know how to replace it.

I assume I don't have to reinstall the OS (I hope) so where do I go from
here?

Thanks!

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


Re: unattended FreeBSD install

2007-03-19 Thread Brian A. Seklecki
The trick about make release(7) is that it installs your native /usr/obj
into /usr/release_chroot or wherever and begins a fresh make buildworld
in it's chroot and doesn't honor or systems' make.conf(5).

Good for integrating source patches
Bad for pruning out subsystems / profiling.

~BAS

On Mon, 2007-03-19 at 15:53 -0400, Dave wrote:
> Hello,
> I've read a howto on creating your own FreeBSD isos located at:
> 
> http://romana.now.ie/writing/customfreebsdiso.html
> 
> and i'd like to combine this with an unattended file install.cfg i believe 
> it is. My goal is to go to a box, boot it from CD, then walk away, come 
> back, and the OS including patches is insalled and ready to go with custom 
> packages already installed. If anyone has any working configs, so far my 
> atempts to create an unattend file, have not been successful, i'd appreciate 
> them.
> Thanks.
> Dave.
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-- 
Brian A. Seklecki <[EMAIL PROTECTED]>
Collaborative Fusion, Inc.




IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


Re: I need help with external USB DVD writer.

2007-03-19 Thread FreeBSD User Giacomo
On Mon, Mar 19, 2007 at 11:56:20AM +0100, Mike wrote:
> >  
> What does usbdevs -v show?
> >  
> Your drive probably isn't MMC-capable.  Try updating the firmware.  For 
> a Samsung go here: 
> http://www.samsungoms-europe.com/samsung.php?section=download and get 
> the firmware updating tool (it's called LiveUpdate or something).  It 
> only works in Windows, so hope that isn't a problem.  If there's a 
> firmware upgrade for your drive, it might fix this error and allow the 
> FreeBSD dvd-tools to read your burner's configuration.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Hi.
I try to upgrade the firmware (on Windows) but the problem remains.  

usbdevs -v show:

Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), VIA(0x), 
rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), VIA(0x), 
rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, OHCI root hub(0x), NEC(0x), 
rev 1.00
 port 1 powered
 port 2 powered
 port 3 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, OHCI root hub(0x), NEC(0x), 
rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb4:
addr 1: high speed, self powered, config 1, EHCI root hub(0x), NEC(0x), 
rev 1.00
 port 1 powered
 port 2 powered
 port 3 powered
 port 4 addr 2: high speed, power 500 mA, config 1, CanoScan(0x221c), 
Canon(0x04a9), rev 3.06
 port 5 addr 3: high speed, self powered, config 1, USB Mass Storage 
Device(0x0840), TSST corp(0x0409), rev 0.00

Thanks for your help.
-- 
Isaia Luciano
FreeBSD user
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: program recommendation: scheduling and project management

2007-03-19 Thread Jon Krause



Noah wrote:


Hi,

Looking for something multi-user, collaborative and web based.

thanks in advance,

Noah


Pietro Cerutti wrote:

On 3/19/07, Noah <[EMAIL PROTECTED]> wrote:

Hi there,

Hi,


might somebody please recommend their favorite open source scheduling
and project management program?


deskutils/planner


Cheers,


Cheers,


Noah



Have a look here:
http://www.dotproject.net/

and here:
http://www.freebsd.org/cgi/url.cgi?ports/www/dotproject/pkg-descr

Best,
Jon







___
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: pwd.db too big for / partition

2007-03-19 Thread Marcelo Maraboli



Tamouh H. wrote:

On Mon, Mar 19, 2007 at 10:39:18AM -0700, Chuck Swiger wrote:


On Mar 19, 2007, at 7:54 AM, Marcelo Maraboli wrote:
my / partition has only 73.196 Mbytes available and since I have 
22.000 users, I now cannot change anyone?s password..


[EMAIL PROTECTED]:~$ passwd marcelo.maraboli Changing local password for 
marcelo.maraboli New Password:

Retype New Password:

/: write failed, filesystem is full
pwd_mkdb: write old: No space left on device
passwd: pam_chauthtok(): error in service module

How can I rezise the "/" partition or move the spwb.db and pwd.db 
files to another partition ?? (each of them is 44 Mbytes)
You certainly don't want to move the password files out of /etc-- 
you'll render the machine unbootable as it needs to find 
them on the 
root partition.  The only approach I see which is likely to be 
workable would be to backup the system, repartition the 
disks with a 

larger root partition, and restore from backups.

I agree.

However, in theory, if you had free disk space, you could 
use growfs 
to expand the root partition without repartitioning, but I 
am dubious 

about using that command against /.

I believe, with growfs, the space that you add must be contiguous
with the partition it is joining.   So, unless there is a partition
that could be shrunk next to root, (maybe swap is there) it 
wouldn't work.
If there is room - maybe by mucking with swap if it is the 
next partition, then it might be do-able.  But, I would also 
be leary of doing it with /.


jerry


--
-Chuck


Well, I had a VM laying around so thought to fire it up and do some testing. I 
know this is absurd abit but I wanted to see the effect of doing symlinks with 
pwd.db files.

- I was able to copy /etc/pwd.db /etc/spwd.db to /var/etc/  
- Then I deleted /etc/pwd.db and /etc/spwd.db

- created ln -s /var/etc/pwd.db /etc/pwd.db   and ln -s /var/etc/spwd.db 
/etc/spwd.db
- changed the root password, worked!
- Even rebooted the system and was able to successfully able to login
- All worked fine except, I noticed after running passwd to reset a user 
password, the system copied pwd.db and spwd.db over the symlinks so I always 
was ending up with /etc/pwd.db and /etc/spwd.db  files

I guess this method will solve your space problem if there is a way to make the 
system follow the symlink instead of overwriting it everytime a password is 
changed/created.

Tamouh



Thanks Tamouh for the test !

I did think of this, but after testing WHY changing a password resulted
in "no space available", I realized that FreeBSD updates the
/etc/master.passwd file, makes a backup copy of the 2 .db files,
then runs "pwd_mkdb", which creates new .db files and finally it
erases the 2 backup .db.

So, since each .db is 44Mbytes, in the middle of the process I
have 4 x 44 Mbyte files which cannot fit into 73Mbytes available space.

Since it remakes the .db files, it steps on top of your symlinks

I'm realizing that I'll have to install the system again in
a separate disk, and then plug it into my server and mount the
original disks as other partitions and copy the config files..

thanks.
--
MSc. Marcelo Maraboli Rosselott
Jefe Area de Redes y Comunicaciones  (Network & UNIX Systems Engineer)
Ingeniero Civil Electronico, CISSP  (Electronic Engineer, CISSP, MSc.)

Direccion Central de Servicios Computacionales (DCSC)
Universidad Tecnica Federico Santa Maria phone: +56 32 2654071
Chile.http://www.usm.cl http://elqui.dcsc.utfsm.cl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pwd.db too big for / partition

2007-03-19 Thread Derek Ragona
I have moved my root partition on one server.  I copied the entire 
partition to a new partition on a different drive using cpio as I wanted 
/dev moved too.  At the time this was running 4.x.


After moving the root partition I rebooted and made sure the new partition 
was still fine.  Then I changed both /etc/fstab files to mount the new 
root, and gave the old root a new mount point.


On the root of the old root I added a boot.config file to tell the loader 
the correct drive and slice to boot from.


After another reboot, I was using the new root partition.  I keep the old 
one there for the boot.config.  It like your's is too small do much else 
with given the huge drives we install these days.


As for your old root, you should try to clear any space you can.  I would 
look for any log files you can purge, etc, to get some working space.


-Derek


At 09:54 AM 3/19/2007, Marcelo Maraboli wrote:

Hi

my / partition has only 73.196 Mbytes available and since I
have 22.000 users, I now cannot change anyone´s password..

[EMAIL PROTECTED]:~$ passwd marcelo.maraboli
Changing local password for marcelo.maraboli
New Password:
Retype New Password:

/: write failed, filesystem is full
pwd_mkdb: write old: No space left on device
passwd: pam_chauthtok(): error in service module

How can I rezise the "/" partition or move the spwb.db
and pwd.db files to another partition ?? (each of them is 44 Mbytes)

thanks.
--
MSc. Marcelo Maraboli Rosselott
Jefe Area de Redes y Comunicaciones  (Network & UNIX Systems Engineer)
Ingeniero Civil Electronico, CISSP  (Electronic Engineer, CISSP, MSc.)

Direccion Central de Servicios Computacionales (DCSC)
Universidad Tecnica Federico Santa Maria phone: +56 32 2654071
Chile.http://www.usm.cl http://elqui.dcsc.utfsm.cl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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



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

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


Re: pwd.db too big for / partition

2007-03-19 Thread Chuck Swiger

On Mar 19, 2007, at 1:49 PM, Tamouh H. wrote:
Well, I had a VM laying around so thought to fire it up and do some  
testing. I know this is absurd abit but I wanted to see the effect  
of doing symlinks with pwd.db files.


- I was able to copy /etc/pwd.db /etc/spwd.db to /var/etc/
- Then I deleted /etc/pwd.db and /etc/spwd.db
- created ln -s /var/etc/pwd.db /etc/pwd.db   and ln -s /var/etc/ 
spwd.db /etc/spwd.db

- changed the root password, worked!
- Even rebooted the system and was able to successfully able to login


I invite you to repeat the experiment when there is an issue with / 
var which prevents it from being mounted cleanly until, say, a manual  
fsck is completed  :-/


--
-Chuck

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


RE: pwd.db too big for / partition

2007-03-19 Thread Tamouh H.
> 
> On Mon, Mar 19, 2007 at 10:39:18AM -0700, Chuck Swiger wrote:
> 
> > On Mar 19, 2007, at 7:54 AM, Marcelo Maraboli wrote:
> > >my / partition has only 73.196 Mbytes available and since I have 
> > >22.000 users, I now cannot change anyone?s password..
> > >
> > >[EMAIL PROTECTED]:~$ passwd marcelo.maraboli Changing local password for 
> > >marcelo.maraboli New Password:
> > >Retype New Password:
> > >
> > >/: write failed, filesystem is full
> > >pwd_mkdb: write old: No space left on device
> > >passwd: pam_chauthtok(): error in service module
> > >
> > >How can I rezise the "/" partition or move the spwb.db and pwd.db 
> > >files to another partition ?? (each of them is 44 Mbytes)
> > 
> > You certainly don't want to move the password files out of /etc-- 
> > you'll render the machine unbootable as it needs to find 
> them on the 
> > root partition.  The only approach I see which is likely to be 
> > workable would be to backup the system, repartition the 
> disks with a 
> > larger root partition, and restore from backups.
> 
> I agree.
> 
> > However, in theory, if you had free disk space, you could 
> use growfs 
> > to expand the root partition without repartitioning, but I 
> am dubious 
> > about using that command against /.
> 
> I believe, with growfs, the space that you add must be contiguous
> with the partition it is joining.   So, unless there is a partition
> that could be shrunk next to root, (maybe swap is there) it 
> wouldn't work.
> If there is room - maybe by mucking with swap if it is the 
> next partition, then it might be do-able.  But, I would also 
> be leary of doing it with /.
> 
> jerry
> 
> > 
> > --
> > -Chuck

Well, I had a VM laying around so thought to fire it up and do some testing. I 
know this is absurd abit but I wanted to see the effect of doing symlinks with 
pwd.db files.

- I was able to copy /etc/pwd.db /etc/spwd.db to /var/etc/  
- Then I deleted /etc/pwd.db and /etc/spwd.db
- created ln -s /var/etc/pwd.db /etc/pwd.db   and ln -s /var/etc/spwd.db 
/etc/spwd.db
- changed the root password, worked!
- Even rebooted the system and was able to successfully able to login
- All worked fine except, I noticed after running passwd to reset a user 
password, the system copied pwd.db and spwd.db over the symlinks so I always 
was ending up with /etc/pwd.db and /etc/spwd.db  files

I guess this method will solve your space problem if there is a way to make the 
system follow the symlink instead of overwriting it everytime a password is 
changed/created.

Tamouh


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


Re: Differences between BSD and Linux : got article link?

2007-03-19 Thread Mark Kane
On Mon, Mar 19, 2007, at 12:37:49 -0700, [EMAIL PROTECTED]
wrote:
> Chris,
>   There was a different article outside of the handbook that I
> was thinking of. I don't remember who posted it or wrote the original
> article though.. -Garrett

Hi. Was it this one?

http://www.over-yonder.net/~fullermd/rants/bsd4linux/bsd4linux1.php

-Mark

-- 
Internet Radio:
Party107 (Trance/Electronic) - http://www.party107.com
Rock 101.9 The Edge (Rock) - http://www.rock1019.net

IRC:
MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Differences between BSD and Linux : got article link?

2007-03-19 Thread Karol Kwiatkowski
[EMAIL PROTECTED] wrote:
> On Mon, 19 Mar 2007, Chris Slothouber wrote:
> 
>> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/explaining-bsd/
>>
>> Google is your friend.
>>
>> [EMAIL PROTECTED] wrote:
>>> Need to educate some people because they made some incorrect
>>> statements or misunderstand the purpose of *BSD.
>>>
>>> I know it's been discussed on the list, but I forget when and the
>>> archives are large enough that I won't have time to search them
>>> during my lunch break =\..
> 
> Chris,
>  There was a different article outside of the handbook that I was
> thinking of. I don't remember who posted it or wrote the original
> article though..
> -Garrett

Maybe this one?

http://www.over-yonder.net/~fullermd/rants/bsd4linux/bsd4linux1.php

Cheers,

Karol

-- 
Karol Kwiatkowski   
OpenPGP 0x06E09309



signature.asc
Description: OpenPGP digital signature


unattended FreeBSD install

2007-03-19 Thread Dave

Hello,
I've read a howto on creating your own FreeBSD isos located at:

http://romana.now.ie/writing/customfreebsdiso.html

and i'd like to combine this with an unattended file install.cfg i believe 
it is. My goal is to go to a box, boot it from CD, then walk away, come 
back, and the OS including patches is insalled and ready to go with custom 
packages already installed. If anyone has any working configs, so far my 
atempts to create an unattend file, have not been successful, i'd appreciate 
them.

Thanks.
Dave.

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


Re: Differences between BSD and Linux : got article link?

2007-03-19 Thread Kevin Kinsey

[EMAIL PROTECTED] wrote:

On Mon, 19 Mar 2007, Chris Slothouber wrote:


http://www.freebsd.org/doc/en_US.ISO8859-1/articles/explaining-bsd/

Google is your friend.

[EMAIL PROTECTED] wrote:
Need to educate some people because they made some incorrect 
statements or misunderstand the purpose of *BSD.


I know it's been discussed on the list, but I forget when and the 
archives are large enough that I won't have time to search them 
during my lunch break =\..


Chris,
 There was a different article outside of the handbook that I was 
thinking of. I don't remember who posted it or wrote the original 
article though..

-Garrett


I think Matthew Fuller?

http://www.over-yonder.net/~fullermd/rants/bsd4linux/bsd4linux1.php

HTH,

Kevin Kinsey
--
WOLF:
A man who knows all the ankles.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Differences between BSD and Linux : got article link?

2007-03-19 Thread Peter A. Giessel
On 2007/03/19 11:37, [EMAIL PROTECTED] seems to have typed:
> Chris,
>   There was a different article outside of the handbook that I was
> thinking of. I don't remember who posted it or wrote the original
> article though..
> -Garrett

I think the same page is posted on Greg's site:
http://www.lemis.com/bsdpaper.html

While you are there, you might want to check out the section on
email formatting.  Specifically, the section on paragraph wrapping:
http://www.lemis.com/email/email-format.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pwd.db too big for / partition

2007-03-19 Thread Jerry McAllister
On Mon, Mar 19, 2007 at 10:39:18AM -0700, Chuck Swiger wrote:

> On Mar 19, 2007, at 7:54 AM, Marcelo Maraboli wrote:
> >my / partition has only 73.196 Mbytes available and since I
> >have 22.000 users, I now cannot change anyone?s password..
> >
> >[EMAIL PROTECTED]:~$ passwd marcelo.maraboli
> >Changing local password for marcelo.maraboli
> >New Password:
> >Retype New Password:
> >
> >/: write failed, filesystem is full
> >pwd_mkdb: write old: No space left on device
> >passwd: pam_chauthtok(): error in service module
> >
> >How can I rezise the "/" partition or move the spwb.db
> >and pwd.db files to another partition ?? (each of them is 44 Mbytes)
> 
> You certainly don't want to move the password files out of /etc--  
> you'll render the machine unbootable as it needs to find them on the  
> root partition.  The only approach I see which is likely to be  
> workable would be to backup the system, repartition the disks with a  
> larger root partition, and restore from backups.

I agree.

> However, in theory, if you had free disk space, you could use growfs  
> to expand the root partition without repartitioning, but I am dubious  
> about using that command against /.

I believe, with growfs, the space that you add must be contiguous
with the partition it is joining.   So, unless there is a partition
that could be shrunk next to root, (maybe swap is there) it wouldn't work.
If there is room - maybe by mucking with swap if it is the next partition,
then it might be do-able.  But, I would also be leary of doing it with /.

jerry

> 
> -- 
> -Chuck
> 
> ___
> 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: Differences between BSD and Linux : got article link?

2007-03-19 Thread Ivan Voras
[EMAIL PROTECTED] wrote:
> Need to educate some people because they made some incorrect statements
> or misunderstand the purpose of *BSD.
> 
> I know it's been discussed on the list, but I forget when and the
> archives are large enough that I won't have time to search them during
> my lunch break =\..
> 
> Feel free to reply to me and/or CC the list if you feel like it, and
> please no flame wars :(..

I think the link you're looking for is:
http://www.google.com/search?hl=en&q=freebsd+linux+differences






(In particular, the "BSD For Linux Users :: Intro" might help you)




signature.asc
Description: OpenPGP digital signature


Re: Differences between BSD and Linux : got article link?

2007-03-19 Thread youshi10

On Mon, 19 Mar 2007, Chris Slothouber wrote:


http://www.freebsd.org/doc/en_US.ISO8859-1/articles/explaining-bsd/

Google is your friend.

[EMAIL PROTECTED] wrote:
Need to educate some people because they made some incorrect statements or 
misunderstand the purpose of *BSD.


I know it's been discussed on the list, but I forget when and the archives 
are large enough that I won't have time to search them during my lunch break 
=\..


Chris,
 There was a different article outside of the handbook that I was thinking 
of. I don't remember who posted it or wrote the original article though..
-Garrett

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


Re: pthread usage

2007-03-19 Thread Chuck Swiger

On Mar 19, 2007, at 11:30 AM, Jules Gilbert wrote:
I need help making pthread work, as I need to enqueue and dequeue  
logical resource names, so that I can lock and unlock events and  
physical resources.


Does anyone have examples of pthread code that is known to work  
under FreeBSD 6.1?


There are hundreds of ports which use POSIX threads:

  find /usr/ports -name Makefile -print0 | xargs -0 grep -l PTHREAD

I have several different problems, but most can be stated as having  
to defer execution of one job until one or more other jobs have  
concluded.


I have tried using "clusterit".  The key component doesn't work,  
sigh...  I don't know whether the problem is the ClusterIt code or  
FreeBSD, either.


Are you using the port, /usr/ports/net/clusterit...?
Talk to the maintainer, perhaps, who is <[EMAIL PROTECTED]>.

--
-Chuck



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


Re: Differences between BSD and Linux : got article link?

2007-03-19 Thread Chris Slothouber

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/explaining-bsd/

Google is your friend.

[EMAIL PROTECTED] wrote:
Need to educate some people because they made some incorrect statements 
or misunderstand the purpose of *BSD.


I know it's been discussed on the list, but I forget when and the 
archives are large enough that I won't have time to search them during 
my lunch break =\..

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


Differences between BSD and Linux : got article link?

2007-03-19 Thread youshi10

Need to educate some people because they made some incorrect statements or 
misunderstand the purpose of *BSD.

I know it's been discussed on the list, but I forget when and the archives are 
large enough that I won't have time to search them during my lunch break =\..

Feel free to reply to me and/or CC the list if you feel like it, and please no 
flame wars :(..

-Garrett

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


pthread usage

2007-03-19 Thread Jules Gilbert

Dear :

I have blades, all running FreeBSD, (version 6.1)  And these machines  
have to communicate, one with another.


I need help making pthread work, as I need to enqueue and dequeue  
logical resource names, so that I can lock and unlock events and  
physical resources.


Does anyone have examples of pthread code that is known to work under  
FreeBSD 6.1?


I have several different problems, but most can be stated as having  
to defer execution of one job until one or more other jobs have  
concluded.


I have tried using "clusterit".  The key component doesn't work,  
sigh...  I don't know whether the problem is the ClusterIt code or  
FreeBSD, either.


So, please help...  Otherwise, I shall have to take a month and  
migrate away -- not something I want to do at all!


--jg



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


Webmin problems after portupgrade

2007-03-19 Thread Beech Rintoul
I just did a portupgrade on my 6.x server and now I'm getting 
permission errors with webmin. I reinstalled perl and everything else 
webmin depends on, then did a clean install of webmin. It's erroring 
with the following:

Found existing Webmin configuration in /usr/local/etc/webmin


Creating start and stop scripts..
..done

Updating config files..

..done

Changing ownership and permissions ..
..done

Running postinstall scripts ..
: Permission denied
..done

Anyone have a suggestion where to look for the permission error or 
whatever?

Beech


-- 
---
Beech Rintoul - Port Maintainer - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.freebsd.org/releases/6.2R/announce.html
---





pgpYIsi93cAsP.pgp
Description: PGP signature


Re: 'nodump' on directories: new contents still dumped

2007-03-19 Thread Bram Schoenmakers
Op maandag 19 maart 2007, schreef Alex Zbyslaw:

Hi,

>     1) There is a bug in whatever version of FreeBSD you are running and
> -h 1 is somehow *not* the default.  6.2 Release?

It's a FreeBSD 4.10 (I know, I know, no need to tell me, we're going to 
migrate to something newer :)

It's strange, since I've checked the CVS logs for dump(8) and couldn't find a 
commit which would have solved that problem in the meantime.

Kind regards,

-- 
Bram Schoenmakers

What is mind? No matter. What is matter? Never mind.
(Punch, 1855)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD boot loader halts

2007-03-19 Thread Simon
Hello,

Can someone suggest a way to debug FreeBSD's boot loader?

My FBSD 6.2 freezes at random after printing Default: F1 I haven't
noticed this issue in the past with older versions of FreeBSD.
Since this is a random issue, it's very hard to pin point the culprit
by process of elimination (disabling APCI, etc...) After several
ctrl+alt+delete reboots, the system does boot. Once booted I can
run makeworld for a week without any issues. Perhaps a disk issue?
I'm booting off a MegaRAID controller. Though I cannot crash
the system using intensive IO after it boots. After it boots, it seems
to be rock solid, so I'm lost here.

Can boot loader be put into verbose mode and have it output
debugging info?

Thank you!
Simon


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


Re: program recommendation: scheduling and project management

2007-03-19 Thread Chris Slothouber

Check out ZenTrack.

http://www.zentrack.net/

Noah wrote:


Looking for something multi-user, collaborative and web based.



Pietro Cerutti wrote:

On 3/19/07, Noah <[EMAIL PROTECTED]> wrote:

Hi there,

Hi,


might somebody please recommend their favorite open source scheduling
and project management program?


deskutils/planner


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


Hi,

2007-03-19 Thread rothlee
Hi,

I will be away from the office from March 19 to March 23. Please direct your 
requests and concerns to Raj ([EMAIL PROTECTED]) and Jay ([EMAIL PROTECTED]).

Thanks, 

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


Re: pwd.db too big for / partition

2007-03-19 Thread Robert Huff
Chuck Swiger writes:

>  However, in theory, if you had free disk space, you could use
>  growfs to expand the root partition without repartitioning, but I
>  am dubious about using that command against /.

Certainly, the consequences if Something Went Horribly Wrong(tm)
would be quite painful.


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: program recommendation: scheduling and project management

2007-03-19 Thread Noah


Hi,

Looking for something multi-user, collaborative and web based.

thanks in advance,

Noah


Pietro Cerutti wrote:

On 3/19/07, Noah <[EMAIL PROTECTED]> wrote:

Hi there,

Hi,


might somebody please recommend their favorite open source scheduling
and project management program?


deskutils/planner


Cheers,


Cheers,


Noah




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


Re: pwd.db too big for / partition

2007-03-19 Thread Chuck Swiger

On Mar 19, 2007, at 7:54 AM, Marcelo Maraboli wrote:

my / partition has only 73.196 Mbytes available and since I
have 22.000 users, I now cannot change anyone´s password..

[EMAIL PROTECTED]:~$ passwd marcelo.maraboli
Changing local password for marcelo.maraboli
New Password:
Retype New Password:

/: write failed, filesystem is full
pwd_mkdb: write old: No space left on device
passwd: pam_chauthtok(): error in service module

How can I rezise the "/" partition or move the spwb.db
and pwd.db files to another partition ?? (each of them is 44 Mbytes)


You certainly don't want to move the password files out of /etc--  
you'll render the machine unbootable as it needs to find them on the  
root partition.  The only approach I see which is likely to be  
workable would be to backup the system, repartition the disks with a  
larger root partition, and restore from backups.


However, in theory, if you had free disk space, you could use growfs  
to expand the root partition without repartitioning, but I am dubious  
about using that command against /.


--
-Chuck

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


Re: libstdc++6 dependency?

2007-03-19 Thread Milan Knizek
On Sunday 18 March 2007 23:45, Kris Kennaway wrote:
> > You are right, I mixed that with another requirement (..for 300Mpx and
> > more, enblend requires libtiff-devel with large file support and
> > libstdc++6...)
> >
> > > Are you trying to run a Linux binary, maybe?  If so, try installing the
> > > linux_base-fc4 port, which installs a
> > > /usr/compat/linux/usr/lib/libstdc++.so.6 file.
> >
> > I googled a bit and found that gcc-4.1 has this version of library (it is
> > part of the ports, so I may try to link with it).
>
> You still seem to be confused, or at least not explaining your problem
> in a way that makes sense.

Probably, I am confused (not being a programmer). My plan is to compile 
enblend with support for 300Mpx images and the project site does not say much 
what is meant by the requirements (as per above).

Anyway, I will try and if have problems then I may come back here.

Thanks all for answering.
Best regards,
Milan
-- 
Milan Knížek
http://milan-knizek.net/
e-mail knizek {na} volny {v} cz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Simple sendmail.cf question

2007-03-19 Thread Gerard
On Monday March 19, 2007 at 10:36:42 (AM) Wojciech Puchar wrote:


> > I'm trying to figure out how to build sendmail.cf from
> > the m4 files.  The instructions located in
> > /usr/src/contrib/sendmail/cf/README are a bit vague.
> >
> > Can someone give me the secret recipe for doing this?
> 
> 
> cd /etc/mail
> make
> make install

If you want to do everything at once, use:

make all install restart

assuming Sendmail is running, else change restart to start. See
/etc/mail/Makefile for further information.

Ciao!

-- 
Gerard


Only in America...

Tim Allen, comedian, had this to say about Martha Stewart:

"Boy, I feel safer now that she's behind bars. O. J. & Kobe are walking
around, but they take the one woman in America willing to cook, clean,
and work in the yard and haul her ass to jail."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Some FreeBSD Kernel book

2007-03-19 Thread Pietro Cerutti

On 3/18/07, Robe <[EMAIL PROTECTED]> wrote:

Hi,

Hi,


I want to know if there's some free "PDF" book available that describe
the Kernel and the Kernel's APIs.


http://www.google.ch/search?q=freebsd+kernel+filetype%3Apdf


Thanx,



Robe.



--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: program recommendation: scheduling and project management

2007-03-19 Thread Pietro Cerutti

On 3/19/07, Noah <[EMAIL PROTECTED]> wrote:

Hi there,

Hi,


might somebody please recommend their favorite open source scheduling
and project management program?


deskutils/planner


Cheers,


Cheers,


Noah



--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: manual root filesystems specification under VMware

2007-03-19 Thread John Nielsen
On Monday 19 March 2007 12:21, Jeff Dickens wrote:
> I'm trying to move a FreeBSD 6.1 virtual machine from VMware server to
> VMware ESX Server.  The original VM used a virtual IDE controller for
> the disks, and apparently VMware ESX server doesn't support this.
>
> The "VMware converter" applications translates the virtual disk files to
> use the Virtual SCSI controller under VMware ESX Server.  However, I
> then get dumped at the "Manual Root filesystem specification" prompt,
> where I should be able to just type "ufs:da0s1a" and off I go.
>
> But what happens is that the system is hung right at that point and
> doesn't accept keyboard input.
>
> If I boot FreeBSD into safe mode I can make an entry at the prompt.
>
> But "da0" is not available.  If I type "?" I see that all there is is
> acd0 and fd0.  But the scsi device must be there because the system is
> booted from it.
>
> Anyone see how I can straighten this out?  Once I get the root
> filesystem mounted I should be able to edit fstab and go.

Update the VM to 6.2 or -STABLE before you migrate it, and be sure you have 
mpt(4) in the kernel. The mpt(4) in FreeBSD 6.1 doesn't work under ESX server 
(actually it's the virtual hardware that acts broken), but a more recent mpt 
will work fine.

See this PR and/or the commit history for mpt(4) for more details:

http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/84040

I haven't done any migrations, but I have successfully run FreeBSD VM's 
installed from scratch under ESX 3.0 and 3.0.1.

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


program recommendation: scheduling and project management

2007-03-19 Thread Noah

Hi there,

might somebody please recommend their favorite open source scheduling 
and project management program?


Cheers,

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


Re: man question

2007-03-19 Thread Giorgos Keramidas
On 2007-03-19 11:46, Monah Baki <[EMAIL PROTECTED]> wrote:
> Hi all,
> I have a machine running freebsd 6.2 stable
>
> FreeBSD 6.2-STABLE #5: Sat Mar 17 15:15:14 EDT 2007
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386
>
> If I issue man ifconfig for example, at the end of the man I get the
> following:
> FreeBSD 6.1February 27, 2006   FreeBSD 6.1
>
> How can I fix it to say 6.2 instead of 6.1

You are probably looking at a 'cached' copy of the preformatted
manpage.  The preformatted, cached copies of the manpages live in
the `/usr/share/man/cat?'  directories.

You can verify that it is indeed this cached copy that you are
reading with:

$ man -w ifconfig

If you see something like this:

$ man -w ifconfig
/usr/share/man/man8/ifconfig.8.gz
$

Then you are not using a cached, preformatted copy.

If, on the other hand, you see something like:

$ man -w ifconfig
/usr/share/man/cat8/ifconfig.8.gz (source: 
/usr/share/man/man8/ifconfig.8.gz)
$

then it's a preformatted copy that you are going to read.

You can safely remove all the preformatted manpage copies, with:

bash# cd /usr/share/man
bash# find cat? \! -type d | xargs rm

HTH,
Giorgos

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


Re: negative free blocks after mirror! [was: Re: mirror without destroying existing contents]

2007-03-19 Thread John Nielsen
On Monday 19 March 2007 10:46, Steve Franks wrote:
> Yes, the origonal disk was pretty full, but, I suspect this is not a good
> thing:
>
> Filesystem  1K-blocks  Used Avail Capacity  Mounted on
> /dev/ad0s1a507630 9525437176620%/
> devfs   1 1 0   100%/dev
> /dev/ad0s1e507630 30688436332 7%/tmp
> /dev/ad0s1f 152451398   5956408 134298880 4%/usr
> /dev/ad0s1d   1444526103600   1225364 8%/var
> /dev/mirror/rainstones1 151368706 141135278  -1876068   101%/rainstone
>
> How is that even possible?

This is a FAQ:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DISK-MORE-THAN-FULL

Not really related to gmirror.

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


Some FreeBSD Kernel book

2007-03-19 Thread Robe
Hi,

I want to know if there's some free "PDF" book available that describe
the Kernel and the Kernel's APIs.

Thanx,

Robe.


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


manual root filesystems specification under VMware

2007-03-19 Thread Jeff Dickens
I'm trying to move a FreeBSD 6.1 virtual machine from VMware server to 
VMware ESX Server.  The original VM used a virtual IDE controller for 
the disks, and apparently VMware ESX server doesn't support this.


The "VMware converter" applications translates the virtual disk files to 
use the Virtual SCSI controller under VMware ESX Server.  However, I 
then get dumped at the "Manual Root filesystem specification" prompt, 
where I should be able to just type "ufs:da0s1a" and off I go.


But what happens is that the system is hung right at that point and 
doesn't accept keyboard input. 


If I boot FreeBSD into safe mode I can make an entry at the prompt.

But "da0" is not available.  If I type "?" I see that all there is is 
acd0 and fd0.  But the scsi device must be there because the system is 
booted from it.


Anyone see how I can straighten this out?  Once I get the root 
filesystem mounted I should be able to edit fstab and go.


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


Re: Downgrading to PHP 5.1.4

2007-03-19 Thread Beech Rintoul
On Sunday 18 March 2007 23:50, bsd said:
> Le 18 mars 07 à 23:35, Ivan Voras a écrit :
> > If you use cvsup to update your ports tree, fix the date in the
> > ports-sup file to when the version you want was present and
> > update again.
>
> Is there a way to do that with portsnap ?
>
> > Please excuse the sarcasm but do you intend to give free
> > root access to the entire world?
>
> Was this version really buggy ??

In a word YES. One of my clients had a website hacked using that 
version. A quick google will show you several vulnerabilities.

Beech

-- 
---
Beech Rintoul - Port Maintainer - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.freebsd.org/releases/6.2R/announce.html
---



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


Re: Converting from ata-raid to gmirror

2007-03-19 Thread Steve Franks

On 3/18/07, Toomas Aas <[EMAIL PROTECTED]> wrote:

On January 30th, I wrote:

> I'm currently running FreeBSD 6.2-RELEASE (amd64) on a system based on
> Intel SE7230NH1-E motherboard, which has Intel ICH7R integrated
> softraid. The machine has two 500 GB drives which are configured as
> RAID1 in BIOS. Unfortunately, this setup seems to have some stability
> issues which I can't figure out how to solve. Specifically, when the
> storage subsystem is put under heavy load (such as doing nightly
> backups) the kernel starts spitting out horrible error messages such as:
>
> FAILURE - out of memory in ata_raid_init_request
> g_vfs_done():ar0s1f[WRITE(offset=8091172864, length=16384)]error = 5
> FAIg_vfs_done():ar0LURE - out of memsory in ata_raid_1init_reqfu[eWsRItTE(o
> ffset=8091F1A8I9LU2R4E8 ,-  oleuntg tohf= 16m3e8m4o)ry]e rirno ra t=a 5
> _raid_init_requestg
>  vfs_done():ar0s1f[WRITE(offsFAeItL=UR8E0 9-1 2o05u6t3 2o,f
> lmeengmtoh=ry1 6i3n8 4a)t]ae_rrraoird _=in i5t
>
> If it looks like garbage, then yes, this is how it appears in
> /var/log/messages. I'm seriously afraid that similar corruption is
> sneaking into important user files.
>
> Only thing I can think of is converting this setup from BIOS-based RAID
> to gmirror. This would involve, I think, modifying /etc/fstab so that it
> references ad4 instead of ar0, then permanently breaking the mirror in
> BIOS, booting up the system with single disk and then basically
> following the gmirror chapter in the handbook. Correct?
>
> I'm also a little uncertain about "permanently breaking the mirror"
> part. I've read all the motherboard and LSI docs I can find and this
> topic isn't covered anywhere.

Well, finally I could summon up enough courage to perform this procedure
on a production server (such as it is). To break the mirror, I just went
to motherboard BIOS (not the BIOS-based RAID utility) and changed the
'Configure SATA as' setting from 'RAID' to 'IDE'. Generally everything
seems to have gone OK. The system now runs from /dev/mirror/gm0, which
consists of ad4 and ad6. However, the kernel still sees the old ar0
array and complains that it's broken. Do I care, or should I just remove
'device ataraid' from kernel configuration?

kernel: ar0: WARNING - mirror protection lost. RAID1 array in DEGRADED mode
kernel: ar0: 476772MB  status: DEGRADED
kernel: ar0: disk0 READY (master) using ad4 at ata2-master
kernel: ar0: disk1 DOWN no device found for this subdisk

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



I'm just getting into this myself as well, but from previous people
who've helped me, I've come to understand that most motherboard 'raid'
controllers are not tru hardware raid, just a fancy wrapper around
software raid, and they do pretty much exactly the same thing as
gmirror - write a special metadata tag near the end of the disk with
the info on the mirror.  This is what ataraid sees that causes it to
find 'ar0' - delete that metadata from the disk, and ar0 will go away.
Possibly there is an extra slice with a couple of blocks at the end
of the disk?  That's about the extent of my knowledge...

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


man question

2007-03-19 Thread Monah Baki
Hi all,

I have a machine running freebsd 6.2 stable

FreeBSD 6.2-STABLE #5: Sat Mar 17 15:15:14 EDT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386



If I issue man ifconfig for example, at the end of the man I get the
following:
FreeBSD 6.1February 27, 2006   FreeBSD
6.1


How can I fix it to say 6.2 instead of 6.1



Thank you

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


Re: IPv4 loopback - solved

2007-03-19 Thread Keith E. Brandt, M.D.



Disregard - I found the 'network_interfaces' line of rc.conf was
lacking lo0. I added it back in and it seems to be booting correctly.

unless you are sure you need the 'network_interfaces' line in rc.conf
I would comment it out. the default value for it in 6.2 is 'auto' and
I have never seen that not work.


I commented it out, and it rebooted with the proper configuration. 
The strange thing is I installed the default configuration, did not 
add in the 'network_interfaces' line manually, and have not edited 
the /etc/defaults/rc.conf file. So I'm not sure how it got broken in 
the first place.


Bottom line is all is up and running now.

Thanks!



LtCol Keith E. Brandt, MD, MPH
USAF-NASA Aerospace Medicine Liaison Officer
Johnson Space Center, Houston, Texas
[EMAIL PROTECTED]

Goodbye cruel world that was my home-
  there's cleaner space out here to roam
Put my feet up on the moons of Mars-
  sit back, relax, and count the stars

*This message transmitted with 100% recycled electrons  


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


Re: recommend console email client?

2007-03-19 Thread Giorgos Keramidas
On 2007-03-19 09:19, Zhang Weiwu <[EMAIL PROTECTED]> wrote:
>On Sun, 2007-03-18 at 22:29 +0200, Giorgos Keramidas wrote:
>> Bearing in mind that you have relatively strict requirements
>> (but, nevertheless, quite reasonable) for multibyte support, it
>> may be worth considering one of the email clients bundled with or
>> supported by GNU Emacs.
>
> Thanks very much for your detailed explanation; thanks a lot for your
> time writing this. Given that my requirement is both reasonable and
> high level, I believe that shows Asian people generally participated
> this area of development relatively lesser than western people. Again
> purely free software looks a little bit better than their non-free
> alternative (mutt perform better on Chinese text than pine, though
> still has fault).
>
> I'll try your suggestions later. Thanks a lot!

You're welcome.  I am currently using mutt for my mailer again, but
if you need help with setting up Gnus as a mail-user-agent, feel free
to ask me for my old Gnus setup.  Almost all of the relevant options
are in the commit history of my ~/.gnus file.

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


Re: new server setup questions

2007-03-19 Thread Ray
On Saturday 17 March 2007 9:24 pm, you wrote:
> On Sat, 17 Mar 2007 18:21:48 -0600
>
> Ray <[EMAIL PROTECTED]> wrote:
> > Hello,
> > I'm trying to setup a new server, and I'm having some problems mostly
> > with the network card. (machine specs follow) I can't get a driver to
> > work for the integrated network card.  I've spent a number of hours on
> > google / "the complete freeBSD" / "the freeBSD handbook". the handbook
> > (section 11.8
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-
> >setup.html) outlines using ndis (project evil) drivers. I tried using
> > this. I went through ndisgen, and everything seemed to work. I then tried
> > to use kldload and got the error message:
> > "kldload: can't load file.ko :operation not permitted"
> > of course I did all of this as root. I am using the amd64 version of
> > freeBSD (is this my first mistake?) and the 64 bit version of the
> > drivers. as a side note, the supplied driver disk includes a source
> > version of the linux driver. is there any way to use this?
> > Any help or suggestions greatly appreciated.
> > Ray
> > machine specs
> > ASUS M2N-SLI DELUXE mobo
> > 2GB ram
> > AMD 5200 x2 processor (sorry, the box isn't in front of me)
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
>
> a friend of mine installed a 6.2-RELEASE system with an nforce network card
> in it a few weeks ago.  upon intial install, the nve adapter would not fire
> up.  he put in another card that was supported (a linksys), did his cvsup
> and buildworld, and the nve driver worked after that.
>
> however, the nve thru our freebsd router has had trouble several times,
> locking the system up over frames with larger than 1500 mtu (or something
> to that effect).  my friend had to dump the nve and just settle for the
> linksys, in the name of system system stability.
>
> cheers,
> jonathan

(see adition below)

>I didn't get anywhere with 7-current, (it's shortcomings or my lack of 
>knowledge, I don't know.) but I think my good friend Google came through 
>again. I found a site 
>(http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html) that 
>provided a patch for phy1000 stuff (side note: can anybody point me to info 
>on what this is all about?) and a new nforce driver source. This site 
>includes a fairly detailed walk through. (oh yeah, don't try to use the 6.2 
>stable patch on a 6.2 release system, it doesn't work :))
>the only slight concern that I have is when I run 
>sysinstall ->configure -> Networking -> interfaces
>the network ports show up as 
>nfe0 
>nfe1 
>is this anything to worry about?

>I now have 2 new questions:
>kldload still gave me the same error as mentioned earlier in this thread
>does kldload not work, even for root when securelevel is set to secure, or 
>does it fail when /boot/loader.conf is empty or ...?
>the reason I ask is that manually editing loader.conf works, kldload doesn't.

>How is the best way to test for stability? Just because it boots every time 
>and pings google doesn't mean it's ready for production, especially in light 
>of Jonathan's comment above.

>Thanks, 
>Ray 

sorry, didn't fully acknowledge all sources 
see also http://www.nvnews.net/vbulletin/showthread.php?t=87698, followup for 
a second possible answer

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


Re: new server setup questions

2007-03-19 Thread Ray
On Saturday 17 March 2007 9:24 pm, you wrote:
> On Sat, 17 Mar 2007 18:21:48 -0600
>
> Ray <[EMAIL PROTECTED]> wrote:
> > Hello,
> > I'm trying to setup a new server, and I'm having some problems mostly
> > with the network card. (machine specs follow) I can't get a driver to
> > work for the integrated network card.  I've spent a number of hours on
> > google / "the complete freeBSD" / "the freeBSD handbook". the handbook
> > (section 11.8
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-
> >setup.html) outlines using ndis (project evil) drivers. I tried using
> > this. I went through ndisgen, and everything seemed to work. I then tried
> > to use kldload and got the error message:
> > "kldload: can't load file.ko :operation not permitted"
> > of course I did all of this as root. I am using the amd64 version of
> > freeBSD (is this my first mistake?) and the 64 bit version of the
> > drivers. as a side note, the supplied driver disk includes a source
> > version of the linux driver. is there any way to use this?
> > Any help or suggestions greatly appreciated.
> > Ray
> > machine specs
> > ASUS M2N-SLI DELUXE mobo
> > 2GB ram
> > AMD 5200 x2 processor (sorry, the box isn't in front of me)
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
>
> a friend of mine installed a 6.2-RELEASE system with an nforce network card
> in it a few weeks ago.  upon intial install, the nve adapter would not fire
> up.  he put in another card that was supported (a linksys), did his cvsup
> and buildworld, and the nve driver worked after that.
>
> however, the nve thru our freebsd router has had trouble several times,
> locking the system up over frames with larger than 1500 mtu (or something
> to that effect).  my friend had to dump the nve and just settle for the
> linksys, in the name of system system stability.
>
> cheers,
> jonathan

I didn't get anywhere with 7-current, (it's shortcomings or my lack of 
knowledge, I don't know.) but I think my good friend Google came through 
again. I found a site 
(http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html) that 
provided a patch for phy1000 stuff (side note: can anybody point me to info 
on what this is all about?) and a new nforce driver source. This site 
includes a fairly detailed walk through. (oh yeah, don't try to use the 6.2 
stable patch on a 6.2 release system, it doesn't work :))
the only slight concern that I have is when I run 
sysinstall ->configure -> Networking -> interfaces
the network ports show up as 
nfe0 
nfe1 
is this anything to worry about?

I now have 2 new questions:
kldload still gave me the same error as mentioned earlier in this thread
does kldload not work, even for root when securelevel is set to secure, or 
does it fail when /boot/loader.conf is empty or ...?
the reason I ask is that manually editing loader.conf works, kldload doesn't.

How is the best way to test for stability? Just because it boots every time 
and pings google doesn't mean it's ready for production, especially in light 
of Jonathan's comment above.

Thanks, 
Ray 

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


Re: Opera Video Plugin?

2007-03-19 Thread Martin Tournoij
On Mon, March 19, 2007 14:51, RW wrote:
>
> Is there a way to play video from Opera?
>
> I've tried both native and linux versions of the mplayer plugin with
> the either versions of Opera, and I've tried GXine with native Opera,
> all without success.
>

I prefer to use video bookmarklets, which allows you to download video's
from youtube, google, ect.
http://1024k.de/bookmarklets/video-bookmarklets.html

Another option is plugger(www/plugger), it allows you to use mplayer to
play video files inside opera.
I personally don't like it, it's slow and not very stable...

--Martin

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


pwd.db too big for / partition

2007-03-19 Thread Marcelo Maraboli

Hi

my / partition has only 73.196 Mbytes available and since I
have 22.000 users, I now cannot change anyone´s password..

[EMAIL PROTECTED]:~$ passwd marcelo.maraboli
Changing local password for marcelo.maraboli
New Password:
Retype New Password:

/: write failed, filesystem is full
pwd_mkdb: write old: No space left on device
passwd: pam_chauthtok(): error in service module

How can I rezise the "/" partition or move the spwb.db
and pwd.db files to another partition ?? (each of them is 44 Mbytes)

thanks.
--
MSc. Marcelo Maraboli Rosselott
Jefe Area de Redes y Comunicaciones  (Network & UNIX Systems Engineer)
Ingeniero Civil Electronico, CISSP  (Electronic Engineer, CISSP, MSc.)

Direccion Central de Servicios Computacionales (DCSC)
Universidad Tecnica Federico Santa Maria phone: +56 32 2654071
Chile.http://www.usm.cl http://elqui.dcsc.utfsm.cl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


negative free blocks after mirror! [was: Re: mirror without destroying existing contents]

2007-03-19 Thread Steve Franks

On 3/17/07, Jonathan McKeown <[EMAIL PROTECTED]> wrote:

On Friday 16 March 2007 21:48, Steve Franks wrote:
> On 3/16/07, John Nielsen <[EMAIL PROTECTED]> wrote:
> > On Friday 16 March 2007 11:18, Steve Franks wrote:
> > > I get the following:
> > >
> > > #gmirror label -v -b split -s 1024 data ad0
> > > can't store metadata on ad0: operation not permitted.
> >
> > That most likely means that you currently have a filesystem on ad0
> > mounted. If that's the case you should be glad that the OS was smarter
> > than you. What steps had you taken prior to this?
>
> It appears to say in the manpage that you can do this on a disk with
> an existing filesys - would you expect it to work if the disk is
> unmounted first, then?

The way to do this is potentially a little risky but I haven't had a problem
with it yet after setting up several mirrors on live fileservers. There is a
sysctl called kern.geom.debugflags: if you set this to 16 it will allow you
to change the mounted filesystem. Bear in mind that since the metadata for
the mirror is written to the last sector of the disk, there is a small risk
of data loss: if that sector contains data it will be overwritten.

There's a thorough howto by Ralph Engelschall, and an OnLamp article by Dru
Lavigne, with more details:

http://people.freebsd.org/~rse/mirror/
http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html

Jonathan



Yes, the origonal disk was pretty full, but, I suspect this is not a good thing:

Filesystem  1K-blocks  Used Avail Capacity  Mounted on
/dev/ad0s1a507630 9525437176620%/
devfs   1 1 0   100%/dev
/dev/ad0s1e507630 30688436332 7%/tmp
/dev/ad0s1f 152451398   5956408 134298880 4%/usr
/dev/ad0s1d   1444526103600   1225364 8%/var
/dev/mirror/rainstones1 151368706 141135278  -1876068   101%/rainstone

How is that even possible?

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


Re: Flash with Firefox 2

2007-03-19 Thread Albert Shih
 Le 16/03/2007  11:21:38-0400, Tom Grove a écrit
> Albert Shih wrote:
> > Le 16/03/2007 à 09:31:57+0100, Nagy László Zsolt a écrit
> >  
> >  
> Have you tried Win4BSD?  It isn't perfect but get's the job done.

Thanks for you help.

But when I say «test» new software it's not only Win. But something
Linux/Solarisx86 etc

For example if you plan to build  a firewall under Linux you can make some
tests with vmware. 

Other example (what I'm thinking when I've send the mail) if you want to
make some benchmark/tests on some job queue software it's very usefull to
have vmware. 

Regards.

--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Mon Mar 19 15:39:42 CET 2007
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Tell portupgrade to use passive ftp

2007-03-19 Thread RW
On Sun, 18 Mar 2007 23:04:16 -0500
Jeffrey Goldberg <[EMAIL PROTECTED]> wrote:

> On my perimeter firewall, I default deny outbound traffic.  This
> cuts off fetching using active FTP.  Is there some way that I can
> tell portupgrade to pass the -p flag to fetch?

This doesn't make any sense unless you meant to say deny *in*bound
traffic.

If you really are denying outbound TCP, you need to configure an
FTP proxy, and configure fetch to use whatever that supports. This may
mean switching fetch from passive (the default) to active ftp.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: safe0 and kernel panic

2007-03-19 Thread Lowell Gilbert
"Rajkumar S" <[EMAIL PROTECTED]> writes:

> I am trying to install SafeNet 1141 support in one of the freebsd
> boxes here. according to safe(4), I have to add "device safe" into my
> kernel config and compile to enable hardware crypto acceleration. But
> after I boot with safe module enabled I get a kernel panic.

You do have one of those cards installed, I assume?

Have you tried booting a GENERIC kernel and loading the kernel module
for the safenet support?

If that doesn't give you a clue, you will need to try kernel
debugging, 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: Simple sendmail.cf question

2007-03-19 Thread Wojciech Puchar

I'm trying to figure out how to build sendmail.cf from
the m4 files.  The instructions located in
/usr/src/contrib/sendmail/cf/README are a bit vague.

Can someone give me the secret recipe for doing this?



cd /etc/mail
make
make install

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


Re: I need help with external USB DVD writer.

2007-03-19 Thread Wojciech Puchar


If I use the comand whith a dvd+rw : dvd+rw- format /dev/cd0 I obtain 
* DVD?RW/-RAM format utility by <[EMAIL PROTECTED] chalmers.se>, version 6.0. :-( 
(unable to GET CONFIGURATION: Input/output error and on the consul: umass0: 
Unsupported ATAPI command 0x46.



Your drive probably isn't MMC-capable.  Try updating the firmware.  For a


umass.c patch (6.2-RELEASE):

--- umass.c.old Mon Mar 19 15:32:09 2007
+++ umass.c Mon Mar 19 15:33:04 2007
@@ -3072,46 +3072,12 @@
(*rcmd)[4] = SSS_START;
return 1;
}
-   /* fallthrough */
-   case REZERO_UNIT:
-   case REQUEST_SENSE:
-   case START_STOP_UNIT:
-   case SEND_DIAGNOSTIC:
-   case PREVENT_ALLOW:
-   case READ_CAPACITY:
-   case READ_10:
-   case WRITE_10:
-   case POSITION_TO_ELEMENT:   /* SEEK_10 */
-   case SYNCHRONIZE_CACHE:
-   case MODE_SELECT_10:
-   case MODE_SENSE_10:
-   case READ_BUFFER:
-   case 0x42: /* READ_SUBCHANNEL */
-   case 0x43: /* READ_TOC */
-   case 0x44: /* READ_HEADER */
-   case 0x47: /* PLAY_MSF (Play Minute/Second/Frame) */
-   case 0x48: /* PLAY_TRACK */
-   case 0x49: /* PLAY_TRACK_REL */
-   case 0x4b: /* PAUSE */
-   case 0x51: /* READ_DISK_INFO */
-   case 0x52: /* READ_TRACK_INFO */
-   case 0x54: /* SEND_OPC */
-   case 0x59: /* READ_MASTER_CUE */
-   case 0x5b: /* CLOSE_TR_SESSION */
-   case 0x5c: /* READ_BUFFER_CAP */
-   case 0x5d: /* SEND_CUE_SHEET */
-   case 0xa1: /* BLANK */
-   case 0xa5: /* PLAY_12 */
-   case 0xa6: /* EXCHANGE_MEDIUM */
-   case 0xad: /* READ_DVD_STRUCTURE */
-   case 0xbb: /* SET_CD_SPEED */
-   case 0xe5: /* READ_TRACK_INFO_PHILIPS */
+   default:
memcpy(*rcmd, cmd, cmdlen);
return 1;

case READ_12:
case WRITE_12:
-   default:
printf("%s: Unsupported ATAPI command 0x%02x"
" - trying anyway\n",
USBDEVNAME(sc->sc_dev), cmd[0]);



everything works. i think umass driver is simply too restrictive
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: recommend console email client?

2007-03-19 Thread Wojciech Puchar

For years I am not yet satisfied with ANY console email client, though I
have tried quite a few. My requirement is actually very simple: a email
client must be able to:

1. do the automatic charset conversion, so if I got an email in
   GB18030 charset, it display correct on my UTF-8 console;


pine does it at least with UTF-8 and ISO

2. is able to connect to IMAP server, copy sent emails to
   INBOX.Sent folder and let me browse IMAP folders;


pine does it with folder-collections=myfolders #md/Maildir/.[]
in .pinerc

making it compatible with imap (dot before foldernames).


3. is able to look up contact information (including telephone
   number) by LDAP;


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


Opera Video Plugin?

2007-03-19 Thread RW

Is there a way to play video from Opera?

I've tried both native and linux versions of the mplayer plugin with
the either versions of Opera, and I've tried GXine with native Opera,
all without success.

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


Re: export nfs to a host with dynamic IP address

2007-03-19 Thread Noel Jones

On 3/18/07, Zhang Weiwu <[EMAIL PROTECTED]> wrote:

Maybe this is not possible, but can I export NFS share to a host that
have dynamic IP address?

My office server export an NFS share folder to several local desktop
computers. I often need to access these NFS share from my home computer,
which have dynamic IP address. I do have a fixed domain name,
myhome.ods.org always have a "A" dns record pointing to my home computer.

Having dynamic IP address never caused a problem for me because, as I
said I have fixed domain name (updated with ez-ipupdate) but when it
comes to NFS it is a problem. If I write my fixed domain name in
/etc/export I wouldn't be able to mount that share. NFS server seems to
check the IP address that wish to connect to it, reverse lookup its
domain name, and compare it with what's written in /etc/exports. For me
it doesn't work because my dynamic IP address cannot reverse resolve to
my fixed domain address.

So, is there a network file system that can work for my case? I never
tried NFS SSL authentication things because after a google search it
looks quit complex to install and configure: but if that's the only way
to go I'll start to learn it. I also know samba can provide
authentication so I don't have to rely on IP address to control access.
However I never set up samba server before: also I would do it if that's
the only way to go.

Any suggestions? Thanks a lot in advance.



Set up OpenVPN from ports/security/openvpn and export NFS to the VPN
tunnel address.
OpenVPN is secure, fairly easy to configure, and works well with dynamic IP.

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


Re: Tell portupgrade to use passive ftp

2007-03-19 Thread RW
On Mon, 19 Mar 2007 00:27:19 -0400
Chris Slothouber <[EMAIL PROTECTED]> wrote:

> Hi Jeffrey,
> 
> Jeffrey Goldberg wrote:
> > On my perimeter firewall, I default deny outbound traffic.  This
> > cuts off fetching using active FTP.  Is there some way that I can
> > tell portupgrade to pass the -p flag to fetch?
> > 
> > I know that I can temporarily change my firewall rules, but I think
> > that it would be a cleaner solution to just tell portupgrade to not
> > use active mode FTP.  (Or maybe fetch itself when it fails with
> > active mode ftp should try again with passive).
> 
> in /etc/make.conf:
> 
> FETCH_CMD?=  /usr/bin/fetch -ApRr
> 

This is actually the default, and has been for some time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Logrotating and running a command

2007-03-19 Thread Brian A. Seklecki
Sounds slightly beyond the mandate of newsyslog(8).   Although instead
of a path-to-PID, a glob to pass to pkill(8) -HUP ${glob} would be on my
NFR list.

At that point, logrotate(8) may seem appealing (or a custom solution):

   postrotate/endscript
  The  lines  between postrotate and endscript (both of which must
  appear on lines by themselves) are executed after the  log  file
  is  rotated.  These  directives  may only appear inside of a log
  file definition.  See prerotate as well.

For all your non-posix-signal-honoring-daemons out there.

~BAS

On Fri, 2007-03-16 at 19:22 -0300, José Pablo Fernández wrote:
> Hello,
> I need to rotate some logs, but instead of getting the PID out of a file and 
> sending a SIGHUP to that process, like newsyslog does, I need to run a 
> command.
> Is that possible with newsyslog? how should I do it?
> Thank you.
-- 
Brian A. Seklecki <[EMAIL PROTECTED]>
Collaborative Fusion, Inc.




IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


Re: 'nodump' on directories: new contents still dumped

2007-03-19 Thread Alex Zbyslaw

Bram Schoenmakers wrote:


Op vrijdag 16 maart 2007, schreef Alex Zbyslaw:
 


Can you try explicitly putting a "-h 0" into your incremental command
line and see if that makes a difference?
   



I've done that and now dump behaves like it should. I don't understand why, 
because the man page says that -h 1 is default (and shouldn't be supplied 
then). But with -h 0 on every incremental dump it's OK now.
 


I can only think of two possibilities:

   1) There is a bug in whatever version of FreeBSD you are running and 
-h 1 is somehow *not* the default.  6.2 Release?


   2) There is some kind of bug with your command line, but without 
seeing it, I can't tell.


Glad you got the problem worked around;  when I finally get around to 
6.2 I will be curious to see if I can replicate the problem.


--Alex


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


Hi,

2007-03-19 Thread rothlee
Hi,

I will be away from the office from March 19 to March 23. Please direct your 
requests and concerns to Raj ([EMAIL PROTECTED]) and Jay ([EMAIL PROTECTED]).

Thanks, 

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


Re: sendmail name resolution

2007-03-19 Thread Derek Ragona

Sendmail uses the system calls to resolve names.  You need to check:
/etc/nsswitch.conf

In that file check the hosts line, this gives the order for hostname 
resolution, typically it is files then dns.


Then you should check your /etc/hosts file to be sure that localhost is 
there and correct.


Also check /etc/resolve.conf that you have the correct nameservers for dns 
lookups.


-Derek


At 08:28 PM 3/18/2007, jekillen wrote:

Hello:
Where does sendmail look to find out who it is?
Resolve.conf?
It keeps throwing up messages that it cannot
resolve the name localhost, or that is the
way I am interpreting the messages.
FreeBSD v6.2 generic
Thanks in advance;
Jeff K

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

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



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

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


Re: I need help with external USB DVD writer.

2007-03-19 Thread Mike

FreeBSD User Giacomo wrote:
Hi. 
I have bought recently an external USB DVD writer Samsung Super (model SE-S184M/EUBN). 
I do not succeed in to burn DVD (only CD). 
The system (FreeBSD 6,1) recognizes masterizzatore like: 

umass0: TSST corp USB Mass Storage Device, rev 2.00/0.00, addr 3 cd0 at umass-sim0 bus 0 target 0 lun 0 
cd0:  device Removable CD-ROM SCSI-0 
cd0: 40.000MB/s transfers 
cd0: Device Attempt to query size failed: NOT READY, Medium not present - tray close


  

What does usbdevs -v show?

If I use the comand whith a dvd+rw : dvd+rw- format /dev/cd0 
I obtain 

* DVD±RW/-RAM format utility by <[EMAIL PROTECTED] chalmers.se>, version 6.0. 
:-( (unable to GET CONFIGURATION: 
Input/output error and on the consul: umass0: 
Unsupported ATAPI command 0x46. 

  
Your drive probably isn't MMC-capable.  Try updating the firmware.  For 
a Samsung go here: 
http://www.samsungoms-europe.com/samsung.php?section=download and get 
the firmware updating tool (it's called LiveUpdate or something).  It 
only works in Windows, so hope that isn't a problem.  If there's a 
firmware upgrade for your drive, it might fix this error and allow the 
FreeBSD dvd-tools to read your burner's configuration.

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


Re: IPv4 loopback

2007-03-19 Thread Nikos Vassiliadis
On Monday 19 March 2007 04:59, Keith E. Brandt, M.D. wrote:
> While trying to configure ntp, I discovered that my IPv4 loopback was 
> not being configured. I can manually restart it with 'ifconfig lo0 
> add 127.0.0.1', however, it does not survive a reboot.
> 
> Here's the output of ipconfig following boot:
> 
> rl0: flags=8843 mtu 1500
>  options=8
>  inet 192.168.0.100 netmask 0xff00 broadcast 192.168.0.255
>  ether 00:08:54:dd:65:8d
>  media: Ethernet autoselect (100baseTX )
>  status: active
> plip0: flags=108810 mtu 1500
> lo0: flags=8049 mtu 16384
>  inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
>  inet6 ::1 prefixlen 128
> 
> and after manually configuring:
> 
> rl0: flags=8843 mtu 1500
>  options=8
>  inet 192.168.0.100 netmask 0xff00 broadcast 192.168.0.255
>  ether 00:08:54:dd:65:8d
>  media: Ethernet autoselect (100baseTX )
>  status: active
> plip0: flags=108810 mtu 1500
> lo0: flags=8049 mtu 16384
>  inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
>  inet6 ::1 prefixlen 128
>  inet 127.0.0.1 netmask 0xff00
> 
> 
> What do I need to configure to get it to come up at bootup?

hm, nothing. It's there by default...

nik:0:~$ grep lo0 /etc/defaults/rc.conf 
ifconfig_lo0="inet 127.0.0.1"   # default loopback device configuration.
#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0x" # Sample alias entry.

> Any thoughts as to why it disappears?

Did you by any chance edit /etc/defaults/rc.conf?
what "grep lo0 /etc/rc.conf /etc/defaults/rc.conf"
reveals?
Make the desired changes to /etc/rc.conf and keep
/etc/defaults/rc.conf as it comes.

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


Re: Downgrading to PHP 5.1.4

2007-03-19 Thread Andrew Pantyukhin

On 3/19/07, bsd <[EMAIL PROTECTED]> wrote:

> Please excuse the sarcasm but do you intend to give free
> root access to the entire world?

Was this version really buggy ??


They all are, but going as far back as that almost
guarantees you gaping security holes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


SoC application: please comment!

2007-03-19 Thread Gabor Kovesdan

Hello All,

I would like to participate in SoC again. I have a draft proposal, which 
I haven't submitted yet, you can read it here:

http://www.kovesdan.org/soc/article.html


Similarly, to the last year, it is a set of minor (but demanded) 
improvements to the Ports Collection infrastructure. If you have any 
suggestions to any point listed in the apllication, please let me know. 
If you have an idea, what else to include (not too big for SoC and I 
have the knowledge for), please tell me that, too, as I wrote in the 
proposal, I'd like to work on such projects that are actually demanded. 
Or if you just have anything to say about the overall text of the 
proposal, please write me that as well.


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


How to build an ISO Re: Build your own ISO-install-CD?

2007-03-19 Thread Ted Mittelstaedt

- Original Message - 
From: "Ewald Jenisch" <[EMAIL PROTECTED]>
To: "Ted Mittelstaedt" <[EMAIL PROTECTED]>
Cc: 
Sent: Friday, March 16, 2007 5:37 AM
Subject: Re: Build your own ISO-install-CD?


>
> On Fri, Mar 16, 2007 at 12:07:17AM -0800, Ted Mittelstaedt wrote:
> >
> > ...
> >
> > The process is long and complex.  You don't want to do it if you can
help
> > it.
> > If people beg me on this list I'll post the step by step I use but trust
me
> > you
> > really really don't want to do this unless absolutely necessary.
>
> Hi Ted,
>
> I suppose this might be of interest to others too, so maybe you could
> post your "receipe" here?
>

OK you asked for it.  Note this is -very rough- notes.  It is notes that you
use if you
understand the procedure, not what you use as an educational explanation.
You will
probably need to change directory locations for the various invocations.


 I did a boot from bootable CDROM then network install

setup filesystem :

root 2G
swap 1G
var  2G
usr  30G

home dirs will be in /usr/home

Select Kern-Developer, no Xwindows, no ports


After reboots, sysinstall and install cvsup-without-gui-16.1h_2 from the FTP
site

Also install a complete set of sources from the distribution media


8) Upgrade ports directories

cd /root

  c) cp /usr/share/examples/cvsup/ports-supfile .
  d) vi ports-supfile   change mirror name
 cvsup10.us.FreeBSD.org
  e) rehash
  f) cvsup -g -L 2 /root/ports-supfile
  g) Create the index with the command make index or
  g) Fetch the index with the command "make fetchindex"

now install cdrtools

  cd /usr/ports/sysutils/cdrtools
  make install


Recompile and rebuild the entire system to make sure it's clean:

cd /usr/src
make buildworld
make buildkernel
make installkernel

boot into single-user
boot -s
mount /
mount /tmp
mount all the rest of the system
cd /usr/src/usr.sbin/mergemaster
./mergemaster.sh -p  (say no to delete temproot)
cd /usr/src
make installworld
mergemaster
reboot

this results in a system that is a duplicate of the -release system if done
right

Now we start our updated builds:

NOTE:  These notes helped:
http://romana.now.ie/writing/customfreebsdiso.html

) setup a cvsupfile for the rest of the system:

e) cd /root cp ports-supfile release-supfile
vi release-supfile and change the bottom half to:

 IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/doc/handbook/mirrors.html.
*default host=cvsup10.us.FreeBSD.org
*default base=/var/db
*default prefix=/usr/home/ncvs
*default release=cvs  (make sure to remove the tag here)
*default delete use-rel-suffix

# If you seem to be limited by CPU rather than network or disk bandwidth,
try
# commenting out the following line.  (Normally, today's CPUs are fast
enough
# that you want to run compression.)
*default compress

# ports-all
src-all
doc-all
cvsroot-all
#

) init the cvs database:

cvs -d /usr/home/ncvs init

 populate our local cvs database with the command: cvsup -g
/root/release-supfile

Now we got a local CVS synced to the master repository.

Now, before we start tearing into the new stuff, let's create our old src
and /usr/obj into
a RELEASE by doing this:

Now we make a unmodded  release itself (takes about 3 hours):
cd /usr/src/release
make release RELEASETAG=RELENG_6_1 PORTSRELEASETAG=HEAD
BUILDNAME=6.1-RELEASE CHROOTDIR=/usr/home/releng NODOC=yes NOPORTS=yes CVSRO
OT=/usr/home/ncvs

This will put the files to stage for the bootable ISO into /home/releng/R
The kernel will go into /home/releng/R/cdrom/disc1/boot/kernel
This will also put the files for FTP installation in /home/releng/R/ftp
which must be used with the ISO image for
an FTP installation if the CD drive becomes inaccessible during
installation.

cd /usr/home
(makes it with no floppy emulation)
sh /usr/src/release/i386/mkisoimages.sh -b FreeBSD6
/usr/home/6.1-RELEASE-disc1.iso /usr/home/releng/R/cdrom/disc1

burn this CD and test it as a scratch install CD!

Now to make a release off the current source for the tree:

  Since a whole lot of stuff
has dependencies, we want to start by saving the existing RELEASE source
tree (we might need it to regenerate a kernel)
cd /usr
mv src src.original

Blow away old releases and such
To delete the release then chflags -R noschg /usr/home/releng rm -r
/usr/home/releng rm -r /usr/obj rm -r /usr/src

cvsup -g /root/release-supfile (resync the src)

Replace this with the current source we are working on:

cd /usr
cvs -d /usr/home/ncvs checkout src

Now, before building a release, must buildworld (don't have to install it
though)
cd /usr/src
make -j4 buildworld  (approx 1.6 hours on 1.8Ghz Athlon with Promise
FastTrack RAID chip with -j4 option)
(only do this to check the kernel builds, not needed for a make release)
make buildkernel KERNCONF=GENERIC
NOTE: this puts the CURRENT into /usr/obj

Now we make a unmodded current  release itself (takes about 3 hours):
add audit:*:77: to /etc/group
cd /usr/src/release
make release RELE