why do I need sendmail

2003-12-20 Thread Zhang Weiwu
Hello. Just to confirm: if I use dial-up connection on my laptop and use 
the ISP's smtp server to send emails, I don't really need sendmail's most 
functions, so it is safe to set 'sendmail=NO' in rc.conf without loosing 
local emails like weekly run output, is it?

I was told nowadays many spam filters only accept smtp server's email when 
the smtp server is in the same domain as the sender's email address. So it 
seems I better not use the sendmail on my laptop to send emails in case 
they are filtered. Should I? Thank you.

_
 MSN Messenger:  http://messenger.msn.com/cn  

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


Re: OSX Look and feel

2003-12-20 Thread Pierrick Brossin
On Fri, 19 Dec 2003 23:45:20 -0600
kitsune [EMAIL PROTECTED] wrote:

 There are various themes that can be applied to GTK and QT that will
 take care of it... and for the WM... just browse around till you find
 one that has the looks that you like. :)

You may also want to take a look at superkaramba.
(http://www.kde-look.org)

Regards

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


CVSup

2003-12-20 Thread Toru
I am giving up installing CVSup. It run for 8 long hours and
it still hasn't install a thing. Although when I do:

make clean

in /usr/ports/net/cvsup/cvsup-withot-gui

i get output showing that it is clearning something (not
getting message saying it's not installed, skipping.

So forget cvsup. locate command won't work so there is no
way to know where the precompiled cvsup is. although the
hand book says that it's there. anyway, i am going through
all this toruble just because I can't install mod_php4. I
figure my cvs tree is old but it doesn't seems that way
(downloaded the whole thing and unpacked it in ports dir).

This is what I get. it's having hard time patching. What
does the error message mean and how can I fix it?

/usr/bin/tar: gettext-0.12.1/gettext-tools/tests: time stamp
May 22 14:35 2003 is 11935751 s in the future
/usr/bin/tar: gettext-0.12.1/gettext-tools: time stamp May
22 14:35 2003 is 11935744 s in the future
/usr/bin/tar: gettext-0.12.1: time stamp May 22 14:35 2003
is 11935715 s in the future
===  Patching for gettext-0.12.1
===  Applying FreeBSD patches for gettext-0.12.1
1 out of 1 hunks failed--saving rejects to Makefile.in.rej
 Patch patch-Makefile.in failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/devel/gettext.
*** Error code 1

Stop in /usr/ports/devel/bison.
*** Error code 1

Stop in /usr/ports/www/mod_php4.
*** Error code 1

Stop in /usr/ports/www/mod_php4.
#

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


Re: FreeBSD 5.1 PowerPak Installation problem

2003-12-20 Thread Ion-Mihai Tetcu
On Fri, 19 Dec 2003 16:49:36 -
Admin [EMAIL PROTECTED] wrote:

 Module pci/sf failed to register: 17
  module_register: module sf/miibus already exists!
  Module sf/miibus failed to register: 17
  ad0: WRITE command timeout tag=0 serv=0 - resetting
  ata0: resetting devices ..
  done
  ad0: WRITE command timeout tag=0 serv=0 - resetting
  ata0: resetting devices ..
  done
  ad0: WRITE command timeout tag=0 serv=0 - resetting
  ata0: resetting devices ..
  done
  ad0: WRITE command timeout tag=0 serv=0 - resetting
  ata0: resetting devices ..
  done
  /mnt: bad dir ino 2 at offset 0: mangled entry
  panic: ufs_dirbad: bad dir
 
  syncing disks, buffers remaining... 3829 3823 3823 3823 3823 3823 3823 3823 3823 
 3823 3823 3823 3823 3823 3823 3823 3823 3823 3823 3823 3823 


Now we're getting somewhere - this is your problem; but I can help you
much.

1. Do a search on questions@ end current@ for WRITE command timeout
tag=0 serv=0 - resetting 

2. If it doesn't return enything usefull post on curent about your
problem, including the above and your dmesg.

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


FreeBSD Boot up problem

2003-12-20 Thread Cain Scarlet

   Hi. I need some help. Today, i accidently forgot to eject the freebsd
   cd from my drive and it ended up booting up to the installation menu.
   I exited the installation menu without doing anything. WHen i booted
   up again, all I got was a GRUB message and then my comptuer stopped
   booting. Is there anyway to fix this?
   Thanks
 _

   Download ringtones from [1]MSN Mobile Music!

References

   1. http://g.msn.com/8HMAENSG/2752??PS=
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CVSup

2003-12-20 Thread Kent Stewart
On Saturday 20 December 2003 02:03 am, Toru wrote:
 I am giving up installing CVSup. It run for 8 long hours and
 it still hasn't install a thing. Although when I do:

So, grab the package from one of the ftp mirrors. Look in something like
ftp://ftp10.FreeBSD.org/pub/FreeBSD/ports/packages/net
You will find a pre-built version that you don't have to build all of the 
auxillary files. FWIW, I built it on a much slower computer than yours in 
about an hour.


 make clean

 in /usr/ports/net/cvsup/cvsup-withot-gui

 i get output showing that it is clearning something (not
 getting message saying it's not installed, skipping.

 So forget cvsup. locate command won't work so there is no
 way to know where the precompiled cvsup is. although the
 hand book says that it's there. anyway, i am going through
 all this toruble just because I can't install mod_php4. I
 figure my cvs tree is old but it doesn't seems that way
 (downloaded the whole thing and unpacked it in ports dir).

 This is what I get. it's having hard time patching. What
 does the error message mean and how can I fix it?

 /usr/bin/tar: gettext-0.12.1/gettext-tools/tests: time stamp
 May 22 14:35 2003 is 11935751 s in the future
 /usr/bin/tar: gettext-0.12.1/gettext-tools: time stamp May
 22 14:35 2003 is 11935744 s in the future

Your system date is off. Set the time with date. Get your system squared away 
and try using cvsup again. You will find it makes using the ports much 
easier.

Kent

 /usr/bin/tar: gettext-0.12.1: time stamp May 22 14:35 2003
 is 11935715 s in the future
 ===  Patching for gettext-0.12.1
 ===  Applying FreeBSD patches for gettext-0.12.1
 1 out of 1 hunks failed--saving rejects to Makefile.in.rej

  Patch patch-Makefile.in failed to apply cleanly.

 *** Error code 1

 Stop in /usr/ports/devel/gettext.
 *** Error code 1

 Stop in /usr/ports/devel/bison.
 *** Error code 1

 Stop in /usr/ports/www/mod_php4.
 *** Error code 1

 Stop in /usr/ports/www/mod_php4.
 #

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

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: CVSup

2003-12-20 Thread Kent Stewart
On Saturday 20 December 2003 02:44 am, Toru wrote:
 I set the date correctly, and I got:

 ===  Applying FreeBSD patches for mod_php4-4.3.4_3,1
 ===   mod_php4-4.3.4_3,1 depends on file:
 /usr/local/sbin/apxs - found
 ===   mod_php4-4.3.4_3,1 depends on executable: bison - not
 found
 ===Verifying install for bison in
 /usr/ports/devel/bison
 ===  Extracting for bison-1.75_1

  Checksum OK for bison-1.75.tar.bz2.

 ===  Patching for bison-1.75_1
 ===   bison-1.75_1 depends on executable: gm4 - found
 ===   bison-1.75_1 depends on shared library: intl.5 - not
 found
 ===Verifying install for intl.5 in
 /usr/ports/devel/gettext
 ===  Extracting for gettext-0.12.1

  Checksum OK for gettext-0.12.1.tar.gz.

 ===  Patching for gettext-0.12.1
 ===  Applying FreeBSD patches for gettext-0.12.1
 1 out of 1 hunks failed--saving rejects to Makefile.in.rej

  Patch patch-Makefile.in failed to apply cleanly.

 *** Error code 1

 Stop in /usr/ports/devel/gettext.
 *** Error code 1

 Stop in /usr/ports/devel/bison.
 *** Error code 1

 Stop in /usr/ports/www/mod_php4.
 *** Error code 1

 Stop in /usr/ports/www/mod_php4.
 #

 Why is the patch failing and how can I fix it. I am sure
 there are bazillion of people installed mod_php4 on 5.1.
 There has to be a way to install mod_php4

There probably are but I'm not one of them. That still leaves a bazillion of 
them out there. I have never used it, so I can help with mod_php4. 

The patch files in /usr/ports/devel/gettext/files are not consistent with the 
current gettext source code. If you patched them, spaces for a tab, for 
example, won't match. You need a current cvsup of ports-all. 

Occasionally, you have to cd in and rm the files and re-cvsup. The 
Makefile.in.rej will tell you what it didn't like and may give you and idea 
of what to do. I am guessing, but it should some where in the path of 
/usr/ports/devel/gettext/work/gettext-0.12.1

Kent


 - Original Message -
 From: Kent Stewart [EMAIL PROTECTED]
 To: Toru [EMAIL PROTECTED];
 [EMAIL PROTECTED]
 Sent: Saturday, December 20, 2003 2:21 AM
 Subject: Re: CVSup

  On Saturday 20 December 2003 02:03 am, Toru wrote:
   I am giving up installing CVSup. It run for 8 long hours

 and

   it still hasn't install a thing. Although when I do:
 
  So, grab the package from one of the ftp mirrors. Look in

 something like

  ftp://ftp10.FreeBSD.org/pub/FreeBSD/ports/packages/net
  You will find a pre-built version that you don't have to

 build all of the

  auxillary files. FWIW, I built it on a much slower

 computer than yours in

  about an hour.
 
   make clean
  
   in /usr/ports/net/cvsup/cvsup-withot-gui
  
   i get output showing that it is clearning something (not
   getting message saying it's not installed, skipping.
  
   So forget cvsup. locate command won't work so there is

 no

   way to know where the precompiled cvsup is. although the
   hand book says that it's there. anyway, i am going

 through

   all this toruble just because I can't install mod_php4.

 I

   figure my cvs tree is old but it doesn't seems that way
   (downloaded the whole thing and unpacked it in ports

 dir).

   This is what I get. it's having hard time patching. What
   does the error message mean and how can I fix it?
  
   /usr/bin/tar: gettext-0.12.1/gettext-tools/tests: time

 stamp

   May 22 14:35 2003 is 11935751 s in the future
   /usr/bin/tar: gettext-0.12.1/gettext-tools: time stamp

 May

   22 14:35 2003 is 11935744 s in the future
 
  Your system date is off. Set the time with date. Get your

 system squared away

  and try using cvsup again. You will find it makes using

 the ports much

  easier.
 
  Kent
 
   /usr/bin/tar: gettext-0.12.1: time stamp May 22 14:35

 2003

   is 11935715 s in the future
   ===  Patching for gettext-0.12.1
   ===  Applying FreeBSD patches for gettext-0.12.1
   1 out of 1 hunks failed--saving rejects to

 Makefile.in.rej

Patch patch-Makefile.in failed to apply cleanly.
  
   *** Error code 1
  
   Stop in /usr/ports/devel/gettext.
   *** Error code 1
  
   Stop in /usr/ports/devel/bison.
   *** Error code 1
  
   Stop in /usr/ports/www/mod_php4.
   *** Error code 1
  
   Stop in /usr/ports/www/mod_php4.
   #
  
   ___
   [EMAIL PROTECTED] mailing list

 http://lists.freebsd.org/mailman/listinfo/freebsd-questions

   To unsubscribe, send any mail to
   [EMAIL PROTECTED]
 
  --
  Kent Stewart
  Richland, WA
 
  http://users.owt.com/kstewart/index.html
 
  ___
  [EMAIL PROTECTED] mailing list

 http://lists.freebsd.org/mailman/listinfo/freebsd-questions

  To unsubscribe, send any mail to

 [EMAIL PROTECTED]

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

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


rm -r on large dir causing spontaneous reboot w/ 5.1-REL

2003-12-20 Thread Jason Leonard
Greetings,

I have a Dell PowerEdge 2650 with one 2.8G Xeon CPU and 2G RAM running 
5.1-RELEASE.  This machine is a dedicated NFS server.  Everything on the 
system is default: no custom kernel, no custom filesystem options, no 
tweaking.

Earlier today I ran rm -R on a directory containing millions of files 
in its various subdirectories.  Within a minute or so the machine hung, 
NFS stopped working, and I had a posse of angry computational linguists 
knocking on my door.  I ^Ced to no avail.  So I tried opening another ssh 
session--no luck.  I pinged.  I nmapped.  Nothing.  I jumped up and ran 
to the server room.  By the time I got there it was back up (whew!) but 
it had rebooted itself in the process (d'oh!).

The directory, or most of it, was still there.

I tried not to think too much about it.  I went to the annual holiday 
party.  I had a few adult beverages.  I woke up a little while ago with a 
mysterious and slightly painful bump on my forehead and something 
scribbled on my dining room table with a green Sharpie*.  It seemed as 
good a time as any to try deleting that directory again.

So I did.  With identical results.  The machine hung for a few minutes 
and then spontenously rebooted.

The total size of the directory is ~100G.  It lives on a 1T UFS2+S 
partition of a 7x200G hardware RAID 5 array, which itself lives in a 
16x200G ATA-to-SCSI cabinet.  The directory contains millions of tiny 
files collected by a website harvesting project.

Any thoughts as to why this might be happening?


:Fuzz

--
Jason M. LeonardLinguistic Data Consortium
Systems Administrator   University of Pennsylvania
[EMAIL PROTECTED]   215.573.3959 vx   .2175 fx

*In all fairness to myself, the surface of my dining room table does 
resemble markerboard.  And Sharpies do resemble dry erase markers.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD as dial up server...

2003-12-20 Thread Harald Schmalzbauer
On Saturday 20 December 2003 02:57, Drew Robertson wrote:
 Hi,

 I'm working at getting my FreeBSd 4.8 system to act as a dial up RAS
 server...

 At the moment, I have almost everything working... yay!

 My question to anyone that knows... my FreeBSD system is running SAMBA and
 is part of a workgroup in my home...

 Is it possible from a dial up client to view the Network using network
 neighbourhood??  I read somewhere that as the PPP server is a router,
 network browsing will not work... is this true?

That is true. You'd need at least one server at each subnet.
But once I did a ugly hack to make it working: I bimapped broadcast addresses 
along the subnets. As far as I can remember this worked, but it was just for 
fun, I never used it. Also prividing a WINS at SAMBA and using that on the 
ppp link was usefull but that was long ago (WinNT WinCE and Samba 1)

-Harry


 Thanks.

 _
 ninemsn Premium transforms your e-mail with colours, photos and animated
 text. Click here  http://ninemsn.com.au/premium/landing.asp

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


pgp0.pgp
Description: signature


Re: How to mount FreeBSD from Debian or any Linux possibly

2003-12-20 Thread Ruben de Groot
On Fri, Dec 19, 2003 at 09:16:36PM -0500, Peter Leftwich typed:
 Ruben de Groot [EMAIL PROTECTED] wrote:
 Peter Leftwich [EMAIL PROTECTED] wrote...
  currently-running X session.  That would allow me to use KDE and
  Konqueror to browse graphically to the directory
  /mnt/freebsdpartition ... anyone know how?
  Not needed. try: `mount -t ufs -o ufstype=44bsd,uid=knoppix /dev/hda2 
  /mnt/freebsdpartition
  (that is, if your X session is running as user knoppix.)
 
 [EMAIL PROTECTED] mount -t ufs -o ufstype=44bsd,uid=knoppix /dev/hda2 /mnt/fbsd
 mount: wrong fs type, bad option, bad superblock on /dev/hda2,
or too many mounted file systems
 
Aah, silly me. I really should drink some more coffee before answering.
The 'uid=' option I suggested is invalid for ufs partitions (I use it
normally on smb shares)

 Ruben, Your suggested command line returned an error and did not work.  Is
 there a hack where I can edit the /etc/mtab or /etc/fstab files in realtime
 instead?

Not that I know of, but maybe you'll get better answers on a knoppix 
mailing list.

good luck,
Ruben

 --
 Peter Leftwich
 President  Founder, Video2Video Services
 Box 13692, La Jolla, CA, 92039 USA
 http://Www.Video2Video.Com
 ___
 [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: i am a new comer totally.

2003-12-20 Thread

   Hi ! Jud,

   you gave me a big help !

   Thank you !
   From: Jud
   To: ???,[EMAIL PROTECTED]
   Subject: Re: i am a new comer totally.
   Date: Fri, 19 Dec 2003 22:24:45 -0500
   
   On Sat, 20 Dec 2003 02:59:30 +, ??? wrote:
   
   
   dear freebsd experts:
   
   i am a new comer totally.
   
   i have duron 800 computer with 256m sdram, cdrom ,fdd 1.44, usb
   1.1
   cdrom read and write, agp vga 600x800,
   
   8g   seagate medalist 8420 ide hard drive already 3g for dos
   fat32bit
   and 5g for free bsd which is my young brother taught me.
   
   also i have p3-733 cpu  with the same configuration as above.
   
   i have 4.8,4.9 also 5.1 bsd cdrom version.
   
   my question is
   
   -1- which version is the best for new comer ?
   
   I think 4.9 would suit you well at this point.
   
   -2-someone would like to teach me one step by one step ?
   
   -3-how many documents or handbook should i or must i read ?
   
   The Handbook is online and is an excellent step-by-step guide:
   
   URL: DIV
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.htm
   l
   
   After you have read the portions that are relevant to what you want
   to do,  you may wish to ask specific questions on this list.
   
   Good luck!  I hope you enjoy FreeBSD.
   
   Jud
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   [EMAIL PROTECTED]
 _

[1]MSN 
   

References

   1. http://g.msn.com/8HMATWTW/2752??PS=
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


bad root shell

2003-12-20 Thread Mark McConnell
An error in a pw* script inserted a non-existent shell into the 
password database, effectively locking out root.

I used a fixit disk to correct the problem, using this procedure:

1. mount boot drive to /mnt

2. provide myself with a working mkdb and vi (for chpass):
# mkdir /usr/sbin /usr/bin
# ln -s /mnt/usr/sbin/pwd_mkdb /usr/sbin/pwd_mkdb
# ln -s /mnt/usr/bin/vi /usr/bin/vi

3. link pwd.db, spwd.db, group, passwd, master.passwd, ex:
# rm /etc/group /etc/spwd.db
# for i in `ls /mnt/etc/` ; do ln -s /mnt/etc/$i /etc/$i ; done

4. run mkdb
# /usr/sbin/pwd_mkdb master.passwd

5. Using chpass to change root's shell from `badshell' to csh
# chpass root
:s/badshell/\/bin\/csh/

All of this appears to do work without errors:
# pw usershow -u root
root:*:0:0::0:0:Charlie :/root:/bin/csh

However, when I log in as root, I am still locked out with the 
message:
$ su
Password: 
badshell:  No such file or directory

I am still stupid.  I am still locked out.  /etc/passwd and 
/etc/master.passwd no longer show the badshell.  My configuration 
appears to be deeply broken.  Why does my procedure fail?  

Mark
--
Mark McConnell - Portland, OR
Technical Imaging Systems
[EMAIL PROTECTED]
503-546-0517
[EMAIL PROTECTED]
503-257-7591

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


Troubleshooting a Freeze

2003-12-20 Thread Ryan Sandridge
Are there any general or specific tips on how to figure out what is  
causing FreeBSD to just freeze up?  The machine is not at my physical  
location, and I log in using ssh.  I've checked all the logs in  
/var/log for some kind of clue, but I haven't found anything helpful.   
The machine has worked fine for over 6 months, until the last few days  
it freezes up at apparently random times, normally within the first 12  
hours of being up.  While many ports have been added over the past 6  
months, nothing was added on or around the time I started experiencing  
the problem.

I guess I was wondering what some first steps people would take to  
troubleshoot an unexplained system hang.

Some details:

FreeBSD 4.8-RELEASE #0: Thu Apr  3 10:53:38 GMT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254  frequency 1193182 Hz
CPU: AMD Athlon(tm) XP 1800+ (1541.22-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x662  Stepping = 2
   
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE, 
MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc048MP,AMIE,DSP,3DNow!
real memory  = 536805376 (524224K bytes)
avail memory = 517066752 (504948K bytes)

open ports: ssh, smtp, imaps, pop3s, 8080 (http), https

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


Re: runaway CVSup ?

2003-12-20 Thread Kris Kennaway
On Fri, Dec 19, 2003 at 02:27:10PM -0800, Toru . wrote:
 I mistakenly closed my ssh and the process had to stop. It has been running 
 for the last 5 hours. I restarted the process and stopped it again, so that 
 I can copy the output.  I don't know how apropriate to do this, but I 
 thought it wold be best if I just show people the message I was getting.  
 It is rather long cut and past, so please forgive me: Thank you for your 
 reply.
 

That's normal, building the modula-3 compiler from scratch takes a
long time.  Perhaps you really wanted to install the precompiled
package instead.

Kris


pgp0.pgp
Description: PGP signature


your suggestion

2003-12-20 Thread Charles Smyth
Hi Shantoo,

No luck with that suggestion, but another one sorted it.

mount -t msdos /dev/da0s4 /nountpoint  works fine and was able to add the
details into /etc/fstab so that the zip can be mounted from the KDE like a
CD/DVD. Modifying the /etc/fstsb file also works for the floppy.

/dev/da0s4   /mountpoint  msdosrw,noauto
/dev/fd0 /mountpoint  msdosrw,noauto

Thanks for the speedy assistance.

Charles



-Original Message-
From: Shantanoo Mahajan [mailto:[EMAIL PROTECTED]
Sent: 20 December 2003 16:31
To: Charles Smyth
Cc: [EMAIL PROTECTED]
Subject: Re: usb zip


+++ Charles Smyth [freebsd] [19-12-03 20:51 -]:
|
|
| Unable to to mount a USB ZIP drive, with any of the mount commands that
work
| for a floppy. Just keep getting superblock and file errors.
|
| The drive itself responds to the mount command but won't proceed any
| further.
|
| The ZIP cartridge is formatted as FAT.
|
| Can't find anything on the BSD site or mailing lists.
|
| If possible, please let me have a suitable link for this issue, or the
| necessary directions.
|
|
| Charles Smyth.

# mount_msdos /dev/da0 /mountpoint

From dmesg check out at what device USB Zip drive is detected and
accordingly change /dev/da0

Shantanoo

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


mount iso on filesystem

2003-12-20 Thread Ron Sweeney

What am I missing here?  I want to mount an iso and make it available...

mockbsd# mdconfig -l /dev/vn0 bbc-2.1.iso
mockbsd# mount /dev/vn0 /mnt
cd9660: /dev/vn0: No such file or directory

and there is no vn0 in dev, what am I missing in the Kernel, im running
5.0-Release.

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


RE: usb zip

2003-12-20 Thread Charles Smyth
Hi,

mount -t msdos /dev/da0s4 /nountpoint  works fine, thanks, and was able to
add the details into /etc/fstab so that the zip can be mounted from the KDE
like a CD/DVD. Modifying the /etc/fstsb file also works for the floppy.

/dev/da0s4   /mountpoint  msdosrw,noauto
/dev/fd0 /mountpoint  msdosrw,noauto

Thanks for the speedy assistance.

Charles.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 20 December 2003 17:47
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: usb zip


Hello,
   I didn't see anyone answer you so I'll try.  This is what works for me:

First make a directory for the zip.  I did:
mkdir /mnt/zip  (which makes the dir /mnt/zip)

Then mount it.  I do this by changing to root, then
mount -t msdos /dev/da0s4 /mnt/zip

then I navigate (command line or graphical) to /mnt/zip and do what needs to
be done.  I'm not sure if FAT is how my Iomega 250meg usb zip is formated,
but I think it is.  Give it a try.

Art in Memphis

00100111010001110011011101010110111001110110110101101001011000110110
000101110100


In a message dated 12/20/2003 4:54:11 AM Eastern Standard Time,
[EMAIL PROTECTED] writes:

 Message: 5
 Date: Fri, 19 Dec 2003 20:51:34 -
 From: Charles Smyth [EMAIL PROTECTED]
 Subject: usb zip
 To: [EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=iso-8859-1



 Unable to to mount a USB ZIP drive, with any of the mount commands that
work
 for a floppy. Just keep getting superblock and file errors.

 The drive itself responds to the mount command but won't proceed any
 further.

 The ZIP cartridge is formatted as FAT.

 Can't find anything on the BSD site or mailing lists.

 If possible, please let me have a suitable link for this
 issue, or the
 necessary directions.


 Charles Smyth.

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


problem with pkg_add 'latest' category

2003-12-20 Thread fbsd_user
Pkg_add  uses this default path
/pub/FreeBSD/ports/i386/packages-4.9-release/Latest/


The 'Latest' directory is an unpublished category and contains all
the package versions of the ports collection as an massive list of
all 9,600 ports. The names in this list do not match the spelling of
the true package names and they look like they are really link
files.

/pub/FreeBSD/ports/i386/packages-4.9-release/

contains all the packages categories and the names in each category
are the true spelling of the port names with the version as part of
the name, and is really the package version. These also look like
link files, but at least the names match the names pointed to by
http://www.freebsd.org/ports/index.html.  The FBSD handbook says to
use this web page to search the ports collection to find the
category and name of the port you want to select for installing, but
if you use that name in the pkg_add -rv xxx it is not found.
Of course it's not found because pkg_add defaults to 'latest'
category which has all different spelling of the names. No wonder
people have so much trouble using the package collection when there
is no way to find the correct spelling of the name. This is an built
in incentive to force users to use the cvsup ports collection and
all it's inherent waste of disk space and bandwidth, which the
package collection is suppose to correct.


Why is the 'latest' category populated with bogus names when the
correct names are all ready present in the other categories
surrounding it? This is not unique to just one ftp site but to all
ftp sites ftp1 - ftp14.

The simplest solution is to populate the 'latest' category with the
correct spelling of the names, Or better yet get rid of the latest
category and change the pkg_add program to default to using
/pub/FreeBSD/ports/i386/packages-4.9-release/ and change the format
of the
pkg_add command to pkg_add -r /catorgy/full.port.name.

Before I submit bug report, I want to get users comments on this
subject in case I have missed something in my research.

Thanks
Joe











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


spamassassin

2003-12-20 Thread Doug Reynolds
I've been trying to setup spamassassin on my freebsd box with postfix. 
I was reading the other thread about spamassassin.  What i couldn't
figure out, was how it got the mail from the mail system.  I looked at
spamd but it didn't look like the program.  I googled and still
couldn't find a good tutorial.  If someone knows of a good tutorial and
could give me a quick explaination, i'd be greatful.  Oh, I am running
5.1-RELEASE.  thanx

please CC me if you can
---
doug reynolds | the maverick | [EMAIL PROTECTED]


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


Re: mount iso on filesystem

2003-12-20 Thread Ron Sweeney


I gave up too soon!!! sorry to waste your bandwidth!

mockbsd# mdconfig -a -t vnode -f /bbc-2.1.iso -u 4
mockbsd# mount /dev/md4 /mnt
mount: /dev/md4 on /mnt: incorrect super block
mockbsd# mount -t cd9660 /dev/md4 /mnt
mockbsd# cd /mnt
mockbsd# ls
CREDITS bbc.css docopen.exe mnt
TRANS.TBL   boot.cataloglnx.img putty
archivers   cloop.o lnxbbc.htm  rawrite
autorun.inf dev logo.pngsingularity
mockbsd#


On Sat, 20 Dec 2003, Ron Sweeney wrote:


 What am I missing here?  I want to mount an iso and make it available...

 mockbsd# mdconfig -l /dev/vn0 bbc-2.1.iso
 mockbsd# mount /dev/vn0 /mnt
 cd9660: /dev/vn0: No such file or directory

 and there is no vn0 in dev, what am I missing in the Kernel, im running
 5.0-Release.

 Thanks in advance.

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


Re: backup drive bootabel

2003-12-20 Thread Noah

 
 To deal with a standard MBR, you have to use fdisk(8).  Try:
 
 # fdisk -B -b /boot/mbr -i da1
 
 This will walk you through the current settings interactively, 
 letting you generate a slice table, change the active slice and 
 rewrite the boot code.
 
 Of course, just to confuse you, fdisk(8) will talk all about
 partitions, but be assured it actually means slices in *BSD speak.
 (partitions are generated within each slice using disklabel(8) which 
 is a BSD specific thing.  slices are generic for practically all 
 OSes that can run on the IA32 architecture from DOS onwards.)



OKay Matthew,

I am still a little inclear here.  do I need to chnage what BIOS thinks.

this is the first interactive prompt that I receive when running the fdisk
command:

so I said no:


 snip ---

#  fdisk -B -b /boot/mbr -i da
fdisk: cannot open disk /dev/da: No such file or directory
typhoon# fdisk -B -b /boot/mbr -i da1
*** Working on device /dev/da1 ***
parameters extracted from in-core disklabel are:
cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl)

Do you want to change our idea of what BIOS thinks ? [n]

--- snip 



 then do I say yes here?


-- snip ---

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 63, size 143363997 (70001 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
Do you want to change it? [n]


--- snip 


and no to the rest of the partitions/slices prompts?


Thanks in advance,

Noah



 
  the disk is a little bit of  a different size with different partition sizes.
   woudl that Make a difference.  what esle can I check here?
 
 The disk geometry won't make any difference to the boot block.
 fdisk(8) will read in the current partition table and give you the
 opportunity to modify things, but don't do that unless you really do
 intend to wipe the disk contents.
 
   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: problem with pkg_add 'latest' category

2003-12-20 Thread Kent Stewart
On Saturday 20 December 2003 09:34 am, fbsd_user wrote:
 Pkg_add  uses this default path
 /pub/FreeBSD/ports/i386/packages-4.9-release/Latest/


 The 'Latest' directory is an unpublished category and contains all
 the package versions of the ports collection as an massive list of
 all 9,600 ports. The names in this list do not match the spelling of
 the true package names and they look like they are really link
 files.

 /pub/FreeBSD/ports/i386/packages-4.9-release/

I have long held the belief that this is equivalent to running a release and 
ignoring security updates or bug fixes. Your comment got me looking at the 
options. I am not sure what is correct but I think you should be specifying 
PACKAGESITE and pointing to something like
ftp://ftp10.FreeBSD.org/pub/FreeBSD/ports/packages/All

You don't have to build the packages but if you don't cvsup ports-all, you 
don't have the latest environment either and is equivalent to running a 
release with all of the risks. 

Kent


 contains all the packages categories and the names in each category
 are the true spelling of the port names with the version as part of
 the name, and is really the package version. These also look like
 link files, but at least the names match the names pointed to by
 http://www.freebsd.org/ports/index.html.  The FBSD handbook says to
 use this web page to search the ports collection to find the
 category and name of the port you want to select for installing, but
 if you use that name in the pkg_add -rv xxx it is not found.
 Of course it's not found because pkg_add defaults to 'latest'
 category which has all different spelling of the names. No wonder
 people have so much trouble using the package collection when there
 is no way to find the correct spelling of the name. This is an built
 in incentive to force users to use the cvsup ports collection and
 all it's inherent waste of disk space and bandwidth, which the
 package collection is suppose to correct.


 Why is the 'latest' category populated with bogus names when the
 correct names are all ready present in the other categories
 surrounding it? This is not unique to just one ftp site but to all
 ftp sites ftp1 - ftp14.

 The simplest solution is to populate the 'latest' category with the
 correct spelling of the names, Or better yet get rid of the latest
 category and change the pkg_add program to default to using
 /pub/FreeBSD/ports/i386/packages-4.9-release/ and change the format
 of the
 pkg_add command to pkg_add -r /catorgy/full.port.name.

 Before I submit bug report, I want to get users comments on this
 subject in case I have missed something in my research.

 Thanks
 Joe











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

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: why do I need sendmail

2003-12-20 Thread Cybertime Hostmaster
One thing to note in Matthew's reply:

 that.  However, automatic e-mails from your system -- usually from
 the periodic(8) scripts -- do require sendmail(8) or equivalent.

Two words at the end, or equivalent.

You can run Courier, Exim, Mini Sendmail, Nullmailer, Postfix, Qmail,
ZMailer, so on and so forth.

All have advantages and disadvantages.  Personally, I use Postfix, but
that is because for my needs it is better.

If you have trouble reducing sendmail down to your needs, look at the
documentation on the others.  One of them might suit you better.

Your mileage may vary, so on and so forth.

--Eric

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


Re: backup drive bootabel

2003-12-20 Thread Noah

 
 To deal with a standard MBR, you have to use fdisk(8).  Try:
 
 # fdisk -B -b /boot/mbr -i da1
 
 This will walk you through the current settings interactively, 
 letting you generate a slice table, change the active slice and 
 rewrite the boot code.
 
 Of course, just to confuse you, fdisk(8) will talk all about
 partitions, but be assured it actually means slices in *BSD speak.
 (partitions are generated within each slice using disklabel(8) which 
 is a BSD specific thing.  slices are generic for practically all 
 OSes that can run on the IA32 architecture from DOS onwards.)



Matthew,

okay I think I see what fdisk is wanting.  I wanted to run it by you before i
did anything:

here is the prompts I filles out.  some prompts do have anything appear there
i just hit return for the default value.  Do I need to change the active
partition back to anything after running the fdisk Program?  I still want to
boot from /dev/da0 for the time being.  I just want /dev/da1 drive ready for
booting if /dev/da0 fails.  Am I on the proper course here?


--- snip ---

# fdisk -B -b /boot/mbr -i da1
*** Working on device /dev/da1 ***
parameters extracted from in-core disklabel are:
cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl)

Do you want to change our idea of what BIOS thinks ? [n]
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 63, size 143363997 (70001 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
Do you want to change it? [n]
The data for partition 2 is:
UNUSED
Do you want to change it? [n]
The data for partition 3 is:
UNUSED
Do you want to change it? [n]
The data for partition 4 is:
UNUSED
Do you want to change it? [n]
Partition 1 is marked active
Do you want to change the active partition? [n] y
Supply a decimal value for active partition [1]
Are you happy with this choice [n] y
Do you want to change the boot code? [n] y

We haven't changed the partition table yet.  This is your last chance.
parameters extracted from in-core disklabel are:
cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl)

Information from DOS bootblock is:
1: sysid 165,(FreeBSD/NetBSD/386BSD)
start 63, size 143363997 (70001 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
2: UNUSED
3: UNUSED
4: UNUSED
Should we write new partition table? [n] y

--- snip ---


Happy Holidays,
- noah

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


Re: IDE to CF issue

2003-12-20 Thread Steve Bertrand
 I have been trying to get FreeBSD onto a CF, and had an assortment of
 issues.
 
 I now have a version of FreeBSD 5.X CURRENT that is compiled and
 configured in the way I want by some people that are doing the same thing
 I am.
 
 They use dd to flush this archive to a cf that is installed as an IDE
 drive, so I tried to do the same thing.
 
 The test system I am using to write this has two hard drives, but not
 hooked up at the same time.  One is 5.1, the other is 4.9
 
 I get the following message with 5.1:
 
 dd: /dev/ad2: Input/output error
 1+0 records in
 0+0 records out
 0 bytes transferred in 0.003308 secs (0 bytes/sec)
 
 So in case it was something odd, I went to the 4.9 and get this:
 
 dd: /dev/ad2: Input/output error
 
 Next I did tail /var/log/messages
 
 Dec 19 14:47:01 wanker /kernel: ad2: hard error reading fsbn 0 (ad2 bn 0;
 cn 0 tn 0 sn 0) status=51 error=05
 Dec 19 14:47:01 wanker /kernel: ad2: reading primary partition table:
 error reading fsbn 0
 
 (error repeats several times)
 
 Most the posts I have seen with hard error reading fsbn 0 relate to the
 PIO mode, which is absolutely no help.
 
 Anyone have an idea where to start?

I don't know if it will help in any way, but it may be a start.

Last time I tried to do a clone of one of our mail servers, I got an
error very similar. We rectified the problem by putting a proper 80
conductor/40 pin cable to the hard disk, which replaced the standard 40
pin cable. If you indeed have a UDMA capable board, I'd at least give
this an option.

Steve

 
 --Eric
 
 ___
 [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 Boot up problem

2003-12-20 Thread Cybertime Hostmaster
Hi. I need some help. Today, i accidently forgot to eject the freebsd
cd from my drive and it ended up booting up to the installation menu.
I exited the installation menu without doing anything. WHen i booted
up again, all I got was a GRUB message and then my comptuer stopped
booting. Is there anyway to fix this?

Off hand, I would say your grub boot loader is misconfigured.

This is a guess since I do not use grub.

A quick search found the following sites:

http://www.gnu.org/software/grub/manual/

http://geodsoft.com/howto/dualboot/grub.htm

I would take a look there and see what you find.

--Eric

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


compile of ucd-snmpd

2003-12-20 Thread Brent Bailey
im trying to install snmpd on my freebsd machine...
it successfully gets through  ./configure
but fails on the make with the following error

scapi.c: In function `sc_encrypt':
scapi.c:612: incompatible type for argument 1 of `memset'
scapi.c: In function `sc_decrypt':
scapi.c:725: incompatible type for argument 1 of `memset'
*** Error code 1

Stop in /user3/mrb/ucd-snmp-4.2.6/snmplib.
*** Error code 1

this is FBSD 4.9rc1

thanx for any help in advance
-- 
brent


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


Re: why do I need sendmail

2003-12-20 Thread Chris Pressey
On Sat, 20 Dec 2003 12:15:49 -0800
Cybertime Hostmaster [EMAIL PROTECTED] wrote:

 One thing to note in Matthew's reply:
 
  that.  However, automatic e-mails from your system -- usually from
  the periodic(8) scripts -- do require sendmail(8) or equivalent.
 
 Two words at the end, or equivalent.
 
 You can run Courier, Exim, Mini Sendmail, Nullmailer, Postfix, Qmail,
 ZMailer, so on and so forth.
 
 All have advantages and disadvantages.  Personally, I use Postfix, but
 that is because for my needs it is better.
 
 If you have trouble reducing sendmail down to your needs, look at the
 documentation on the others.  One of them might suit you better.
 
 Your mileage may vary, so on and so forth.

FWIW, you can also cause periodic(8) to log to a file instead of sending
mail, by adding lines like the following to /etc/periodic.conf:

  daily_output=/var/log/dialy.log
  weekly_output=/var/log/weekly.log
  monthly_output=/var/log/monthly.log

Not sure if this eliminates the need for a local mailer, but it's sure
to be the first step down that road. I can't think of anything else that
sends automated e-mails, offhand, but whatever does can probably be
configured to write its output to a file instead, in a similar way.

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


Re: bad root shell

2003-12-20 Thread Steve Bertrand
On Sat, 2003-12-20 at 12:44, Mark McConnell wrote:
 An error in a pw* script inserted a non-existent shell into the 
 password database, effectively locking out root.
 
 I used a fixit disk to correct the problem, using this procedure:
 
 1. mount boot drive to /mnt
 
 2. provide myself with a working mkdb and vi (for chpass):
 # mkdir /usr/sbin /usr/bin
 # ln -s /mnt/usr/sbin/pwd_mkdb /usr/sbin/pwd_mkdb
 # ln -s /mnt/usr/bin/vi /usr/bin/vi
 
 3. link pwd.db, spwd.db, group, passwd, master.passwd, ex:
 # rm /etc/group /etc/spwd.db
 # for i in `ls /mnt/etc/` ; do ln -s /mnt/etc/$i /etc/$i ; done
 
 4. run mkdb
 # /usr/sbin/pwd_mkdb master.passwd
 
 5. Using chpass to change root's shell from `badshell' to csh
 # chpass root
 :s/badshell/\/bin\/csh/
 
 All of this appears to do work without errors:
 # pw usershow -u root
 root:*:0:0::0:0:Charlie :/root:/bin/csh
 
 However, when I log in as root, I am still locked out with the 
 message:
 $ su
 Password: 
 badshell:  No such file or directory
 
 I am still stupid.  I am still locked out.  /etc/passwd and 
 /etc/master.passwd no longer show the badshell.  My configuration 
 appears to be deeply broken.  Why does my procedure fail?  
 

Just a thought, does /bin/csh live in /etc/shells? Is csh actually in
the /bin directory? Is it executable? Perhaps try using /bin/sh for your
shell.

Steve


 Mark
 --
 Mark McConnell - Portland, OR
 Technical Imaging Systems
 [EMAIL PROTECTED]
 503-546-0517
 [EMAIL PROTECTED]
 503-257-7591
 
 ___
 [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: spamassassin

2003-12-20 Thread Mikko Työläjärvi
On Sat, 20 Dec 2003, Doug Reynolds wrote:

 I've been trying to setup spamassassin on my freebsd box with postfix.
 I was reading the other thread about spamassassin.  What i couldn't
 figure out, was how it got the mail from the mail system.  I looked at
 spamd but it didn't look like the program.  I googled and still
 couldn't find a good tutorial.  If someone knows of a good tutorial and
 could give me a quick explaination, i'd be greatful.  Oh, I am running
 5.1-RELEASE.  thanx

Have you looked at ports/mail/spamass-milter?

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


Mail in a Jail

2003-12-20 Thread Ian Barnes
Hi,

I run my web sites from a jail. The time has come that i now need to send an
email from one of those sites using the mail() function in php.

I would like to know, what files do i need to be able to send mail from the
jail using the mail command. The box is using sendmail as its mta, and is
running 4.9 release.

Thanks.

Ian

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


Sendmail in a jail

2003-12-20 Thread Ian Barnes
Hi,

I run my web sites from a jail. The time has come that i now need to send an
email from one of those sites using the mail() function in php.

I would like to know, what files do i need to be able to send mail from the
jail using the mail command. The box is using sendmail as its mta, and is
running 4.9 release.

Thanks.

Ian

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


Re: Different versions of ports...

2003-12-20 Thread Scott W
John Wilson wrote:

Hi folks,

I've recently started playing around with X and various desktop managers.
There is one point that seems a little troublesome however...  after
recently browsing about the installed ports/packages on my system, it
appears that different programs require different versions of one
particular package.  Here is one such instance:
glib-1.2.10_10  =   up-to-date with port
glib-2.2.3  =   up-to-date with port
Is this going to cause any trouble at some later point?  If so, what would
be the best way to remove the earlier version and be sure that only the
newest version remains?
Thank you for your help,
John W.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Have the same on my system- glib looks to be a C library of utilities, 
I'm not familar enough with freebsds various package tools to generate a 
list of forward/backward dependencies on it, but perusing 
/var/db/pkg/glib-version/+CONTENTS looks like 'pkgconfig' is the only 
dependency for the earlier version, while Perl, gettext, the iconv 
library and a few others are dependent on the newer version (unless I'm 
reading the file deps backwards..).

Both packages install in mutually exclusive directories (with versions 
built into dir names), so it shouldn't be a problem...

Scott

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


[no subject]

2003-12-20 Thread freebsd51
I have a USB device that generates errors at boot start. 
I don't care to get the device working, but the machine won't boot unless the device 
is plugged in (yes, I've tried various settings for ACPI, APM, etc, etc - it is a 
quirk of some sort). Is there a way to tell the USB subsystem to 'ignore' a device on 
the bus based on id/name/etc.?

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


5.2-rc1 Install

2003-12-20 Thread Lars Köller


Hi,

I'm trying to install a 5.2 system and have had a lot of trouble:

 - The disk images won't boot on my Adaptec 2940UW controller with the 
   latest Firmware.
   I have to make an image by myself with mkisofs and cdrecord. After 
   this all boots well.

 - My installation isn't runable, cause the kernel don't find the rootfs
   - Disk configuration:
 - ad0 (s1: FreeBSD-4.0)
 - da0 (s1: FAT32, W98)
 - da1 (s1: FBSD-5.2)
 - da2 (s1: FAT32)

   I install on da1 without any problems. After the reboot all the 
   disks are found by GEOM.

   However the kernel only finds da0s1a  da1  ad0s1a as a 
   rootfs, da1s1a is missing.

   The disk numeration is the same as during the install.

Cause I have no access to ufs2 I'm not able to have a look into it from 
the running 4.9 system. The disklabel seems to bo o.k.:


[EMAIL PROTECTED]:~/
142646 : disklabel da1s1
# /dev/da1s1c:

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  419430404.2BSD 2048 16384 28552   # (Cyl.0 - 261*)
  b:  1073152  6291456  swap# (Cyl.  391*- 458*)
  c: 177678270unused0 0 # (Cyl.0 - 1105*)
  d:  1048576  41943044.2BSD 2048 16384 8   # (Cyl.  261*- 326*)
  e:  1048576  52428804.2BSD 2048 16384 8   # (Cyl.  326*- 391*)
  f: 10403219  73646084.2BSD 2048 16384 28552   # (Cyl.  458*- 1105*)
super block size 0

Any ideas?

Best regards

Lars

-- 
Lars Köller
E-Mail: [EMAIL PROTECTED] ([EMAIL PROTECTED])
 FreeBSD, was sonst?  http://www.de.freebsd.org 


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


Re: Vinum error Can't initialize drive a: Invalid argument

2003-12-20 Thread Marc Smits
Citeren Greg 'groggy' Lehey [EMAIL PROTECTED]:

 [Format recovered--see http://www.lemis.com/email/email-format.html]
 
 Computer output wrapped.
 
 On Friday, 19 December 2003 at 17:34:20 +0100, Marc Smits wrote:
  Hello,
 
  I am running FreeBSD-4.7-realease and want to create a striped plex
  from 2 new 80Gb disks.
 
  Here's my vinum-description:
   drive a device /dev/ad2s1e
   drive b device /dev/ad3s1e
   volume stripe0
   plex org striped 256k
   sd length 78159m drive a
   sd length 78159m drive b
 
  When I run 'vinum create vinum.conf' The message I get is:
  1: drive a device /dev/ad2s1e
   ** 1 Can't initialize drive a: Invalid argument
  2: drive b device /dev/ad3s1e
   ** 2 Can't initialize drive b: Invalid argument
   0 drives:
   1 volumes:
   V stripe0   State: down Plexes:   1 Size: 152GB
 
   1 plexes:
   P stripe0.p0  S State: faulty   Subdisks: 2 Size: 152GB
 
   2 subdisks:
   S stripe0.p0.s0 State: crashed  PO:0  B Size: 76GB
   S stripe0.p0.s1 State: crashed  PO:  256 kB Size: 76GB
 
  I used sysinstall to fdisk and label the partitions.
 
 How?  IIRC sysinstall won't create a Vinum partition for you.  You
 need to use disklabel, as described in the man page.
 
  What do need to do diffrent to get vinum to use the partitions?
 
 That depends on exactly what you've done, but I think it's what I said
 above.
 
 Greg
 --
Dear Greg,

Thanks a lot for the suggestion. It took me a while to dig through the man page,
but I finally got around it. 

For anyone who's interested (I can imagine more people run in to this), here's
the solution:

*1* Create a partition using sysinstall's fdisk and disklabel utilities.

*2* Use 'disklabel -r ad1' to print that info to a file eg:
ttyp5 13:30 #blah# [/rootdisklabel -r ad1 disklabel.ad1
# /dev/ad1c:
type: ESDI
disk: ad1s1
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 1244
sectors/unit: 2862
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 28620unused0 0 # (Cyl.0 - 1244*)
  e: 286204.2BSD 2048 1638489   # (Cyl.0 - 1244*)


*3* Edit the textfile with above info. change line with the 'e' partition:
  h: 28620vinum # (Cyl.0 - 1244*)

*4* Use 'disklabel -R ad1 /root/disklabel.ad1' to write the new disklabel


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


Installing XFree86 4.3

2003-12-20 Thread Ignacio León
Hi

when executing XFree86 -xf86config XF86Config.new, two errors displayed: 

(EE) Unable to locate/open config file: XFConfig.new
(EE) Error from xf86HandleConfigFile()

Fatal server error: 
no screens found

Where should be XFConfig.new located?


regards

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


postfix and squirrelmail

2003-12-20 Thread dave
Hello,
I've been searching for a site that gives instructions for setting up
postfix and squirrelmail. So far i've been unsuccessful in finding anything
that doesn't involve a database, i want to use ssl encryption and
authenticate via the system password file. Does anyone know a site for this?
Thanks.
Dave.

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


Re: Installing XFree86 4.3

2003-12-20 Thread Ion-Mihai Tetcu
On Sat, 20 Dec 2003 15:37:46 +0100
Ignacio León [EMAIL PROTECTED] wrote:

 Hi
 
 when executing XFree86 -xf86config XF86Config.new, two errors displayed: 
 
 (EE) Unable to locate/open config file: XFConfig.new
 (EE) Error from xf86HandleConfigFile()
 
 Fatal server error: 
 no screens found
 
 Where should be XFConfig.new located

probably /root




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


Re: IDE to CF issue

2003-12-20 Thread David Kelly
On Dec 19, 2003, at 5:00 PM, Cybertime Hostmaster wrote:

I have been trying to get FreeBSD onto a CF, and had an assortment of
issues.
[...]

Anyone have an idea where to start?
Others have been slow to respond so I'll kick in altho its been 9 
months since I've done what you are attempting, and then it was 4.8 or 
4.7, not 5.1.

I wrote my CFs using a USB-to-CF adapter. That might make a difference. 
disklabel(8) has morphed into bsdlabel(8) with 5.x. The CF was then 
used as the primary storage device for running FreeBSD on a Soekris 
NET4501 SBC.

There are some CF memory cards which do not support multi block 
transfers. There is a way around this problem that I think you could 
find in the mail archives at http://www.soekris.com/. Also pretty sure 
you'll find more FreeBSD people using CF media there than here.

For starters I'd triple check to make sure /dev/ad2 is the correct 
device for your interface. Just because your friends use ad2 doesn't 
mean its right for you. IIRC ad8 is a likely candidate. Don't remember 
this was the name used in 4.x but in 5.x usbdevs(8) should list your CF 
card if its connected via USB. Also if using usb you need usbd(8) 
running.

Next, /dev/ad2c should be the entire media surface partition. Is my 
impression that if a BSD label is not on the media most device drivers 
fake a partition table. The scripts I wrote (which I don't have access 
to) for a former employer nuked the first 32k or 64k of a CF card with 
/dev/null then used disklabel to create new paying careful attention to 
make sure I changed both on-media and in-core labels. Most CF cards 
have a FAT filesystem and partition table on them to start with.

Brief experiments converting my script to work with bsdlabel(8) failed. 
Wasn't being paid to do 5.x so I didn't pursue it further.

Know you are saying that you have a filesystem image that you are 
trying to lay on a CF card. That works OK as long as all of your CF 
cards are identical and from the same batch. Two CF cards of same 
model, size, and manufacturer are not necessarily the same inside.

If you can create your own disk/bsd label on the media, then newfs(8) 
it, then you will be 90% done.

We were placing about 40MB of data on 256MB cards. I found it much 
faster to script disklabel(8) and newfs(8) then tar(1) or restore(8) 
our content than to block copy filesystem images. The first wrote 
little more than 40MB, the other had to write 256MB.

--
David Kelly N4HHE, [EMAIL PROTECTED]

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


please guide me

2003-12-20 Thread siavash mahjoob
hi
i have problem.i recently working working with gnome at freebsd 5.0.
when i write startx command i occure with this message : couldnot open mixer device 
/dev/sound/mixer.
my sound card is onboard AC97
PLEASE GUIDE ME
siavash mahjoob
[EMAIL PROTECTED]
 


-
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: spamassassin

2003-12-20 Thread Rob Ellis
On Sat, Dec 20, 2003 at 09:38:50AM -0500, Doug Reynolds wrote:
 I've been trying to setup spamassassin on my freebsd box with postfix. 
 I was reading the other thread about spamassassin.  What i couldn't
 figure out, was how it got the mail from the mail system.  I looked at
 spamd but it didn't look like the program.  I googled and still
 couldn't find a good tutorial.  If someone knows of a good tutorial and
 could give me a quick explaination, i'd be greatful.  Oh, I am running
 5.1-RELEASE.  thanx
 

You might look at 'amavisd-new' in the ports tree. It's a good
way of running spamassassin with postfix. It has install instructions.

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


How to Upgrade OpenLDAP

2003-12-20 Thread Bob Perry
I went to the port directory net/openldap21-client/ to install 
openldap-client-2.1.23 and
could only find a Makefile.  Do I just install the server?  I didn't see 
one in my
list of ports with the previous openldap-client-2.0.27.

Thanks,
Bob
--
FreeBSD 4.8-RELEASE-p13 0#
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Portupgrade Stale Dependency Issue

2003-12-20 Thread Bob Perry
Just ran pkgdb -F per prompt from the portversion program and got the 
following
two messages:

Stale origin: 'textproc/ruby-rdoc': perhaps moved or obsoleted.
- The port 'textproc/ruby-rdoc' was removed on 2003-12-15 because:
   integrated into ruby18 and ruby16-shim-ruby18
- Hint: ruby-rdoc-0.9.0 is not required by any other package
- Hint: checking for overwritten files...
- No files installed by ruby-rdoc-0.9.0 have been overwritten by other 
packages.
Deinstall ruby-rdoc-0.9.0 ? [no]

Appears as though I'm being told that ruby-rdoc-0.9.0 can be removed, 
yet the
default selection re deinstall is no.  Am I missing something?

Second:
Stale dependency: gnome2-2.4.1 - openldap-client-2.1.23 
(net/openldap21-client):
openldap-client-2.0.27 (score:76%) ? ([y]es/[n]o/[a]ll) [no]

I click the default selection no and I'm prompted to input a new 
dependency.
Assuming that I need to install openldap-client-2.1.23, I review the
net/openldap21-client port directory and I only find a Makefile.

If someone can explain what the program is asking, I may be in a better
position to respond appropriately.
Thanks very much,
Bob


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


[Fwd: Portupgrade Stale Dependency Issue]

2003-12-20 Thread Bob Perry
You may disregard this message.  It was written much earlier in the day
but for some reason is just appearing in the mailing list.  I thought 
the message
was withheld and prepared another.

Bob

 Original Message 
Subject:Portupgrade Stale Dependency Issue
Date:   Sat, 20 Dec 2003 12:38:55 -0500
From:   Bob Perry [EMAIL PROTECTED]
To: FreeBSD-Questions [EMAIL PROTECTED]


Just ran pkgdb -F per prompt from the portversion program and got the 
following
two messages:

Stale origin: 'textproc/ruby-rdoc': perhaps moved or obsoleted.
- The port 'textproc/ruby-rdoc' was removed on 2003-12-15 because:
  integrated into ruby18 and ruby16-shim-ruby18
- Hint: ruby-rdoc-0.9.0 is not required by any other package
- Hint: checking for overwritten files...
- No files installed by ruby-rdoc-0.9.0 have been overwritten by other 
packages.
Deinstall ruby-rdoc-0.9.0 ? [no]

Appears as though I'm being told that ruby-rdoc-0.9.0 can be removed, 
yet the
default selection re deinstall is no.  Am I missing something?

Second:
Stale dependency: gnome2-2.4.1 - openldap-client-2.1.23 
(net/openldap21-client):
openldap-client-2.0.27 (score:76%) ? ([y]es/[n]o/[a]ll) [no]

I click the default selection no and I'm prompted to input a new 
dependency.
Assuming that I need to install openldap-client-2.1.23, I review the
net/openldap21-client port directory and I only find a Makefile.

If someone can explain what the program is asking, I may be in a better
position to respond appropriately.
Thanks very much,
Bob


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


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


Re: [Fwd: Portupgrade Stale Dependency Issue]

2003-12-20 Thread Ion-Mihai Tetcu
On Sat, 20 Dec 2003 18:32:34 -0500
Bob Perry [EMAIL PROTECTED] wrote:

 Just ran pkgdb -F per prompt from the portversion program and got the 
 following
 two messages:
 
 Stale origin: 'textproc/ruby-rdoc': perhaps moved or obsoleted.
 - The port 'textproc/ruby-rdoc' was removed on 2003-12-15 because:
integrated into ruby18 and ruby16-shim-ruby18
 - Hint: ruby-rdoc-0.9.0 is not required by any other package
 - Hint: checking for overwritten files...
 - No files installed by ruby-rdoc-0.9.0 have been overwritten by
 other packages.
 Deinstall ruby-rdoc-0.9.0 ? [no]
 
 Appears as though I'm being told that ruby-rdoc-0.9.0 can be removed, 
 yet the
 default selection re deinstall is no.  Am I missing something?

As the hint says, you can deintsall it. After you're done with pkgdf -F
do a portupgrade -r on ruby18 or ruby16-shim-ruby18, which ever you
have.
 
 Second:
 Stale dependency: gnome2-2.4.1 - openldap-client-2.1.23 
 (net/openldap21-client):
 openldap-client-2.0.27 (score:76%) ? ([y]es/[n]o/[a]ll) [no]

It seems that you had down-graded your open-ldap. You now have installed
openladap 2.0.27 on you system, but when you've installed gmnome you had
2.1.13; you can either choose:
a) yes (or all) and doing so will point gnome (or all) to depend on
openldap-client-2.0.27 or 
b) no, terminate pkgbd and do a portupgrade on openldap-client to bring
it back to 2.1.xx

Choose what you need (if you have something that requires 2.0 do a if
not do b.)


 I click the default selection no and I'm prompted to input a new 
 dependency.
 Assuming that I need to install openldap-client-2.1.23, I review the
 net/openldap21-client port directory and I only find a Makefile.

And ? That make file sets CLIENT_ONLY=yes and includes the
../openldap21-server's Makefile so all is OK. Looking at the places
where CLINET_ONLY appears in the Make file tells that You can define to
have or not the docs installed and to have WITH_SASL with (Cyrus) SASL2
support.

 If someone can explain what the program is asking, I may be in a
 better position to respond appropriately.


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


linking kernelasr.o: In function `asr_attach': asr.o(.text+0x21d5): undefined reference to `osrelease' asr.o: In function `asr_ioctl': asr.o(.text+0x37d0): undefined reference to `osrelease' asr.o(.text+0x37da): undefined reference to `osrelease' iir_ctrl.o: In function `iir_ioctl': iir_ctrl.o(.text+0x212): undefined reference to `osrelease' iir_ctrl.o(.text+0x21d): undefined reference to `osrelease' iir_ctrl.o(.text+0x225): more undefined references to `osrelease' followiir_ctrl.o: In function `iir_ioctl': iir_ctrl.o(.text+0x257): undefined reference to `ostype' imgact_elf.o: In function `elf_corehdr': imgact_elf.o(.text+0xfac): undefined reference to `osreldate' kern_mib.o(.data+0x310): undefined reference to `osrelease' kern_mib.o(.data+0x390): undefined reference to `version' kern_mib.o(.data+0x3d0): undefined reference to `ostype' kern_mib.o(.data+0x410): undefined reference to `osreldate' kern_sysctl.o: In function `ogetkerninfo': kern_sysctl.o(.text+0x160c): undefined reference to `ostype' kern_sysctl.o(.text+0x1638): undefined reference to `osrelease' kern_xxx.o: In function `uname': kern_xxx.o(.text+0x1b9): undefined reference to `version' kern_xxx.o(.text+0x1c2): undefined reference to `version' undefined reference to `osrelease'

2003-12-20 Thread bmiller
Hello freebsd-questions,

During a make installworld for 4.9 stable, the system froze half-way
though the /bin directory (leaving /bin/date with zero bytes).   On
reboot, among other problems, make installworld was hosed.  I reverted
to the 4.8 CD install and tried to bring the system back up to date.
World completed, but kernel compile bombs on make all with:

linking kernel
asr.o: In function `asr_attach':
asr.o(.text+0x21d5): undefined reference to `osrelease'
asr.o: In function `asr_ioctl':
asr.o(.text+0x37d0): undefined reference to `osrelease'
asr.o(.text+0x37da): undefined reference to `osrelease'
iir_ctrl.o: In function `iir_ioctl':
iir_ctrl.o(.text+0x212): undefined reference to `osrelease'
iir_ctrl.o(.text+0x21d): undefined reference to `osrelease'
iir_ctrl.o(.text+0x225): more undefined references to `osrelease' follow
iir_ctrl.o: In function `iir_ioctl':
iir_ctrl.o(.text+0x257): undefined reference to `ostype'
imgact_elf.o: In function `elf_corehdr':
imgact_elf.o(.text+0xfac): undefined reference to `osreldate'
kern_mib.o(.data+0x310): undefined reference to `osrelease'
kern_mib.o(.data+0x390): undefined reference to `version'
kern_mib.o(.data+0x3d0): undefined reference to `ostype'
kern_mib.o(.data+0x410): undefined reference to `osreldate'
kern_sysctl.o: In function `ogetkerninfo':
kern_sysctl.o(.text+0x160c): undefined reference to `ostype'
kern_sysctl.o(.text+0x1638): undefined reference to `osrelease'
kern_xxx.o: In function `uname':
kern_xxx.o(.text+0x1b9): undefined reference to `version'
kern_xxx.o(.text+0x1c2): undefined reference to `version'
kern_xxx.o(.text+0x1cb): undefined reference to `version'
machdep.o: In function `cpu_startup':
machdep.o(.text+0x140): undefined reference to `version'
*** Error code 1  

Does anyone have any suggestions?
Thanks!

-- 
Best regards,
 bmiller  mailto:[EMAIL PROTECTED]

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


Re: please guide me

2003-12-20 Thread Simon Barner
 i have problem.i recently working working with gnome at freebsd 5.0.
 when i write startx command i occure with this message : couldnot
 open mixer device /dev/sound/mixer.
 my sound card is onboard AC97

Is your sound card recognized by the kernel: To test it, have a look at
the output of

% dmesg | grep pcm

If that yields nothing, you have load the pcm module:

# kldload pcm

If that didn't work, you will have to tell us more about your chipset.
Otherwise, you can now test your mixer device on the command line before
trying Gnome again:

% mixer

prints your current volume settings.

Simon


signature.asc
Description: Digital signature


Re: Troubleshooting a Freeze

2003-12-20 Thread Matthew Seaman
On Sat, Dec 20, 2003 at 12:30:22PM -0500, Ryan Sandridge wrote:
 Are there any general or specific tips on how to figure out what is  
 causing FreeBSD to just freeze up?  The machine is not at my physical  
 location, and I log in using ssh.  I've checked all the logs in  
 /var/log for some kind of clue, but I haven't found anything helpful.   
 The machine has worked fine for over 6 months, until the last few days  
 it freezes up at apparently random times, normally within the first 12  
 hours of being up.  While many ports have been added over the past 6  
 months, nothing was added on or around the time I started experiencing  
 the problem.

Sounds hardware-ish to me.  Thermal cut out?  Fans going awol?  Power
supply going flakey?  Try using the sysutils/xmbmon port to monitor
fan speed, CPU and motherboard temperature, PSU voltages. (Works well
if you hook it into rrdtool or mrtg to produce graphs against time).
Get the NOC people to check that the machine is getting an
unobstructed flow of cooling air and that filters are not clogged by
dust.  While they're there make sure there isn't anything printed out
to the system console when the system goes down.

If that's all OK, try running a few cycles of memtest86
(http://www.memtest86.com) to see if it can turn up any anomalies.  

Failing finding any memory problems, then try enabling crash dumps by
setting eg:

dumpdir=/dev/da0s1b

in /etc/rc.conf (Nb. requires that your swap partition contains
slightly more space than the amount of RAM in you machine).  Compile a
kernel with debugging symbols.  When the machine conks out again, see
if you can get a core image.  Use gdb to try and get a traceback
showing what went wrong.  If that doesn't give you any clues as to how
you can fix things, submit a PR with the traceback information and
anything else pertinent, and see if any of the developers have any
suggestions.

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

explains all about kernel crash dumps.

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: backup drive bootabel

2003-12-20 Thread Matthew Seaman
On Sat, Dec 20, 2003 at 12:11:24PM -0800, Noah wrote:

 okay I think I see what fdisk is wanting.  I wanted to run it by you before i
 did anything:
 
 here is the prompts I filles out.  some prompts do have anything appear there
 i just hit return for the default value.  Do I need to change the active
 partition back to anything after running the fdisk Program?  I still want to
 boot from /dev/da0 for the time being.  I just want /dev/da1 drive ready for
 booting if /dev/da0 fails.  Am I on the proper course here?

Looks OK to me -- you have got backups of anything important on that
disk haven't you?  This sort of operation has a high risk of trashing
the drive contents if you don't get things quite right.

Yes, you'll need to set the slice (da1s1) bootable if you want this as
an alternate boot device.  That shouldn't affect the default auto boot
process performed by the boot loader, unless you interrupt the boot
process and change the device selection there manually.

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


rsync and unattended ssh syncing 2 machines

2003-12-20 Thread Brent Bailey
ive been trying to get rsync to work with  unattended SSH and syncing of
file systems
between 2 machines running FBSD 4.9RC. I have rsync installed and i run a
script like

#!/bin/sh

remote=192.168.25.12

fslist=/var/mail /var/db/mysql /usr/local/www/data /user2

for fs in $fslist ;
do
  /usr/local/bin/rsync -avz --delete ${remote}:${fs}/ ${fs}/
done

but when i tail the logs of the remote machine i see..
Dec 20 19:23:26 doppleganger sshd[24493]: Failed password for root from
192.168.25.1 port 4476

Anyone have any good luck with doing this ? suggestions ?? any all all
help is greatly appreciated



-- 
Brent



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


Re: rsync and unattended ssh syncing 2 machines

2003-12-20 Thread Gautam Gopalakrishnan
On Sat, Dec 20, 2003 at 07:56:58PM -0500, Brent Bailey wrote:
 ive been trying to get rsync to work with  unattended SSH and syncing of
 file systems
 between 2 machines running FBSD 4.9RC. I have rsync installed and i run a
 script like
 
 #!/bin/sh
 
 remote=192.168.25.12
 
 fslist=/var/mail /var/db/mysql /usr/local/www/data /user2
 
 for fs in $fslist ;
 do
   /usr/local/bin/rsync -avz --delete ${remote}:${fs}/ ${fs}/
 done
 
 but when i tail the logs of the remote machine i see..
 Dec 20 19:23:26 doppleganger sshd[24493]: Failed password for root from
 192.168.25.1 port 4476


By default, root login is denied. In /etc/ssh/sshd_config, you would
need to add PermitRootLogin yes.

hth
Gautam

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


A utility to verify if an harddisk isworking?

2003-12-20 Thread Joachim Dagerot
I have a few harddisks, they sit in a vinum RAID-5 array, and I have
huge trouble on some of them. Due to lack of vinum support I started
to fipple around myself, ending up in a situation where I would like
to verify each harddisk to see if it's working.

Is there such a utility available?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


rsync and unattended ssh between 2 machines

2003-12-20 Thread Brent Bailey
ive been trying to get rsync to work with  unattended SSH and syncing of
file systems
between 2 machines running FBSD 4.9RC. I have rsync installed and i run a
script like

#!/bin/sh

remote=192.168.25.12

fslist=/var/mail /var/db/mysql /usr/local/www/data /user2

for fs in $fslist ;
do
  /usr/local/bin/rsync -avz --delete ${remote}:${fs}/ ${fs}/
done

but when i tail the logs of the remote machine i see..
Dec 20 19:23:26 doppleganger sshd[24493]: Failed password for root from
192.168.25.1 port 4476

Anyone have any good luck with doing this ? suggestions ?? any all all
help is greatly appreciated






-- 
Brent



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


Re: FreeBSD as dial up server...

2003-12-20 Thread Drew Robertson
Thanks for your help.

Would you happen to know if setting up the FreeBSD box as a DNS server would 
allow network browsing over the PPP link???

I have no idea how to bimap a broadcast address along subnets!!!  But that 
is something I'm gonna have to learn!  I only have one subnet, so I'm not 
sure that'll work in this case.

Thanks again.


From: Harald Schmalzbauer [EMAIL PROTECTED]
To: Drew Robertson 
[EMAIL PROTECTED],[EMAIL PROTECTED]
Subject: Re: FreeBSD as dial up server...
Date: Sat, 20 Dec 2003 12:46:29 +0100

On Saturday 20 December 2003 02:57, Drew Robertson wrote:
 Hi,

 I'm working at getting my FreeBSd 4.8 system to act as a dial up RAS
 server...

 At the moment, I have almost everything working... yay!

 My question to anyone that knows... my FreeBSD system is running SAMBA 
and
 is part of a workgroup in my home...

 Is it possible from a dial up client to view the Network using network
 neighbourhood??  I read somewhere that as the PPP server is a router,
 network browsing will not work... is this true?

That is true. You'd need at least one server at each subnet.
But once I did a ugly hack to make it working: I bimapped broadcast 
addresses
along the subnets. As far as I can remember this worked, but it was just 
for
fun, I never used it. Also prividing a WINS at SAMBA and using that on the
ppp link was usefull but that was long ago (WinNT WinCE and Samba 1)

-Harry


 Thanks.

 _
 ninemsn Premium transforms your e-mail with colours, photos and animated
 text. Click here  http://ninemsn.com.au/premium/landing.asp

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 attach3 
_
Get less junk mail with ninemsn Premium. Click here  
http://ninemsn.com.au/premium/landing.asp

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


Initial install (packages vs. ports)

2003-12-20 Thread Trey Sizemore
Just for clarification...

The trade off I see with installing from CD vs. doing a minimal install 
is that when it comes time to upgrade it will cause more issues.

By this I mean that if I do a minimal install and then later install 
from ports it will be more seamless than installing first from packages 
(like KDE, for example) and then trying to upgrade with ports later.

Certainly packages from the CD would be installed quicker than having to 
build from ports, but at the cost of future upgrades.

Is this true, a little off the mark, or way off?

Thanks,

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


Re: bad root shell

2003-12-20 Thread Scott I. Remick
On Sat, 20 Dec 2003 09:44:17 -0800, Mark McConnell wrote:

 An error in a pw* script inserted a non-existent shell into the password
 database, effectively locking out root.
 
 I used a fixit disk to correct the problem, using this procedure:

Unless I'm missing something, seems like the long way to do this. Last
time I did this to myself, I did the following:

1) Log in as a user who can su to root.
2) Use su -m to su to root without changing your current shell
3) As root, use chpass -s to change your shell to a working one.

Of course, this won't work if your only account is root or you don't
have anyone else in the wheel group, so maybe it doesn't apply to you.

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


Re: How to Upgrade OpenLDAP

2003-12-20 Thread Aaron
Bob Perry wrote:
I went to the port directory net/openldap21-client/ to install 
openldap-client-2.1.23 and
could only find a Makefile.  Do I just install the server?  I didn't see 
one in my
list of ports with the previous openldap-client-2.0.27.
That Makefile references the server port, and defines CLIENT_ONLY=yes

Building the client will run the Makefile in server, the overall port, 
but only with client features.

Build server and you should get both, as server depends on client.

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


Re: FreeBSD as dial up server...

2003-12-20 Thread Harald Schmalzbauer
On Sunday 21 December 2003 03:52, Drew Robertson wrote:
 Thanks for your help.

 Would you happen to know if setting up the FreeBSD box as a DNS server
 would allow network browsing over the PPP link???

No. DNS doesn't help in this situation. But anyhow, DNS is reqired for Samba 
to act as WINS server which could help. Can't remember exactly if wins itself 
was enough to enable dial-up browsing.
I did the broadcast bimap with ipf (Darren Reeds IPFilter) (like bimap tun0 
192.168.1.255/32 - 192.168.0.255/32 for ipnat.conf)

-Harry


 I have no idea how to bimap a broadcast address along subnets!!!  But that
 is something I'm gonna have to learn!  I only have one subnet, so I'm not
 sure that'll work in this case.

 Thanks again.


 From: Harald Schmalzbauer [EMAIL PROTECTED]

 To: Drew Robertson
 [EMAIL PROTECTED],[EMAIL PROTECTED]
 Subject: Re: FreeBSD as dial up server...
 Date: Sat, 20 Dec 2003 12:46:29 +0100
 
 On Saturday 20 December 2003 02:57, Drew Robertson wrote:
   Hi,
  
   I'm working at getting my FreeBSd 4.8 system to act as a dial up RAS
   server...
  
   At the moment, I have almost everything working... yay!
  
   My question to anyone that knows... my FreeBSD system is running SAMBA
 
 and
 
   is part of a workgroup in my home...
  
   Is it possible from a dial up client to view the Network using network
   neighbourhood??  I read somewhere that as the PPP server is a router,
   network browsing will not work... is this true?
 
 That is true. You'd need at least one server at each subnet.
 But once I did a ugly hack to make it working: I bimapped broadcast
 addresses
 along the subnets. As far as I can remember this worked, but it was just
 for
 fun, I never used it. Also prividing a WINS at SAMBA and using that on the
 ppp link was usefull but that was long ago (WinNT WinCE and Samba 1)
 
 -Harry
 
   Thanks.
  
   _
   ninemsn Premium transforms your e-mail with colours, photos and
   animated text. Click here  http://ninemsn.com.au/premium/landing.asp
  
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   [EMAIL PROTECTED]
 
  attach3 

 _
 Get less junk mail with ninemsn Premium. Click here
 http://ninemsn.com.au/premium/landing.asp


pgp0.pgp
Description: signature


Problems with dual HD's under FreeBSD.

2003-12-20 Thread Dragoncrest
Ok, I admit I've never encountered this issue before, so I'm stumped. Being 
the cautious type I first installed Freebsd by removing my backup drive and 
booting that way. That was to prevent myself from acidentily nuking my 
secondary drive which is my backup/storage drive. Ok, Freebsd install goes 
great and I'm now ready to add the second HD back in and mount it. One 
problem. Upon boot it loads the ATA drivers for ata0 and ata1 (primary and 
secondary IDE controlers) and then it tries to initialize ad0 which it 
successfully does, but it gets a read error on drive 2 which is ad1. If I 
run these drives on separate controlers I have zero issues, but when 
they're together as master/slave, whichever drive is slave refuses to 
initialize, however the bios sees it fine. I've got it running with the 
cdrom and drive2 on the secondary IDE and drive1 on the primary IDE. Thing 
is, they worked fine as master/slave before I reloaded BSD. Interestingly 
enough, even the boot floppy for installing the OS gives a fit about this.

So in short until I unplugged the second drive and switched it from master 
to single and back to master I didn't have any issues. Since the drives are 
UFS I can't test this with dos to see if it sees both drives. About all it 
could test is if it could see the partitions. I admit this isn't really all 
that bad as the system is working, but I'm worried that having the cdrom 
connected to the 2nd HD on the same controler will cause it to slow down 
the 2nd HD.

Anyone got any recommendations on how to correct this HD problem? First 
drive is a 40g WD, second drive is an 80g WD. Both UFS formatted. The 40g 
drive has the OS on it, the 80g drive is drive2, the backup drive.

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