Re: FreeBSD4.5 release supports bigLBA( over 136GB HDD)?

2003-10-04 Thread Luke Kearney
Currently using 250gb drives here without any difficulties.

Good Luck

LK


On Sat, 4 Oct 2003 00:37:41 -0500
kitsune [EMAIL PROTECTED] granted us these pearls of wisdom:

 On Fri, 3 Oct 2003 22:46:42 +0900
 topaz [EMAIL PROTECTED] wrote:
 
  Dear Sirs
  
  I have been using FreeBSD4.5 as a File server.
  
  I like to use 200GB  IDE HDD(WD 2000)  with FreeBSD4.5.
  
  BIOS supports bigLBA.
  
  Does  FreeBSD4.5 support big LBA/
  
  If not, which release of FreeBSD can support bigLBA?
 
 Currently using a 160GB here with out problems.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



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


Issues mirroring drives with Vinum in FreeBSD 4.8-RELEASE

2003-10-04 Thread aarong
I've successfully installed and converted a FreeBSD 4.8 install into a 
bootable Vinum volume many times; however mirroring that volume onto a 
second identical drive is proving difficult. Per Greg Lehey's 
instructions in chapter 12 of The Complete FreeBSD 4th Edition, I've 
setup a bootable Vinum volume and then attempted to mirror it by 
creating a second Vinum config file, detailing the second drive and how 
the new volumes should be setup.

This works fine, and Vinum will successfully complete mirroring the all 
the volumes, however fsck will fail everytime. Hence when rebooting, 
everything goes to hell and a hand basket. I can fsck the volumes 
before mirroring without a problem, it's only after Vinum completes 
mirroring the volumes that fsck complains.

Both drives are identical Seagate Cheetah X15's, with swap taking 
1000M, root 125M, var taking 4000M, and usr taking the rest. I tried 
installing FreeBSD, and creating both Vinum volumes at the same time 
with the same effect.

/boot/loader.conf:

vinum_load=YES
vinum.drives=/dev/da0 /dev/da1
vinum.root=root
disklabel da0s1:

#size   offsetfstype   [fsize bsize bps/cpg]
  a:   256000  20480004.2BSD 2048 1638494   # (Cyl.  127*- 
143*)
  b:  2047719  281  swap# (Cyl.0*- 
127*)
  c: 716819670unused0 0# (Cyl.0 - 
9728*)
  e:  8192000  23040004.2BSD 2048 1638489   # (Cyl.  143*- 
653*)
  f: 61185967 104960004.2BSD 2048 1638489  # (Cyl.  653*- 
9728*)
  h: 71681967   16 vinum   # (Cyl.0*- 
9728*)

disklabel da1s1:

#size   offsetfstype   [fsize bsize bps/cpg]
  a:   256000  20480004.2BSD 2048 1638494   # (Cyl.  127*- 
143*)
  b:  2047719  281  swap# (Cyl.0*- 
127*)
  c: 716819670unused0 0# (Cyl.0 - 
9728*)
  e:  8192000  23040004.2BSD 2048 1638489   # (Cyl.  143*- 
653*)
  f: 61185967 104960004.2BSD 2048 1638489  # (Cyl.  653*- 
9728*)
  h: 71681967   16 vinum   # (Cyl.0*- 
9728*)

/vinum.config:

drive alpha device /dev/da0s1h
drive beta device /dev/da1s1h
volume root
  plex org concat
sd len 256000s  driveoffset 2047984s drive alpha
  plex org concat
sd len 256000s  driveoffset 2047984s drive beta
volume swap
  plex org concat
sd len 2047719s driveoffset 265s drive alpha
  plex org concat
sd len 2047719s driveoffset 265s drive beta
volume var
  plex org concat
sd len 8192000s driveoffset 2303984s drive alpha
  plex org concat
sd len 8192000s driveoffset 2303984s drive beta
volume usr
  plex org concat
sd len 145800322s   driveoffset 10495984s drive alpha
  plex org concat
sd len 145800322s   driveoffset 10495984s drive beta
vinum create /vinum.config
vinum start root.p1
vinum start var.p1
vinum start swap.p1
vinum start usr.p1
Obviously I'm missing a vital step here but I'm completely at a loss as 
to what it may be. The Handbook clearly outlines how to mirror volumes 
and as far as I can tell, the above should work flawlessly. I run into 
the same issues with 5.1-RELEASE. Comments, criticism, and answers are 
all appreciated. Please CC me as I am not subscribed to this list.

-aarong

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


Re: FreeBSD SPAM

2003-10-04 Thread Karl M. Joch
Sean Page wrote:

Granted it's not an inexpensive solution, but we switched from SpamAssassin
to PureMessage by ActiveState.
http://www.activestate.com/Products/PureMessage 
We are thoroughly impressed with the accuracy and the dynamic feature set of
the product. Automatic updates come down at least a couple of times a week
to keep up with the latest tactics, and the support is second to none.
Just my $.02 worth

Sean.

-Original Message-
From: Kliment Andreev [mailto:[EMAIL PROTECTED] 
Sent: October 3, 2003 9:23 AM
To: [EMAIL PROTECTED]
Subject: Re: FreeBSD  SPAM



I know this is an issue that comes up a lot, but I wanted to get 
an opinion from some people on the list. We, along with everyone 
else, have TONS of SPAM hit our server. Unfortunately, we haven't 
found any good way to reduce it. We're using ORDB and SpamCop, but 
neither are really doing the job. We're a small small company (7 
employees) with about 100 mailboxes on the server. We don't mind 
paying for a service that works, but we are certainly on a tight 
budget. Any recommendations would be greatly appreciated. 
Currently, we're using Sendmail, although we're considering (and 
testing) a switch to PostFix. TIA for any


Check www.kaspersky.com for anti-virus and anti-spam tools for FreeBSD. If
you decide to use SpamAssassin and if you have a lot of spam-mail coming and
a slow server, mind that it will clog you CPU very, very soon.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


blocking dynamic ip and dialup users with dnsbl lists reduces 60-70% of 
the spam. there is a very good one on an .nl server. for some special 
ones an access list helps. adding a combination of mailscanner and 
spamassassin to sendmail does the rest. the rest which comes thru is not 
really a lot of mails. and all of that stuff is open source and free.

happyly running above things with 50k+ mails / day.

--
Best regards / Mit freundlichen Gruessen,
Karl M. Joch

http://www.freebsd.at - Das Power Betriebssystem

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


Re: Issues mirroring drives with Vinum in FreeBSD 4.8-RELEASE

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

Computer output unwrapped.

On Saturday,  4 October 2003 at  0:17:44 -0700, aarong wrote:
 I've successfully installed and converted a FreeBSD 4.8 install into a
 bootable Vinum volume many times; however mirroring that volume onto a
 second identical drive is proving difficult. Per Greg Lehey's
 instructions in chapter 12 of The Complete FreeBSD 4th Edition, I've
 setup a bootable Vinum volume and then attempted to mirror it by
 creating a second Vinum config file, detailing the second drive and how
 the new volumes should be setup.

 This works fine, and Vinum will successfully complete mirroring the all
 the volumes, however fsck will fail everytime. Hence when rebooting,
 everything goes to hell and a hand basket. I can fsck the volumes
 before mirroring without a problem, it's only after Vinum completes
 mirroring the volumes that fsck complains.

I'd like to see the complaints.  This is why I ask for the information
in the man page or at http://www.vinumvm.org/vinum/how-to-debug.html.

 disklabel da0s1:
 ...
 disklabel da1s1:

These look OK.

 /vinum.config:

I specifically ask not to send this.  I can't see anything wrong in it.

 vinum create /vinum.config
 vinum start root.p1
 vinum start var.p1
 vinum start swap.p1
 vinum start usr.p1

That looks OK.

 Obviously I'm missing a vital step here but I'm completely at a loss
 as to what it may be.

Send the information I ask for and I might find it.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.
NOTE: Due to the currently active Microsoft-based worms, I am limiting
all incoming mail to 131,072 bytes.  This is enough for normal mail,
but not for large attachments.  Please send these as URLs.


pgp0.pgp
Description: PGP signature


.doc files

2003-10-04 Thread Bryan Cassidy
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm trying to figure out how to convert .doc files into a unix file so I
can read it with say emacs, vi and etc.? Thanks
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/foY1OlwzeMhXmLgRAhzFAKCwhGVoDhuJEWQ5vDCdaJ4l+M3rRwCfROS2
zL1f69+RLUdxw4B43S23Naw=
=JIL0
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: .doc files

2003-10-04 Thread mpd
On Sat, Oct 04, 2003 at 03:35:01AM -0500, Bryan Cassidy wrote:
 I'm trying to figure out how to convert .doc files into a unix file so I
 can read it with say emacs, vi and etc.? Thanks

By 'unix file' I assume you mean a text file.
Try /usr/ports/textproc/antiword.

mike
-- 
___
 
WE ARE IN THE BAYOU!
- Pokey the Penguin from POKEY IN THE BAYOU
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


BSD Question

2003-10-04 Thread David Witt
I'm a Unix newbie who just installed BSD 5.1.  I made it through the 
installation without too much of a hassel and I went ahead and added XFree86 
in the installation, along with the BSD Boot Manager since I'm dual booting 
with Windows.  I have a 40 gig HD for Windows then I have 2 separate 120 gig 
HD raided in 0 config for BSD.  The boot manager is installed with the rest 
of BSD on the raid but when it loads and I go to pick, both options boot to 
BSD.  F1 is labeled FreeBSD and F5 is labeled Drive 1, which I was under the 
illusion should be windows but it turns out its not.  When I boot into BSD, 
it leads me to a text based login screen, how do I get KDE to function.  
Thank you in advance.

David Witt

_
Get McAfee virus scanning and cleaning of incoming attachments.  Get Hotmail 
Extra Storage!   http://join.msn.com/?PAGE=features/es

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


Re: building sendmail-sasl-8.12.10 problems

2003-10-04 Thread Matthew Seaman
On Fri, Oct 03, 2003 at 12:46:12PM -0800, Noah wrote:
 FreeBSD 4.8-STABLE machine
 
 okay I just built sendmail-sasl version 8.12.10 from
 /usr/ports/mail/sendmail-sasl but my system is complaining that SASL support
 is required. what am I doing wrong.  why isnt SASL support being recognized?
 
 sasl2 'PORTVERSION=2.1.15' is in /usr/ports
 
 --- make stop  make start from /etc/mail ---
 # make start  [/etc/mail]
 Starting: sendmailWarning: Option: AuthMechanisms requires SASL support (-DSASL)
 Warning: Option: AuthOptions requires SASL support (-DSASL)
  sendmail-clientmqueue.
 --- snip 

Hmmm... Sounds like you're trying to start up the sendmail from the
base system but using the .mc/.cf files with all of the SASL stuff in
it.

Check the contents of /etc/mail/mailer.conf -- make sure you're
starting up the port version of sendmail, which will be
/usr/local/sbin/sendmail

Either that, or ditch the ports version of sendmail, and add the
following to your /etc/make.conf:

SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2

plus install the the security/cyrus-sasl2 port.  (Read the comments in
/etc/make.conf if you prefer to use SASLv1 -- setup is almost
identical) That will build you a SASL enabled sendmail from the base
system.

See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html
for details of setting up the base system with SASL-ized sendmail
using SASLv1.  Same instructions work for SASLv2 if you make the
obvious substitutions.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Which packages are in ``version-disc1.iso'' ?

2003-10-04 Thread Bogdan Hojda
Hello,

How can I find out which packages and/or ports are included in
4.9-RC1-i386-disc1.iso (or otherVersion-disc1.iso) without downloading
and burning on CD that ISO image?

The 2.13.1st Paragraph of the Handbook says that version-disc1.iso
contains ``everything you need to install FreeBSD, and as many
additional third party packages as would fit on the disc'', but I
couldn't find anywhere which are those packages and/or ports.

Thanks a lot,

=
Bogdan Hojda [EMAIL PROTECTED]
http://bogdan.iHost.ro/


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: .doc files

2003-10-04 Thread Simon Barner
  I'm trying to figure out how to convert .doc files into a unix file so I
  can read it with say emacs, vi and etc.? Thanks
 
 By 'unix file' I assume you mean a text file.
 Try /usr/ports/textproc/antiword.

Yep, that works great. I have this line here

application/msword; antiword %s; copiousoutput

in my .mailcap, which brings me seamless integration for .doc files into
mutt (well, at least more or less ;-)

Simon


signature.asc
Description: Digital signature


Interested but am i compatible?

2003-10-04 Thread William Labbett
hi all,

 i like to try out FreeBSD for various reasons
i've got a few questions;

are there HP Printer drivers available and
also Artec scanner drivers?

 is there a freeware C/C++ compiler available
and (less importantly) a freeware
text editor or C/C++ project IDE ??

 will it work on on a BrillianX motherboard?

what kind of modem will i need.

i think i've got a WinModem - Conextant or
something..

 plz help me out...

 thx for any help,

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


formatting hardrive

2003-10-04 Thread Antoine Jacoutot
Hi !

