Re: ep driver does not start on 4.9 and 4.10

2004-05-16 Thread doug
Using pccardd worked. There is an entry for the 3Com Megahertz 589E in
/etc/defaults/pccard.conf. As the 7500 has a built-in sound card, I tried
removing irq 5 from the irq pool. However doing that causes the boot to hang
after:

  ppi0:  on ppbus0

I get a similar hang during startup if I add

  pccard_enable="YES"
  ifconfig_ep="DHCP"

to /etc/rc.conf

What is the correct way to do this?


On Sun, 16 May 2004 [EMAIL PROTECTED] wrote:

> Any help or ideas would be greatly appreciated. I have a Dell Inspiron 7500
> (circa 1998) with a 3Com Megahertz card, model 3XXE589ET. On 4.9 and 4.10 the
> device is not probed. there do not seem to be any irq or memory conflicts,
just



_
Douglas Denault
http://www.safeport.com
[EMAIL PROTECTED]
Voice: 301-469-8766
  Fax: 301-469-0601
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to allow 'User-A' to burn CD

2004-05-16 Thread Stephen Liu
Hi folks,

Which file shall I re-configure to authorize 'User-A'
using 'burncd' to burn CD and how to edit it.

TIA

B.R.
Stephen Liu 

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help with editing partition tables

2004-05-16 Thread Viktor Lazlo
On Sun, 16 May 2004, Phil Thomson wrote:

> Hi all,
>
> I am a relative newbie to UNIX, going from being an ex-Windows user to
> being an X Windows user! ;-) I recently got FreeBSD installed on an older
> PC with a 3 GB drive and a 5 GB drive (which has not yet been mounted).
> The system is installed on the 3 GB drive, but my current partition table
> is inadequate to my needs. Here is the output of df -H:
>
> /dev/ad0s1a   260M   254M -15.3M   106%/
> devfs 1.0K   1.0K 0B   100%/dev
> /dev/ad0s1f   3.4G   1.6G   1.6G51%/usr
> /dev/ad0s1e   260M14M   225M 6%/var
>
> As you can see /dev/ad0s1a is dangerously full, and I hadn't finished
> installing applications yet (it got this full as I was
> compiling/installing Pine). Is there a way to change the partition table
> to allocate more space to /dev/ad0s1a? Sounds like a job for fdisk, but
> "man fdisk" leave me none the wiser on how to proceed with this. I've
> checked the online handbook too. Can anyone point me to a guide on this
> process or give me some pointers? TIA!

Most likely the problem is /root filling up with stuff that shouldn't be
there--if you have created a normal user start using that one for your
daily activity and clean out all the app-related files and directories in
/root.

Cheers,

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


Help with editing partition tables

2004-05-16 Thread Robert Huff

Phil Thomson writes:

>  /dev/ad0s1a   260M   254M -15.3M   106%/

I'm not sure what you've done, but you have _way_ too much
stuff in /.  For comparison, my 5.x system:

/dev/da0s1a484M118M327M27%/

Can we please see the output of 

du | sort -nr | head -n 25

done in /? 


Robert Huff






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


Help with editing partition tables

2004-05-16 Thread Phil Thomson
Hi all,

I am a relative newbie to UNIX, going from being an ex-Windows user to
being an X Windows user! ;-) I recently got FreeBSD installed on an older
PC with a 3 GB drive and a 5 GB drive (which has not yet been mounted).
The system is installed on the 3 GB drive, but my current partition table
is inadequate to my needs. Here is the output of df -H:

/dev/ad0s1a   260M   254M -15.3M   106%/
devfs 1.0K   1.0K 0B   100%/dev
/dev/ad0s1f   3.4G   1.6G   1.6G51%/usr
/dev/ad0s1e   260M14M   225M 6%/var

As you can see /dev/ad0s1a is dangerously full, and I hadn't finished
installing applications yet (it got this full as I was
compiling/installing Pine). Is there a way to change the partition table
to allocate more space to /dev/ad0s1a? Sounds like a job for fdisk, but
"man fdisk" leave me none the wiser on how to proceed with this. I've
checked the online handbook too. Can anyone point me to a guide on this
process or give me some pointers? TIA!

Phil



===
Phil Thomson
home: http://www.sfu.ca/~pthomson/
label: http://www.centibel.org/
===
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Using kdm, shell script to declare my locales and startups...

2004-05-16 Thread Bull TORS
Hi,

I am using kdm and I have a ".profile" in my $HOME that contains the following 
declarations:
LC_CTYPE=ja_JP.eucJP;   export LC_CTYPE
LC_ALL=ja_JP.eucJP; export LC_ALL
LC_MESSAGES=ja_JP.eucJP;export LC_MESSAGES
LC_MONETARY=ja_JP.eucJP;export LC_MONETARY
LC_NUMERIC=ja_JP.eucJP; export LC_NUMERIC
LC_TIME=ja_JP.eucJP;export LC_TIME
LC_COLLATE=ja_JP.eucJP; export LC_COLLATE
LANG=ja_JP.eucJP;   export LANG
MM_CHARSET=eucJP;   export MM_CHARSET
LANGUAGE=ja_JP.eucJP;   export LANGUAGE
XMODIFIERS='@im=kinput2';   export XMODIFIERS
/usr/X11R6/bin/kinput2 -canna -xim &

When I use these settings in ".profile", I have no problems...Some of my 
Japanese-Characters written files are shown properly and I can use kinput2 to 
input Japanese Characters with just a little problem.  That problem is when I 
use Ctrl+Alt+Fn to access a console then it says an error 
that /usr/X11R6/bin/kinput2is already running...
This prompted me to read the kdm help and I have read in the kdm help that 
when someone logs using kdm, the shell script Xsession is executed.
So I copied the settings about to my .xsession (is what I know) and .Xsession 
(is what is written in the kde help)...I tried both settings and also 
".xinitrc but I can no longer input Japanese Characters (kinput2 is not 
executed during login) and my Japanese-Character written files appeared 
garbled...
So, am I right in using .profile or do I have to create another text file that 
kdm knows?  Any help or advice would be really appreciated...

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


Re: Disk full / NFS, df, and du

2004-05-16 Thread Eric Anderson
Dan Nelson wrote:
In the last episode (May 16), Eric Anderson said:
 