Ok, I'm at a point where I'm ready to cry :(
Is there ANY easy way to partition/slice a hardrive for FreeBSD ?
I spent all morning playing with bsdlabel, sysinstall... I just want to 
partition a second hardrive so I could dump/restore the content of my first 
drive.
So, I tried sysinstall post-install tools to create the slices and all, but 
all I get are errors like can't write to ad2, or can't mount /dev/ad2s1a 
on /mnt 
Basically what I want is:
ad2s1a -- /mnt
ad2s1b -- SWAP
ad2s1d -- /mnt/tmp
ad2s1e -- /mnt/var
ad2s1f -- /mnt/usr

So, all I have to do after is dump / -- /mnt, /tmp -- /mnt/tmp ... and so 
on.
I sware I tried all morning without any kind of success :(

I would really appreciate some help.

Thanks in advance.

-- 
Antoine Jacoutot
[EMAIL PROTECTED]
http://www.lphp.org
PGP/GnuPG key: http://www.lphp.org/ressources/ajacoutot.asc

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


pkg_info +COMMENTS problem

2003-10-04 Thread srenna
Hello,

I'm having a problem.  Whenever I run pkg_info with
whatever switches, I receive this at the top of the read
out, any ideas?

pkg_info: show_file: can't open '+COMMENT' for reading



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


Re: explain annoying You have XXX mail messages

2003-10-04 Thread Fernan Aguero
+[ Mailing Lists Catcher [EMAIL PROTECTED] (03.Oct.2003 19:53):
|
| I don't know if this applies now but before I ran my own mail server I
| used to see that sort of thing after I su'd so another account.  For
| instance if I logged in as user but su'd to a root it would tell me I
| had mail but when I used the mail command it said no mail for user.  I
| forget how I was able to read root mail but I think it had something to
| do with using su -m...

Hi!

Thanks for the reply. 

Yes I know this happens ... I can su to other users and see
the 'You have mail.' message. However if I read mail for
that user, and say, delete all messages, after I exit
(/var/mail/user is now an empty file) and reenter I don't
see this message anymore.

| Anyhow root normally gets mail all the time from crontab and periodic
| daily/weekly/monthly/security runs.
| 
| Or Have a look in var/mail/root and others to see who has the mail. 
| Also use the mail command on the account you get the messages from next.

I'm using the default sendmail that comes with freebsd. All
mail to root gets redirected to me (alias root:
[EMAIL PROTECTED]). And yes, I receive all the mails from
root's cron jobs and periodic scripts. Still,
/var/mail/fernan is empty all the time (I use procmail to deliver to
~/mail/inbox), and there's no /var/mail/root (since it is
redirected to myseldf). All other users in the system have
empty /var/mail/$USER files, since I'm the only user in the
system :)

So ... I'm still intrigued:

i) I don't get 'You have mail.' but 'You have 50 mail
messages.' That is to say ... the message is different,
perhaps someone out there can identify the program that
produces this kind of messages upon entering the shell?

ii) ~/mail/inbox does not have 50 mail messages, it has
thousands. Also, there are no new or unread messages ...

iii) if I type 'mail', right after receiving the message, I
get 'No mail for fernan.' as a reply.

Thanks for any tip or suggestion,

Fernan

| 
| 
| On Fri, 2003-10-03 at 17:08, Fernan Aguero wrote:
|  Hi!
|  
|  I'd like to understand why every time I open a new terminal
|  (or just type 'csh' in a terminal) I get a message similar
|  to:
|  
|  You have XXX mail messages.
|  
|  The default mailbox (/var/mail/fernan) is empty, since I
|  use procmail to deliver messages to several different
|  mailboxes under ~/mail.
|  
|  Still, I keep receving this message all the time. Right now
|  it says I have 50 messages. What are they? Where are they?
|  
|  I've already read the man pages for csh(1), looked in 
|  sourced rc files (~/.cshrc, /etc/csh.cshrc, ~/.login,
|  /etc/csh.login) and, as far as I can see, there is nothing
|  that looks like checking on available messages.
|  
|  It's been also difficult to google a common phrase like 'you
|  have mail messages' to look for already answered questions.
|  
|  I apologize is this is a FAQ.
|  
|  Thanks in advance,
|  
|  Fernan
| -- 
| Mailing Lists Catcher [EMAIL PROTECTED]
| MGM Communications LLC  kibserv
| 
|
+]

-- 
F e r n a n   A g u e r o
http://genoma.unsam.edu.ar/~fernan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: permissions on umass device

2003-10-04 Thread Guy Middleton
On Fri, Oct 03, 2003 at 08:22:56PM -0700, Kris Kennaway wrote:
 On Fri, Oct 03, 2003 at 10:46:06PM -0400, Guy Middleton wrote:
  On a 5.1-RELEASE system, I attach a umass device, and it appears in /dev like
  this:
  
  $ ls -l /dev/da3
  crw-r-  1 root  operator4,  28 Sep 19 23:29 /dev/da3
  $ 
  
  How do I get it to use different permissions, or a different group?
 
 /etc/devfs.conf

Thanks.  I didn't see any mention of a config file in devfs(5) or devfs(8),
but I should have guessed this myself anyway.  :-)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache php3 question

2003-10-04 Thread H. Bartel
On 10/02/2003 10:50 AM [EMAIL PROTECTED] (Marc Ramirez) wrote:

1) Make sure it's not in browser/squid cache.

2) In your httpd.conf, you'll probably need to add index.php3 to your
DirectoryIndex directive, if you haven't already.

DirectoryIndex index.html index.html.var index.php index.php3

I somehow got it running now and I and it looks like the problem was 1).
Thanks for all your help and support.

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


isa_dmainit question

2003-10-04 Thread Stacy Olivas

I have a question (this might need to go to -hackers, but I thought I would
try here)..

I'm playing with the MD_ROOT_SIZE option a FreeBSD 5.0 config file.  When I
set the size to anything over 7000, I get a nice little isa_dmainit(2, 1024)
failed message at startup (which results in a kernel panic with:

panic: isa_dmastart: bad bounce buffer (since a dma buffer wasn't able to be
allocated at bootup)

My question is what is the maximum size MD_ROOT can be?  I thought that if
there was enough memory on the system, it shouldn't matter how big it is.  

Is there any way to get rid of this?  The system I am playing with is useable
without a floppy drive, but it would be nice to be able to use one.

(Yes, this is me playing with my WarBSD stuff.  I thought the problem I was
having was gone with -p16, but it turned out I was just tired and overlooked
a setting-- MD_ROOT_SIZE being set to 7000).

Thanks in advance.

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


Re: BSD Question

2003-10-04 Thread Kevin D. Kinsey, DaleCo, S.P.
David Witt wrote:

I'm a Unix newbie who just installed BSD 5.1.  I made it through the 
installation without too much of a hassel and I went ahead and added 
XFree86 in the installation, along with the BSD Boot Manager since I'm 
dual booting with Windows.  I have a 40 gig HD for Windows then I have 
2 separate 120 gig HD raided in 0 config for BSD.  The boot manager is 
installed with the rest of BSD on the raid but when it loads and I go 
to pick, both options boot to BSD.  F1 is labeled FreeBSD and F5 is 
labeled Drive 1, which I was under the illusion should be windows but 
it turns out its not.


Hmm, what do your drive entries look like in
'dmesg' ?
When I boot into BSD, it leads me to a text based login screen, how do 
I get KDE to function.  Thank you in advance.

David Witt 


What happens when you login and issue:

$startx

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


Re: Interested but am i compatible?

2003-10-04 Thread Kevin D. Kinsey, DaleCo, S.P.
William Labbett wrote:

hi all,

i like to try out FreeBSD for various reasons
i've got a few questions;
are there HP Printer drivers available and
also Artec scanner drivers?
Check the hardware compatability list
at www.freebsd.org/handbook ... also
the section on printing.  I imagine that you
can get the printers working without too
much headache.  Dunno about the scanners.
is there a freeware C/C++ compiler available
and (less importantly) a freeware
text editor or C/C++ project IDE ??
 

Compiler's built in.  Others are available
as packages or ports.  And the whole
OS is freeware --- UNIX and text editors
go hand in hand (line from handbook or
some documentation I think I recall ('you
will find a significant portion of your work
in UNIX will involve editing text files').
I'm not sure about the number or
qualtiy of IDE's but I'm sure that
they are availabe, and someone's
bound to have something pretty nice out
there...
FBSD has Linux-compatability mode
as well, so there is just zillions of possible
programs out there...over 9000 programs
that will install automagically via the FBSD
ports tree, for example.
will it work on on a BrillianX motherboard?

Dunno...again, check the HCL.  Generally speaking,
it ought to, but if it has some unsupported disk controller
or onboard whatever
5.1 is out and I've been pleased with the strides
made in hardware support since I started FBSD
2.5 years ago.  But, before you rush to install it,
the FreeBSD Foundation hasn't yet got Java working
(last I read on their site) on 5.x, so maybe 4.8/9
would be what you want.
what kind of modem will i need.

i think i've got a WinModem - Conextant or
something..
 

The standard line for years was no winmodems.
That might have changed.  You might send mail back
to the list with a more specific subject line ... 'interested
but am I compatible' sounds just a tad like responding
to a personal ad ;-)  I just bought a USR serial to use
with FreeBSD.  Never tried dialing up with it before,
so I thought I'd be traditional and safe.
thx for any help,

william labbett ([EMAIL PROTECTED])
___
 

The HCL is Handbook chapter 2.10, last I checked.

Welcome to FBSD!

Kevin Kinsey

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


RE: BSD Question

2003-10-04 Thread Minnesota Slinky
Usually, windows will show up in the BSD boot manager as ???, so the
boot prompt on my system (Win2K and FreeBSD 5.1) is the following:

F1 ???
F2 FreeBSD

When I've installed FreeBSD on a physically separate drive, it usually
creates two boot menus similar to the following:

F1 ???
F2 Disk 1

(pressing F2)

F1 Disk 0
F2 FreeBSD

As far as getting KDE to work, you should have the following in your
user directory (usually /home/username) in the file .xinitrc

exec startkde

You can put other things in there, say if you wanted to start ymessenger
or something similar as you load KDE.  If you want to boot into
graphical right away, see the post I just went through from the last
couple days: KDM and FreeBSD

HTH

Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Witt
Sent: Saturday, October 04, 2003 4:27 AM
To: [EMAIL PROTECTED]
Subject: BSD Question


I'm a Unix newbie who just installed BSD 5.1.  I made it through the 
installation without too much of a hassel and I went ahead and added
XFree86 
in the installation, along with the BSD Boot Manager since I'm dual
booting 
with Windows.  I have a 40 gig HD for Windows then I have 2 separate 120
gig 
HD raided in 0 config for BSD.  The boot manager is installed with the
rest 
of BSD on the raid but when it loads and I go to pick, both options boot
to 
BSD.  F1 is labeled FreeBSD and F5 is labeled Drive 1, which I was under
the 
illusion should be windows but it turns out its not.  When I boot into
BSD, 
it leads me to a text based login screen, how do I get KDE to function.

Thank you in advance.

David Witt

_
Get McAfee virus scanning and cleaning of incoming attachments.  Get
Hotmail 
Extra Storage!   http://join.msn.com/?PAGE=features/es

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


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


Re: pkg_info +COMMENTS problem

2003-10-04 Thread Matthew Seaman
On Sat, Oct 04, 2003 at 09:00:55AM -0400, [EMAIL PROTECTED] wrote:
 Hello,
 
 I'm having a problem.  Whenever I run pkg_info with
 whatever switches, I receive this at the top of the read
 out, any ideas?
 
 pkg_info: show_file: can't open '+COMMENT' for reading

Somewhere under /var/db/pkg you have a +COMMENT file which isn't
readable by your UID.  That's not correct -- all of the files under
/var/db/pkg should be readable by all.  That is mode 644 for general
files or mode 755 for directories and executables.  All should be
owned by root:wheel as well.  Except for +MTREE_DIRS files which seem
to be mode 444 for some odd reason.

Try this (as root):

# cd /var/db/pkg
# chown -R root:wheel .
# chmod -R a+rX,go-w .
# chmod 444 */+MTREE_DIRS

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


KMail export to Outlook

2003-10-04 Thread Chris
Is there a way to take my mail (from KMail) and either export it to, or some
other app that will allow me to pull in all the mail into Outlook2000?

Best regards,
 Chris
__

PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363

PGP Mail encouraged / preferred - keys available on common key servers
__
   01010010011101100011011001010111001001011000

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


Re: Interested but am i compatible?

2003-10-04 Thread Khairil Yusof
On Sat, 2003-10-04 at 19:41, William Labbett wrote:

 are there HP Printer drivers available and

Yes. Supported by HP also through hpijs. For more information on how
well yours is supported see: http://www.linuxprinting.org

 also Artec scanner drivers?

Maybe.. through Sane. Check your model.
http://www.sane-project.org/sane-mfgs.html#ARTEC-ULTIMA

  is there a freeware C/C++ compiler available
 and (less importantly) a freeware
 text editor or C/C++ project IDE ??

Text Editors: Yes
LOTS! There are religious wars over them too. :)
Two good ones are vim (http://www.vim.org) and emacs.

GUI/IDEs: Yes
Two good ones Anjuta (http://anjuta.sourceforge.net) or
KDevelop (http://www.kdevelop.org)

Compiler: Yes, not just C and C++
gcc (http://www.gnu.org/software/gcc/gcc.html)


  will it work on on a BrillianX motherboard?

Not sure on this one. If it's a normal PC motherboard with standard
chipsets (via, intel), I don't see why not.

 what kind of modem will i need.
WinModems might be supported, but hardware modems (usually external
ones) are guaranteed to work.

A good place to start is the freebsd handbook, when you are learning
freebsd:

http://www.freebsd.org/handbook (also available in /usr/share/doc after
installation)

And I found Dru Lavigne's tutorials most helpful.
http://www.onlamp.com/pub/ct/15



--
Optimized, readable, on time; Pick any two. 

FreeBSD 5.1-CURRENT i386 
10:29PM up 3 days, 15:10, 1 user, load averages: 0.38, 0.33, 0.26


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


Re: Where to find pam_unix documentation?

2003-10-04 Thread cuddlesomebunny

- Original Message - 
From: twig les [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 03, 2003 1:06 PM
Subject: Where to find pam_unix documentation?


 Hey *, I'm trying to do something fairly simple.  On a 4.6
 Release box I would like to force all users to choose passwords
 over a certain length and of a certain complexity.  Now before
 anyone jumps and says to edit /etc/login.conf, please note that
 I tried that and it did not work.  I don't want to get into too
 much detail there because my req's that management handed down
 go beyond the stated abilities there anyway; I need PAM.

 So basically from the docs here:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pam/pam-freebsd-modules.html
 I gather that the module I need is pam_unix, but when I look for
 the man page...nothing.  I've spent about an hour on google now
 also and found plenty of developers and admins talking about
 using it, but nothing resembling a man page or even a how-to.

 Specifically I need to enforce the use of a mix of alphanumeric
 and special chars, a minimum length, passwd expiration (with
 forewarning preferably), passwd history, and account lockouts.
 Note: I will gladly RTFM.  Muchas thnx.
According to man -w pam_unix it is located in
/usr/share/man/man8/pam_unix.8.gz.
I am using freeBSD 5.1.x

Didja check freeBSD's site?
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pam/pam-freebsd-modules.html

Or go here (Once you get there be sure to change the OS version to match
yours)
http://www.freebsd.org/cgi/man.cgi?query=pam_unixapropos=0sektion=8manpath=FreeBSD+4.8-RELEASEformat=html

For a (I found one on google) How to (or so the article claims)
http://www.wlug.org.nz/HowToUserAuthenticationHOWTO

Here's a How To for Apache and mod_auth_pam

http://www.linuxvalley.it/encyclopedia/ldp/howto/HOWTO/User-Authentication-HOWTO/x302.html

Here's some simple stuff from Red Hat

http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/ref-guide/s1-pam-samples.html

Dunno what you were searching on but hope this helps.

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


Re: Interested but am i compatible?

2003-10-04 Thread cuddlesomebunny

- Original Message - 
From: William Labbett [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 04, 2003 4:41 AM
Subject: Interested but am i compatible?


 hi all,

  i like to try out FreeBSD for various reasons
 i've got a few questions;

 are there HP Printer drivers available and
 also Artec scanner drivers?

  is there a freeware C/C++ compiler available
 and (less importantly) a freeware
 text editor or C/C++ project IDE ??

  will it work on on a BrillianX motherboard?

 what kind of modem will i need.

 i think i've got a WinModem - Conextant or
 something..

  plz help me out...

  thx for any help,

For hardware information you can find it at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-supported-hardware.html
and it just depends on what release of freeBSD you are shooting for.

To find out what known software packages (called ports on freebsd) are
available you can go here:
http://www.freebsd.org/ports/

If you can't find it there then go to groups.google.com and search by
group:*freebsd* your other search criteria and see what you can find
there.

HTH

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


Re: Problem booting 5.1 install CD

2003-10-04 Thread Lowell Gilbert
Ross, Chris [EMAIL PROTECTED] writes:

   I am having a problem booting the FreeBSD 5.1 install CD.  My
 machine hangs when it goes to pole agp.  Is there a way to disable agp
 when booting from this CD?

I don't think so.  On my laptop, I can't directly install *any* recent
releases, since AGP was put into the default kernel.  I had to install
4.4 and update to -STABLE from there.

Eric Anholt was planning on taking a look at this, but I hadn't heard
about any results.  I had narrowed it down to something weird in the
aperture probe, but I couldn't see any reason for it to actually hang
at that specific point.  To be honest, I had been pretty sure it was
just me, and I didn't have 100% confidence in my hardware anyway.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: building sendmail-sasl-8.12.10 problems

2003-10-04 Thread Noah

 Hmmm... Sounds like you're trying to start up the sendmail from the
 base system but using the .mc/.cf files with all of the SASL stuff in
 it.
 
 Check the contents of /etc/mail/mailer.conf -- make sure you're
 starting up the port version of sendmail, which will be
 /usr/local/sbin/sendmail

Hi,

okay I fixed /etc/mail/mailer.conf file and 8.12.10 is now running.


 
 Either that, or ditch the ports version of sendmail, and add the
 following to your /etc/make.conf:
 
 SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
 SENDMAIL_LDFLAGS=-L/usr/local/lib
 SENDMAIL_LDADD=-lsasl2
 

when I uncomment these entries in /etc/make.conf - I get the folllowing errors
during execution of 'make' .



[EMAIL PROTECTED] make   
/etc/make.conf, line 404: Unassociated shell command
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
/etc/make.conf, line 405: Unassociated shell command
SENDMAIL_LDFLAGS=-L/usr/local/lib 
/etc/make.conf, line 406: Unassociated shell command
SENDMAIL_LDADD=-lsasl2 make: fatal errors encountered -- cannot continue


- Noah



 plus install the the security/cyrus-sasl2 port.  (Read the comments 
 in /etc/make.conf if you prefer to use SASLv1 -- setup is almost 
 identical) That will build you a SASL enabled sendmail from the base 
 system.
 
 See
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html
 for details of setting up the base system with SASL-ized sendmail
 using SASLv1.  Same instructions work for SASLv2 if you make the
 obvious substitutions.
 
   Cheers,
 
   Matthew
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
   Savill Way
 PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
 Tel: +44 1628 476614  Bucks., SL7 
 1TH UK


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


Re: KMail export to Outlook

2003-10-04 Thread Andrew L. Gould
On Saturday 04 October 2003 09:36 am, Chris wrote:
 Is there a way to take my mail (from KMail) and either export it to, or
 some other app that will allow me to pull in all the mail into Outlook2000?

 Best regards,
  Chris

KMail allows you to create mailbox folders in maildir or mbox format.  
Assuming the Outlook client is on a different computer than KMail, you can:

1. Make sure your /var/mail/username mailbox is empty.
2. Create an mbox email folder in KMail.
3. Move or copy all the messages you want to transfer into the new mbox 
folder.
4. Close KMail.
5. Copy the new KMail (mbox) file to /var/mail/username.
6. Install, configure, start a POP server. (qpopper for example).
7. Download the email in to Outlook via POP.

There are probably simpler, more elegant solutions; but it works.

Best of luck,

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


Re: building sendmail-sasl-8.12.10 problems

2003-10-04 Thread Matthew Seaman
On Sat, Oct 04, 2003 at 07:13:28AM -0800, Noah wrote:

  Either that, or ditch the ports version of sendmail, and add the
  following to your /etc/make.conf:
  
  SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
  SENDMAIL_LDFLAGS=-L/usr/local/lib
  SENDMAIL_LDADD=-lsasl2
  
 
 when I uncomment these entries in /etc/make.conf - I get the folllowing errors
 during execution of 'make' .
 
 
 
 [EMAIL PROTECTED] make   
 /etc/make.conf, line 404: Unassociated shell command
 SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
 /etc/make.conf, line 405: Unassociated shell command
 SENDMAIL_LDFLAGS=-L/usr/local/lib 
 /etc/make.conf, line 406: Unassociated shell command
 SENDMAIL_LDADD=-lsasl2 make: fatal errors encountered -- cannot continue

Check the syntax of your /etc/make.conf file carefully.  Make sure
those variable assignments don't have any leading whitespace, and
particularly that they don't follow an uncommented line ending in one
or two colons.  make(1) has somehow become convinced that those lines
are commands that it should execute rather than variable settings.

Cheers,

Matthew 

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


pgp0.pgp
Description: PGP signature


PASSWD file hosed...

2003-10-04 Thread Eric F Crist
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

I'm sure you're all getting sick of my being so vocal, but here goes anyway.

I was messing around as root in KDE and found the KUser application.  I tried 
adding a user (my girlfriend), and when done, nobody could log in.  I managed 
to boot into single user, which logged me in a toor.  I had to mount the file 
systems r/w and finally got my username's password reset, after finding a 
bunch of format errors in the /etc/master.passwd file.  My problem is that 
the was no root user listed, just toor and all the others.  How can I change 
this?  Also, I've set the console as insecure, so it's going to ask me for a 
root password. 

AHH

In frustration,
- -- 
Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/fuslWxy3JtXvWloRAt6RAKCsnKyApG/0E1Sp8kjWpfxDGoYuRQCgrXA3
afbIJjlJCeqK3AH0SqyVd+w=
=DlRU
-END PGP SIGNATURE-

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


Re: Interested but am i compatible?

2003-10-04 Thread Simon Rutishauser
Am Sat, 04 Oct 2003 12:41:20 +0100 schrieb William Labbett:

 hi all,
 
  i like to try out FreeBSD for various reasons
 i've got a few questions;
 
 are there HP Printer drivers available and also Artec scanner drivers?

what printer? What scanner?

www.linuxprinting.org (also goes for FreeBsd as you can use the same
printing system...)

  is there a freeware C/C++ compiler available
 and (less importantly) a freeware
 text editor or C/C++ project IDE ??

Well, of course GCC but that's Free Software and not Freeware (and the
best compiler anyway ;-)

IDE: lots of;

  will it work on on a BrillianX motherboard?
 
 what kind of modem will i need.
 
 i think i've got a WinModem - Conextant or something..

I am sucessfully using a Conexant Softmodem on Linux - FreeBSD drivers are
not available.

plz be a little more specific about your hardware _nobody_ can or will
help you if you ask like that

Peschm

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


Re: pkg_info +COMMENTS problem

2003-10-04 Thread srenna
Gave that a shot, but still seeing the same problem
any other tips?


On Sat, 4 Oct 2003 15:36:37 +0100
 Matthew Seaman [EMAIL PROTECTED] wrote:
 On Sat, Oct 04, 2003 at 09:00:55AM -0400,
 [EMAIL PROTECTED] wrote:
  Hello,
  
  I'm having a problem.  Whenever I run pkg_info with
  whatever switches, I receive this at the top of the
 read
  out, any ideas?
  
  pkg_info: show_file: can't open '+COMMENT' for reading
 
 Somewhere under /var/db/pkg you have a +COMMENT file
 which isn't
 readable by your UID.  That's not correct -- all of the
 files under
 /var/db/pkg should be readable by all.  That is mode 644
 for general
 files or mode 755 for directories and executables.  All
 should be
 owned by root:wheel as well.  Except for +MTREE_DIRS
 files which seem
 to be mode 444 for some odd reason.
 
 Try this (as root):
 
 # cd /var/db/pkg
 # chown -R root:wheel .
 # chmod -R a+rX,go-w .
 # chmod 444 */+MTREE_DIRS
 
   Cheers,
 
   Matthew
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.   26
 The Paddocks

  Savill
 Way
 PGP: http://www.infracaninophile.co.uk/pgpkey
 Marlow
 Tel: +44 1628 476614
  Bucks., SL7 1TH UK

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


bridging multiple interfaces

2003-10-04 Thread Mike Jackson
Hi,
 I would like to ask for some advice on configuring my home network,
with a FreeBSD 5.1 being the main player. In a nutshell, I want to route
wired and wireless traffic through my FBSD box, do some ipfw, perhaps
IPSec, and some bandwidth shaping, and finally send the traffic out to
the internet.

 I have an ADSL router/switch with a public IP, running NATD.

 I have a 5.1 box with three interfaces:

 - Netgear MA301(wi0)
 - 3Com 905b(xl0)
 - 3Com 905b(xl1)

 wi0 is bridged to xl1, so that wireless boxes can connect to the
internet. xl0 is plugged into a 5-port switch, and is turned down. 

 The current configuration is:

 - pc1 (5.1 box) is plugged into the ADSL switch
 - pc2 (linux box) is plugged into the ADSL switch
 - pc3 (win2k laptop) is using pc1 (wi0) as it's wireless access point

 
 The desired configuration is:

 - pc1 (xl1) is plugged into the ADSL switch
 - pc1 (xl0) is plugged into the 5-port switch
 - pc2 is plugged into the 5-port switch
 - pc3 is using pc1 (wi0) as it's wireless access point
 - pc1 is serving DHCP in xl0 and wi0
 - all machines plugged into the 5-port switch can access internet
 - all machines using pc1 (wi0) as wireless access point can access
   internet
 - pc1 (wi0) is only accessible via IPSec 
 - pc1 (wi0 and xl0) or xl1 doing bandwidth shaping
- preferable to be able to limit bandwidth per workstation


 I tried to bridge both xl0 and wi0 to xl1, but the network just stopped
completely and I had to reboot the machine. And I'm not even sure if
this is the correct or best approach. Any suggestions?

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


Re: explain annoying You have XXX mail messages

2003-10-04 Thread Mikko Työläjärvi
On Sat, 4 Oct 2003, Fernan Aguero wrote:

 +[ Mailing Lists Catcher [EMAIL PROTECTED] (03.Oct.2003 19:53):
 |
 | I don't know if this applies now but before I ran my own mail server I
 | used to see that sort of thing after I su'd so another account.  For
 | instance if I logged in as user but su'd to a root it would tell me I
 | had mail but when I used the mail command it said no mail for user.  I
 | forget how I was able to read root mail but I think it had something to
 | do with using su -m...

 Hi!

 Thanks for the reply.

 Yes I know this happens ... I can su to other users and see
 the 'You have mail.' message. However if I read mail for
 that user, and say, delete all messages, after I exit
 (/var/mail/user is now an empty file) and reenter I don't
 see this message anymore.

 | Anyhow root normally gets mail all the time from crontab and periodic
 | daily/weekly/monthly/security runs.
 |
 | Or Have a look in var/mail/root and others to see who has the mail.
 | Also use the mail command on the account you get the messages from next.

 I'm using the default sendmail that comes with freebsd. All
 mail to root gets redirected to me (alias root:
 [EMAIL PROTECTED]). And yes, I receive all the mails from
 root's cron jobs and periodic scripts. Still,
 /var/mail/fernan is empty all the time (I use procmail to deliver to
 ~/mail/inbox), and there's no /var/mail/root (since it is
 redirected to myseldf). All other users in the system have
 empty /var/mail/$USER files, since I'm the only user in the
 system :)

 So ... I'm still intrigued:

 i) I don't get 'You have mail.' but 'You have 50 mail
 messages.' That is to say ... the message is different,
 perhaps someone out there can identify the program that
 produces this kind of messages upon entering the shell?

 ii) ~/mail/inbox does not have 50 mail messages, it has
 thousands. Also, there are no new or unread messages ...

 iii) if I type 'mail', right after receiving the message, I
 get 'No mail for fernan.' as a reply.

 Thanks for any tip or suggestion,

I'd guess that your .cshrc sets the mail variable to ~/mail or some
other directory. This makes csh look for new mail in the specified
path(s).  See csh(1), under the description of the mail variable.

All other programs use the environment variable MAIL, or default to
/var/mail/$USER, where there is no mail for you.

  $.02,
  /Mikko


 Fernan

 |
 |
 | On Fri, 2003-10-03 at 17:08, Fernan Aguero wrote:
 |  Hi!
 | 
 |  I'd like to understand why every time I open a new terminal
 |  (or just type 'csh' in a terminal) I get a message similar
 |  to:
 | 
 |  You have XXX mail messages.
 | 
 |  The default mailbox (/var/mail/fernan) is empty, since I
 |  use procmail to deliver messages to several different
 |  mailboxes under ~/mail.
 | 
 |  Still, I keep receving this message all the time. Right now
 |  it says I have 50 messages. What are they? Where are they?
 | 
 |  I've already read the man pages for csh(1), looked in
 |  sourced rc files (~/.cshrc, /etc/csh.cshrc, ~/.login,
 |  /etc/csh.login) and, as far as I can see, there is nothing
 |  that looks like checking on available messages.
 | 
 |  It's been also difficult to google a common phrase like 'you
 |  have mail messages' to look for already answered questions.
 | 
 |  I apologize is this is a FAQ.
 | 
 |  Thanks in advance,
 | 
 |  Fernan
 | --
 | Mailing Lists Catcher [EMAIL PROTECTED]
 | MGM Communications LLC  kibserv
 |
 |
 +]

 --
 F e r n a n   A g u e r o
 http://genoma.unsam.edu.ar/~fernan
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: pkg_info +COMMENTS problem