I have a few large NFS file servers, holding about 1Tb of diskspace
each.  I break those logical disks (it's on a hardware RAID) into
partitions, and share them.  My users fill up the partitions often
enough, and when they do, they rm entire directory trees to free the
space.  They use du to determine how much space is in a directory and
how much they are hogging.
The problem I'm having is, after they do the rm's, it doesn't free the 
disk space.  df shows it still being used, but du claims their 
directories are empty. 

If I reboot the file server, the space magically appears.
I was thinking that it was because a process was using the data, or
directories the data was removed from, so the blocks weren't actually
freed, but that seems a little odd to me, since they claim (and
different users have the same issues, and make the same claims) that
nothing should be touching those areas at all.
How do I get FreeBSD to release those blocks without rebooting?
   

Does a du on server itself show files?  How about "lsof +L1"?  The NFS
protocol doesn't allow clients to unlink files they have open, so
FreeBSD clients (at least) rename open files that are unlinked to
.nfs# until the last process closes the file, and then they delete
it.  If you've got unlinked files held open, it's got to be on the
server itself.
Du on the server shows the same as on the client - only a small amount 
used (36Gb used) whereas a df shows 152Gb used.  I am using solaris and 
linux clients mostly.  This happened on FreeBSD 4.6, and continues on 
this 4.9-RELEASE machine (same partitions, just an upgraded OS).


Eric
--
--
Eric Anderson Sr. Systems AdministratorCentaur Technology
Today is the tomorrow you worried about yesterday.
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HP Printer not working?

2004-05-16 Thread Ihsan Junaidi Ibrahim
> On Thu, 03 Jun 2004 21:48:22 +0200, David Telyas wrote:
>
>I have an i386 running FreeBSD 5.2.1 and KDE, but I can't get my printer
>working. It's a HP Deskjet 5550 connected via USB. I've heard about lpd
>and cups, but don't know which one to use or what the difference is. So
>can anyone guide a Windows user to an easy howto?

I'd gotten it to work with print/apsfilter port using the dj990 driver of
the hpijs package set. There were no native dj5550 driver 6 months ago
hence why I had to use the older driver. It worked fairly well. It's been
long since, the situation may have changed now.

The setup was fairly intuitive and I remember the first time round, I
managed to get it up and running within 5 minutes. However, you don't get
the flashy HP Printer Assistant so it's hard to run diagnostics such as
checking the ink level and whatnot.

Unfortunately there are no easy printing how-to AFAIK for new users
especially ones coming in from Windows.


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


Re: Disk full / NFS, df, and du

2004-05-16 Thread Dan Nelson
In the last episode (May 16), Eric Anderson said:
> I have a few large NFS file servers, holding about 1Tb of diskspace
> each.  I break those logical disks (it's on a hardware RAID) into
> partitions, and share them.  My users fill up the partitions often
> enough, and when they do, they rm entire directory trees to free the
> space.  They use du to determine how much space is in a directory and
> how much they are hogging.
> 
> The problem I'm having is, after they do the rm's, it doesn't free the 
> disk space.  df shows it still being used, but du claims their 
> directories are empty. 
> 
> If I reboot the file server, the space magically appears.
> 
> I was thinking that it was because a process was using the data, or
> directories the data was removed from, so the blocks weren't actually
> freed, but that seems a little odd to me, since they claim (and
> different users have the same issues, and make the same claims) that
> nothing should be touching those areas at all.
> 
> How do I get FreeBSD to release those blocks without rebooting?

Does a du on server itself show files?  How about "lsof +L1"?  The NFS
protocol doesn't allow clients to unlink files they have open, so
FreeBSD clients (at least) rename open files that are unlinked to
.nfs# until the last process closes the file, and then they delete
it.  If you've got unlinked files held open, it's got to be on the
server itself.

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


HP Printer not working?

2004-05-16 Thread Miles Lubin
On Thu, 03 Jun 2004 21:48:22 +0200, David Telyas wrote:

>I have an i386 running FreeBSD 5.2.1 and KDE, but I can't get my printer
>working. It's a HP Deskjet 5550 connected via USB. I've heard about lpd
>and cups, but don't know which one to use or what the difference is. So
>can anyone guide a Windows user to an easy howto?

I just set up my deskjet 5550 connected by USB today with CUPS. It worked perfectly in 
5 minutes. All I needed to do was connect to the CUPS server and set up the printer on 
/dev/ulpt0 with the new deskjet driver (built in). It was so easy it was almost plug 
and play! Follow http://www.freebsddiary.org/cups.php and you will be fine. Dont 
forget to change PATH or it wont work.

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


Disk full / NFS, df, and du

2004-05-16 Thread Eric Anderson
I have a few large NFS file servers, holding about 1Tb of diskspace 
each.  I break those logical disks (it's on a hardware RAID) into 
partitions, and share them.  My users fill up the partitions often 
enough, and when they do, they rm entire directory trees to free the 
space.  They use du to determine how much space is in a directory and 
how much they are hogging. 

The problem I'm having is, after they do the rm's, it doesn't free the 
disk space.  df shows it still being used, but du claims their 
directories are empty. 

If I reboot the file server, the space magically appears. 

I was thinking that it was because a process was using the data, or 
directories the data was removed from, so the blocks weren't actually 
freed, but that seems a little odd to me, since they claim (and 
different users have the same issues, and make the same claims) that 
nothing should be touching those areas at all. 

How do I get FreeBSD to release those blocks without rebooting?
Eric
--
--
Eric Anderson Sr. Systems AdministratorCentaur Technology
Today is the tomorrow you worried about yesterday.
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: troubleshooting page fault/kernel panic

2004-05-16 Thread Kris Kennaway
On Sun, May 16, 2004 at 06:45:09PM -0400, Streiner, Justin wrote:
> This is a freebsd 5.2.1 system.  Sometimes, when copying large amounts of
> data from the network, the machine will page-fault, spit out some errors
> and reboot.
> 
> Any insight as to what could be causing this and what I can do to fix
> it would be greatly appreciated.  I can also provide more details on the
> hardware if needed.

See the developers handbook chapter on kernel debugging on how to
provide the required information to begin tracking this down.

Kris


pgpgpKcSBV2Ic.pgp
Description: PGP signature


Re: Changing /tmplocation?

2004-05-16 Thread Kris Kennaway

On Mon, May 17, 2004 at 12:37:36AM +0200, Joachim Dagerot wrote:
> I have, for some reason, a special partition that mounts to /tmp.
> Unfortunately this partition is very small, so not seldom  do I get
> problems when trying to extract files etc.
> 
> My idea is to have /tmp as a normal directory right under /, if that's
> a bad idea I have a few other disks/volumes where it can reside.
> 
> 
> My question is: how do I chaneg the /tmp location, when in INIT 5 I'm
> not allowed, and since this is a server I don't have a keyboard nor a
> monitor. So I must have it done through telnet (SSH). Is it possible,
> and what steps must I take?
> 
> Thanks in advance!

The canonical way to specify where temporary files should go is to set
the TMPDIR environment variable.  Most applications respect this.

Kris


pgpYoPhuDWSw8.pgp
Description: PGP signature


RE: FreeBSD 4.7 Syslogs

2004-05-16 Thread Cyber Dog
Well, I guess we'll have to chalk this one up to forces of nature.  I
replaced the old syslog.conf with:

# $FreeBSD: src/etc/syslog.conf,v 1.13.2.2 2001/02/26 09:26:11 phk Exp $
#
#   Spaces are NOT valid field separators in this file.
#   Consult the syslog.conf(5) manpage.

# Purchasing database syslog

local7.notice/var/log/purchasing

# Postgres syslog

local0.*/var/log/postgres
local2.*/var/log/qmail/smtpd.log
local3.*/var/log/qmail/send
local4.*/var/log/qmail/masterlog

*.err;kern.debug;mail.crit  /dev/console
*.notice;kern.debug;lpr.info;mail.crit /var/log/messages

authpriv.*  /var/log/authpriv
security.*  /var/log/security
mail.info   /var/log/maillog
lpr.info/var/log/lpd-errs
cron.*  /var/log/cron

*.emerg *

# uncomment this to log all writes to /dev/console to /var/log/console.log
console.info/var/log/console.log


...and low and behold the logs started working.  As you said, it doesn't
seem like it should have made a difference...but something changed.  I still
can't explain why it broke in the first place, but what's most important is
that it started working again.

Your explanation was extremely helpful, and I'm very appreciative.  It's
very admirable that you give of your time to help out complete strangers.
If you have a PayPal account, I wouldn't mind sending over a little token of
my appreciation.

Thanks again,
Matt

-Original Message-
From: JJB [mailto:[EMAIL PROTECTED] 
Sent: Saturday, May 15, 2004 10:42 PM
To: Matt "Cyber Dog" LaPlante
Subject: RE: FreeBSD 4.7 Syslogs

Matt.

You did not reboot system before you captured the requested data,
but that is ok.

I will write this reply in an teaching manner, so don't think  I am
talking down to you.

The  command ps ax displays all the tasks running on your system.

  843  p0- S 0:00.03 syslogd -d
  847  p0- I  0:00.03 syslogd -d
 1214  p0- I 0:00.03 syslogd -dv

from your posted data for ps ax display the above says you have 3
tasks running syslogd in debug mode. An reboot will get rid of this
or you can kill the tasks by using the task number ie 843 for
example. Enter on the command line killall 843 to kill that task
then do ps ax to see that it's gone, then do same for the other 2
numbers  847 & 1214

***
 Now lets cover how syslogs are defined and the control of auto
rotate. This is very poorly described in man syslog and man
newsyslog. The command  man  is the command for display to console
the manual. So man newsyslog would display to the console screen the
manual documentation for the newsyslog command. Be for warned the
man documentation is very poorly written and conveys very little
useful info.

I will focus on the messages log file as an example to explain what
is happening, but same process applies to all log files defined in
/ect/syslog.conf.  In FBSD all messages to syslog uses 2 elements to
define the message, the facility and message level. In syslog.conf
the left side on the line is the facility.level.  The level
describes the severity of the message, and is a keyword from
the following ordered list (higher to lower): emerg, alert, crit,
err, warning, notice, info and debug.  Coding  *.notice means all
messages emerg through notice.

With that info, looking at your syslog.conf it is obvious there are
coding problems with some of the files, but nothing that would cause
an log file not to work. As general rule messages file is reserved
for FBSD system messages not application messages which have their
own log files. Local0 and local7 should not be going to messages
file as they have their own log files.
!local0.*;!local7.*;*.notice;kern.debug;lpr.info;mail.crit;news.err
/var/log/messages this should be re-written as
*.notice;kern.debug;lpr.info;mail.crit /var/log/messages


!local0.*;*.err;kern.debug;auth.notice;mail.crit   /dev/console
!local0.*;*.notice;news.err
/dev/console
!local0.*;*.alert
/dev/console

This is an real mess, should be re-written as
*.err;kern.debug;mail.crit/dev/console

I did not see an news group server enabled in rc.conf so news.err is
not necessary.
You will only see these console messages when you are logged in as
root, they are not saved in between logins.

This
local7.crit;local7.err;local7.notice/var/log/purchasing

should be this
local7.notice/var/log/purchasing
as all the higher message levers are included, does the same thing
as the original statement

Re: Changing /tmplocation?

2004-05-16 Thread Alex E. Kelly
I have a similar problem. I run Mozilla and it saves large .avi files to /tmp 
before saving them to the location I specified before the download. This 
limits the size of the files I can download because /tmp will fill before my 
download finishes, so I get a disk full error.

I had considered creating a symbolic link to make /tmp point to a new 
directory under /usr, but am concerned that this may create some issues.

Ideas?

Alex

On Sunday 16 May 2004 06:37 pm, Joachim Dagerot wrote:
> I have, for some reason, a special partition that mounts to /tmp.
> Unfortunately this partition is very small, so not seldom  do I get
> problems when trying to extract files etc.
>
> My idea is to have /tmp as a normal directory right under /, if that's
> a bad idea I have a few other disks/volumes where it can reside.
>
>
> My question is: how do I chaneg the /tmp location, when in INIT 5 I'm
> not allowed, and since this is a server I don't have a keyboard nor a
> monitor. So I must have it done through telnet (SSH). Is it possible,
> and what steps must I take?
>
> Thanks in advance!
>
> //J
> ___
> [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]"


md0: Preloaded image - system hangs on install

2004-05-16 Thread Dan Harris
Like the subject says.. I'm trying to install 5.2.1-RELEASE on a Compaq 
Proliant 6000 (dual Xeon, 1GB RAM, Compaq SCSI RAID).

When booting the CD: It gets to this message:
md0: Preloaded image (/boot/mfsroot) 4423680 bytes at 0xc09e16d8
at this point the system seems to hang with no recourse other than to 
restart.

The CD is known good (just installed fine on the box next to it, 
different hardware), and this box is currently running another OS 
without any problems.  Can anyone explain why this might fail and if I 
can do something about it?

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


ep driver does not start on 4.9 and 4.10

2004-05-16 Thread doug
Any help or ideas would be greatly appreciated. I have a Dell Inspiron 7500
(circa 1998) with a 3Com Megahertz card, model 3XXE589ET. On 4.9 and 4.10 the
device is not probed. there do not seem to be any irq or memory conflicts, just
nothing displays under network for boot -c.

Various attempts with ifconfig yield: interface ep does not exist.

It worked okay with 4.7 and works with 5.2.1 except with 5.2.1 XFree86 4.3 goes
into some sort of hard loop. As I use this a workstation when I travel, I am
pretty well snookered.



_
Douglas Denault
http://www.safeport.com
[EMAIL PROTECTED]
Voice: 301-469-8766
  Fax: 301-469-0601
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


troubleshooting page fault/kernel panic

2004-05-16 Thread Streiner, Justin
This is a freebsd 5.2.1 system.  Sometimes, when copying large amounts of
data from the network, the machine will page-fault, spit out some errors
and reboot.

Any insight as to what could be causing this and what I can do to fix
it would be greatly appreciated.  I can also provide more details on the
hardware if needed.

/var/log/messages shows the following from the event that caused the
reboot:

May 16 18:32:20 whammy kernel: Fatal trap 12: page fault while in kernel mode
May 16 18:32:20 whammy kernel: cpuid = 0; apic id = 00
May 16 18:32:20 whammy kernel: fault virtual address= 0xf0db264b
May 16 18:32:20 whammy kernel: fault code   = supervisor read, page not 
present
May 16 18:32:20 whammy kernel: instruction pointer  = 0x8:0xc064f2a7
May 16 18:32:20 whammy kernel: stack pointer= 0x10:0xd77ccc48
May 16 18:32:20 whammy kernel: frame pointer= 0x10:0xd77ccc6c
May 16 18:32:20 whammy kernel: code segment = base 0x0, limit 0xf, 
type 0x1b
May 16 18:32:20 whammy kernel: = DPL 0, pres 1, def32 1, gran 1
May 16 18:32:20 whammy kernel: processor eflags = interrupt enabled, resume, IOPL = 0
May 16 18:32:20 whammy kernel: current process  = 45 (swi7: task queue)
May 16 18:32:20 whammy kernel: trap number  = 12
May 16 18:32:20 whammy kernel: panic: page fault
May 16 18:32:20 whammy kernel: cpuid = 0;
May 16 18:32:20 whammy kernel: boot() called on cpu#0
May 16 18:32:20 whammy kernel:
May 16 18:32:20 whammy kernel: syncing disks, buffers remaining... 3233 3233 3233 3233 
3233 3233 3233 3233 3233 3233 3233 3233 3233 3233 ath0: device timeout
May 16 18:32:20 whammy kernel: 3233 ad1: WARNING - WRITE_DMA interrupt was seen but 
timeout fired LBA=6728498
May 16 18:32:20 whammy kernel: 3233 3233 3233 3233 3233 ad1: WARNING - WRITE_DMA 
interrupt was seen but timeout fired LBA=6728498
May 16 18:32:20 whammy kernel:
May 16 18:32:20 whammy kernel: giving up on 2914 buffers
May 16 18:32:20 whammy kernel: Uptime: 2h24m54s
May 16 18:32:20 whammy kernel: ad1: WARNING - WRITE_DMA interrupt was seen but 
taskqueue stalled LBA=6728498
May 16 18:32:20 whammy kernel: ad0: WARNING - FLUSHCACHE interrupt was seen but 
taskqueue stalled
May 16 18:32:20 whammy kernel: ad1: WARNING - FLUSHCACHE interrupt was seen but 
taskqueue stalled
May 16 18:32:20 whammy kernel: Shutting down ACPI
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: properties of a file

2004-05-16 Thread Matthew Seaman
On Sun, May 16, 2004 at 10:51:13PM +0100, arden wrote:
> just a quick question 
> 
> i know df will tell me the properties of the partition im in, but how do
> i find out how big a signal file is ?

ITYM 'single file':

% ls -l filename

Where the 5th field in the output is the file size in bytes.
But there are very many other ways to get that information:

% wc -c filename
% stat -f %z filename

etc. etc.

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


pgphGGaZ2xnqL.pgp
Description: PGP signature


Changing /tmplocation?

2004-05-16 Thread Joachim Dagerot
I have, for some reason, a special partition that mounts to /tmp.
Unfortunately this partition is very small, so not seldom  do I get
problems when trying to extract files etc.

My idea is to have /tmp as a normal directory right under /, if that's
a bad idea I have a few other disks/volumes where it can reside.


My question is: how do I chaneg the /tmp location, when in INIT 5 I'm
not allowed, and since this is a server I don't have a keyboard nor a
monitor. So I must have it done through telnet (SSH). Is it possible,
and what steps must I take?

Thanks in advance!

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


Re: Strange Mozilla crash

2004-05-16 Thread Simon Barner
Daniela wrote:
> Hi!
> 
> My Mozilla hangs very often, and now I attached to the hanged process with gdb 
> to see what's wrong. I have debug symbols in Mozilla, in every other program 
> and in the entire OS. The backtrace is:
> 
> #0  0x28458d60 in __sys_poll () from /usr/lib/libc_r.so.4
> #1  0x284582ac in thread_kern_poll (wait_reqd=1)
> at /usr/src/lib/libc_r/uthread/uthread_kern.c:817
> #2  0x28457c71 in _thread_kern_scheduler ()
> at /usr/src/lib/libc_r/uthread/uthread_kern.c:493
> #3  0x0 in ?? ()

Hi,

if you're running FreeBSD 5-current, make sure that all of your
ports use the same thread library.

I don't know whether that will fix your particular crash, but it surely won't
harm ;-)


signature.asc
Description: Digital signature


Re: blacklist(s)

2004-05-16 Thread Gary Kline
On Sun, May 16, 2004 at 04:02:33PM -0500, Micheal Patterson wrote:
> 
> 
> - Original Message - 
> From: "Gary Kline" <[EMAIL PROTECTED]>
> To: "Chuck Swiger" <[EMAIL PROTECTED]>
> Cc: "FreeBSD Mailing List" <[EMAIL PROTECTED]>
> Sent: Sunday, May 16, 2004 3:14 PM
> Subject: Re: blacklist(s)
> 
> 
> > On Sun, May 16, 2004 at 10:01:54AM -0400, Chuck Swiger wrote:
> > > Gary Kline wrote:
> > > >On Fri, May 14, 2004 at 10:00:58PM -0400, Chuck Swiger wrote:
> > > >>According to the RFCs, one MUST NOT bounce mail sent to
> postmaster.
> > > >>One ought to read the rfc-ignorant.org site I mentioned.
> > > [ ... ]
> > > > Well, bit again.  The line in my access file was
> > > >
> > > > 206.46  550 Verizon email not wanted here
> > > >
> > > > that I've commented out. This isn't the first time I've had
> > > > to fine tune; it probably won't be the last.  Apologies!
> > >
> > > Consider using FEATURE(`delay_checks', `friend') and add the
> following to
> > > the access map:
> > >
> > > Spam:abuse@ FRIEND
> > > Spam:postmaster@ FRIEND
> > >
> > > [ Pre 8.12 versions of sendmail use To: instead ]
> > >
> > > ...which will allow you to block mail as you please using IP or
> other
> > > reject rules, yet not prevent delivery of mail to postmaster and
> abuse...
> > >
> >
> > Outstanding idea, at least it seems.  This site has all
> > the details:
> >
> > http://www.technoids.org/spamlovers.html
> >
> > I think that most email to postmaster should be allowed,
> > any everything to abuse.
> >
> > thanks for the tip! (and a tip of the hat),
> >
> > gary
> >
> >
> > -- 
> >Gary Kline [EMAIL PROTECTED]   www.thought.org Public
> service Unix
> >
> 
> Delay_checks does indeed work. However, there are some side effects that
> need to be taken into consideration.
> 
> Since you're basically filtering on the delivery of the message,
> sendmail doesn't check if the user exists until after acceptance. This
> means, that for each and every spam message you receive for an invalid
> user, Sendmail has to send a bounce back to the originator. See the
> gotcha yet? If not read on. :)
> 
> For example, let's say, your mail server handles 50 - 100 thousand
> messages every 24 hours, and 25 thousand of those are spam. Not too
> uncommon in today's internet. Now, let's say that of those 25 thousand
> messages, 20 thousand (conservative number) have forged return
> addresses. You don't see these forgeries on unknown users under
> Sendmail's normal config as the message is rejected at connection time.
> Still don't see the gotcha? That's ok. I didn't either at first when it
> happened to me. Let me explain what I saw with it.
> 
> If sendmail bounces after message acceptance, it now has to send a
> bounce to each of those 20 thousand forged addresses. Each of those
> messages will then bounce and return to postmaster after it can't
> deliver them and at least, 2 things will most definitely occur.
> 
> 1. The amount of mail sitting in your mail queue will increase.
> 
> 2. The amount of mail to postmaster will most definitely increase as
> these messages fail delivery to the forged originators.
> 
> If you're like me, you tend to keep tabs on your postmaster email for
> possible problems, but in my experience, my mail load, both for the
> server and in my mailbox, jumped 150% on my 2 mx's because of
> delay_check. I ended up disabling delay_check and using amavisd and
> spamassassin so that I can filter on connection.
> 
> I personally don't recommend delay_check to be enabled on a large
> production mta. For smaller systems that don't pass a lot of email, it's
> fine. However, for larger systems, I'd recommend using a different
> method.
> 

Appreciate your input.  I was thinking of the side-affect
bounces--that's why I qualified with 'at least it seems'.

For now, for maybe some small-N days, I'll enable the
delay_check feature.  If I get slogged by tons of junk,
I'll rely on dspam (or another filter).  Like just about
everything else, this is a learn-by-experience.

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


properties of a file

2004-05-16 Thread arden
just a quick question 

i know df will tell me the properties of the partition im in, but how do
i find out how big a signal file is ?

arden 

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


Re: FreeBSD installation on a single partition

2004-05-16 Thread Viktor Lazlo
On Sun, 16 May 2004, Lee Harr wrote:

> >I'd like to install FreeBSD on a single partition, how can I do that?
> >The sys/installer complains about a missing swap partition, (I'd rather
> >use swap files though).
> >
>
>
> I have never tried this. It is very possible that the installer cannot
> work without creating a separate swap partition.
>
> What you might try is using 2 disks.
>
> Install normally on to one disk, then copy the installation over to
> the disk that you really want to use, remove the swap partition
> from the fstab, and create the swapfiles you want to use.

Are you referring to BIOS partitions or BSD partitions?

If you are refering to a BIOS partition, this is equivalent to a BSD slice
and the BSD partitions are created within it during the installation.
During a normal installation, sysinstall will create a single slice (BIOS
partition) to hold the BSD partitions unless you instruct it otherwise, so
this will not be a problem.

If you are referring to BSD partitions, I guess you could try removing the
default swap space created when partitioning then creating and configuring
the swap file before rebooting at the end of installation.

Cheers,

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


Re: blacklist(s)

2004-05-16 Thread Micheal Patterson


- Original Message - 
From: "Gary Kline" <[EMAIL PROTECTED]>
To: "Chuck Swiger" <[EMAIL PROTECTED]>
Cc: "FreeBSD Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, May 16, 2004 3:14 PM
Subject: Re: blacklist(s)


> On Sun, May 16, 2004 at 10:01:54AM -0400, Chuck Swiger wrote:
> > Gary Kline wrote:
> > >On Fri, May 14, 2004 at 10:00:58PM -0400, Chuck Swiger wrote:
> > >>According to the RFCs, one MUST NOT bounce mail sent to
postmaster.
> > >>One ought to read the rfc-ignorant.org site I mentioned.
> > [ ... ]
> > > Well, bit again.  The line in my access file was
> > >
> > > 206.46  550 Verizon email not wanted here
> > >
> > > that I've commented out. This isn't the first time I've had
> > > to fine tune; it probably won't be the last.  Apologies!
> >
> > Consider using FEATURE(`delay_checks', `friend') and add the
following to
> > the access map:
> >
> > Spam:abuse@ FRIEND
> > Spam:postmaster@ FRIEND
> >
> > [ Pre 8.12 versions of sendmail use To: instead ]
> >
> > ...which will allow you to block mail as you please using IP or
other
> > reject rules, yet not prevent delivery of mail to postmaster and
abuse...
> >
>
> Outstanding idea, at least it seems.  This site has all
> the details:
>
> http://www.technoids.org/spamlovers.html
>
> I think that most email to postmaster should be allowed,
> any everything to abuse.
>
> thanks for the tip! (and a tip of the hat),
>
> gary
>
>
> -- 
>Gary Kline [EMAIL PROTECTED]   www.thought.org Public
service Unix
>

Delay_checks does indeed work. However, there are some side effects that
need to be taken into consideration.

Since you're basically filtering on the delivery of the message,
sendmail doesn't check if the user exists until after acceptance. This
means, that for each and every spam message you receive for an invalid
user, Sendmail has to send a bounce back to the originator. See the
gotcha yet? If not read on. :)

For example, let's say, your mail server handles 50 - 100 thousand
messages every 24 hours, and 25 thousand of those are spam. Not too
uncommon in today's internet. Now, let's say that of those 25 thousand
messages, 20 thousand (conservative number) have forged return
addresses. You don't see these forgeries on unknown users under
Sendmail's normal config as the message is rejected at connection time.
Still don't see the gotcha? That's ok. I didn't either at first when it
happened to me. Let me explain what I saw with it.

If sendmail bounces after message acceptance, it now has to send a
bounce to each of those 20 thousand forged addresses. Each of those
messages will then bounce and return to postmaster after it can't
deliver them and at least, 2 things will most definitely occur.

1. The amount of mail sitting in your mail queue will increase.

2. The amount of mail to postmaster will most definitely increase as
these messages fail delivery to the forged originators.

If you're like me, you tend to keep tabs on your postmaster email for
possible problems, but in my experience, my mail load, both for the
server and in my mailbox, jumped 150% on my 2 mx's because of
delay_check. I ended up disabling delay_check and using amavisd and
spamassassin so that I can filter on connection.

I personally don't recommend delay_check to be enabled on a large
production mta. For smaller systems that don't pass a lot of email, it's
fine. However, for larger systems, I'd recommend using a different
method.

--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments,
is
for the sole use of the intended recipient(s) and may contain
confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient,
please
contact the sender by reply e-mail and destroy all copies of the
original
message.

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


Re: can't install openssl?

2004-05-16 Thread Lowell Gilbert
"John Lee" <[EMAIL PROTECTED]> writes:

> can't install openssl?
> 
> - latest ports.tar.gz -
> 
> [EMAIL PROTECTED] root]# cd /usr/ports/security/openssl
> [EMAIL PROTECTED] openssl]# make install
> Makefile error: There is a COMMENTFILE in this port.
> COMMENTFILEs have been deprecated in
> favor of COMMENT variables.
> Please, rectify this.
> *** Error code 1
> 
> Stop in /usr/ports/security/openssl.
> [EMAIL PROTECTED] openssl]# 