2003-10-04 Thread K Anderson


[EMAIL PROTECTED] wrote:
Gave that a shot, but still seeing the same problem
any other tips?
On Sat, 4 Oct 2003 15:36:37 +0100
 Matthew Seaman [EMAIL PROTECTED] wrote:
On Sat, Oct 04, 2003 at 09:00:55AM -0400,
[EMAIL PROTECTED] wrote:
Hello,

I'm having a problem.  Whenever I run pkg_info with
whatever switches, I receive this at the top of the
read

out, any ideas?

pkg_info: show_file: can't open '+COMMENT' for reading
Somewhere under /var/db/pkg you have a +COMMENT file
which isn't
readable by your UID.  That's not correct -- all of the
files under
/var/db/pkg should be readable by all.  That is mode 644
for general
files or mode 755 for directories and executables.  All
should be
owned by root:wheel as well.  Except for +MTREE_DIRS
files which seem
to be mode 444 for some odd reason.
Try this (as root):

   # cd /var/db/pkg
   # chown -R root:wheel .
   # chmod -R a+rX,go-w .
   # chmod 444 */+MTREE_DIRS
	Cheers,

	Matthew

--
Dr Matthew J Seaman MA, D.Phil.   26
The Paddocks
  Savill

Way
PGP: http://www.infracaninophile.co.uk/pgpkey
   Marlow
Tel: +44 1628 476614
Bucks., SL7 1TH UK


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Can you do it as user root? If not you might have a corrupt file or 
several corrupt files. Can you edit any of them and save them?

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


Re: PASSWD file hosed...

2003-10-04 Thread Mikko Työläjärvi
On Sat, 4 Oct 2003, Eric F Crist wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hello,

 I'm sure you're all getting sick of my being so vocal, but here goes anyway.

 I was messing around as root in KDE and found the KUser application.  I tried
 adding a user (my girlfriend), and when done, nobody could log in.  I managed

Mmm... GUIs.

 to boot into single user, which logged me in a toor.  I had to mount the file
 systems r/w and finally got my username's password reset, after finding a
 bunch of format errors in the /etc/master.passwd file.  My problem is that
 the was no root user listed, just toor and all the others.  How can I change

If your machine has been up and running for a while, you will have
backup files in /var/backup.  Have a look at /var/backups/master.passwd.bak.
If it looks contains everything you want, copy it to /etc/master.passwd.
Otherwise just edit /etc/master.passwd and add the root entry. The
default one without password looks like:

 root::0:0::0:0:Charlie :/root:/bin/csh

Then run pwd_mkdb -p /etc/master.passwd and you're back in business.

 this?  Also, I've set the console as insecure, so it's going to ask me for a
 root password.

This is controlled in the file /etc/ttys.

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


Re: pkg_info +COMMENTS problem

2003-10-04 Thread Matthew Seaman
On Sat, Oct 04, 2003 at 12:00:55PM -0400, [EMAIL PROTECTED] wrote:
 Gave that a shot, but still seeing the same problem
 any other tips?

Perhaps the problem is that one or more of the pkg's doesn't have a
+COMMENT file at all.  Try this:

# cd /var/db/pkg
# find . -type d -mindepth 1 -print | sed -e 's,$,/+COMMENT,' | xargs touch -a

However, if there's a pkg installed on your system without a +COMMENT
file, either you're running a pretty old system, or you've somehow
installed a really old pkg.  You should probably just delete and
re-install any pkgs showing this symptom.

Other than that, you can try running 'pkgdb -Fvu' (from the
portupgrade(1) port) which should go a long way towards fixing any
prolems in the package DB.  If that fails, then it's a case of manual
inspection of the whole /var/db/pkg tree to see if you can spot what
is out of place.

Cheers,

Matthew 

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


pgp0.pgp
Description: PGP signature


Re: PASSWD file hosed...

2003-10-04 Thread Eric F Crist
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 04 October 2003 11:27 am, Mikko Työläjärvi wrote:
 On Sat, 4 Oct 2003, Eric F Crist wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Hello,
 
  I'm sure you're all getting sick of my being so vocal, but here goes
  anyway.
 
  I was messing around as root in KDE and found the KUser application.  I
  tried adding a user (my girlfriend), and when done, nobody could log in. 
  I managed

 Mmm... GUIs.

  to boot into single user, which logged me in a toor.  I had to mount the
  file systems r/w and finally got my username's password reset, after
  finding a bunch of format errors in the /etc/master.passwd file.  My
  problem is that the was no root user listed, just toor and all the
  others.  How can I change

 If your machine has been up and running for a while, you will have
 backup files in /var/backup.  Have a look at
 /var/backups/master.passwd.bak. If it looks contains everything you want,
 copy it to /etc/master.passwd. Otherwise just edit /etc/master.passwd and
 add the root entry. The default one without password looks like:

  root::0:0::0:0:Charlie :/root:/bin/csh

 Then run pwd_mkdb -p /etc/master.passwd and you're back in business.

  this?  Also, I've set the console as insecure, so it's going to ask me
  for a root password.

 This is controlled in the file /etc/ttys.

  $.02,
  /Mikko

Mikko,

Thanks for the reply.  I found what you spoke of as you were probably sending 
this reply.  That's exactly what worked.  However, the /etc/ttys file isn't 
editable if you're not root, so I simply changed my uid to 0 from single user 
to edit these things.  (turns out i didn't set the insecure mode correctly, 
anyways.

Thanks for the help!
- -- 
Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/fvnUWxy3JtXvWloRAqF+AJ9TN5Juqv5jj4hKPx+2P/EdMBmFiwCgs0WJ
PY1xlKG/e0lT3AYiOsXha1s=
=wEoj
-END PGP SIGNATURE-

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


Re: port install to jail root from host system

2003-10-04 Thread Felix 'buebo' Kakrow
Aragon Gouveia wrote:
Hi,

I've compiled a port as normal (apache13 in this case).  I'd like to run
'make install' now and tell it to install the package to the base of the
root filesystem of a jail from the jail's host.  Possibly also to skip
registering it in the host's package database.
Does anyone know an easy way to do this with the ports system?

In this situation I like it to mount the /usr/ports via nullfs in my 
Jail Directory and build the Port directly in the Jail. However you'll 
have to have a more or less complete system (at least gcc + all needet 
build dependencies) in the Jail. As a plus you don't have to worry about 
package registrations and stuff like this, but I'm just another newbie 
so probally somebody will come up with another and better way ;)

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


ELF Interpreter error message

2003-10-04 Thread Michael Dunham
I am running FreeBSD-Current.  I decided to try openoffice 1.1.  I downloaded 
the package and it has installed ok.  I asked on the openoffice list and got 
the user setup command ( openoffice-1.1 ) but when I issue the command as  
a user from the command line, I get the following response:

ELF interpreter /libexec/ld-elf.so.1 not found
Abort trap

This reponse repeats three times.  This seems to be a common problem but I 
don't see a specific fix anywhere.  I have seen that it may require a new 
make to the current cvs.  

Any suggestions of ways to fix this would be greatly appreciated.

Thanks!
-- 
Regards, 
 
MIKE... 
Make your Information your KnowlEDGE 
Michael L. Dunham 
Principal Consultant 
Connecting Teams 
2333 La Lima Way 
Sacramento, CA 95833 
Phone: 707-780-3019 
email: [EMAIL PROTECTED] 
webpage: http://www.connectingteams.com

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


Re: port install to jail root from host system

2003-10-04 Thread Pat Lashley
--On Wednesday, October 01, 2003 15:12:42 +0200 Felix 'buebo' Kakrow 
[EMAIL PROTECTED] wrote:

I've compiled a port as normal (apache13 in this case).  I'd like to run
'make install' now and tell it to install the package to the base of the
root filesystem of a jail from the jail's host.  Possibly also to skip
registering it in the host's package database.
Does anyone know an easy way to do this with the ports system?

In this situation I like it to mount the /usr/ports via nullfs in my Jail
Directory and build the Port directly in the Jail. However you'll have to
have a more or less complete system (at least gcc + all needet build
dependencies) in the Jail. As a plus you don't have to worry about
package registrations and stuff like this, but I'm just another newbie so
probally somebody will come up with another and better way ;)
Another option is to build and package the port(s) outside the jail.
Then nullfs mount /usr/ports in the jail directory and install
the port(s) from the package(s).
The downside of this approach is that the port needs to be installed
on the host system to build the package.  If you have multiple virtual
host jails which are basicly identical in configuration; you might
want to consider setting up one to build the packages in instead of
building them on the host system. (And then install from packages in
the other jails.)


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


Re: Issues mirroring drives with Vinum in FreeBSD 4.8-RELEASE

2003-10-04 Thread aarong
On Saturday, October 4, 2003, at 01:30  AM, Greg 'groggy' Lehey wrote:

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

Computer output unwrapped.
Having seen that message in many of your replies on the lists, I went 
out of my way to make sure Mail.app (the OS X mailer) would send 
messages text/plain and nothing else. Upon further examination of my 
headers it seems it's adding some 'format=flowed' business to the 
Content-Type. I can't find a work around; perhaps a look at Entourage 
is in order.

I'd like to see the complaints.  This is why I ask for the information
in the man page or at http://www.vinumvm.org/vinum/how-to-debug.html.
I completely overlooked that; my apologies, Greg.

This is when booting regularly:

...dmesg...
vinum: reading configuration from /dev/da0s1h
vinum: reading configuration from /dev/da1s1h
vinum: using volume root for root device
Mounting root from ufs:/dev/vinum/root
swapon: adding /dev/vinum/swap as swap device
fstab: /etc/fstab:9: Inappropriate file type or format
Automatic boot in progress...
/dev/vinum/root: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/vinum/root: clean, 45939 free (633 frags, 5595 blocks, 1.0% 
fragmentation)
fstab: /etc/fstab:9: Inappropriate file type or format
fstab: /etc/fstab:9: Inappropriate file type or format
/dev/vinum/var: UNALLOCATED I=44035 OWNER=root MODE=0
/dev/vinum/var: SIZE=0 MTIME=Oct  3 22:54 2003
/dev/vinum/var: NAME=/run/dmesg.boot

/dev/vinum/var: UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY.

Then I'm dropped into single user mode. Line 9 of /etc/fstab is proc, I 
have no idea why its complaining since its valid, and I never changed 
it.

# fsck -n /dev/vinum/var
** /dev/vinum/var (NO WRITE)
** Last Mounted on /var
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? no
SUMMARY INFORMATION BAD
SALVAGE? no
ALLOCATED FRAG 1277319 MARKED FREE
BLK(S) MISSING IN BIT MAPS
SALVAGE? no
ALLOCATED FRAG 1368488 MARKED FREE
...same message until 1368493...
74 files, 146 used, 2015829 free (141 frags, 251961 blocks, 0.0% 
fragmentation)

fsck'ing the rest of the volumes produces more of the same; one notable 
difference is root has a reference count error in addition to missing 
bit maps, bad summary information, and incorrect number of block counts 
in the superblock. The usr volume seems to be fine according to fsck, 
however. vinum list correctly notes both drives are up, four volumes 
have two plexes, the 8 plexes are up and sized, and the subdisks are 
up. fsck -n /dev/vinum/var before mirroring produced no complaints, 
otherwise I'd conclude that I just mirrored a corrupt plex but that 
doesn't seem to be the case.

The last lines in /var/log/vinum_messages are *** vinum started *** and 
list shortly there after. /var/log/messages reads exactly like dmesg, 
only with time stamps. Nothing useful pertaining to Vinum in either 
file.

Regards,
-aarong
Send the information I ask for and I might find it.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original 
recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.
NOTE: Due to the currently active Microsoft-based worms, I am limiting
all incoming mail to 131,072 bytes.  This is enough for normal mail,
but not for large attachments.  Please send these as URLs.
mime-attachment
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: small problem

2003-10-04 Thread Shantanoo Mahajan
+-- Abhijeet [freebsd] [03-10-03 19:42 IST]:
| hi all,
| i want to make a duplicate copy of a server hard disk  so that i get a 
| reserver hdd with all settings if my present hdd fails. please tell me a 
| way so that i can do this job very fast. i won't linke to make 
| reinstall . please help me fast.
| 
| 
| i have not tried using dd , will it work
yes.
also search for ghost for unix on google.
the first link may help you.
| 
| abhijeet sane
| [EMAIL PROTECTED]
| 
| 
| 
| 
| --

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


Errors when trying to run Portupgrade