Maybe you need to update the port.

More likely, you need to delete the COMMENTFILE.
[If the COMMENTFILE was on your disk, but was not in the tree the
first time you ran cvsup, then cvsup will leave it alone, on the
assumption that it is a local modification.]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Strange Mozilla crash

2004-05-16 Thread Daniela
Hi!

My Mozilla hangs very often, and now I attached to the hanged process with gdb 
to see what's wrong. I have debug symbols in Mozilla, in every other program 
and in the entire OS. The backtrace is:

#0  0x28458d60 in __sys_poll () from /usr/lib/libc_r.so.4
#1  0x284582ac in thread_kern_poll (wait_reqd=1)
at /usr/src/lib/libc_r/uthread/uthread_kern.c:817
#2  0x28457c71 in _thread_kern_scheduler ()
at /usr/src/lib/libc_r/uthread/uthread_kern.c:493
#3  0x0 in ?? ()

When detaching from the program, I see the following:
The program is running.  Quit anyway (and detach it)? (y or n) y
Detaching from program: /usr/ports/www/mozilla/work/mozilla/dist/bin/
mozilla-bin, process 33788, thread 1
ptrace: No such process

But the process is still there, so I don't know why ptrace can't find it.
What can I do now? I'm really curious what goes on in a hanging program, and 
maybe I can even fix a bug. I'm familiar with assembly language and also have 
basic C knowledge.