2003-10-04 Thread Doug Lee
I was getting errors finding files in site-ruby when attempting to run
Portupgrade, so I figured my Portupgrade installation might be messed
up.  I did make deinstall for Portupgrade and pkg_deleted portupgrade*
and ruby* (I haven't used ruby for anything else yet).  I even did
make clean in a place or two and, since pkg_delete failed to do
this, rm'd -r /usr/local/lib/ruby and /usr/local/share/doc/ruby.

I then reinstalled Portupgrade, which appeared to reinstall Ruby also.
Now, running portupgrade gets me a different error:

** Error occured reading /usr/local/etc/pkgtools.conf:
undefined method `+' for nil

I note a lot of differences between /usr/local/etc/pkgtools.conf and
/usr/local/etc/pkgtools.conf.sample.

I welcome suggestions on how to get this working, including RTFM-type
pointers to effective sources of documentation.

Please Cc responses to me.

Thanks much.

-- 
Doug Lee   [EMAIL PROTECTED]http://www.dlee.org
Bartimaeus Group   [EMAIL PROTECTED]   http://www.bartsite.com
The most exciting phrase to hear in science, the one that heralds
new discoveries, is not 'Eureka!' ('I found it!') but rather 'hmm
that's funny...'  --   Isaac Asimov
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel

2003-10-04 Thread Daniel Hawton
cd /usr/src/sys/i386/conf
(editor cmd here) (kernel conf)
config (kernel conf)
cd /usr/src
make buildkernel KERNCONF=(kernel conf)
make installkernel KERNCONF=(kernel conf)
Also, read /usr/src/UPDATING
and check out the hand book too.
Vladimir wrote:
Hello, freebsd-questions.

 I use FreeBSD 5.1 and fist problem to me it how to build kernel. I
 know how to do it, but i have some problems when try to make config
 file for kernel (LINT and GENERIC). Can some one help me? I can say
 my hardware configuration and dmesg output after GENERIC kernel.
 PS: Sorry for my English. :-)

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


Re: pkg_info +COMMENTS problem

2003-10-04 Thread srenna
Yea,

pkgdb worked like a charm.  i had been using the -fu option
in a more conservative manner, but now it looks like it's
all set.  Thanks alot


On Sat, 4 Oct 2003 17:40:24 +0100
 Matthew Seaman [EMAIL PROTECTED] wrote:
 On Sat, Oct 04, 2003 at 12:00:55PM -0400,
 [EMAIL PROTECTED] wrote:
  Gave that a shot, but still seeing the same problem
  any other tips?
 
 Perhaps the problem is that one or more of the pkg's
 doesn't have a
 +COMMENT file at all.  Try this:
 
 # cd /var/db/pkg
 # find . -type d -mindepth 1 -print | sed -e
 's,$,/+COMMENT,' | xargs touch -a
 
 However, if there's a pkg installed on your system
 without a +COMMENT
 file, either you're running a pretty old system, or
 you've somehow
 installed a really old pkg.  You should probably just
 delete and
 re-install any pkgs showing this symptom.
 
 Other than that, you can try running 'pkgdb -Fvu' (from
 the
 portupgrade(1) port) which should go a long way towards
 fixing any
 prolems in the package DB.  If that fails, then it's a
 case of manual
 inspection of the whole /var/db/pkg tree to see if you
 can spot what
 is out of place.
 
   Cheers,
 
   Matthew 
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.   26
 The Paddocks

  Savill
 Way
 PGP: http://www.infracaninophile.co.uk/pgpkey
 Marlow
 Tel: +44 1628 476614
  Bucks., SL7 1TH UK

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


Re: Which packages are in ``version-disc1.iso'' ?

2003-10-04 Thread Lowell Gilbert
Bogdan Hojda [EMAIL PROTECTED] writes:

 How can I find out which packages and/or ports are included in
 4.9-RC1-i386-disc1.iso (or otherVersion-disc1.iso) without downloading
 and burning on CD that ISO image?
 
 The 2.13.1st Paragraph of the Handbook says that version-disc1.iso
 contains ``everything you need to install FreeBSD, and as many
 additional third party packages as would fit on the disc'', but I
 couldn't find anywhere which are those packages and/or ports.

If the download size is an issue, then just do the basic over-the-net
install, and download your packages later...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with libtcl8.3 on FBSD 5.1

2003-10-04 Thread Lowell Gilbert
soneill [EMAIL PROTECTED] writes:

 I've recently installed FreeBSD 5.1 on my Athlon-based machine, and most
 everything seems to be working ok. However, I have a problem trying to run
 any s/w that uses the Tcl library libtcl8.3.so.1. Whenver I run such a
 program, including wish8.3, tkdesk, tkman and others, I get the following
 error message:
 
 /usr/libexec/ld-elf.so.1: /usr/local/lib/libtcl83.so.1: Undefined \
 symbol __xuname
 
 I have no idea why I would have such an undefined symbol in an officially
 ported FBSD package. Can anyone give me some insight into this problem, and
 a possible solution? TIA for any help you can give me.

Best guess would be that you installed from packages rather than
ports, and the packages were in some way mismatched.  Installing
software from ports avoids this risk, but with packages you should be
able to get them all from one place and have it work.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upgrading sendmail-8.12.10 from /usr/ports

2003-10-04 Thread Lowell Gilbert
Noah [EMAIL PROTECTED] writes:

 okay I jsut installed sendmail-8.12.10 from /usr/ports the other day.  and I
 try to start version 8.12.10 but 8.12.9 still gets executed.   this is really
 strange?

Did you adjust mailer.conf(5)?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Permissions Problem on /dev/lpt0

2003-10-04 Thread Ekrem
Hello All,

I'm trying to set up printing on my FreeBSD 5.1-Release using LPRng
but having problems. Hoping someone can help out here.

When I do a
$ checkpc -f, I get:
Warning - lp: cannot open lp device '/dev/lpt0' - Permission denied


The lpd is being run by user 'daemon' while ls -l /dev/lpt0 returns:
crw---  1 root  wheel   16,   0 Oct  4 10:33 /dev/lpt0

I had done chmod 777 /dev/lpt0, at one time, also did
chown daemon:daemon /dev/lpt0, in both cases I was able to print OK.

BUTTT, whenever I reboot FreeBSD, the permissions for /dev/lpt0 are
reset back to the original 'crw---  1 root  wheel'.

I did some googling around but can't seem to find others with the same
problem. Can anyone help please?

Thanks

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


Canon PowerShot A10 digital cam and FreeBSD 5.1

2003-10-04 Thread Brian Bobowski
Okay, I have the abovementioned camera, which the Digikam port supports 
through libgphoto2(that very camera is mentioned). When I plug the cam in, 
turn it on, and set it to Playback mode, I get a kernel message acknowledging 
its presence, complete with model info, on ugen2.

However, no matter how much I try to fiddle with permissions on that 
device(while making sure the camera doesn't turn off), I can't get any 
software to connect to it.

I've had a similar problem with my scanner, and I noticed that xsane states 
NOT to have the kernel drivers loaded. However, the kernel driver for ugen is 
compiled into the GENERIC kernel.

Before I recompile the source tree and kernel, is it at all possible that 
keeping that driver out of the kernel(and just using kldload if I should need 
it) would allow sane and libgphoto2 to work properly? This would be my first 
time rebuilding the kernel, and I'm also trying to convince FreeBSD to work 
with my Mitsumi ATAPI CD-R without much success, so I'm rather hesitant about 
all this - though the source tree and kernel both compiled okay, I haven't 
yet installed them.

-BB

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


Re: Issues mirroring drives with Vinum in FreeBSD 4.8-RELEASE

2003-10-04 Thread Dan Nelson
In the last episode (Oct 04), aarong said:
 On Saturday, October 4, 2003, at 01:30  AM, Greg 'groggy' Lehey wrote:
 [Format recovered--see http://www.lemis.com/email/email-format.html]
 
 Computer output unwrapped.
 
 Having seen that message in many of your replies on the lists, I went
 out of my way to make sure Mail.app (the OS X mailer) would send
 messages text/plain and nothing else. Upon further examination of my
 headers it seems it's adding some 'format=flowed' business to the
 Content-Type. I can't find a work around; perhaps a look at Entourage
 is in order.

This is probably a bug in Mail.app.  It should allow the user to
specify which lines to wrap.  The format=flowed spec allows for mixed
wrapped and unwrapped text, but apparently few wsywig editors add the
user-interface for it.

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


Re: Which packages are in ``version-disc1.iso'' ?

2003-10-04 Thread Kris Kennaway
On Sat, Oct 04, 2003 at 11:36:46AM +0100, Bogdan Hojda wrote:
 Hello,
 
 How can I find out which packages and/or ports are included in
 4.9-RC1-i386-disc1.iso (or otherVersion-disc1.iso) without downloading
 and burning on CD that ISO image?
 
 The 2.13.1st Paragraph of the Handbook says that version-disc1.iso
 contains ``everything you need to install FreeBSD, and as many
 additional third party packages as would fit on the disc'', but I
 couldn't find anywhere which are those packages and/or ports.

/usr/src/release/scripts/print-cdrom-packages.sh

Kris


pgp0.pgp
Description: PGP signature


Re: CMedia8738

2003-10-04 Thread Manuel Rabade (MiG)
On Sat, Oct 04, 2003 at 01:05:33AM +0200, Gabriel Striewe wrote:
 On my Athlon 2000XP+ under FreeBSD 5.1 I have installed a Trust Soundcard 511 5.1 
 Sound Expert Digital. I compiled a new kernel with device pcm. After typing grep 
 pcm /var/run/dmesg.boot I get: 
 
 pcm0: CMedia CMI8738 port 0xe400-0xef44 irq 5 at device 7.0 on pci0


It's done !, the sbc0 device is because in the example of the handbook they are
installing a SoundBlaster card, and sbc0 is only a bridge betwen the card and
the pcm driver, and it seems that your card don't need any bridge betwen it and
pcm. 
 
 but as in the FreeBSD handbook, I should get something like on sbc0 at the end, 
 which is not the case here.
 
 Has anybody yet made this chipset (CMedia8738) running under FreeBSD 5.1
 
 Thanks for any hints
 
 Gabriel
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sound not working.

2003-10-04 Thread Manuel Rabade (MiG)
On Fri, Oct 03, 2003 at 09:26:44PM -0500, Bingrui Foo wrote:
 Hi all,
 
 I read the FreeBSD handbook and installed new kernel with 'device pcm'.
 Also used 'cd /dev; sh MAKEDEV snd0'.
 
 dmesg | grep pcm returns:
 pcm0: CMedia CMI8738 port 0xa400-0xa4ff irq 10 at device 5.0 on pci0
 pcm1: Creative EMU10K1 at device 9.0 on pci0
 pcm1: unable to map register space
 device_probe_and_attach: pcm1 attach returned 6


You have two sound cards a CMEDIA that is pcm0 and a Creative that is pcm1, by
default all the programs send the audio to /dev/dsp who is a symbolic link to
/dev/dsp0, the 'Digitized voice device' of pcm0.
 
 I used xmms to play a .wav and mplayer to play a .avi. No sound was
 produced by sound card, but mplayer has video output.


Chech xmms configuration and mplayer command line options to tell them to send
the sound to /dev/dsp1 or the device that you wana use, maybe pcm1 isn't working
because of that error, but i don't know about that.

Also by default the devices for pcm1 are not in /dev, go to /dev and do a 'sh
MAKEDEV snd1' and check where the symbolic link /dev/dsp is pointing.
 
 Wondering what the problem could be. Thanks.
 
 Foo
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: formatting hardrive

2003-10-04 Thread Manuel Rabade (MiG)
Sysintsall should work fine .. cand you send the output of 'fdisk /dev/ad2' and
'bsdlabel /dev/ad2'.

On Sat, Oct 04, 2003 at 02:27:56PM +0200, Antoine Jacoutot wrote:
 Hi !
 
 Ok, I'm at a point where I'm ready to cry :(
 Is there ANY easy way to partition/slice a hardrive for FreeBSD ?
 I spent all morning playing with bsdlabel, sysinstall... I just want to 
 partition a second hardrive so I could dump/restore the content of my first 
 drive.
 So, I tried sysinstall post-install tools to create the slices and all, but 
 all I get are errors like can't write to ad2, or can't mount /dev/ad2s1a 
 on /mnt 
 Basically what I want is:
 ad2s1a -- /mnt
 ad2s1b -- SWAP
 ad2s1d -- /mnt/tmp
 ad2s1e -- /mnt/var
 ad2s1f -- /mnt/usr
 
 So, all I have to do after is dump / -- /mnt, /tmp -- /mnt/tmp ... and so 
 on.
 I sware I tried all morning without any kind of success :(
 
 I would really appreciate some help.
 
 Thanks in advance.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bridging multiple interfaces

2003-10-04 Thread Manuel Rabade (MiG)
You want to use the NAT of your ASDL router or that pc1 do the nat for xl0
and wi0 ?

If you want that pc1 do the NAT, you don't have to bridge xl0 and xl1, you only
have to bridge wi0 and xl1 and do nat betwen them and xl1.

On Sat, Oct 04, 2003 at 07:06:31PM +0300, Mike Jackson wrote:
 Hi,
  I would like to ask for some advice on configuring my home network,
 with a FreeBSD 5.1 being the main player. In a nutshell, I want to route
 wired and wireless traffic through my FBSD box, do some ipfw, perhaps
 IPSec, and some bandwidth shaping, and finally send the traffic out to
 the internet.
 
  I have an ADSL router/switch with a public IP, running NATD.
 
  I have a 5.1 box with three interfaces:
 
  - Netgear MA301  (wi0)
  - 3Com 905b  (xl0)
  - 3Com 905b  (xl1)
 
  wi0 is bridged to xl1, so that wireless boxes can connect to the
 internet. xl0 is plugged into a 5-port switch, and is turned down. 
 
  The current configuration is:
 
  - pc1 (5.1 box) is plugged into the ADSL switch
  - pc2 (linux box) is plugged into the ADSL switch
  - pc3 (win2k laptop) is using pc1 (wi0) as it's wireless access point
 
  
  The desired configuration is:
 
  - pc1 (xl1) is plugged into the ADSL switch
  - pc1 (xl0) is plugged into the 5-port switch
  - pc2 is plugged into the 5-port switch
  - pc3 is using pc1 (wi0) as it's wireless access point
  - pc1 is serving DHCP in xl0 and wi0
  - all machines plugged into the 5-port switch can access internet
  - all machines using pc1 (wi0) as wireless access point can access
internet
  - pc1 (wi0) is only accessible via IPSec 
  - pc1 (wi0 and xl0) or xl1 doing bandwidth shaping
   - preferable to be able to limit bandwidth per workstation
 
 
  I tried to bridge both xl0 and wi0 to xl1, but the network just stopped
 completely and I had to reboot the machine. And I'm not even sure if
 this is the correct or best approach. Any suggestions?
 
 Thanks!
 --
 mike
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Anyone using Linux-PAM on 5.x?

2003-10-04 Thread Joe Lewis
Question for you guru's;

I've been trying to install a PAM module on my FreeBSD 5.1 system. 
Unfortunately, someone thought they were bright and included OpenPAM, 
which would be fine and dandy except for it is installed by default as 
static.  This means I PAM is now AM, because nothing is pluggable.  And 
the documentation on getting a 3rd party module to work is like slitting 
your wrists and doing pushups in salt water.

My request is this... I'd like to know if someone has ported Linux-PAM 
(the same code from the old 4.x BSD) to the new 5.x OS.  If so, do you 
have a copy of the ported code?  If not, where do I post a copy of the 
stuff I am going to have to port so others can use it?

Please respond privately, as I am not a member of the list.
Joe
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port install to jail root from host system

2003-10-04 Thread Aragon Gouveia
| By Pat Lashley [EMAIL PROTECTED]
|  [ 2003-10-04 19:31 +0200 ]
 Another option is to build and package the port(s) outside the jail.
 Then nullfs mount /usr/ports in the jail directory and install
 the port(s) from the package(s).
 
 The downside of this approach is that the port needs to be installed
 on the host system to build the package.  If you have multiple virtual
 host jails which are basicly identical in configuration; you might
 want to consider setting up one to build the packages in instead of
 building them on the host system. (And then install from packages in
 the other jails.)

Thanks.  I did basically that, using the -p argument to pkg_add once the
package was built.


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


Re: Anyone using Linux-PAM on 5.x?

2003-10-04 Thread Kris Kennaway
On Sat, Oct 04, 2003 at 02:12:53PM -0600, Joe Lewis wrote:
 Question for you guru's;
 
 I've been trying to install a PAM module on my FreeBSD 5.1 system. 
 Unfortunately, someone thought they were bright and included OpenPAM, 
 which would be fine and dandy except for it is installed by default as 
 static.  This means I PAM is now AM, because nothing is pluggable.  And 
 the documentation on getting a 3rd party module to work is like slitting 
 your wrists and doing pushups in salt water.

Well, gee, I feel motivated to help you.  You've made a number of
incorrect assertions, and insulted the developers to boot.  Good luck
figuring out your own problems.

Kris


pgp0.pgp
Description: PGP signature


Re: Problem with libtcl8.3 on FBSD 5.1

2003-10-04 Thread soneill
On 4 Oct 2003, Lowell Gilbert wrote:

 soneill [EMAIL PROTECTED] writes:
 
  I've recently installed FreeBSD 5.1 on my Athlon-based machine, and most
  everything seems to be working ok. However, I have a problem trying to run
  any s/w that uses the Tcl library libtcl8.3.so.1. Whenver I run such a
  program, including wish8.3, tkdesk, tkman and others, I get the following
  error message:
  
  /usr/libexec/ld-elf.so.1: /usr/local/lib/libtcl83.so.1: Undefined \
  symbol __xuname
  
  I have no idea why I would have such an undefined symbol in an officially
  ported FBSD package. Can anyone give me some insight into this problem, and
  a possible solution? TIA for any help you can give me.
 
 Best guess would be that you installed from packages rather than
 ports, and the packages were in some way mismatched.  Installing
 software from ports avoids this risk, but with packages you should be
 able to get them all from one place and have it work.
 

I thought that might be the problem, too, so I uninstalled the package, then
built the port of tcl8.3. It didn't make any difference; the libtcl8.3
library still had the undefined symbol. 

There's something odder happening here; a check inside the libraries for
tcl8.0, 8.2, and 8.4 all show that __xuname is a symbol in all of them.
Since it doesn't seem to be defined anywhere, I'm stumped as to how to
proceed to get around this problem. Is anyone else having this problem
running tcl/tk programs of _any_ recent vintage?

Steve O'Neill


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


Re: BSD Question

2003-10-04 Thread Jud
On Sat, 04 Oct 2003 04:27:29 -0500, David Witt [EMAIL PROTECTED]  
wrote:

I'm a Unix newbie who just installed BSD 5.1.  I made it through the  
installation without too much of a hassel and I went ahead and added  
XFree86 in the installation, along with the BSD Boot Manager since I'm  
dual booting with Windows.  I have a 40 gig HD for Windows then I have 2  
separate 120 gig HD raided in 0 config for BSD.  The boot manager is  
installed with the rest of BSD on the raid but when it loads and I go to  
pick, both options boot to BSD.  F1 is labeled FreeBSD and F5 is labeled  
Drive 1, which I was under the illusion should be windows but it turns  
out its not.
[snip]

The FBSD bootloader should be installed on both BIOS drives, IOW on both  
the RAID and the Windows disk.

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


Re: formatting hardrive

2003-10-04 Thread Jerry McAllister
 
 Hi !
 
 Ok, I'm at a point where I'm ready to cry :(
 Is there ANY easy way to partition/slice a hardrive for FreeBSD ?
 I spent all morning playing with bsdlabel, sysinstall... I just want to 
 partition a second hardrive so I could dump/restore the content of my first 
 drive.
 So, I tried sysinstall post-install tools to create the slices and all, but 
 all I get are errors like can't write to ad2, or can't mount /dev/ad2s1a 
 on /mnt 
 Basically what I want is:
 ad2s1a -- /mnt
 ad2s1b -- SWAP
 ad2s1d -- /mnt/tmp
 ad2s1e -- /mnt/var
 ad2s1f -- /mnt/usr
 
 So, all I have to do after is dump / -- /mnt, /tmp -- /mnt/tmp ... and so 
 on.
 I sware I tried all morning without any kind of success :(
 
 I would really appreciate some help.

Well, although /stand/sysinstall would do it OK, it might be just
as easy to use fdisk and disklabel directly.   I don't know anything
about 'bsdlabel'.

So, presuming your extra disk is really /dev/ad2 (are there ad0 and ad1?)
do the following.

   fdisk -BI ad2  (makes one big slice on the disk)

   disklabel -w -r da0s1 auto   (writes an initial label for slice 1)

   disklabel -r -e da0s1(now edit the label to make the partitions)
   this will bring up the label for slice1 in an editor - vi unless
   you specify another one.Edit the partition table as needed.
   Make it something like this only with the sizes you need.
   You didn't mention sizes so this example is for a nominal 18GB drive
   with 512 MB for a: /mnt,  
1GB for b: swap, 
512 MB for e: /mnt/tmp,
1 GB for f: /mnt/var 
and all the rest for g: /mnt/usr
   NOTES: - The size is specified in number of 512 byte blocks
  - Recent versions of disklabel (at least since 4.6.2 FreeBSD)
allow you to put a * for offset and it calculates it for you
  - and a * for size in the last partition specified tells it to 
use all rest of the slice for that partition.
   By convention, partition b: is used for swap, c: is a comment used to
   specify the whole slice and d: is not used for regular file systems.
  
   - Don't change the header stuff, just the partition size stuff.

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  104857604.2BSD 1024  819222   #
  b:  2097152*swap   1024  819222   # 
  c: 355517820unused0 0 #
  e:  1048576*4.2BSD 1024  819222   #
  f:  2097152*swap   1024  819222   # 
  g:**4.2BSD 2048 1638489   #

When you :wq out of the edit session, it will write the label.

Now, you have to newfs each of the partitions except for swap.
Probably just take the defaults for newfs.   
   
   newfs /dev/ad2s1a
   newfs /dev/ad2s1e
   newfs /dev/ad2s1f
   newfs /dev/ad2s1g

Now mount partition a on /mnt so you can make the mount points for
the rest of the partitions.(By the way, I would suggest making
up a different mount point than /mnt because there are some other 
things like to mess with that so you might make up something like /dmp
by doing   mkdir /dmp,  then replace /mnt with /dmp in all these commands)

   mount /dev/ad2s1a /mnt  (or mount /dev/ad2s1a /dmp)
   cd /mnt (or cd /dmp)
   mkdir tmp
   mkdir var
   mkdir usr

Now edit fstab to add the following entries

   # Disk ad2
   /dev/ad2s1a  /mnt ufs rw   2   2
   /dev/ad2s1b  none swaprw   0   0
   /dev/ad2s1e  /mnt/tmp ufs rw   2   2
   /dev/ad2s1f  /mnt/var ufs rw   2   2
   /dev/ad2s1g  /mnt/usr ufs rw   2   2

Alternatatively, if you use /dmp for a mount point it would look like:

   # Disk ad2
   /dev/ad2s1a  /dmp ufs rw   2   2
   /dev/ad2s1b  none swaprw   0   0
   /dev/ad2s1e  /dmp/tmp ufs rw   2   2
   /dev/ad2s1f  /dmp/var ufs rw   2   2
   /dev/ad2s1g  /dmp/usr ufs rw   2   2

Now, just mount everything.   
In the future it will all be mounted at boot time.

   mount -a

And you are done.

By the way.  Don't try to dump to the mounted directory.
 eg DO NOTdump -0f /dmp/var /var
Instead, you must name a file in the directory.
  dump -0f /dmp/var/var.backup /var

Given this, I don't see why you really want to make all those 
partions in the slice.  

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Just make the slice with fdisk as I described and then use disklabel 
to create just one large partition to hold the dump files.   
So, the disklabel partition table would look something like:

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  b:  2097152   

Re: formatting hardrive

2003-10-04 Thread Jerry McAllister
 
  
  Hi !
  
  Ok, I'm at a point where I'm ready to cry :(
  Is there ANY easy way to partition/slice a hardrive for FreeBSD ?
  I spent all morning playing with bsdlabel, sysinstall... I just want to 
  partition a second hardrive so I could dump/restore the content of my first 
  drive.
  So, I tried sysinstall post-install tools to create the slices and all, but 
  all I get are errors like can't write to ad2, or can't mount /dev/ad2s1a 
  on /mnt 
  Basically what I want is:
  ad2s1a -- /mnt
  ad2s1b -- SWAP
  ad2s1d -- /mnt/tmp
  ad2s1e -- /mnt/var
  ad2s1f -- /mnt/usr
  
  So, all I have to do after is dump / -- /mnt, /tmp -- /mnt/tmp ... and so 
  on.
  I sware I tried all morning without any kind of success :(
  
  I would really appreciate some help.
 
 Well, although /stand/sysinstall would do it OK, it might be just
 as easy to use fdisk and disklabel directly.   I don't know anything
 about 'bsdlabel'.
 
 So, presuming your extra disk is really /dev/ad2 (are there ad0 and ad1?)
 do the following.
 
fdisk -BI ad2  (makes one big slice on the disk)
 
disklabel -w -r da0s1 auto   (writes an initial label for slice 1)
 
disklabel -r -e da0s1(now edit the label to make the partitions)
this will bring up the label for slice1 in an editor - vi unless
you specify another one.Edit the partition table as needed.
Make it something like this only with the sizes you need.
You didn't mention sizes so this example is for a nominal 18GB drive
with 512 MB for a: /mnt,  
 1GB for b: swap, 
 512 MB for e: /mnt/tmp,
 1 GB for f: /mnt/var 
 and all the rest for g: /mnt/usr
NOTES: - The size is specified in number of 512 byte blocks
   - Recent versions of disklabel (at least since 4.6.2 FreeBSD)
 allow you to put a * for offset and it calculates it for you
   - and a * for size in the last partition specified tells it to 
 use all rest of the slice for that partition.
By convention, partition b: is used for swap, c: is a comment used to
specify the whole slice and d: is not used for regular file systems.
   
- Don't change the header stuff, just the partition size stuff.
 
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:  104857604.2BSD 1024  819222   #
   b:  2097152*swap   1024  819222   # 
   c: 355517820unused0 0 #
   e:  1048576*4.2BSD 1024  819222   #
   f:  2097152*swap   1024  819222   # 
   g:**4.2BSD 2048 1638489   #
 
 When you :wq out of the edit session, it will write the label.
 
 Now, you have to newfs each of the partitions except for swap.
 Probably just take the defaults for newfs.   

newfs /dev/ad2s1a
newfs /dev/ad2s1e
newfs /dev/ad2s1f
newfs /dev/ad2s1g
 
 Now mount partition a on /mnt so you can make the mount points for
 the rest of the partitions.(By the way, I would suggest making
 up a different mount point than /mnt because there are some other 
 things like to mess with that so you might make up something like /dmp
 by doing   mkdir /dmp,  then replace /mnt with /dmp in all these commands)
 
mount /dev/ad2s1a /mnt  (or mount /dev/ad2s1a /dmp)
cd /mnt (or cd /dmp)
mkdir tmp
mkdir var
mkdir usr
 
 Now edit fstab to add the following entries
 
# Disk ad2
/dev/ad2s1a  /mnt ufs rw   2   2
/dev/ad2s1b  none swaprw   0   0
/dev/ad2s1e  /mnt/tmp ufs rw   2   2
/dev/ad2s1f  /mnt/var ufs rw   2   2
/dev/ad2s1g  /mnt/usr ufs rw   2   2
 
 Alternatatively, if you use /dmp for a mount point it would look like:
 
# Disk ad2
/dev/ad2s1a  /dmp ufs rw   2   2
/dev/ad2s1b  none swaprw   0   0
/dev/ad2s1e  /dmp/tmp ufs rw   2   2
/dev/ad2s1f  /dmp/var ufs rw   2   2
/dev/ad2s1g  /dmp/usr ufs rw   2   2
 
 Now, just mount everything.   
 In the future it will all be mounted at boot time.
 
mount -a
 
 And you are done.
 
 By the way.  Don't try to dump to the mounted directory.
  eg DO NOTdump -0f /dmp/var /var
 Instead, you must name a file in the directory.
   dump -0f /dmp/var/var.backup /var
 
 Given this, I don't see why you really want to make all those 
 partions in the slice.  
 
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
 Just make the slice with fdisk as I described and then use disklabel 
 to create just one large partition to hold the dump files.   
 So, the disklabel 

Re: Anyone using Linux-PAM on 5.x?

2003-10-04 Thread Dan Nelson
In the last episode (Oct 04), Joe Lewis said:
 I've been trying to install a PAM module on my FreeBSD 5.1 system. 
 Unfortunately, someone thought they were bright and included OpenPAM,
 which would be fine and dandy except for it is installed by default
 as static.  This means I PAM is now AM, because nothing is pluggable. 
 And

Huh?  So all the /usr/lib/libpam_*.so files are just there for show?

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


Re: FW: Too much swap space...best way to take some of it away

2003-10-04 Thread Greg 'groggy' Lehey
On Saturday,  4 October 2003 at  0:14:03 -0400, Keith Baumgart wrote:

 Ok, I'm not totally a newbie but, I'm definitely no expert in FBSD. When I
 was doing my original install, it was on a p100 w/ 32 megs of ram, so I gave
 myself a 1 gig swap partition to help alleviate some of the server load.
 Now, I have moved this install to a AMD K6/2 500MHz with 512 megs of RAM, so
 I really don't need a 1 gig swap partition on only a 3 gig hard
 drive.

It's been a while since I've seen a machine with only 6 times as much
disk as main memory.

 What is the best way to repartition this disk without having to
 reinstall?  Here is my current disk structure:

 Filesystem1K-blocks   UsedAvail   Capacity
 Mounted on
 /dev/ad0s1a   253678  54430   178954  23% /
 Devfs 1   1   0   100%/dev
 /dev/ad0s1e   253678  26  233358  0%  /tmp
 /dev/ad0s1f   1284302 688048  493510  58% /usr
 /dev/ad0s1d   253678  31542   201842  14% /var

That's your file system structure, not your disk structure.  The
output of disklabel would be better.

Given the size of the disk, I wouldn't put so many file systems on
it.  One option would be to back up the entire system, then boot into
single-user mode and repartition the rest.  Make sure you have at
least 513 MB of swap, so that you can dump the system if something
goes wrong.  Use the rest for the /usr file system, and make /var a
symlink to /usr/var.

If space is really tight, you could also consider smaller file system
blocks, but I wouldn't recommend it.

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


pgp0.pgp
Description: PGP signature


Re: bridging multiple interfaces

2003-10-04 Thread Mike Jackson
ext Manuel Rabade (MiG) ([EMAIL PROTECTED]) wrote:
 You want to use the NAT of your ASDL router or that pc1 do the nat for xl0
 and wi0 ?

I'm using the NAT on the ADSL router, because that's the only public IP
that I have.

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


Mail format problems (was: Issues mirroring drives with Vinum in FreeBSD 4.8-RELEASE)

2003-10-04 Thread Greg 'groggy' Lehey
On Saturday,  4 October 2003 at 10:36:15 -0700, aarong wrote:

 On Saturday, October 4, 2003, at 01:30  AM, Greg 'groggy' Lehey wrote:

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

 Computer output unwrapped.

 Having seen that message in many of your replies on the lists, I went
 out of my way to make sure Mail.app (the OS X mailer) would send
 messages text/plain and nothing else. Upon further examination of my
 headers it seems it's adding some 'format=flowed' business to the
 Content-Type. I can't find a work around; perhaps a look at Entourage
 is in order.

The format=flowed is benign.  It just tells the receiving MUA to wrap
text where appropriate.  The text line lengths are already correct.
The problem is that computer output *shouldn't* be wrapped, and that's
what your MUA is doing.  It may be a limitation of an MUA which
insists on reformatting for you.  If you find a way of fixing it,
please let me know and I'll add it to my pages at
http://www.lemis.com/email/email-format.html.

I'll answer the technical question separately.

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


pgp0.pgp
Description: PGP signature


Re: Anyone using Linux-PAM on 5.x?

2003-10-04 Thread Mikko Työläjärvi
On Sat, 4 Oct 2003, Joe Lewis wrote:

 Question for you guru's;

 I've been trying to install a PAM module on my FreeBSD 5.1 system.
 Unfortunately, someone thought they were bright and included OpenPAM,
 which would be fine and dandy except for it is installed by default as
 static.  This means I PAM is now AM, because nothing is pluggable.  And
 the documentation on getting a 3rd party module to work is like slitting
 your wrists and doing pushups in salt water.

Having had some experience writing pam modules on a number of
platforms, I whipped out my suite of pam test modules to have a look
at this incredbible breakage you speak of.  I mean, there is a
specification for pam after all.

Hmmm... odd; the modules all build and work just fine, modulo some
minor tweaks mostly related to gcc 3.x, even though I have never built
them on FreeBSD 5 before.  Definitely no worse than when porting to
certain commercial platforms.

 My request is this... I'd like to know if someone has ported Linux-PAM
 (the same code from the old 4.x BSD) to the new 5.x OS.  If so, do you
 have a copy of the ported code?  If not, where do I post a copy of the
 stuff I am going to have to port so others can use it?

Whatever difficulties you are experiencing, I'd say the reason is not
specifically related to openpam or FreeBSD 5.  Maybe if you post some
details, such as source and error messages, someone will be able to
help you.

  Regards,
  /Mikko

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


Re: Mail format problems

2003-10-04 Thread Siegbert Baude
Greg 'groggy' Lehey wrote:

 The format=flowed is benign.  It just tells the receiving MUA to wrap
 text where appropriate.  The text line lengths are already correct.
 The problem is that computer output *shouldn't* be wrapped, and that's
 what your MUA is doing.
 http://www.lemis.com/email/email-format.html.

I couldn't find any information on this page about the computer output 
topic. Is there a better method within Mozilla/Thunderbird than 
specifying a line length long enough for the computer output and then 
manually breaking the normal text lines?

How about other mailers? Which one would allow a better method? And how?

Maybe you could add a few words on your page, Greg?

Ciao
Siegbert
P.S.: Nice collection of bassoons, Greg. :-)

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


qmail: mbox to maildir preserving time stamps.

2003-10-04 Thread Micheas Herman
Hi,

I have about 100 mboxes that I need to convert in to maildirs.
I REALLY want the timestamp of the files in the maildir to match the
timestamps inside the emails.

Does anyone have a suggestion?


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


Re: samba 3.0, FreeBSD 5.1

2003-10-04 Thread Micheas Herman
On Thu, 2003-10-02 at 11:06, Mike Maltese wrote:
  It's in
  /usr/ports/net/samba-devel/
 
 Yes, but the port hasn't been updated to the release version. You'll have to
 modify the Makefile to fetch the current release. I've done it and it does
 build, however I haven't installed it.

Here are my changes. Does anyone have any suggestions?


Micheas
-- 
Micheas Herman [EMAIL PROTECTED]
Index: Makefile
===
RCS file: /home/ncvs/ports/net/samba-devel/Makefile,v
retrieving revision 1.95
diff -r1.95 Makefile
9c9
 PORTVERSION=	3.0.0.b3
---
 PORTVERSION=	3.0.0
12,14c12,13
 MASTER_SITES=	http://us4.samba.org/samba/ftp/%SUBDIR%/archives/
 MASTER_SITE_SUBDIR=	beta alpha old
 DISTNAME=	${PORTNAME}-${PORTVERSION:S/.b/beta/}
---
 MASTER_SITES=	http://us4.samba.org/samba/ftp/
 DISTNAME=	${PORTNAME}-${PORTVERSION}
Index: distinfo
===
RCS file: /home/ncvs/ports/net/samba-devel/distinfo,v
retrieving revision 1.47
diff -r1.47 distinfo
1c1,2
 MD5 (samba-3.0.0beta3.tar.bz2) = a5455bfd675a3e6a75dfed468ae22305
---
 MD5 (samba-3.0.0.tar.bz2) = f54ba49f9a5ef6090272acf8db2e066d
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


low-scale presenter for FreeBSD?

2003-10-04 Thread Gabriel Striewe
Hello!

Can anybody recommend a low-scale presentation programm in OpenOfficeImpress or 
PowerPoint style, but which does not use as much resources.

Thanks for any hints

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


Re: qmail: mbox to maildir preserving time stamps.

2003-10-04 Thread Micheas Herman
On Sat, 2003-10-04 at 17:13, Gary wrote:
 Hello Micheas,
 
 On Saturday, October 4, 2003, 12:54:13 AM, you hammered out:
 
 M I have about 100 mboxes that I need to convert in to maildirs.
 M I REALLY want the timestamp of the files in the maildir to match the
 M timestamps inside the emails.
 
 M Does anyone have a suggestion?
 
 There are several converters on www.qmail.org  specifically here
 
  http://qmail.cdsinet.net/top.html#maildir
 
  I don't know if they keep the same timestamps, but I don't see why not.
  You can always make a test of one.

I found one that works. mb2md  The others I tried don't backdate
the timestamp of the files they are creating.
mb2md is not perfect. it sets the date to when the files was
sent not the time form the last mailserver, but it is better
than 40,000 messages with the approximately the same time.


Micheas

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


Re: low-scale presenter for FreeBSD?

2003-10-04 Thread Rus Foster
On Sun, 5 Oct 2003, Gabriel Striewe wrote:

 Hello!

 Can anybody recommend a low-scale presentation programm in
 OpenOfficeImpress or PowerPoint style, but which does not use as much
 resources.

How about saving it as HTML then using netscape?

Rus
-- 
w: http://www.jvps.com  | Virtual Dedicated Servers from $15/mo
e: [EMAIL PROTECTED]| Dontations made to Debian, FreeBSD
t: +44 7919 373537  | and Slackware
t: 1-888-327-6330   | email: [EMAIL PROTECTED]


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


Re: qmail: mbox to maildir preserving time stamps.

2003-10-04 Thread Gary gv-list-freebsdquestions
Hello Micheas,

On Saturday, October 4, 2003, 12:54:13 AM, you hammered out:

M I have about 100 mboxes that I need to convert in to maildirs.
M I REALLY want the timestamp of the files in the maildir to match the
M timestamps inside the emails.

M Does anyone have a suggestion?

There are several converters on www.qmail.org  specifically here

 http://qmail.cdsinet.net/top.html#maildir

 I don't know if they keep the same timestamps, but I don't see why not.
 You can always make a test of one.

--
Best regards,
Gary


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


Re: Anyone using Linux-PAM on 5.x?

2003-10-04 Thread Bill Campbell
On Sat, Oct 04, 2003, Mikko Työläjärvi wrote:
...
Having had some experience writing pam modules on a number of
platforms, I whipped out my suite of pam test modules to have a look
at this incredbible breakage you speak of.  I mean, there is a
specification for pam after all.

Could you suggest where to look for information on writing modules to
handle session tasks?  I've looked at the PAM stuff superficially over the
years, and would be very interested in doing something with the session
modules to do things like automatically creating missing home directories
with appropriate links to automounted directories.

I haven't done much with this on FreeBSD yet since I need pam_ldap and
nss_ldap support which only seems to be available in the 5.x tree.

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

You need only reflect that one of the best ways to get yourself a
reputation as a dangerous citizen these days is to go about repeating
the very phrases which our founding fathers used in the struggle for
independence.
-- Charles A. Beard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


seperating user timezones from system timezones

2003-10-04 Thread Mailing Lists Catcher
How to I allow users access to their own timezone without affecting the
system processes?

All of my systems regardless of location have always been set to UTC so
logs and cron are in sync across timezones.

Recently I have had need to allow users to set their own timezone in the
.cshrc using:
sentenv TZ America/Detroit
or
sentenv TZ America/Denver
or whatever applies.

But what I am finding out is that as long as the user is logged in it
sets the environment for the entire system affecting log timestamps as
well as cron events.

Any help is appreciated.
Jason Cribbins


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


Re: samba 3.0, FreeBSD 5.1

2003-10-04 Thread Micheas Herman
Replying to myself,

I copied samba-devel to samba-3.  Made my chanes. Did a make no
problems. Did a make install. It seems to be working.


Micheas

On Thu, 2003-10-02 at 13:18, Micheas Herman wrote:
 On Thu, 2003-10-02 at 11:06, Mike Maltese wrote:
   It's in
   /usr/ports/net/samba-devel/
  
  Yes, but the port hasn't been updated to the release version. You'll have to
  modify the Makefile to fetch the current release. I've done it and it does
  build, however I haven't installed it.
 
 Here are my changes. Does anyone have any suggestions?
 
 
 Micheas
-- 
Micheas Herman [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mail format problems

2003-10-04 Thread Mailing Lists Catcher
If you don't mind me budding in to this threadI am trying out a new
email client for Gnome and am not certain how the messages are going to
look.

It was the only Gnome port I could find that had SMTP Auth so I decided
to use it since my email server now requires I send a password to send
email.  It's called Evolution and it seems to be modeled after Outlook
and am hoping the messages are not sent as badly.

Reply with any problems you see and suggestions.  I don't think there
are any issues but I would rather find out now rather than later when I
need help and no one can read my questions.

Thanks
Jason Cribbins

On Sat, 2003-10-04 at 19:22, Greg 'groggy' Lehey wrote:
 On Saturday,  4 October 2003 at 10:36:15 -0700, aarong wrote:
 
  On Saturday, October 4, 2003, at 01:30  AM, Greg 'groggy' Lehey wrote:
 
  [Format recovered--see http://www.lemis.com/email/email-format.html]
 
  Computer output unwrapped.
 
  Having seen that message in many of your replies on the lists, I went
  out of my way to make sure Mail.app (the OS X mailer) would send
  messages text/plain and nothing else. Upon further examination of my
  headers it seems it's adding some 'format=flowed' business to the
  Content-Type. I can't find a work around; perhaps a look at Entourage
  is in order.
 
 The format=flowed is benign.  It just tells the receiving MUA to wrap
 text where appropriate.  The text line lengths are already correct.
 The problem is that computer output *shouldn't* be wrapped, and that's
 what your MUA is doing.  It may be a limitation of an MUA which
 insists on reformatting for you.  If you find a way of fixing it,
 please let me know and I'll add it to my pages at
 http://www.lemis.com/email/email-format.html.
 
 I'll answer the technical question separately.
 
 Greg
 --
 When replying to this message, please copy the original recipients.
 If you don't, I may ignore the reply or reply to the original recipients.
 For more information, see http://www.lemis.com/questions.html
 See complete headers for address and phone numbers.

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


Re: low-scale presenter for FreeBSD?

2003-10-04 Thread Todd Stephens
On Saturday 04 October 2003 08:23 pm, Rus Foster wrote:

  How about saving it as HTML then using netscape?

I think he wanted something that /wasn't/ a resource hog :-)

Seriously, if you have KDE installed (which you probably don't if you 
are worried about system resources) there is KPresenter.  The HTML 
suggestion is a very valid one though, and there is a port for 
converting PowerPoint to html in /usr/ports/textproc/xlhtml  but I've 
never tried it.

There are a few in the 'misc' ports.  Look for MagicPoint or Pointless.  
I think Pointless uses OpenGL, so you might not want that one either.  
There is another in /usr/ports/multimedia/slideshow that is supposedly 
very powerful.  I have only glanced at it.

-- 
Todd Stephens
Good people do not need laws to tell them to act responsibly, 
while bad people will find a way around the laws. - Plato

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


Re: bridging multiple interfaces

2003-10-04 Thread Manuel Rabade (MiG)
On Sun, Oct 05, 2003 at 02:12:49AM +0300, Mike Jackson wrote:
 ext Manuel Rabade (MiG) ([EMAIL PROTECTED]) wrote:
  You want to use the NAT of your ASDL router or that pc1 do the nat for xl0
  and wi0 ?
 
 I'm using the NAT on the ADSL router, because that's the only public IP
 that I have.


Humm .. are you using diferent subnets in each interface or how do you bring up
the interfaces ?
 
 --
 mike 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD SPAM

2003-10-04 Thread Luís Vitório Cargnini
only my $ 0,02 about on SpamAssassin usage
try catching SpamAssassin directly from command line of perl doing this:
perl -MCAPN -e'install MAil::SpamAssassin'
this will download Spamassassin and the dependencys , compile test and install.
Is just and advice, about how take better performance of your Perl system because some 
server systems don't need to have the ports collection installed.
and using this procedure you could download 99% of the Perl packages.
be the force with you young Jedi's. 8-)

-- 
Thanks  Regards
Luís Vitório Cargnini
Computer Science Bacharelor
PUC-RS
Pontifícia Universidade Católica - Rio Grande do Sul
Brasil


pgp0.pgp
Description: PGP signature


Font selection problem with GAIM 0.70 port

2003-10-04 Thread Steve Bernacki
When in a conversation window, clicking on the Font Face button
causes gaim-0.70 to spew the following to stderr:

** (gaim:199): WARNING **: Couldn't load font fixed Medium Semi-Condensed
0 falling back to Sans Medium Semi-Condensed 0

** (gaim:199): WARNING **: Couldn't load font Sans Medium Semi-Condensed
0 falling back to Sans 0

** (gaim:199): WARNING **: All font failbacks failed

...at which point the program exits.  Googling this error message points
to an improperly configured freetype2 library or fontconfig configuration.
However, as far as I can tell, there are no configuration problems on my
system: fc-list spits out 30 a number of fonts, although none that start
with Sans proper.

This is a brand new system, so unfortunately I'm unsure if previous
versions of GAIM have worked properly.

System: FreeBSD 4.8-RELEASE + latest security patches
XFree86 4.3.0 with all stock fonts
Related ports: freetype-1.3.1_2 gettext-0.12.1 gtk-2.2.4_1 glib-2.2.3
pango-1.2.5
(from ports-current as of 10/1/2003)

If anyone has any ideas, or can at least confirm that they are
experiencing the same problem with this version of GAIM, I'd really
appreciate it.

Thanks,
Steve

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


Re: Font selection problem with GAIM 0.70 port

2003-10-04 Thread Joe Marcus Clarke
On Sat, 2003-10-04 at 23:47, Steve Bernacki wrote:
 When in a conversation window, clicking on the Font Face button
 causes gaim-0.70 to spew the following to stderr:
 
 ** (gaim:199): WARNING **: Couldn't load font fixed Medium Semi-Condensed
 0 falling back to Sans Medium Semi-Condensed 0
 
 ** (gaim:199): WARNING **: Couldn't load font Sans Medium Semi-Condensed
 0 falling back to Sans 0
 
 ** (gaim:199): WARNING **: All font failbacks failed
 
 ...at which point the program exits.  Googling this error message points
 to an improperly configured freetype2 library or fontconfig configuration.
 However, as far as I can tell, there are no configuration problems on my
 system: fc-list spits out 30 a number of fonts, although none that start
 with Sans proper.
 
 This is a brand new system, so unfortunately I'm unsure if previous
 versions of GAIM have worked properly.
 
 System: FreeBSD 4.8-RELEASE + latest security patches
 XFree86 4.3.0 with all stock fonts
 Related ports: freetype-1.3.1_2 gettext-0.12.1 gtk-2.2.4_1 glib-2.2.3
 pango-1.2.5
 (from ports-current as of 10/1/2003)
 
 If anyone has any ideas, or can at least confirm that they are
 experiencing the same problem with this version of GAIM, I'd really
 appreciate it.

Works fine for me on two different systems.  No one else has reported
this yet.  You said this is a new system, but did you migrate an old
.gaimrc?  What version of freetype2 do you have installed?  Have you run
fc-cache -f -v as root?

Joe

 
 Thanks,
 Steve
-- 
Joe Marcus Clarke
FreeBSD GNOME Team  ::  [EMAIL PROTECTED]
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome


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


Re: Issues mirroring drives with Vinum in FreeBSD 4.8-RELEASE

2003-10-04 Thread Greg 'groggy' Lehey
On Saturday,  4 October 2003 at 10:36:15 -0700, aarong wrote:
 On Saturday, October 4, 2003, at 01:30  AM, Greg 'groggy' Lehey wrote:
 I'd like to see the complaints.  This is why I ask for the information
 in the man page or at http://www.vinumvm.org/vinum/how-to-debug.html.

 This is when booting regularly:

 ...dmesg...
 vinum: reading configuration from /dev/da0s1h
 vinum: reading configuration from /dev/da1s1h
 vinum: using volume root for root device
 Mounting root from ufs:/dev/vinum/root
 swapon: adding /dev/vinum/swap as swap device
 fstab: /etc/fstab:9: Inappropriate file type or format
 Automatic boot in progress...
 /dev/vinum/root: FILESYSTEM CLEAN; SKIPPING CHECKS
 /dev/vinum/root: clean, 45939 free (633 frags, 5595 blocks, 1.0%
 fragmentation)
 fstab: /etc/fstab:9: Inappropriate file type or format
 fstab: /etc/fstab:9: Inappropriate file type or format

It's probably worth fixing this.

 /dev/vinum/var: UNALLOCATED I=44035 OWNER=root MODE=0
 /dev/vinum/var: SIZE=0 MTIME=Oct  3 22:54 2003
 /dev/vinum/var: NAME=/run/dmesg.boot

 /dev/vinum/var: UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY.

 Then I'm dropped into single user mode. Line 9 of /etc/fstab is proc, I
 have no idea why its complaining since its valid, and I never changed
 it.

 # fsck -n /dev/vinum/var
 ...
 ** Phase 5 - Check Cyl groups
 FREE BLK COUNT(S) WRONG IN SUPERBLK
 SALVAGE? no

This can be normal.

 SUMMARY INFORMATION BAD
 SALVAGE? no

So can this.

 ALLOCATED FRAG 1277319 MARKED FREE
 BLK(S) MISSING IN BIT MAPS
 SALVAGE? no

 ALLOCATED FRAG 1368488 MARKED FREE
 ...same message until 1368493...

But these suggest something worse.  The problem here is that it found
the superblock, so it's likely that your geometry is correct: you
wouldn't have got this far if you hadn't.

 fsck'ing the rest of the volumes produces more of the same; one notable
 difference is root has a reference count error in addition to missing
 bit maps, bad summary information, and incorrect number of block counts
 in the superblock. The usr volume seems to be fine according to fsck,
 however. vinum list correctly notes both drives are up, four volumes
 have two plexes, the 8 plexes are up and sized, and the subdisks are
 up. fsck -n /dev/vinum/var before mirroring produced no complaints,
 otherwise I'd conclude that I just mirrored a corrupt plex but that
 doesn't seem to be the case.

It looks something like that.  In single user mode, do an fsck on each
of the component plexes.  My guess is that (at least) one plex of each
volume will be bad.

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


pgp0.pgp
Description: PGP signature