Regards,
Daniela


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


Re: blacklist(s)

2004-05-16 Thread Gary Kline
On Sun, May 16, 2004 at 10:01:54AM -0400, Chuck Swiger wrote:
> Gary Kline wrote:
> >On Fri, May 14, 2004 at 10:00:58PM -0400, Chuck Swiger wrote:
> >>According to the RFCs, one MUST NOT bounce mail sent to postmaster.
> >>One ought to read the rfc-ignorant.org site I mentioned.
> [ ... ]
> > Well, bit again.  The line in my access file was 
> >
> > 206.46  550 Verizon email not wanted here
> >
> > that I've commented out. This isn't the first time I've had 
> > to fine tune; it probably won't be the last.  Apologies!
> 
> Consider using FEATURE(`delay_checks', `friend') and add the following to 
> the access map:
> 
> Spam:abuse@   FRIEND
> Spam:postmaster@  FRIEND
> 
> [ Pre 8.12 versions of sendmail use To: instead ]
> 
> ...which will allow you to block mail as you please using IP or other 
> reject rules, yet not prevent delivery of mail to postmaster and abuse...
> 

Outstanding idea, at least it seems.  This site has all
the details:

http://www.technoids.org/spamlovers.html

I think that most email to postmaster should be allowed,
any everything to abuse.

thanks for the tip! (and a tip of the hat),

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: FreeBSD 4.7 Syslogs

2004-05-16 Thread Micheal Patterson


- Original Message - 
From: "JJB" <[EMAIL PROTECTED]>
To: "Micheal Patterson" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Sunday, May 16, 2004 9:37 AM
Subject: RE: FreeBSD 4.7 Syslogs


> Thanks for the additional info.
>
> I tested using this  logger -p lpr.err  "test test"
> There is no error message about logger not working.
>
> And I get nothing in the /var/log/lpr-errs log file.
>
> syslogd -d  shows nothing happening.
>
> I am running 4.9. virgin install so all the config files are there.
>
> This is so simple that the only conclusion is that it's broken in
> 4.x versions.
>
> Can any one verify that it's working in 4.x versions.
>
> Any ideas of suggestions of how to proceed to get the logger command
> working?
>
> -Original Message-
> From: Micheal Patterson [mailto:[EMAIL PROTECTED]
> Sent: Sunday, May 16, 2004 5:04 AM
> To: Matt "Cyber Dog" LaPlante; 'Matthew Seaman';
> [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: FreeBSD 4.7 Syslogs
>
>

Yes, I can verify that it's working in FreeBSD 4.7, 4.9 and 4.10 RC2


FreeBSD tsgrtr.tsgincorporated.com 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Sat
Apr 12 15:42:55 CDT 2003
[EMAIL PROTECTED]:/usr/src/sys/compile/LANDMARK  i386

Logging to CONSOLE /dev/console
Logging to FILE /var/log/messages
Logging to FILE /var/log/lpd-errs
Logging to FILE /var/log/all.log
logmsg: pri 166, flags 17, from tsgrtr, msg May 16 14:38:58 tsgrtr micheal:
test test


FreeBSD router.rcservers.com 4.9-STABLE FreeBSD 4.9-STABLE #3: Sun Mar 28
20:16:07 CST 2004
[EMAIL PROTECTED]:/usr/src/sys/compile/ROUTER  i386


Logging to CONSOLE /dev/console
Logging to FILE /var/log/messages
Logging to FILE /var/log/lpd-errs
logmsg: pri 166, flags 17, from router, msg May 16 14:37:32 router micheal:
test test
---

FreeBSD fmswfw.firstmedok.com 4.10-RC2 FreeBSD 4.10-RC2 #1: Thu May 13
15:54:10 CDT 2004
root@:/usr/src/sys/compile/FMFW3  i386

Logging to CONSOLE /dev/console
Logging to FILE /var/log/messages
Logging to FILE /var/log/lpd-errs
logmsg: pri 166, flags 17, from fmswfw, msg May 16 14:43:22 fmswfw micheal:
test test

I start syslogd with -s -c -c normally and -s -c -c -d while I was debugging
so I don't get the "message repeated x number of times" entries in my logs
as I have a need to see each entry in the logs.

--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.

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


Re: digital video cameras?

2004-05-16 Thread Ben Paley
On Sunday 16 May 2004 19:47, Christopher Nehren wrote:
> On Sat, 15 May 2004 20:13:15 +0100, Ben Paley wrote:
> >Anyone know anything about digital video cameras and freebsd?



> I've had great luck with a serial camera, actually. It's a Kodak DC3200.
> I access it via the gtkam plugin for the GIMP, which is by far (one of)
> the best image editing program(s) for Unix (and Windows). If you don't
> want to go serial or Kodak, you'll still want to look at the list of
> cameras that libgphoto2 supports.

Thanks a lot - I'll bear this all in mind.

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


Re: mount_msdosfs anomaly

2004-05-16 Thread hoe-waa
ALoha Malcolm
I apologize, I should of answered yesterday.


- Original Message -
From: Malcolm Kay <[EMAIL PROTECTED]>
Date: Friday, May 14, 2004 5:14 pm
Subject: Re: mount_msdosfs anomaly

> On Saturday 15 May 2004 12:04, [EMAIL PROTECTED] wrote:
> > -
> >
> > > On Saturday 15 May 2004 08:59, [EMAIL PROTECTED] wrote:
> > > > Aloha Again
> > > >
> > > > Okay, I had some time and since I had just installed 
> Slackware, I
> > >
> > > didn't> mind blowing it away.
> > >
> > > > Using cfdisk from the Slackware CD, I re-partitioned  slices 3
> > >
> > > and up. I
> > >
> > > > now have a fat32 3Gig slice in primary partition/slice ad0s3. I
> > >
> > > then have
> > >
> > > > four 12 Gig slices (5 - 8) set up as linux partitions. Finally
> > >
> > > slice 9
> > >
> > > > (ad0s9/hda9) is linux swap.
> > >
> > > Do you still have Fat32 in slice 1?
> > >
> > > It is my impression that MS will not allow more than 1 MS primary
> > > slice. It
> > > will force 2nd and subsequent MS file systems into extended
> > > partitions. Of
> > > course if you created "and formatted" the slice outside of MS then
> > > the
> > > comment is irrelevant.
> > >
> > > Posting the output of fdisk (on FreeBSD) might help.
> > >
> > > Malcolm
> >
> > Aloha Malcolm
> >
> > Thanks for responding. Here is the output of fdisk when ran from 
> FBSD:> frankie# fdisk
> > *** Working on device /dev/ad0 ***
> > parameters extracted from in-core disklabel are:
> > cylinders=155061 heads=16 sectors/track=63 (1008 blks/cyl)
> >
> > Figures below won't work with BIOS for partitions not in cyl 1
> > parameters to be used for BIOS calculations are:
> > cylinders=155061 heads=16 sectors/track=63 (1008 blks/cyl)
> >
> > 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 11 (0x0b),(DOS or Windows 95 with 32 bit FAT)
> > start 63, size 10249407 (5004 Meg), flag 0
> > beg: cyl 0/ head 1/ sector 1;
> > end: cyl 637/ head 254/ sector 63
> > The data for partition 2 is:
> > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
> > start 10249470, size 40949685 (19994 Meg), flag 80 (active)
> > beg: cyl 638/ head 0/ sector 1;
> > end: cyl 1023/ head 254/ sector 63
> > The data for partition 3 is:
> > sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
> > start 51199155, size 5863725 (2863 Meg), flag 0
> > beg: cyl 1023/ head 254/ sector 63;
> > end: cyl 1023/ head 254/ sector 63
> > The data for partition 4 is:
> > sysid 5 (0x05),(Extended DOS)
> > start 57062880, size 99233505 (48453 Meg), flag 0
> > beg: cyl 1023/ head 254/ sector 63;
> > end: cyl 1023/ head 254/ sector 63
> > frankie#
> > As you can see, I still have 98SE on partition 1 and partition 3 
> shows as
> > fat32. Slackware was re-installed and is working on P-8 with 
> linux-swap 0n
> > P-9.
> >
> > Is this weird that I cannot mount ad0s3?
> >
> 
> OK, this has moved beyond my ken; but it has aroused my curiosity.
> 
> What is the precise message when trying to mount ad0s3?
> 

$ su
Password:
frankie# mount_msdosfs /dev/ad0s3 /shared
mount_msdosfs: /dev/ad0s3: Invalid argument
frankie#

> You do have a device /dev/ad0s3 revealed by ls?
> 

Yes

frankie# ls -l /dev/ad*
crw-r-  1 root  operator4,  10 May 14 12:54 /dev/ad0
crw-r-  1 root  operator4,  11 May 14 12:54 /dev/ad0s1
crw-r-  1 root  operator4,  12 May 14 12:54 /dev/ad0s2
crw-r-  1 root  operator4,  16 May 14 02:54 /dev/ad0s2a
crw-r-  1 root  operator4,  17 May 14 12:54 /dev/ad0s2b
crw-r-  1 root  operator4,  18 May 14 12:54 /dev/ad0s2c
crw-r-  1 root  operator4,  19 May 14 02:54 /dev/ad0s2d
crw-r-  1 root  operator4,  20 May 14 02:54 /dev/ad0s2e
crw-r-  1 root  operator4,  21 May 14 02:54 /dev/ad0s2f
crw-r-  1 root  operator4,  13 May 14 12:54 /dev/ad0s3
crw-r-  1 root  operator4,  14 May 14 12:54 /dev/ad0s4
crw-r-  1 root  operator4,  22 May 14 12:54 /dev/ad0s5
crw-r-  1 root  operator4,  23 May 14 12:54 /dev/ad0s6
crw-r-  1 root  operator4,  24 May 14 12:54 /dev/ad0s7
crw-r-  1 root  operator4,  25 May 14 12:54 /dev/ad0s8
crw-r-  1 root  operator4,  26 May 14 12:54 /dev/ad0s9
frankie#

> Can you mount slice3 under slackware?
> 
No. But I don't receive any error. Also, I have fstab in Slack supposedly auto 
mounting hda3 but it doesn't happen. curiouser and curiouser!

> You say MS reports the slice as FAT32, but has it actually been 
> formatted?Can you write to it?
> 
Yes and Yes. In win98se I formated what appears as drive D: and then did a full scan 
disk. I have written 2 jpeg files and 1 text file to the drive for test purposes.

> Have you tried mounting the Slackware slice under FreeBSD?
> 
Unfortunately, Slck is installed as reiserfs.

> Does someone out there know the significance of "sysid 12" versus 
>

Re: FreeBSD installation on a single partition

2004-05-16 Thread Lee Harr
I'd like to install FreeBSD on a single partition, how can I do that?
The sys/installer complains about a missing swap partition, (I'd rather
use swap files though).

I have never tried this. It is very possible that the installer cannot
work without creating a separate swap partition.
What you might try is using 2 disks.
Install normally on to one disk, then copy the installation over to
the disk that you really want to use, remove the swap partition
from the fstab, and create the swapfiles you want to use.
_
Getting married? Find tips, tools and the latest trends at MSN Life Events. 
http://lifeevents.msn.com/category.aspx?cid=married

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


Re: HP Printer not working?

2004-05-16 Thread Christopher Nehren
On Thu, 03 Jun 2004 21:48:22 +0200, David Telyas wrote:

>I have an i386 running FreeBSD 5.2.1 and KDE, but I can't get my printer
>working. It's a HP Deskjet 5550 connected via USB. I've heard about lpd
>and cups, but don't know which one to use or what the difference is. So
>can anyone guide a Windows user to an easy howto?

Go http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_5550
there and http://www.linuxprinting.org in general. Look at the LPD
instructions. Fortunately, your printer is supported perfectly. :D Oh,
and for your own sake, forget about the Common Unix PITA System. It's
far too complicated. I'll be glad to help you set up LPD.

-- 
I abhor a system designed for the "user", if that word is a coded
pejorative meaning "stupid and unsophisticated".  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgpfqaSf0FZkp.pgp
Description: PGP signature


Re: digital video cameras?

2004-05-16 Thread Christopher Nehren
On Sat, 15 May 2004 20:13:15 +0100, Ben Paley wrote:
>Anyone know anything about digital video cameras and freebsd? I've got 
>usb but no firewire. What might be a good choice? And what editing 
>software should I be looking at? Is there something in the ports that 
>people like?

I've had great luck with a serial camera, actually. It's a Kodak DC3200.
I access it via the gtkam plugin for the GIMP, which is by far (one of)
the best image editing program(s) for Unix (and Windows). If you don't
want to go serial or Kodak, you'll still want to look at the list of
cameras that libgphoto2 supports.

-- 
I abhor a system designed for the "user", if that word is a coded
pejorative meaning "stupid and unsophisticated".  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgp9IzF3xn0Cq.pgp
Description: PGP signature


Re: possible virus

2004-05-16 Thread Christopher Nehren
On Sat, 15 May 2004 20:01:33 +0100, arden wrote:

>Ive just received an e-mail claiming to be from Microsoft telling me
>torun the attached patch

It's a known worm. Look at the headers and you can clearly see that it's
not from Microsoft. This is why I have mutt and Evolution configured to
always show all headers. If you're bored, try running it under wine,
though I wouldn't do that on a production system. =)

-- 
I abhor a system designed for the "user", if that word is a coded
pejorative meaning "stupid and unsophisticated".  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgpwvwwzIMoFw.pgp
Description: PGP signature


Re: Upgrading OpenLDAP 2.1.30 to 2.2.x

2004-05-16 Thread Chiang Seng Chang
An additional question, does nss_ldap and pam_ldap works with openldap 2.2 ?
-cs
Robert Fitzpatrick wrote:
Can portupgrade be used to upgrade OpenLDAP 2.1.x to 2.2.x by changing
WITH_OPENLDAP_VER in my /etc/make.conf file to 22? Or do I have to
deinstall the 21 package, and reinstall 22 and everything that depends
on it?
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


GPRS + infrared + 'birda'

2004-05-16 Thread Scrupler [SJB]
Hi there

I have troubles connecting GPRS modem to FreeBSD box via infrared
port. As I know I have to use 'birda' package, but my problem
consists in that I'm not sure I use it in a right way. So any
instructions by 'birda' using will be appreciated.

Thanks in advance

Scrupler

PS: Please CC: me

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


Re: FTP problem with IPFW

2004-05-16 Thread Martin Schweizer
Hello Gareth

I had a long time to find a solution for this tricky problem. If you want I 
can send you my rc.firewall.


Am Tue, May 11, 2004 at 05:13:14PM +0200 Gareth Bailey schrieb:
> I have recently setup IPFW on my FreeBSD 5.2 Release
> server. I am running natd to provide inet to 5 LAN users.
> It also runs mail, apache web server amongst others. 
> 
> All seems to be working fine, except for FTP.
> 
> The first two lines of my firewall file are:
> 
> add 1000 allow tcp from any to any via ed0 out keep-state
> add 1100 allow udp from any to any via ed0 out keep-state
> 
> ... then later in the file:
> 
> add 3600 allow tcp from any to me dst-port 21 in via ed0
> setup keep-state 
> 
> I thought this would be sufficient to establish and
> maintain FTP connections. I read through the mailing lists
> and it seems that FTP is tricky with IPFW and natd.
> 
> Is there a simple solution to this problem? Can i just add
> some other rule to my firewall? I read something about natd
> punching through IPFW, is this the answer?
> 
> Any information will be mouch appreciated.
> 
> Thanks,
> Gareth (IPFW newbie)
> _
> For super low premiums ,click here http://www.dialdirect.co.za/quote
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 

Regards,

Martin Schweizer
<[EMAIL PROTECTED]>

PC-Service M. Schweizer; Gewerbehaus Schwarz; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



pgpBYfaPhlhSu.pgp
Description: PGP signature


Re: Command to display the complete picture of hard drive

2004-05-16 Thread Matt Navarre
On Saturday 15 May 2004 00:26, Stephen Liu wrote:
> Hi folks,
>
> FreeBSD 5.2
>
> What command will be used to display the complete
> history of the hard drvice (other than fdisk) listing
> all partitions, their allocated space, used space,
> available space, date of creation, etc.

disklabel(8) and df(1) should give you most of what you need. They'll 
certainly tell you about partitions, used/free space, etc . As for time of 
creation, I don't know of anything that will tell you that. I'd be surprised 
if that was information that was available, it doesn't seem like the kind of 
thing a filesystem needs to know.
>
> TIA
>
> B.R.
> Stephen Liu

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


Re: Upgrading OpenLDAP 2.1.30 to 2.2.x

2004-05-16 Thread Matthew Seaman
On Sun, May 16, 2004 at 12:35:04PM -0400, Robert Fitzpatrick wrote:
> On Sun, 2004-05-16 at 11:24, Matthew Seaman wrote:
> > That means that all of the applications linked against the LDAP shlibs
> > have suddenly stopped working.  To fix them, all you need do is
> > reinstall -- the situation is analogous to the problem with
> > 'libintl.so.N no found' thing that keeps coming up over and over on
> > this list.
> > 
> 
> Thanks for the detailed response. I have decided to upgrade a number of
> packages that are related, like Berkeley DB to version 4.2. Also, I have
> the openldap-sasl-* packages installed working with SASL 2.1.18 and
> Heimdal Kerberos 0.6, but I don't think I need upgrade these two
> packages, they seem to be at their latest versions, so I guess from what
> you're saying, I just need to reinstall these packages. Also, Postfix
> 2.0.16 that has LDAP support and I want to upgrade to 2.1.x. Is there
> any recommended order for this scenario, perhaps upgrade Berkeley first,
> then openldap-sasl-server-2.1.30 and client, then Postfix and reinstall
> all other dependencies?

Right -- the sasl versions of the OpenLDAP client+server can be
updated exactly as I showed.  Just make sure you edit pkgtools.conf's
MAKE_ARGS array so that 'WITH_SASL=yes' gets supplied to the
openldap22 ports as well as the openldap21 ports.

The ordering requirements are basically like I said: openldap client
first, then openldap server then everything else that depends on
openldap client.  If you just let portupgrade sort out the order of
all the other dependencies it will (probably) work just fine.

Since you can install several different versions of the BDB libraries
simultaneously, just install the one you want right at the
beginning. Hmmm.. of course, this shouldn't need to be said, but make
sure you dump out the contents of your LDAP server in ldif format or
otherwise make a backup of it in a format *which doesn't depend on the
precise version of the BDB libs you have installed*.  I think BDB's
on-disk data formats are pretty much compatible across versions, but
I'm not entirely certain.  Obviously make sure slapd and slurpd aren't
running when you start doing any of this.

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


pgpLMRRxa0oGu.pgp
Description: PGP signature


Re: Upgrading OpenLDAP 2.1.30 to 2.2.x

2004-05-16 Thread Robert Fitzpatrick
On Sun, 2004-05-16 at 11:24, Matthew Seaman wrote:
> That means that all of the applications linked against the LDAP shlibs
> have suddenly stopped working.  To fix them, all you need do is
> reinstall -- the situation is analogous to the problem with
> 'libintl.so.N no found' thing that keeps coming up over and over on
> this list.
> 

Thanks for the detailed response. I have decided to upgrade a number of
packages that are related, like Berkeley DB to version 4.2. Also, I have
the openldap-sasl-* packages installed working with SASL 2.1.18 and
Heimdal Kerberos 0.6, but I don't think I need upgrade these two
packages, they seem to be at their latest versions, so I guess from what
you're saying, I just need to reinstall these packages. Also, Postfix
2.0.16 that has LDAP support and I want to upgrade to 2.1.x. Is there
any recommended order for this scenario, perhaps upgrade Berkeley first,
then openldap-sasl-server-2.1.30 and client, then Postfix and reinstall
all other dependencies?

-- 
Robert

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


RE: FreeBSD 4.7 Syslogs

2004-05-16 Thread JJB
Replying to my own post.

I had tried kill -HUP xxx where xxx was the pid number of syslog
task
And still logger did not work

When an task is HUPed does that change the task number? Or is the
task just signaled to re-init it's self?

Rebooted system and logger works as documented now.
Have no idea why it was hosed, but working now and that is all that
matters.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of JJB
Sent: Sunday, May 16, 2004 11:14 AM
To: Warren Block
Cc: Micheal Patterson; [EMAIL PROTECTED]
Subject: RE: FreeBSD 4.7 Syslogs

So I have an typo in my post.
I did look in /var/log/lpd-errs and it's  empty.

Any help as what to do to figure this out?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Warren
Block
Sent: Sunday, May 16, 2004 11:01 AM
To: JJB
Cc: Micheal Patterson; [EMAIL PROTECTED]
Subject: RE: FreeBSD 4.7 Syslogs

On Sun, 16 May 2004, JJB wrote:

> Thanks for the additional info.
>
> I tested using this  logger -p lpr.err  "test test"
> There is no error message about logger not working.
>
> And I get nothing in the /var/log/lpr-errs log file.

That would be /var/log/lpd-errs.

> This is so simple that the only conclusion is that it's broken in
> 4.x versions.

That's a pretty big conclusion from a small test.  Like the old "my
program doesn't work, so it must be a bug in the compiler" jump.
You
are just looking for results in the wrong place.  It's also possible
that you have syslog set to not log that type of error.

> Can any one verify that it's working in 4.x versions.

It works.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

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

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


RE: Unable to unregister from this group

2004-05-16 Thread Eric Crist
I'm guessing you're trying to unregister the wrong email address.  Many
people have more than one, and pay little attention to which account a
particular email comes in on.  Check the headers and see where it's
being delivered to.  Then unsubscribe that email in particular.

HTH

Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Sent: Sunday, May 16, 2004 10:48 AM
To: [EMAIL PROTECTED]
Subject: Unable to unregister from this group


Ive tried umpteen times to unregister via the instuctions at the end of
each email.  I get a response saying that im unregistered, but still I
get emails.  Is there a better solution?   Rob.
___
[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]"


Unable to unregister from this group

2004-05-16 Thread Rob
Ive tried umpteen times to unregister via the instuctions at the end of 
each email.  I get a response saying that im unregistered, but still I 
get emails.  Is there a better solution?   Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Upgrading OpenLDAP 2.1.30 to 2.2.x

2004-05-16 Thread Matthew Seaman
On Sun, May 16, 2004 at 10:25:33AM -0400, Robert Fitzpatrick wrote:
> Can portupgrade be used to upgrade OpenLDAP 2.1.x to 2.2.x by changing
> WITH_OPENLDAP_VER in my /etc/make.conf file to 22? Or do I have to
> deinstall the 21 package, and reinstall 22 and everything that depends
> on it?

You can use portupgrade do that, but it's slightly more complicated
than what you propose.  The way to upgrade to not just a different
version of the same port, but a completely different port is to use
the '-o' option to portupgrade.  Thus in principal to upgrade from
openldap21-client to openldap22-client you would run:

# portupgrade -o net/openldap22-client -f net/openldap21-client

which will replace the openldap21 client side with the openldap22
stuff, fixing up all the dependcy linkages in pkgdb as it does.
(Nb. there aren't any sanity checks while doing this, so you can in
theory persuade the ports system that 'quake2server' is an adequate
substitue for 'gcc34' and other insanities.  Be sure you understand
what you are doing.)

Now, the astute reader will have noticed the weasel words 'in
principal' in that first paragraph.  That's because things are
somewhat more complicated than you might hope.  The problem is that
the openldapXX-client ports provide several shlibs, and the ABI
version number has changed from one openldap version to the other:

% grep .so. openldap21-server/pkg-plist.client 
lib/liblber.so.2
lib/libldap.so.2
lib/libldap_r.so.2
% grep .so. openldap22-server/pkg-plist.client
lib/liblber.so.202
@comment lib/liblber-2.2.so.7
lib/libldap.so.202
@comment lib/libldap-2.2.so.7
lib/libldap_r.so.202
@comment lib/libldap_r-2.2.so.7

That means that all of the applications linked against the LDAP shlibs
have suddenly stopped working.  To fix them, all you need do is
reinstall -- the situation is analogous to the problem with
'libintl.so.N no found' thing that keeps coming up over and over on
this list.

Before we get too happy about doing that, first we need to take care
of the openldap server. But that's only if you've got one running on
this particular system.  It just takes the same sort of command line
as for the client upgrade:

# portupgrade -o net/openldap22-server -f net/openldap21-server

You may have to install some new versions of the Berkely DB library to
get that to work correctly.

Now you can re-install all of the other programs that link against the
openldap shlibs -- which is basically all dependencies of the
openldap-client port.  Note that openldap-server is also a dependency
of openldap-client, but there's no point in re-installing that again,
or anything else updated after the OpenLDAP client software:

# portupgrade -rf net/openldap22-client -x '>=openldap*client'

And that is really all there is to it.  Oh -- although don't forget to
put 'WANT_OPENLDAP_VER=22' into your /etc/make.conf or
/usr/local/etc/pkgtools.conf once you're done.

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


pgpKRPLpuEOBb.pgp
Description: PGP signature


RE: FreeBSD 4.7 Syslogs

2004-05-16 Thread JJB
So I have an typo in my post.
I did look in /var/log/lpd-errs and it's  empty.

Any help as what to do to figure this out?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Warren
Block
Sent: Sunday, May 16, 2004 11:01 AM
To: JJB
Cc: Micheal Patterson; [EMAIL PROTECTED]
Subject: RE: FreeBSD 4.7 Syslogs

On Sun, 16 May 2004, JJB wrote:

> Thanks for the additional info.
>
> I tested using this  logger -p lpr.err  "test test"
> There is no error message about logger not working.
>
> And I get nothing in the /var/log/lpr-errs log file.

That would be /var/log/lpd-errs.

> This is so simple that the only conclusion is that it's broken in
> 4.x versions.

That's a pretty big conclusion from a small test.  Like the old "my
program doesn't work, so it must be a bug in the compiler" jump.
You
are just looking for results in the wrong place.  It's also possible
that you have syslog set to not log that type of error.

> Can any one verify that it's working in 4.x versions.

It works.

-Warren Block * Rapid City, South Dakota USA
___
[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 4.7 Syslogs

2004-05-16 Thread Warren Block
On Sun, 16 May 2004, JJB wrote:

> Thanks for the additional info.
>
> I tested using this  logger -p lpr.err  "test test"
> There is no error message about logger not working.
>
> And I get nothing in the /var/log/lpr-errs log file.

That would be /var/log/lpd-errs.

> This is so simple that the only conclusion is that it's broken in
> 4.x versions.

That's a pretty big conclusion from a small test.  Like the old "my
program doesn't work, so it must be a bug in the compiler" jump.  You
are just looking for results in the wrong place.  It's also possible
that you have syslog set to not log that type of error.

> Can any one verify that it's working in 4.x versions.

It works.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FTP Problems

2004-05-16 Thread Chuck Swiger
Me Actionfigure wrote:
Hi there..Im on 5.1 and every time I try to install a
program using ftp, I usually get about 97% of it
downloaded and get this error:
450 Socket write to client timed-out.
9838592 bytes received in 41:21 (3.87 KB/s)
421 Service not available, remote server has closed
connection.
That's a drag.  Fortunately, however, ftp supports resuming interrupted 
downloads, as per the man page:

 reget remote-file [local-file]
 Reget acts like get, except that if local-file exists and is
 smaller than remote-file, local-file is presumed to be a par-
 tially transferred copy of remote-file and the transfer is
 continued from the apparent point of failure.  This command
 is useful when transferring very large files over networks
 that are prone to dropping connections.
--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: FreeBSD 4.7 Syslogs

2004-05-16 Thread JJB
Thanks for the additional info.

I tested using this  logger -p lpr.err  "test test"
There is no error message about logger not working.

And I get nothing in the /var/log/lpr-errs log file.

syslogd -d  shows nothing happening.

I am running 4.9. virgin install so all the config files are there.

This is so simple that the only conclusion is that it's broken in
4.x versions.

Can any one verify that it's working in 4.x versions.

Any ideas of suggestions of how to proceed to get the logger command
working?

-Original Message-
From: Micheal Patterson [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 16, 2004 5:04 AM
To: Matt "Cyber Dog" LaPlante; 'Matthew Seaman';
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: FreeBSD 4.7 Syslogs



- Original Message -
From: "JJB" <[EMAIL PROTECTED]>
To: "Matt "Cyber Dog" LaPlante" <[EMAIL PROTECTED]>;
"'Matthew
Seaman'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Saturday, May 15, 2004 3:04 PM
Subject: RE: FreeBSD 4.7 Syslogs


> Well since you are new to FBSD and since the syslogd -d commands
> shows that you do not have logging specified in /etc/syslog.conf
for
> the messages file. You just do not know what you are looking at.
Who
> ever was sysadmin before you probably  commented it out for what
> ever reason.
>
> By the way I tried using the logger command on my 4.9 system and
it
> did not write any messages at all. So it is no help in debugging
> this problem. I read the man logger info and as usual the man page
> is useless. Who ever writes those must work real hard at writing
> sentences that convey no meanings.

Logger works just fine if you know how to use it and are running it
as root
and is a good tool for working with syslog problems. The man pages
tell you
quite a bit about provided you can interpret them effectively.

man logger:

logger [-46Ais] [-f file] [-h host] [-p pri] [-t tag] [message ...]

-p pri  Enter the message with the specified priority.  The priority
may
 be specified numerically or as a ``facility.level''
pair.  For
 example, ``-p local3.info'' logs the message(s) as
informational
 level in the local3 facility.  The default is
``user.notice.''


man syslogd will give you a list of all priorities and facilities.

Priorities:

LOG_EMERG A panic condition.  This is normally broadcast to all
   users.

LOG_ALERT A condition that should be corrected immediately, such
as a
   corrupted system database.

LOG_CRIT  Critical conditions, e.g., hard device errors.
LOG_ERR   Errors.
LOG_WARNING   Warning messages.
LOG_NOTICEConditions that are not error conditions, but should
possi-
   bly be handled specially.
LOG_INFO  Informational messages.
LOG_DEBUG Messages that contain information normally of use only
when
   debugging a program.

Facilities:

LOG_AUTH  The authorization system: login(1), su(1), getty(8),
etc.
LOG_AUTHPRIV  The same as LOG_AUTH, but logged to a file readable
only by
   selected individuals.
LOG_CONSOLE   Messages written to /dev/console by the kernel console
out-
   put driver.
LOG_CRON  The cron daemon: cron(8).
LOG_DAEMONSystem daemons, such as routed(8), that are not
provided
   for explicitly by other facilities.
LOG_FTP   The file transfer protocol daemons: ftpd(8), tftpd(8).
LOG_KERN  Messages generated by the kernel.  These cannot be
gener-
   ated by any user processes.
LOG_LPR   The line printer spooling system: lpr(1), lpc(8),
lpd(8),
   etc.
LOG_MAIL  The mail system.
LOG_NEWS  The network news system.
LOG_SECURITY  Security subsystems, such as ipfw(4).
LOG_SYSLOGMessages generated internally by syslogd(8).
LOG_USER  Messages generated by random user processes.  This is
the
   default facility identifier if none is specified.
LOG_UUCP  The uucp system.
LOG_LOCAL0Reserved for local use.  Similarly for LOG_LOCAL1
through
   LOG_LOCAL7.

So, you have facilities of auth, authpriv, console, cron, daemon,
ftp, kern,
lpr, mail, news, security, syslog, user, uucp, local0 - local7 and
you have
priorities of: emerg, alert, crit, err, warning, notice, info and
debug

So, by doing the command logger -p  
like so:

logger -p security.notice "This is a test of security.notice"

You get this in your security log which is default to
/var/log/security

May 16 03:24:14 router /kernel: ipfw: 65000 Deny TCP
222.90.22.52:4267
68.227.96.223:65506 in via ep0
May 16 03:30:03 router micheal: This is a test of security.notice

If you're running syslogd -d you'll see exactly what was sent to
syslogd and
where it was placed:

logmsg: pri 155, flags 0, from router, msg May 16 04:01:04 micheal:
This is
a test of security.notice
Logging to FILE /var/log/messages
Logging to CONSOLE /dev/console
Logging to FILE /var/log/security
logmsg: pri 166, flags 

Re: FreeBSD 4.7 Syslogs

2004-05-16 Thread Shaun T. Erickson
Sunil Sunder Raj wrote:
Hi,
I did not mean to change the permissions to 777 permanently. Just to 
come to a conclusion on whether it is a permission problem. As 90% unix 
problems are related to permissions.
Then you should have said so. But you did not - you simply told an 
admitted "noob" to set the permissions to 777, without any explanation. 
He might have done that, and if it had fixed his problem, he might have 
left it that way, thinking everything was solved - but with his logfile 
open to attack.

Please think about the advice you give, and whom you are giving it to, 
before you give it.

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


Upgrading OpenLDAP 2.1.30 to 2.2.x

2004-05-16 Thread Robert Fitzpatrick
Can portupgrade be used to upgrade OpenLDAP 2.1.x to 2.2.x by changing
WITH_OPENLDAP_VER in my /etc/make.conf file to 22? Or do I have to
deinstall the 21 package, and reinstall 22 and everything that depends
on it?
 
-- 
Robert

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


Re: FreeBSD 4.7 Syslogs

2004-05-16 Thread Sunil Sunder Raj
Hi,
I did not mean to change the permissions to 777 permanently. Just to come to 
a conclusion on whether it is a permission problem. As 90% unix problems are 
related to permissions.

Regards
SSR

From: "Shaun T. Erickson" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: FreeBSD 4.7 Syslogs
Date: Sun, 16 May 2004 09:47:01 -0400
Sunil Sunder Raj wrote:
Just give 777 permissions to /var/log/messages
This is BAD advice, and you should NOT follow it. If you do, you will give 
anyone the ability to modify or delete your log entries, which yoou do NOT 
want. Find and fix the actual problem; don't bypass the symptom with 
something that reduces system security.

	-ste
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


can't install openssl?

2004-05-16 Thread John Lee
can't install openssl?

- latest ports.tar.gz -

[EMAIL PROTECTED] root]# cd /usr/ports/security/openssl
[EMAIL PROTECTED] openssl]# make install
Makefile error: There is a COMMENTFILE in this port.
COMMENTFILEs have been deprecated in
favor of COMMENT variables.
Please, rectify this.
*** Error code 1

Stop in /usr/ports/security/openssl.
[EMAIL PROTECTED] openssl]# 

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


Re: blacklist(s)

2004-05-16 Thread Chuck Swiger
Gary Kline wrote:
On Fri, May 14, 2004 at 10:00:58PM -0400, Chuck Swiger wrote:
According to the RFCs, one MUST NOT bounce mail sent to postmaster.
One ought to read the rfc-ignorant.org site I mentioned.
[ ... ]
	Well, bit again.  The line in my access file was 

206.46  550 Verizon email not wanted here
	that I've commented out. This isn't the first time I've had 
	to fine tune; it probably won't be the last.  Apologies!
Consider using FEATURE(`delay_checks', `friend') and add the following to the 
access map:

Spam:abuse@ FRIEND
Spam:postmaster@FRIEND
[ Pre 8.12 versions of sendmail use To: instead ]
...which will allow you to block mail as you please using IP or other reject 
rules, yet not prevent delivery of mail to postmaster and abuse...

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


Re: FreeBSD 4.7 Syslogs

2004-05-16 Thread Mark
Sunil Sunder Raj wrote:

> Hi,
> Just give 777 permissions to /var/log/messages

With all due respect, but that is rather bad advice. I have been running syslog on 
FreeBSD 4.7R for years, without problem; and never ever did I have to resort to making 
/var/log/messages world-writeable. Besides, that is totally unnecessary too: syslogd 
runs as root, so only root needs write permissions (and, since it is root, probably 
not even that).

You can run syslogd like this:

/usr/sbin/syslogd -s

Or something like:

/usr/sbin/syslogd -a 192.168.6.0/24

if you need to log from remote machines. Your /etc/syslog.conf should look something 
like this:


*.err;kern.debug;mail.crit  /var/log/messages
*.notice;lpr.info;news.err  /var/log/messages
security.*  /var/log/security
mail.info   /var/log/maillog


Cheers,

- Mark

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


Re: FreeBSD 4.7 Syslogs

2004-05-16 Thread Shaun T. Erickson
Sunil Sunder Raj wrote:
Just give 777 permissions to /var/log/messages
This is BAD advice, and you should NOT follow it. If you do, you will 
give anyone the ability to modify or delete your log entries, which yoou 
do NOT want. Find and fix the actual problem; don't bypass the symptom 
with something that reduces system security.

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


RE: FreeBSD 4.7 Syslogs

2004-05-16 Thread Sunil Sunder Raj
Hi,
Just give 777 permissions to /var/log/messages
Regards
SSR

From: "Matt \"Cyber Dog\" LaPlante" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: RE: FreeBSD 4.7 Syslogs
Date: Sat, 15 May 2004 16:38:54 -0400
/var/run/dmesg.boot:

Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.7-RELEASE-p15 #2: Sat Sep 27 11:04:10 EDT 2003
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (1004.52-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
Features=0x383fbff
CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 2147467264 (2097136K bytes)
config> di sn0
No such device: sn0
Invalid command or syntax.  Type `?' for help.
config> di lnc0
No such device: lnc0
Invalid command or syntax.  Type `?' for help.
config> di ie0
No such device: ie0
Invalid command or syntax.  Type `?' for help.
config> di fe0
No such device: fe0
Invalid command or syntax.  Type `?' for help.
config> di ed0
No such device: ed0
Invalid command or syntax.  Type `?' for help.
config> di cs0
No such device: cs0
Invalid command or syntax.  Type `?' for help.
config> q
avail memory = 2087624704 (2038696K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  3, version: 0x00040011, at 0xfee0
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x00178011, at 0xfec0
Preloaded elf kernel "kernel" at 0xc03d1000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc03d109c.
netsmb_dev: loaded
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 7 entries at 0xc00f12d0
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
IOAPIC #0 intpin 18 -> irq 2
IOAPIC #0 intpin 16 -> irq 4
IOAPIC #0 intpin 19 -> irq 10
pci0:  on pcib0
agp0:  mem 
0xfc00-0xfdff
at device 0.0 on pci0
pcib2:  at device 1.0 on
pci0
pci1:  on pcib2
isab0:  at device 4.0 on pci0
isa0:  on isab0
atapci0:  port 0xd800-0xd80f at device 4.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0:  at 4.2 irq 2
pci0:  at 4.3 irq 2
pci0:  (vendor=0x1106, dev=0x3057) at 4.4
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xb800-0xb87f mem
0xef00-0xef7f irq 2 at device 10.0 on pci0
xl0: Ethernet address: 00:04:75:72:64:cb
miibus0:  on xl0
ukphy0:  on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0:  at 12.0 irq 4
twe0: <3ware Storage Controller> port 0xb400-0xb40f mem
0xed80-0xedff,0xee00-0xee0f irq 10 at device 13.0 on pci0
twe0: 4 ports, Firmware FE7X 1.03.09.027, BIOS BE7X 1.07.02.002
pcib1:  on motherboard
pci2:  on pcib1
orm0:  at iomem 0xc-0xcafff,0xcc000-0xccfff on isa0
fdc0:  at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: parallel port not found.
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
SMP: AP CPU #1 Launched!
ad0: 39266MB  [79780/16/63] at ata0-master UDMA100
ad2: 117246MB  [238216/16/63] at ata1-master UDMA100
twed0:  on twe0
twed0: 95395MB (195369520 sectors)
twe0: command interrupt
Mounting root from ufs:/dev/ad0s1a

/etc/rc.conf:

# -- sysinstall generated deltas -- # Wed Apr  3 17:02:40 2002
# Created: Wed Apr  3 17:02:40 2002
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
kern_securelevel_enable="NO"
linux_enable="YES"
moused_type="auto"
nfs_reserved_port_only="YES"
saver="logo"
sshd_enable="YES"

# use ssh from openssh port instead of default
sshd_program="/usr/local/sbin/sshd"
sshd_flags="-u16"
usbd_enable="NO"
sendmail_enable="NO"
# make sure portmap/rpc shit is disabled
portmap_enable="NO"
nfs_client_enable="NO"
nfs_server_enable="NO"
nis_client_enable="NO"
nis_server_enable="NO"
# -- sysinstall generated deltas -- # Fri Sep 20 10:00:37 2002
keyrate="fast"

/etc/syslog.conf:

# $FreeBSD: src/etc/syslog.conf,v 1.13.2.2 2001/02/26 09:26:11 phk Exp $
#
#   

Re: Possible Virus

2004-05-16 Thread Gerard Seibert
On Sunday, May 16, 2004 5:04:50 AM arden <[EMAIL PROTECTED]> wrote:

|>Date: Sat, 15 May 2004 20:01:33 +0100
|>From: arden <[EMAIL PROTECTED]>
|>Subject: possible virus
|>To: York Linux Users Group <[EMAIL PROTECTED]>
|>Cc: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
|>Message-ID: <[EMAIL PROTECTED]>
|>Content-Type: text/plain
|>
|>hi all 
|>
|>Ive just received an e-mail claiming to be from Microsoft telling me to
|>run the attached patch 
|>
|>which must be bogus since I've never registered with m$ and don't
|>connect to the net with any Microsoft operating systems 
|>
|>May-be one for sysadmin people to look for 
|>
|>Arden 


** Reply Separator **
Sunday, May 16, 2004 8:17:38 AM

It is totally false. Microsoft never sends out emails with patches for
it's software. In addition, they usually include a PGP key. You could
try running the email through SPAM COP, but it is probably not worth the
effort.

BTW, are you running any AV software? If so, and assuming it  is current,
it should have detected any attached virus or Trojan horse paraphernalia.

--
Gerard Seibert
[EMAIL PROTECTED]


You cannot do a kindness too soon, for you never know how soon it
will be too late. - Ralph Waldo Emerson

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


Re: where has /etc/defaults/make.conf gone? [was: COPTFLAGS...]

2004-05-16 Thread Julien Gabel
>> Take a look in /etc/defaults/make.conf, /etc/defaults/rc.conf, etc.

> OK, in case of rc.conf the situation is pretty clear - the general
> system defaults are defined in /etc/defaults/rc.conf and if you want to
> change something you edit /etc/rc.conf whose settings override those
> of  /etc/defaults/rc.conf.
> But what about make.conf? There is no /etc/defaults/make.conf on my
> sytem (5.2_RELENG), and looking at /usr/src/etc/defaults/ after running
> cvsup it seems that's correct.
> I didn't notice when /etc/defaults/make.conf disappeared (during 4.x -->
> 5.x transition?), but the really important question is: Where are the
> general system defaults defined now?

The 2 places i think of:

 - make.conf(5)
 - /usr/share/examples/etc/make.conf

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


where has /etc/defaults/make.conf gone? [was: COPTFLAGS...]

2004-05-16 Thread platanthera
On Saturday 15 May 2004 03:31, Chuck Swiger wrote:
> platanthera wrote:
> > On Friday 14 May 2004 00:03, Giorgos Keramidas wrote:
>
> [ ... ]
>
> >> Yes, you do.  But I'm sure that you will find the make.conf(5)
> >> manpage very informative and useful.
> >
> > not really. it says
> > ...
> > The /etc/make.conf file is included from the appropriate Makefile
> > which specifies the default settings for all the available options.
> >  Options need only be specified in /etc/make.conf when the system
> > administrator wishes to override these defaults.
> > ...
>
> The manpage is correct.  /etc/make.conf behaves much the same way as
> /etc/rc.conf and other config files with regard to default values.
>
> Take a look in /etc/defaults/make.conf, /etc/defaults/rc.conf, etc.

OK, in case of rc.conf the situation is pretty clear - the general 
system defaults are defined in /etc/defaults/rc.conf and if you want to 
change something you edit /etc/rc.conf whose settings override those 
of  /etc/defaults/rc.conf.
But what about make.conf? There is no /etc/defaults/make.conf on my 
sytem (5.2_RELENG), and looking at /usr/src/etc/defaults/ after running 
cvsup it seems that's correct.
I didn't notice when /etc/defaults/make.conf disappeared (during 4.x --> 
5.x transition?), but the really important question is: Where are the 
general system defaults defined now? 

[...]

> Please tell us which port was listing the -O2?  Ports which disregard
> CFLAGS are considered BROKEN and ought to be fixed...

koffice in this case (but I think all the other kde stuff and other 
ports too) have their own CFLAGS defaults, which get overridden by the 
system defaults specified in /etc/make.conf or whereever. Think that's 
OK.

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


Re: NEED HELP

2004-05-16 Thread Roop Nanuwa
On Sat, 15 May 2004 10:08:21 -0700 (PDT), ORACLE .
<[EMAIL PROTECTED]> wrote:
> 
> HI i am a new user to freebsd and i ha ve installed freebsd but i cannot config my
> sound card my sound card is ES1938 PCI i cannot find any drivers so help me
> out and i dont know any thing about UNIX coding or shell scripting

Have you looked at the FreeBSD handbook? The particular part is here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html

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


FTP Problems

2004-05-16 Thread Me Actionfigure
Hi there..Im on 5.1 and every time I try to install a
program using ftp, I usually get about 97% of it
downloaded and get this error:

450 Socket write to client timed-out.
9838592 bytes received in 41:21 (3.87 KB/s)
421 Service not available, remote server has closed
connection.

I typed: ftp -a ftp.freebsd.org
and cd /pub/FreeBSD/ports/packages/graphics
and get gimp-2.0.1,1.tgz.

I have tried this numerous times and was wondering if
you can help me.

This is greatly appreciated. Thank you.








__
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 4.7 Syslogs

2004-05-16 Thread Micheal Patterson



- Original Message - 
From: "JJB" <[EMAIL PROTECTED]>
To: "Matt "Cyber Dog" LaPlante" <[EMAIL PROTECTED]>; "'Matthew
Seaman'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, May 15, 2004 3:04 PM
Subject: RE: FreeBSD 4.7 Syslogs


> Well since you are new to FBSD and since the syslogd -d commands
> shows that you do not have logging specified in /etc/syslog.conf for
> the messages file. You just do not know what you are looking at. Who
> ever was sysadmin before you probably  commented it out for what
> ever reason.
>
> By the way I tried using the logger command on my 4.9 system and it
> did not write any messages at all. So it is no help in debugging
> this problem. I read the man logger info and as usual the man page
> is useless. Who ever writes those must work real hard at writing
> sentences that convey no meanings.

Logger works just fine if you know how to use it and are running it as root
and is a good tool for working with syslog problems. The man pages tell you
quite a bit about provided you can interpret them effectively.

man logger:

logger [-46Ais] [-f file] [-h host] [-p pri] [-t tag] [message ...]

-p pri  Enter the message with the specified priority.  The priority may
 be specified numerically or as a ``facility.level'' pair.  For
 example, ``-p local3.info'' logs the message(s) as
informational
 level in the local3 facility.  The default is ``user.notice.''


man syslogd will give you a list of all priorities and facilities.

Priorities:

LOG_EMERG A panic condition.  This is normally broadcast to all
   users.

LOG_ALERT A condition that should be corrected immediately, such as a
   corrupted system database.

LOG_CRIT  Critical conditions, e.g., hard device errors.
LOG_ERR   Errors.
LOG_WARNING   Warning messages.
LOG_NOTICEConditions that are not error conditions, but should possi-
   bly be handled specially.
LOG_INFO  Informational messages.
LOG_DEBUG Messages that contain information normally of use only when
   debugging a program.

Facilities:

LOG_AUTH  The authorization system: login(1), su(1), getty(8), etc.
LOG_AUTHPRIV  The same as LOG_AUTH, but logged to a file readable only by
   selected individuals.
LOG_CONSOLE   Messages written to /dev/console by the kernel console out-
   put driver.
LOG_CRON  The cron daemon: cron(8).
LOG_DAEMONSystem daemons, such as routed(8), that are not provided
   for explicitly by other facilities.
LOG_FTP   The file transfer protocol daemons: ftpd(8), tftpd(8).
LOG_KERN  Messages generated by the kernel.  These cannot be gener-
   ated by any user processes.
LOG_LPR   The line printer spooling system: lpr(1), lpc(8), lpd(8),
   etc.
LOG_MAIL  The mail system.
LOG_NEWS  The network news system.
LOG_SECURITY  Security subsystems, such as ipfw(4).
LOG_SYSLOGMessages generated internally by syslogd(8).
LOG_USER  Messages generated by random user processes.  This is the
   default facility identifier if none is specified.
LOG_UUCP  The uucp system.
LOG_LOCAL0Reserved for local use.  Similarly for LOG_LOCAL1 through
   LOG_LOCAL7.

So, you have facilities of auth, authpriv, console, cron, daemon, ftp, kern,
lpr, mail, news, security, syslog, user, uucp, local0 - local7 and you have
priorities of: emerg, alert, crit, err, warning, notice, info and debug

So, by doing the command logger -p   like so:

logger -p security.notice "This is a test of security.notice"

You get this in your security log which is default to /var/log/security

May 16 03:24:14 router /kernel: ipfw: 65000 Deny TCP 222.90.22.52:4267
68.227.96.223:65506 in via ep0
May 16 03:30:03 router micheal: This is a test of security.notice

If you're running syslogd -d you'll see exactly what was sent to syslogd and
where it was placed:

logmsg: pri 155, flags 0, from router, msg May 16 04:01:04 micheal: This is
a test of security.notice
Logging to FILE /var/log/messages
Logging to CONSOLE /dev/console
Logging to FILE /var/log/security
logmsg: pri 166, flags 17, from router, msg May 16 04:01:04 router micheal:
This is a test of security.notice

As you can see, I have *.notice going to messages and security.* to security
and /dev/console.


--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/li

Re: FreeBSD 4.7 Syslogs

2004-05-16 Thread Micheal Patterson




- Original Message - 
From: "Matt "Cyber Dog" LaPlante" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 15, 2004 3:38 PM
Subject: RE: FreeBSD 4.7 Syslogs




You've got a pretty high number of max logs with pretty hefty file size
limits. What's a df -k show on that system?

--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.



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


Re: FreeBSD 4.7 Syslogs

2004-05-16 Thread Micheal Patterson


- Original Message - 
From: "Matt "Cyber Dog" LaPlante" <[EMAIL PROTECTED]>
To: "'Matthew Seaman'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Saturday, May 15, 2004 12:34 PM
Subject: RE: FreeBSD 4.7 Syslogs


> I tried the logger command, but it didn't reach the messages file (which
is
> still empty).  Here is the output from the syslogd -d command:
>
> syslogd: bind: Address already in use
> logmsg: pri 53, flags 4, from , msg syslogd: bind: Address already in use
> Logging to CONSOLE /dev/console
> syslogd: bind: Address already in use
> logmsg: pri 53, flags 4, from , msg syslogd: bind: Address already in use
> Logging to CONSOLE /dev/console
> can't open /dev/klog (16)



Something is listening already on port 514 and syslogd is complaining about
that. Do a sockstat |grep 514 and see what's sitting on that port. Also,
"can't open /dev/klog (16)" is another problem. That device is the kernel
log device so syslog can see kernel messages. Syslog may not be too happy
about that either.  You might check and see if you have a klog in /dev

--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.

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


The FreeBSD Diary: 2004-04-25 - 2004-05-15

2004-05-16 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to [EMAIL PROTECTED] with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives  
and/or The FreeBSD Diary . 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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