RE: Appletalk/Samba?

2005-03-16 Thread Tim Simmons
Unfortunately, I can't change the server. It's a server for our marketing
department, and they like it the way it is. 


Timothy R. Simmons
IT Technician
Champion Realty Inc.
Direct Line: 410-975-3328
Office: 410-544-6004
E-mail: [EMAIL PROTECTED]

-Original Message-
From: Luke Kearney [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 16, 2005 10:54 AM
To: Tim Simmons
Cc: freebsd-questions@freebsd.org
Subject: Re: Appletalk/Samba?


On Wed, 16 Mar 2005 09:09:16 -0500
"Tim Simmons" <[EMAIL PROTECTED]> spake thus:

> Is it possible to set up a FreeBSD server to act as a gateway between 
> an appletalk file server and a group of tcp/ip based windows PCs? What 
> I'm trying to do is enable a group of PCs on the same physical network 
> as the appletalk file server to be able to access files on that 
> server. Windows XP, it would seem, does not support appletalk 
> natively. Please CC any responses to me. Thank you.
> 
Not exactly the same as you are trying to do here but I have in the past run
both netatalk and samba on the same FBSD machine to share the same FS
between apple and winblows clients. Was pretty stable for a couple of years
and then I didn't need to do that anymore so I uninstalled netatalk. Can you
move the FS to a FBSD box ? If so that would be my suggestion.

HTH

LukeK

--
 <>


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


Re: Appletalk/Samba?

2005-03-16 Thread Aaron Siegel

I have recently performed that exact operation, I had a lot of trouble with 
filenames.  Created a common shared folder using samba and AppleTalk using 
netatalk. I did not spend much time configure the share. I was pushed for 
time and a little lazy.

On Wednesday 16 March 2005 07:09, Tim Simmons wrote:
> Is it possible to set up a FreeBSD server to act as a gateway between an
> appletalk file server and a group of tcp/ip based windows PCs? What I'm
> trying to do is enable a group of PCs on the same physical network as the
> appletalk file server to be able to access files on that server. Windows
> XP, it would seem, does not support appletalk natively. Please CC any
> responses to me. Thank you.
>
> Timothy R. Simmons
> IT Technician
> Champion Realty Inc.
> Direct Line: 410-975-3328
> Office: 410-544-6004
> E-mail: [EMAIL PROTECTED]
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sshd behaviour

2005-03-16 Thread Nathan Kinkade
On Wed, Mar 16, 2005 at 10:41:09AM +0300, Eugene M. Minkovskii wrote:
> Hi. I see strange to me behaviour of sshd. Please tell me is it
> bug or feature?
> 
> I use following network configuration:
> 
> ########
> # LAN # -> # gateway # -> # router #
> ########
> 
> Gateway machine has sshd. Normally I work from LAN on the gateway
> good. But when connection with provider's router broken:
> 
> ######  ##
> # LAN # -> # gateway # -X-> # router #
> ######  ##
> 
> I can't login from LAN to gateway. Moreover, I can't login from
> gateway to itself, using loop interface. But other Network
> servicec working good. For example, I can do
> # telnet gateway 25
> from LAN.
> 
> Provider's router is default router in /etc/rc.conf.

As another poster mentioned, the problem is likely related to DNS, and I
have experienced it as well.  If you are using Privilege Separation,
then an sshd process will chroot itself into /var/empty before
performing authentication.  /var/empty is itself usually empty.  One
thing you can do is to make the dir /var/empty/etc and then drop a copy
of your /etc/hosts file into the newly created /var/empty/etc/
directory.  You might want to make sure that the hosts file contains a
mapping to the LAN machines which you want to ssh from.

Keep in mind that /var/empty has the schg flag set, so you won't be able
to copy anything to it without disabling this first.  See more at `man
chflags`.  Try something like this:

# chflags -R noschg /var/empty
# mkdir /var/empty/etc
# cp /etc/hosts /var/empty/etc
# chflags -R schg /var/empty

This will likely clear up your problem.

Nathan


pgp0RJ4SYKS4t.pgp
Description: PGP signature


Re: Appletalk/Samba?

2005-03-16 Thread Luke Kearney

On Wed, 16 Mar 2005 09:09:16 -0500
"Tim Simmons" <[EMAIL PROTECTED]> spake thus:

> Is it possible to set up a FreeBSD server to act as a gateway between an
> appletalk file server and a group of tcp/ip based windows PCs? What I'm
> trying to do is enable a group of PCs on the same physical network as the
> appletalk file server to be able to access files on that server. Windows XP,
> it would seem, does not support appletalk natively. Please CC any responses
> to me. Thank you. 
> 
Not exactly the same as you are trying to do here but I have in the past
run both netatalk and samba on the same FBSD machine to share the same
FS between apple and winblows clients. Was pretty stable for a couple of
years and then I didn't need to do that anymore so I uninstalled
netatalk. Can you move the FS to a FBSD box ? If so that would be my
suggestion.

HTH

LukeK

-- 
 <>

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


cannot build openoffice

2005-03-16 Thread Brian John
Hello,
When I try to build openoffice I get the following error:
./unxfbsd.pro/misc/FREEBSDGCCIruntime/libprldap50.so && \ echo >& /dev/null
cp: ./unxfbsd.pro/misc/build/mozilla/dist/bin/libnss3.so: No such file or
directory
dmake:  Error code 1, while making
'./unxfbsd.pro/misc/build/so_moz_runtime_files'
---* TG_SLO.MK *---
*** Error code 255

Stop in /usr/ports/editors/openoffice-1.1.

Does anyone know why this might happen or what I can do to fix it?

Thanks

/Brian

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


Re: Appletalk/Samba?

2005-03-16 Thread Konrad Heuer

On Wed, 16 Mar 2005, Tim Simmons wrote:

> Is it possible to set up a FreeBSD server to act as a gateway between an
> appletalk file server and a group of tcp/ip based windows PCs? What I'm
> trying to do is enable a group of PCs on the same physical network as the
> appletalk file server to be able to access files on that server. Windows XP,
> it would seem, does not support appletalk natively. Please CC any responses
> to me. Thank you.

Afaik, no, sorry. FreeBSD can act as an appletalk file server (by using
the netatalk port and the appletalk kernel extension), but it is not able
to mount remote filesystems via appletalk.

Mac OS X and Darwin can do so; thus I think, Darwin wood be a good choice
for you.

Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]

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


Re: Need help setting up qmail / binc imap on FreeBSD

2005-03-16 Thread Peter Risdon
On Sun, 2005-03-13 at 12:11 -0500, Madhusudan Singh wrote:
> Hi
> 
>  I am trying to implement a qmail based mailserver with binc imap on FreeBSD
> 5.3-RELEASE using the instructions found on :

I don't use binc-imap, so was reluctant to answer. But nobody else has,
so:

> 
> 
> http://www.bsdguides.org/guides/freebsd/mailserver/qmail+vpopmail+qmailadmin.php
> 
>  I am using packet filter (pf) to setup the firewall. I have added the
> following rules to permit incoming traffic on ports 993 (imaps) and 465
> (smtps) :

I assume your firewall allows all connections from localhost. If so...
[...]
>  However, when I try to connect to the server using openssl :
> 
> /usr/local/ssl/bin/openssl s_client -connect :993 -crlf
> connect: Connection refused
> connect:errno=29

Maybe on the server itself try localhost for  to eliminate
the firewall angle.

> 
>  I have generated a .pem file for SSL over binc imap and made the suggested
> additions to /usr/local/etc/bincimap/bincimap.conf.
> 
>  Upon consulting /var/log/qmail/current, I see a slew of messages like :
> 
>  @40004233d471384eecb4 delivery 2: deferral:
> Unable_to_chdir_to_maildir._(#4.2.1)/
> @40004233d4713850679c status: local 0/10 remote 0/20

So you have a permissions problem for qmail. Do you also have vpopmail
running? If so, you need very particular permissions for the
vpopmail/domains directories.

drwx--  5 vpopmail  vchkpw  512 Dec 14  2003 domains

Peter.

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


Re: accounting package

2005-03-16 Thread James Earl
On Tue, 15 Mar 2005 09:30:06 -0500, Harry Reid <[EMAIL PROTECTED]> wrote:
> I am looking for a client server accounting package for industrial equipment
> dealers and distributors that will handle serialized whole good inventory,
> parts inventory and a service shop.  Text based Unix or Linux platform is
> fine.  Any recommendations?
> 
> HR

You may also want to check out Compiere.  I've never used it
personally.  It caught my interest recently because they are releasing
some sort of database independence module.

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


Re: accounting package

2005-03-16 Thread Peter Risdon
On Tue, 2005-03-15 at 09:30 -0500, Harry Reid wrote:
> I am looking for a client server accounting package for industrial equipment
> dealers and distributors that will handle serialized whole good inventory,
> parts inventory and a service shop.  Text based Unix or Linux platform is
> fine.  Any recommendations?

I've been using sql-ledger for a while, it has good inventory/bills of
material stuff:


With the assembly feature you can build manufactured goods from parts,
services, labor units and assemblies. When the assembly is sold all the
accounts linked to the individual parts, services, labor units and
assemblies are updated and stock levels adjusted accordingly. If an item
belonging to an assembly is changed all assemblies are updated as well.


And, just as importantly, I'm aware of no other open source package that
has the same range of functionality.

http://www.sql-ledger.org

Peter.



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


Re: inode

2005-03-16 Thread Svein Halvor Halvorsen

* Giorgos Keramidas [2005-03-16 15:06 +0200]
>  > Filesystem  1K-blocks   Used  Avail Capacity iused ifree %iused  Mounted on
>  > /dev/ad0s1a253678  35430 19795415% 981 320413%   /
>  > devfs   1  1  0   100%   0 0  100%   /dev
>  > /dev/ad0s1e253678  6 233378 0%   3 330190%   /tmp
>  > /dev/ad0s1f673024 332902 28628254%   87038 0  100%   /usr
>  
>  You have two options, both of which involve a reinstallation:
>  
>  a) Resplit the disk giving more space to /usr.
>  b) Use a single, big root partition.


If he should not have the possibility to just wipe the entire disk to 
reinstall it (eg. this is his only disk and it is full of valuable data), 
he might be able to boot into single user, mount /usr and /tmp, and cram 
the entire contents of /usr into /tmp (using some sort of compression, e.g 
gzip) and then newfs /usr with more sensible values before restoring the 
contents from /tmp.

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


Re: Illogical usage of swap

2005-03-16 Thread Colin J. Raven
On Mar 16 at 09:47, Jerry McAllister commented:
"Colin J. Raven" <[EMAIL PROTECTED]> writes:
On Mar 16 at 07:29, Lowell Gilbert launched this into the bitstream:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM
Hmm, yeah I should have included what I've actually read in the
handbook and elsewhere. In fact I did read that exerpt you quoted the
URL for  above sometime previously, when it was quoted in another
thread on the list.
Free memory (or the lack thereof) isn't the issue though.
The issue is this:
Swap: 8192M Total, 116K Used, 8192M Free
and that's the piece of the puzzle that has us all utterly baffled.
The same logic applies to some extent, though.
No way in creation this box should be swapping.
I have noticed that FreeBSD 5.x is swapping out small amounts of
memory in situations (as near I can tell; it is quite hard to be sure
that the situation is really identical) where 4.x was not.  I haven't
really tried to track down exactly what's going on, but it's always
been less than the text segment of any task in the system, so I was
pretty sure I wasn't seeing a problem.
Swap space is also used for paging.   If you are running through some
big file or have processes that are live but not active, they can
use up some page space.   That space just stays there until it is
needed otherwise.   At least that is my understanding.
With 4GB of RAM to chew on, I must say this surprises me more than a 
bit. Recalling earlier in this thread, I said the box that this one 
replaced had dual Athlon MP's (forget what speed) and 1GB of RAM. It 
*never* swapped. It ran 4.10, then later upgraded to 5.3.

We couldn't do 5.3 on this box because some controllers on the mobo 
weren't (yet) supported, so we elected to install 4.11. Then we took 
some jobs away from this server and reassigned 'em elsewhere (only 
because of the delay in sourcing the replacement) . So - purely 
theoretically - this server *should* have been sitting around less than 
fully tasked. It is way more powerful (by significant orders of 
magnitude) CPU-wise, has four times as much - and faster - memory, a 
faster FSB, SATA instead of ATA drives, 4.11-and-not-the-bleeding-edge-choice-of-OS.

What I'm saying is that (almost) any of these factors taken individually 
should show a fairly relaxed, under-tasked errr..."happy" box. Take the 
cumulative effect of the rather healthy upgrade and this box should be 
sitting around picking its nose so to speak, and watching TV because it 
has so little to do...hell we took work *away* from it.

Except it swaps...sometimes as much as 2MB, mostly around 100 - 350K.
I bring this to the list only because of the utterly insane nature of 
the situation. It's as if you replaced your 333MHZ 256MB/memory Dell 
Dimension with a dual 3.0 Xeon/4GB HP Kayak (or equivalent) workstation, 
then in the middle of reading email you suddenly hear it writing to 
disk, check your taskmanager and discover to your absolute horror that 
the thing is swapping..

We have no custom apps running here, only stuff that comes right out of 
the ports tree. We're running email, DNS (BIND9)+PowerDNS, various A/V 
and antispam packages, screen, pine, mc, apache, perl, php, mysql, 
Courier IMAP, Postfixabsolutely nothing unusual that isn't run every 
day in hundreds of thousands of production environments. The custom 
stuff that *does* have the potential (but never did so on the old lower 
powered box) to use up memory has been moved off to another server or 
two.

So there we have itthe mystery continues :) Thanks for your 
ongoing interest and curiosity.

Regards,
-Colin
--
Colin J. Raven
Wed Mar 16 16:10:00 CET 2005

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


Re: sysinstall/fdisk drive geometry problem

2005-03-16 Thread Jerry McAllister
> 
> Hello
> 
> I finally got another hdd for my home box, decided to do a fresh fbsd 
> install and I ended up with a disk problem :( :
> 
> ide0: 40GB [FreeBSD wannabe (ufs2) 10GB, storage2 (fat32) 30GB]
> ide2: 40GB [WinXP (ntfs) 10GB, storage1 (fat32) 30GB]
> 
> Now when I begin the installation, and go to the partitioning section, 
> fdisk complains about drive geometry and rearranges the drive. Here are 
> the settings:
> 
> cyls/heads/sectors
> 19xxx/16/255 (BIOS)
> 7xxx/16/63 (dmesg "this is what fbsd complains to")
> 4xxx/255/63 (the new fdisk rearrangement)
> 
> and FreeBSD's fdisk seems to get off on setting the head count to 255!!! 
> I tried setting the bios value and fdisk complains again, but for some 
> reason when I swap the heads and sectors values it does not. Same goes 
> for the dmesg values (drive geometry from the dmesg output).
> 
> Since I have no experience with changing drive geometry, nor do I 
> understand the bloody thing, I have several issues:
> 
> - Will I loose the data on 'storage2' if I change the drive geometry?
> - How should I set up the new drive geometry? What setting is 
> faster/better? more cyls or more sectors (since fdisk is set to use 255 
> heads)?
> - If I backup 'storage2', change drive geometry as fbsd/fdisk suggests 
> (or whatever), create a 10g slice and leave the other space 
> unpartitioned, will I be able to partition and format the drive to fat32 
> from WinXP?

Generally, I don't tink with drive geometry.  I just let the system take 
care of it.   I haven't done much with IDE - only a couple of systems - but 
it seemed to work the same on those.  The geometry values you see are 
mostly fiction and are there for some historical (hysterical??) reasons.
What fdisk sees will not match what is really on the disk.

There is a FAQ and lots of stuff in the archives on this.   Some of
the entries, especially the FAQ explain it fairly well - better than
I can.   But, the sum of it is just go ahead and try the new disk.
Don't change BIOS or anything about the gometry.  Ignore its whining.   
If it seems to work, then the system knows what it is doing.  If it 
doesn't, then take the details from what goes wrong and ask some 
more questions.   

In the meantime, don't do anything with your old disk, just to
be careful.

jerry
> 
> 
> That's about it... any examples would be great!
> 
> thanks ahead!
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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


mount_smbfs can't get handle to requester

2005-03-16 Thread Ray Seals
I have a box running 4.5.  I try to execute the mount_smbfs I get
"mount_smbfs: can't get handle to requester (no /dev/nsmb* device)".
When I do an ls of the /dev directory I see the following devices:

/dev/nsmb0
/dev/smb0
/dev/smb1

Anyone seen this before?

Ray

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


Re: Illogical usage of swap

2005-03-16 Thread Jerry McAllister
> 
> "Colin J. Raven" <[EMAIL PROTECTED]> writes:
> 
> > On Mar 16 at 07:29, Lowell Gilbert launched this into the bitstream:
> 
> > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM
> > 
> > Hmm, yeah I should have included what I've actually read in the
> > handbook and elsewhere. In fact I did read that exerpt you quoted the
> > URL for  above sometime previously, when it was quoted in another
> > thread on the list.
> > 
> > Free memory (or the lack thereof) isn't the issue though.
> > 
> > The issue is this:
> > Swap: 8192M Total, 116K Used, 8192M Free
> > and that's the piece of the puzzle that has us all utterly baffled.
> 
> The same logic applies to some extent, though.
> 
> > No way in creation this box should be swapping.
> 
> I have noticed that FreeBSD 5.x is swapping out small amounts of
> memory in situations (as near I can tell; it is quite hard to be sure
> that the situation is really identical) where 4.x was not.  I haven't
> really tried to track down exactly what's going on, but it's always
> been less than the text segment of any task in the system, so I was
> pretty sure I wasn't seeing a problem.

Swap space is also used for paging.   If you are running through some 
big file or have processes that are live but not active, they can
use up some page space.   That space just stays there until it is
needed otherwise.   At least that is my understanding.

jerry

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


Re: sshd behaviour

2005-03-16 Thread Jacob S
On Wed, 16 Mar 2005 10:41:09 +0300
"Eugene M. Minkovskii" <[EMAIL PROTECTED]> wrote:

> Hi. I see strange to me behaviour of sshd. Please tell me is it
> bug or feature?
> 
> I use following network configuration:
> 
> ########
> # LAN # -> # gateway # -> # router #
> ########
> 
> Gateway machine has sshd. Normally I work from LAN on the gateway
> good. But when connection with provider's router broken:
> 
> ######  ##
> # LAN # -> # gateway # -X-> # router #
> ######  ##
> 
> I can't login from LAN to gateway. Moreover, I can't login from
> gateway to itself, using loop interface. But other Network
> servicec working good. For example, I can do
> # telnet gateway 25
> from LAN.

I've seen this same behavior on a 5.3 server when Bind crashes/gets
messed up by cPanel. I suspect the problem is ssh trying to do a reverse
dns lookup, which doesn't timeout until the login has timed out as well.
In my case I can see a fast response from the server if I telnet to it
on port 22, but I never get the password prompt. The logfiles also show
login timeouts when I'm finally able to login again.

You might try setting "UseDNS no" in /etc/ssh/sshd_config. I believe
this will still make it record the ip used for login, but it won't try
and do a reverse dns lookup on the ip.

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


Re: Illogical usage of swap

2005-03-16 Thread Colin J. Raven
On Mar 16 at 09:24, Lowell Gilbert then said:
"Colin J. Raven" <[EMAIL PROTECTED]> writes:
On Mar 16 at 07:29, Lowell Gilbert launched this into the bitstream:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM
Hmm, yeah I should have included what I've actually read in the
handbook and elsewhere. In fact I did read that exerpt you quoted the
URL for  above sometime previously, when it was quoted in another
thread on the list.
Free memory (or the lack thereof) isn't the issue though.
The issue is this:
Swap: 8192M Total, 116K Used, 8192M Free
and that's the piece of the puzzle that has us all utterly baffled.
The same logic applies to some extent, though.
No way in creation this box should be swapping.
I have noticed that FreeBSD 5.x is swapping out small amounts of
memory in situations (as near I can tell; it is quite hard to be sure
that the situation is really identical) where 4.x was not.  I haven't
really tried to track down exactly what's going on, but it's always
been less than the text segment of any task in the system, so I was
pretty sure I wasn't seeing a problem.
Except (if I'm following you sequentially, and if I'm not, then 
apologies!) this is FreeBSD 4.11.

Regards,
-Colin
--
Colin J. Raven
Wed Mar 16 15:29:00 CET 2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


upgrade 5.3 to 5.4

2005-03-16 Thread Perttu Laine
Hi!

If I want upgrade 5.3 to 5.4 is this all I need to do:

1. change RELENG_5_3 to 5_4 and cvsup sources.
2. make buildworld
3. make buildkernel KERNCONF=
4. make installkernel KERNCONF=
5. reboot to single user
6. mergemaster -p
7. make installworld
8. mergemaster
9. reboot


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


Re: Illogical usage of swap

2005-03-16 Thread Lowell Gilbert
"Colin J. Raven" <[EMAIL PROTECTED]> writes:

> On Mar 16 at 07:29, Lowell Gilbert launched this into the bitstream:

> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM
> 
> Hmm, yeah I should have included what I've actually read in the
> handbook and elsewhere. In fact I did read that exerpt you quoted the
> URL for  above sometime previously, when it was quoted in another
> thread on the list.
> 
> Free memory (or the lack thereof) isn't the issue though.
> 
> The issue is this:
> Swap: 8192M Total, 116K Used, 8192M Free
> and that's the piece of the puzzle that has us all utterly baffled.

The same logic applies to some extent, though.

> No way in creation this box should be swapping.

I have noticed that FreeBSD 5.x is swapping out small amounts of
memory in situations (as near I can tell; it is quite hard to be sure
that the situation is really identical) where 4.x was not.  I haven't
really tried to track down exactly what's going on, but it's always
been less than the text segment of any task in the system, so I was
pretty sure I wasn't seeing a problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Appletalk/Samba?

2005-03-16 Thread Tim Simmons
Is it possible to set up a FreeBSD server to act as a gateway between an
appletalk file server and a group of tcp/ip based windows PCs? What I'm
trying to do is enable a group of PCs on the same physical network as the
appletalk file server to be able to access files on that server. Windows XP,
it would seem, does not support appletalk natively. Please CC any responses
to me. Thank you. 

Timothy R. Simmons
IT Technician
Champion Realty Inc.
Direct Line: 410-975-3328
Office: 410-544-6004
E-mail: [EMAIL PROTECTED]

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


Re: Upgrading to 4.10-STABLE

2005-03-16 Thread Xin LI
[redirected to questions@ since this is not -net stuff]

Hi, Julius,

å 2005-03-16äç 17:01 +0300ïJulius Kidubukaåéï
> Hi all,
> 
> I am trying to upgrade from 4.10-RELEASE to 4.10-STABLE and I have gone
> through the following steps;
> 
> 1. make buildworld
> 2. make buildkernel KERNCONF=MYKERN
> 3. make installkernel KERNCONF=MYKERN
> 4. booted into single user mode and did, mount -u /, mount -a
> 5. make installworld
> 6. mergemaster
> 7. then finally rebooted
> 
> My problem is after I have rebooted and issued the command "uname -a", I
> still find that am running 4.10-RELEASE yet I have actually gone through
> all the steps above without any errors at all.
> 
> Is there anything I could be doing wrong?

Are you absolutely sure that you are sync'ing with 4-STABLE (now
4.11-STABLE), which is identified by "RELENG_4"?  If you are sync'ing
with RELENG_4_10, that's the 4.10-RELEASE security branch.

Cheers,
-- 
Xin LI   http://www.delphij.net/


signature.asc
Description: 	=?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=BF=A1=E4=BB=B6=E7=9A=84=E6=95=B0?=	=?UTF-8?Q?=E5=AD=97=E7=AD=BE=E5=90=8D=E9=83=A8?= =?UTF-8?Q?=E5=88=86?=


Re: Source-upgrading from FreeBSD 4.9 to 4.11

2005-03-16 Thread Lowell Gilbert
patrick <[EMAIL PROTECTED]> writes:

> I'm trying to do a source upgrade from FreeBSD 4.9 to 4.11, but during
> the "make buildworld", I get the following:
> 
> ===> gnu/usr.bin/cvs/cvs
> make: don't know how to make stack.c. Stop
> *** Error code 2
> 
> Stop in /usr/src/gnu/usr.bin/cvs.
> *** Error code 1
> ...

I don't have a RELENG_4 system around any more, but it sounds like
you're missing part of the source tree you should have.  Do you have
/usr/src/contrib/cvs/src/stack.c?  How did you do the update of your
sources?

> I didn't see any mention of this in the handbook, but do I have to
> upgrade to 4.10 first, and then go up to 4.11?

No.  Remember to check /usr/src/UPDATING for more information before
starting an upgrade...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Howto monitor system security

2005-03-16 Thread Jerry Bell
I've recently started using devialog (http://devialog.sourceforge.net/),
which is pretty good at sending exceptions to you.

Examlog (http://examlog.sourceforge.net/index.php) is by far the most
popular that I've seen, but I have not had a chance to try it on FreeBSD.

Lire (http://logreport.org/lire/) is a good all-around choice - it has
built in recognition for many different types of logs, but I found it a
bit hard to use.  If you are comfortable with it, I'd try this one.

I've heard of several companies that have part of the security monitoring
built around logwatch (http://www2.logwatch.org:81/), but it takes a good
amount of customizing to get it to where it's really useful.

Jerry
http://www.syslog.org


> On 2005-03-14, Jerry Bell <[EMAIL PROTECTED]> wrote:
>> There are many tools that will send alerts to you, but very few that
>> will
>> work "out of the box", without some level of tuning.  There is a
>> collection of them here:
>> http://www.syslog.org/Web_Links+index-req-viewlink-cid-4.phtml and here:
>> http://www.syslog.org/Web_Links+index-req-viewlink-cid-19.phtml
>
> I see lots of log analizer tools.  Which one is a good choice?
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>


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


Re: Backup on DDS-4 tapes

2005-03-16 Thread Ludo Koren

 > Ludo Koren wrote:
>> It doesn't help either... The result is the same.
>> 
>> 
 > Just to check I'm understanding your problem correctly --
 > you're expecting to write much more data to the tape than is
 > actually being written.

That's right. I suppose that 54GB of data could fit on 2 40GB tapes...

 > If that's correct, then there's a couple things I can think of:

 > 1) Your tape drive isn't doing hardware compression.  Check the
 > manual and see if there are any dip switches you need to set.
 > (Make a note of how they're set before you change anything, so
 > you can go back to what you had originally!).

I'll check this

 > When you say the result is the same, if it used exactly the
 > same number of tapes (down to the decimal point) then that
 > definitely suggests that your tape drive is not compressing.

 > 2) The data you're writing to the tape is already mostly
 > compressed, so you won't fit as much as you might if it were
 > uncompressed data.

I will do statistics about files.

 > Also, the 40Gb per tape that you quote is, I think, the MAXIMUM
 > amount of data the tape will take.  It's only 20Gb native.
 > 40Gb is how much will fit at optimum compression, which you
 > never get.

 > It's unlikely to be a FreeBSD problem because I regularly fit
 > 6-7Gb on a DDS-2, which has a native size of 4Gb.  I use dump
 > options like the ones in my last message.

 > --Alex

Thank, for your suggestions.

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


Re: Illogical usage of swap

2005-03-16 Thread Colin J. Raven
On Mar 16 at 15:34, Giorgos Keramidas suggested:
Free memory (or the lack thereof) isn't the issue though.
The issue is this:
Swap: 8192M Total, 116K Used, 8192M Free
and that's the piece of the puzzle that has us all utterly baffled.
No way in creation this box should be swapping.
Do you, by any chance, have vm.swap_idle_enabled set to 1?
No, it isn't:
gonzo# sysctl -a |grep vm.swap_idle_enabled
vm.swap_idle_enabled: 0
Strange.  AFAIK, processes are not swapped out to disk unless there is a
severe memory shortage.  The usual case is to have them "paged" out,
which is a bit different.
That was my understanding also, and that's what's baffling us
Unless, of course, there _was_ a short period of memory shortage, some
processes were swapped out (a pair of idle getty instances, for example)
and they were never swapped back in because they are still idle.
You can probably track this down to the specific process or processes
that have the PS_INMEM bit turned off in their proc->p_sflag.  But 116K
seems too small to be a complete process.
This is going way above my head now, but great as a learning process 
anyway!

May I ask how we would go about tracking processes with the 
PS-INMEM bit turned off? That sounds as if - to me, still a journeyman 
on the road to knowledge - grepping multiple source trees might be 
necessary, which frankly is a daunting process (to say the very least). 
Is there one meta-search string that would show this? and if so, where 
should this search be applied?

Regards,
-Colin
--
Colin J. Raven
Wed Mar 16 14:43:00 CET 2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


accounting package

2005-03-16 Thread Harry Reid
I am looking for a client server accounting package for industrial equipment
dealers and distributors that will handle serialized whole good inventory,
parts inventory and a service shop.  Text based Unix or Linux platform is
fine.  Any recommendations?

HR



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


Re: inode

2005-03-16 Thread Giorgos Keramidas
On 2005-03-16 14:21, Gert Cuykens <[EMAIL PROTECTED]> wrote:
>> Here you are.  Your /usr partition has no free i-nodes.  Probably
>> because you used too large block/fragment sizes when it was newfs'd.
>
> I pict default partitioning ? How big does the /usr need to be for
> base, ports mysql php apache ?

Well, the default is just that: a "default".  It certainly doesn't fit
all the possible setups and all the possible installations.  It's not
that bad to diverge from the default a bit, when needed.

> Is there a make command that tells you how much space it needs to install ?

None that I know of.

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


Re: Illogical usage of swap

2005-03-16 Thread Giorgos Keramidas
On 2005-03-16 14:17, "Colin J. Raven" <[EMAIL PROTECTED]> wrote:
>On Mar 16 at 15:07, Giorgos Keramidas said:
>>On 2005-03-16 14:02, "Colin J. Raven" <[EMAIL PROTECTED]> wrote:
>>>On Mar 16 at 14:54, Giorgos Keramidas asked:
>Free memory (or the lack thereof) isn't the issue though.
>
>The issue is this:
>Swap: 8192M Total, 116K Used, 8192M Free
>and that's the piece of the puzzle that has us all utterly baffled.
>
>No way in creation this box should be swapping.

Do you, by any chance, have vm.swap_idle_enabled set to 1?
>>>
>>>No, it isn't:
>>>gonzo# sysctl -a |grep vm.swap_idle_enabled
>>>vm.swap_idle_enabled: 0
>>
>>Strange.  AFAIK, processes are not swapped out to disk unless there is a
>>severe memory shortage.  The usual case is to have them "paged" out,
>>which is a bit different.
>
> That was my understanding also, and that's what's baffling us

Unless, of course, there _was_ a short period of memory shortage, some
processes were swapped out (a pair of idle getty instances, for example)
and they were never swapped back in because they are still idle.

You can probably track this down to the specific process or processes
that have the PS_INMEM bit turned off in their proc->p_sflag.  But 116K
seems too small to be a complete process.

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


Re: su: Sorry

2005-03-16 Thread Gert Cuykens
On Wed, 16 Mar 2005 14:08:05 +0100, Karol Kwiatkowski
<[EMAIL PROTECTED]> wrote:
> Gert Cuykens wrote:
> > Why can i not su accessing the server true ssh ?
> >
> > $ su
> > su: Sorry
> > $
> 
> http://lists.freebsd.org/mailman/htdig/freebsd-questions/2004-November/063643.html
> 
> Cheers,
> 
> Karol
> 
> --
> Karol Kwiatkowski  
> 

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


Re: inode

2005-03-16 Thread Gert Cuykens
> Here you are.  Your /usr partition has no free i-nodes.  Probably
> because you used too large block/fragment sizes when it was newfs'd.

I pict default partitioning ? How big does the /usr need to be for
base, ports mysql php apache ?

Is there a make command that tells you how much space it needs to install ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Illogical usage of swap

2005-03-16 Thread Colin J. Raven
On Mar 16 at 15:07, Giorgos Keramidas said:
On 2005-03-16 14:02, "Colin J. Raven" <[EMAIL PROTECTED]> wrote:
On Mar 16 at 14:54, Giorgos Keramidas asked:
Free memory (or the lack thereof) isn't the issue though.
The issue is this:
Swap: 8192M Total, 116K Used, 8192M Free
and that's the piece of the puzzle that has us all utterly baffled.
No way in creation this box should be swapping.
Do you, by any chance, have vm.swap_idle_enabled set to 1?
No, it isn't:
gonzo# sysctl -a |grep vm.swap_idle_enabled
vm.swap_idle_enabled: 0
Strange.  AFAIK, processes are not swapped out to disk unless there is a
severe memory shortage.  The usual case is to have them "paged" out,
which is a bit different.
That was my understanding also, and that's what's baffling us
Regards,
-Colin
--
Colin J. Raven
Wed Mar 16 14:17:00 CET 2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


PPPoE ip-up/ip-down

2005-03-16 Thread Marco Greene
Hi all,

I have found a few postings regarding the /etc/ppp/ip-up and ip-down scripts
and the fact that they do not work.  I am experiencing the same thing and I
have tried all of the hints that I found in those threads but with little
success.  I would really like to use these scripts.  Are there any hints?

-I have set the permissions to 555
-#!/bin/sh is the first line in the script

Are there any other things that I may have missed?

Note:  pppoe is setup as per the handbook with a few modifications as found
on one of the links given by the handbook.

Thanks,
Marco

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


Re: su: Sorry

2005-03-16 Thread Karol Kwiatkowski
Gert Cuykens wrote:
> Why can i not su accessing the server true ssh ? 
> 
> $ su
> su: Sorry
> $

http://lists.freebsd.org/mailman/htdig/freebsd-questions/2004-November/063643.html

Cheers,

Karol

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


Re: Illogical usage of swap

2005-03-16 Thread Giorgos Keramidas
On 2005-03-16 14:02, "Colin J. Raven" <[EMAIL PROTECTED]> wrote:
>On Mar 16 at 14:54, Giorgos Keramidas asked:
>>>Free memory (or the lack thereof) isn't the issue though.
>>>
>>>The issue is this:
>>>Swap: 8192M Total, 116K Used, 8192M Free
>>>and that's the piece of the puzzle that has us all utterly baffled.
>>>
>>>No way in creation this box should be swapping.
>>
>>Do you, by any chance, have vm.swap_idle_enabled set to 1?
>
> No, it isn't:
> gonzo# sysctl -a |grep vm.swap_idle_enabled
> vm.swap_idle_enabled: 0

Strange.  AFAIK, processes are not swapped out to disk unless there is a
severe memory shortage.  The usual case is to have them "paged" out,
which is a bit different.

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


Re: inode

2005-03-16 Thread Giorgos Keramidas
On 2005-03-16 13:49, Gert Cuykens <[EMAIL PROTECTED]> wrote:
>On Wed, 16 Mar 2005 14:27:21 +0200, Giorgos Keramidas
><[EMAIL PROTECTED]> wrote:
>>
>> Show us the output of:
>>
>> # df -ik
>
> $ df -ik
> Filesystem  1K-blocks   Used  Avail Capacity iused ifree %iused  Mounted on
> /dev/ad0s1a253678  35430 19795415% 981 320413%   /
> devfs   1  1  0   100%   0 0  100%   /dev
> /dev/ad0s1e253678  6 233378 0%   3 330190%   /tmp
> /dev/ad0s1f673024 332902 28628254%   87038 0  100%   /usr

Here you are.  Your /usr partition has no free i-nodes.  Probably
because you used too large block/fragment sizes when it was newfs'd.

You have two options, both of which involve a reinstallation:

a) Resplit the disk giving more space to /usr.
b) Use a single, big root partition.

One possible layout, if you choose (a) could be:

FilesystemSize  Mount-point Other
/dev/ad0s1a   100-200 MB/   -
/dev/ad0s1b   ??? MB-   (swap, tmpfs)
/dev/ad0s1e   200-300 MB/var-
/dev/ad0s1f   rest  /usrthe rest of the disk

You can then use /usr/home for the home directories of users, and have
most of your space in /usr (where it is needed).

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


fdisk drive geometry problem

2005-03-16 Thread Perica Veljanovski
Hello
I finally got another hdd for my home box, decided to do a fresh fbsd 
install and I ended up with a disk problem :( :

ide0: 40GB [FreeBSD wannabe (ufs2) 10GB, storage2 (fat32) 30GB]
ide2: 40GB [WinXP (ntfs) 10GB, storage1 (fat32) 30GB]
Now when I begin the installation, and go to the partitioning section, 
fdisk complains about drive geometry and rearranges the drive. Here are 
the settings:

cyls/heads/sectors
19xxx/16/255 (BIOS)
7xxx/16/63 (dmesg "this is what fbsd complains to")
4xxx/255/63 (the new fdisk rearrangement)
and FreeBSD's fdisk seems to get off on setting the head count to 255!!! 
I tried setting the bios value and fdisk complains again, but for some 
reason when I swap the heads and sectors values it does not. Same goes 
for the dmesg values (drive geometry from the dmesg output).

Since I have no experience with changing drive geometry, nor do I 
understand the bloody thing, I have several issues:

- Will I loose the data on 'storage2' if I change the drive geometry?
- How should I set up the new drive geometry? What setting is 
faster/better? more cyls or more sectors (since fdisk is set to use 255 
heads)?
- If I backup 'storage2', change drive geometry as fbsd/fdisk suggests 
(or whatever), create a 10g slice and leave the other space 
unpartitioned, will I be able to partition and format the drive to fat32 
from WinXP?

That's about it... any examples would be great!
thanks ahead!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Illogical usage of swap

2005-03-16 Thread Colin J. Raven
On Mar 16 at 14:54, Giorgos Keramidas asked:
On 2005-03-16 13:36, "Colin J. Raven" <[EMAIL PROTECTED]> wrote:
On Mar 16 at 07:29, Lowell Gilbert launched this into the bitstream:
"Colin J. Raven" <[EMAIL PROTECTED]> writes:
Mem: 479M Active, 2470M Inact, 337M Wired, 101M Cache, 199M Buf, 5468K Free
Swap: 8192M Total, 116K Used, 8192M Free
Not a problem.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM
Hmm, yeah I should have included what I've actually read in the
handbook and elsewhere. In fact I did read that exerpt you quoted the
URL for above sometime previously, when it was quoted in another
thread on the list.
Free memory (or the lack thereof) isn't the issue though.
The issue is this:
Swap: 8192M Total, 116K Used, 8192M Free
and that's the piece of the puzzle that has us all utterly baffled.
No way in creation this box should be swapping.
Do you, by any chance, have vm.swap_idle_enabled set to 1?
No, it isn't:
gonzo# sysctl -a |grep vm.swap_idle_enabled
vm.swap_idle_enabled: 0
Regards,
-Colin
--
Colin J. Raven
Wed Mar 16 14:01:00 CET 2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: su: Sorry

2005-03-16 Thread Pietro Cerutti
On Wed, 16 Mar 2005 13:54:49 +0100, Gert Cuykens <[EMAIL PROTECTED]> wrote:
> Why can i not su accessing the server true ssh ?

are you in the wheel group?

check out /etc/pam.d/su

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


-- 
Pietro "Piter" Cerutti
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>

Beansidhe - SwiSS Death / Thrash Metal


Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problems with /var/spool/hylafax

2005-03-16 Thread v . demartino2
Under FBSD 5.3 I've just compiled hylafax from the ports, set up the modem
with faxsetup and then started "/usr/local/etc/rc.d/hylafax.sh.sample start"
...
BUT..
/var/log/messages complains that:
 VicBSD FaxQueuer[668]: /var/spool/hylafax: Can not change directory
 VicBSD HylaFAX[669]: Can not change directory to /var/spool/hylafax
 VicBSD FaxQueuer[739]: /var/spool/hylafax: Can not change directory
 VicBSD HylaFAX[740]: Can not change directory to /var/spool/hylafax

What's the matter with it and what shall I do?

Here it is a "ls -al /var/spool/hylafax"
total 40
drwxr-xr-x  17 uucpdialer   512 Mar 16 09:07 .
drwx--   9 daemon  daemon   512 Mar 15 21:43 ..
-r--r--r--   1 rootdialer  5426 Mar 15 21:43 COPYRIGHT
prw---   1 uucpdialer 0 Mar 15 21:43 FIFO
prw---   1 uucpdialer 0 Mar 16 09:07 FIFO.cuaa0
drwx--   2 uucpdialer   512 Mar 15 21:43 archive
drwxr-xr-x   2 uucpdialer   512 Mar 16 09:05 bin
drwxr-xr-x   2 uucpdialer   512 Mar 15 21:43 client
drwxr-xr-x   2 uucpdialer  1536 Mar 15 21:43 config
drwxr-xr-x   2 uucpdialer   512 Mar 15 21:43 dev
drwx--   2 uucpdialer   512 Mar 15 21:43 docq
drwx--   2 uucpdialer   512 Mar 15 21:43 doneq
drwxr-xr-x   2 uucpdialer   512 Mar 16 09:07 etc
drwxr-xr-x   2 uucpdialer   512 Mar 15 21:43 info
drwxr-xr-x   2 uucpdialer   512 Mar 15 21:43 log
drwx--   2 uucpdialer   512 Mar 15 21:43 pollq
drwxr-xr-x   2 uucpdialer   512 Mar 15 21:43 recvq
drwx--   2 uucpdialer   512 Mar 15 21:43 sendq
drwxr-xr-x   2 uucpdialer   512 Mar 16 09:01 status
drwx--   2 uucpdialer   512 Mar 15 21:43 tmp

Ciao
Vittorio




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


Re: Illogical usage of swap

2005-03-16 Thread Giorgos Keramidas
On 2005-03-16 13:36, "Colin J. Raven" <[EMAIL PROTECTED]> wrote:
>On Mar 16 at 07:29, Lowell Gilbert launched this into the bitstream:
>>"Colin J. Raven" <[EMAIL PROTECTED]> writes:
>>>Mem: 479M Active, 2470M Inact, 337M Wired, 101M Cache, 199M Buf, 5468K Free
>>>Swap: 8192M Total, 116K Used, 8192M Free
>>
>> Not a problem.
>>
>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM
>
> Hmm, yeah I should have included what I've actually read in the
> handbook and elsewhere. In fact I did read that exerpt you quoted the
> URL for above sometime previously, when it was quoted in another
> thread on the list.
>
> Free memory (or the lack thereof) isn't the issue though.
>
> The issue is this:
> Swap: 8192M Total, 116K Used, 8192M Free
> and that's the piece of the puzzle that has us all utterly baffled.
>
> No way in creation this box should be swapping.

Do you, by any chance, have vm.swap_idle_enabled set to 1?

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


su: Sorry

2005-03-16 Thread Gert Cuykens
Why can i not su accessing the server true ssh ? 

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


Re: freebsd-questions Digest, Vol 91, Issue 29

2005-03-16 Thread John DeStefano
> From: Jason Henson <[EMAIL PROTECTED]>
> To: freebsd-questions@freebsd.org
> Date: Mon, 14 Mar 2005 02:00:48 +
> Subject: Re: kern.maxpipekva exceeded, please see tuning(7)
> On 03/13/05 15:44:32, John DeStefano wrote:
> > I have seen a mention or two of this error on the lists before,
> > including this link to the "current" list I pulled up from Google:
> > http://lists.freebsd.org/pipermail/freebsd-current/2004-January/019150.html
> >
> > In my case, the errors began after my exploratory two-year-old found
> > the shiny 'reset' button and could not resist its powers.  I'm also
> > getting HDD error messages on boot, 'fsck -y' shows all the file
> > systems as read-only and returns errors on one of them, and I can no
> > longer SSH into my system (due to, I assume, too many open file
> > handles), or even get a command in on my console without an error
> > popping in..
> >
> > The solution does not seem clear cut to me, and it seems the error
> > message itself does not provide valid (or, at least, sufficient)
> > information.
> >
> > Could someone please help, or point me in the right direction?
> >
> > Thanks, as always,
> > John
> > ___
> 
> FreeBSD is very robust with power failures, but that was a reset
> button.  Do you have acpi on?  When I hit my power button every once in
> a while my system shuts down properly.  Try booting into single user
> mode and do a manual mount and fsck.
> 
> And just to help you out:
> 
> $ sysctl -ad | grep pipekva
> kern.ipc.maxpipekva: Pipe KVA limit
> kern.ipc.pipekva: Pipe KVA usage
> $ sysctl -a | grep pipekva
> kern.ipc.maxpipekva: 8634368
> kern.ipc.pipekva: 344064
> 
Thank you Jason.  I do have ACPI on.  I believe booting into -s mode,
manually mounting and fsck-ing the slices, and adding the two kernel
paramenters to /boot/loader.conf as you suggsted has sorted me (or, at
least, alleviated the system of kernel errors). I used your parameters
ver batim; I will need to understand how the values relate to physical
memory (only 320MB) before I tinker with them.

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


Re: inode

2005-03-16 Thread Gert Cuykens
On Wed, 16 Mar 2005 14:27:21 +0200, Giorgos Keramidas
<[EMAIL PROTECTED]> wrote:
> On 2005-03-16 13:22, Gert Cuykens <[EMAIL PROTECTED]> wrote:
> >On Wed, 16 Mar 2005 14:13:09 +0200, Giorgos Keramidas
> ><[EMAIL PROTECTED]> wrote:
> >> On 2005-03-16 13:05, Gert Cuykens <[EMAIL PROTECTED]> wrote:
> >> > What is a inode ? I installed freebsd 5.3 on a 2gb harddisk and it
> >> > tells me there are not enough inodes ? Aldo there is diskspace
> >> > availeble ?
> >> >
> >> > Does it mean there are to many directories ? Can you fix this ?
> >>
> >> i-nodes are the areas where the file system saves information such as
> >> the owner, the size and pointers to the data area of a normal or special
> >> file or a directory.
> >>
> >> 2 GB is a lot of space for a virgin FreeBSD installation.  The base
> >> system takes up to 170 MB on a clean disk here.
> >>
> >> - Have you tweaked the newfs options that sysinstall used?
> >> - Have you installed any extra packages?  How many and which?
> >
> > No i just installed 5.3 i386 base and ports and there is plenty of
> > freespace on all default partitions availeble but when i do mkdir it
> > tells me no inodes availeble.
> 
> Show us the output of:
> 
> # df -ik
> 

$ df -ik
Filesystem  1K-blocks   Used  Avail Capacity iused ifree %iused  Mounted on
/dev/ad0s1a253678  35430 19795415% 981 320413%   /
devfs   1  1  0   100%   0 0  100%   /dev
/dev/ad0s1e253678  6 233378 0%   3 330190%   /tmp
/dev/ad0s1f673024 332902 28628254%   87038 0  100%   /usr
/dev/ad0s1d253678240 233144 0%  98 329240%   /var
$

Its only the /usr partition that seems to have inode problems
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Illogical usage of swap

2005-03-16 Thread Colin J. Raven
On Mar 16 at 07:29, Lowell Gilbert launched this into the bitstream:
"Colin J. Raven" <[EMAIL PROTECTED]> writes:
Hard to believe, but this beast is swapping. Here's a typical top
snapshot:
load averages:  0.75,  0.36,  0.23 up 14+12:39:04  12:40:02
128 processes: 1 running, 125 sleeping, 2 zombie
CPU states:
7.5% user,  0.0% nice,  1.3% system,  0.0% interrupt, 91.2% idle
Mem:
479M Active, 2470M Inact, 337M Wired, 101M Cache, 199M Buf, 5468K Free
Swap: 8192M Total, 116K Used, 8192M Free
Not a problem.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM
Hmm, yeah I should have included what I've actually read in the handbook 
and elsewhere. In fact I did read that exerpt you quoted the URL 
for  above sometime previously, when it was quoted in another thread 
on the list.

Free memory (or the lack thereof) isn't the issue though.
The issue is this:
Swap: 8192M Total, 116K Used, 8192M Free
and that's the piece of the puzzle that has us all utterly baffled.
No way in creation this box should be swapping.
Thanks for your response Lowell.
Regards,
-Colin
--
Colin J. Raven
Wed Mar 16 13:36:00 CET 2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Illogical usage of swap

2005-03-16 Thread Lowell Gilbert
"Colin J. Raven" <[EMAIL PROTECTED]> writes:

> Hard to believe, but this beast is swapping. Here's a typical top
> snapshot:
> 
> load averages:  0.75,  0.36,  0.23 up 14+12:39:04  12:40:02
> 128 processes: 1 running, 125 sleeping, 2 zombie
> CPU states:
> 7.5% user,  0.0% nice,  1.3% system,  0.0% interrupt, 91.2% idle
> Mem:
> 479M Active, 2470M Inact, 337M Wired, 101M Cache, 199M Buf, 5468K Free
> Swap: 8192M Total, 116K Used, 8192M Free

Not a problem.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: inode

2005-03-16 Thread Giorgos Keramidas
On 2005-03-16 13:22, Gert Cuykens <[EMAIL PROTECTED]> wrote:
>On Wed, 16 Mar 2005 14:13:09 +0200, Giorgos Keramidas
><[EMAIL PROTECTED]> wrote:
>> On 2005-03-16 13:05, Gert Cuykens <[EMAIL PROTECTED]> wrote:
>> > What is a inode ? I installed freebsd 5.3 on a 2gb harddisk and it
>> > tells me there are not enough inodes ? Aldo there is diskspace
>> > availeble ?
>> >
>> > Does it mean there are to many directories ? Can you fix this ?
>>
>> i-nodes are the areas where the file system saves information such as
>> the owner, the size and pointers to the data area of a normal or special
>> file or a directory.
>>
>> 2 GB is a lot of space for a virgin FreeBSD installation.  The base
>> system takes up to 170 MB on a clean disk here.
>>
>> - Have you tweaked the newfs options that sysinstall used?
>> - Have you installed any extra packages?  How many and which?
>
> No i just installed 5.3 i386 base and ports and there is plenty of
> freespace on all default partitions availeble but when i do mkdir it
> tells me no inodes availeble.

Show us the output of:

# df -ik

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


Re: inode

2005-03-16 Thread Gert Cuykens
On Wed, 16 Mar 2005 14:13:09 +0200, Giorgos Keramidas
<[EMAIL PROTECTED]> wrote:
> On 2005-03-16 13:05, Gert Cuykens <[EMAIL PROTECTED]> wrote:
> > What is a inode ? I installed freebsd 5.3 on a 2gb harddisk and it
> > tells me there are not enough inodes ? Aldo there is diskspace
> > availeble ?
> >
> > Does it mean there are to many directories ? Can you fix this ?
> 
> i-nodes are the areas where the file system saves information such as
> the owner, the size and pointers to the data area of a normal or special
> file or a directory.
> 
> 2 GB is a lot of space for a virgin FreeBSD installation.  The base
> system takes up to 170 MB on a clean disk here.
> 
> - Have you tweaked the newfs options that sysinstall used?
> - Have you installed any extra packages?  How many and which?
> 

No i just installed 5.3 i386 base and ports and there is plenty of
freespace on all default partitions availeble but when i do mkdir it
tells me no inodes availeble.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: inode

2005-03-16 Thread Giorgos Keramidas
On 2005-03-16 13:05, Gert Cuykens <[EMAIL PROTECTED]> wrote:
> What is a inode ? I installed freebsd 5.3 on a 2gb harddisk and it
> tells me there are not enough inodes ? Aldo there is diskspace
> availeble ?
>
> Does it mean there are to many directories ? Can you fix this ?

i-nodes are the areas where the file system saves information such as
the owner, the size and pointers to the data area of a normal or special
file or a directory.

2 GB is a lot of space for a virgin FreeBSD installation.  The base
system takes up to 170 MB on a clean disk here.

- Have you tweaked the newfs options that sysinstall used?
- Have you installed any extra packages?  How many and which?

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


Re: inode

2005-03-16 Thread Vladimir Dvorak
Gert Cuykens wrote:
What is a inode ? I installed freebsd 5.3 on a 2gb harddisk and it
tells me there are not enough inodes ? Aldo there is diskspace
availeble ?
Does it mean there are to many directories ? Can you fix this ?
 

I suppose there is no disk space available on some partition. When this 
message apears ? Or, you can check it out bu df -h command.

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


inode

2005-03-16 Thread Gert Cuykens
What is a inode ? I installed freebsd 5.3 on a 2gb harddisk and it
tells me there are not enough inodes ? Aldo there is diskspace
availeble ?

Does it mean there are to many directories ? Can you fix this ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Illogical usage of swap

2005-03-16 Thread Colin J. Raven
Perhaps this resonates with someone, I sure hope so.
We bought and deployed a new server recently. Owing to various 
combinations of nics/raid controllers lack of support, instead of 
installing 5.3 we installed 4.11.

The motherboard is a tyan tiger i7320s5350, dual Xeon 3.0GHz w/1MB cache 
and an moderately impressive 4GB of RAM. Hyperthreading *is* enabled, 
here's a sysctl hw snapshot:
gonzo# sysctl -a |grep hw
hw.machine: i386
hw.model: Intel(R) Xeon(TM) CPU 3.00GHz
hw.ncpu: 4
#other stuff that may be meaningful to someone:
hw.physmem: 3618050048
hw.usermem: 3261022208
hw.pagesize: 4096
hw.floatingpoint: 1
hw.machine_arch: i386
hw.aac.iosize_max: 65536
hw.an.an_dump: off
#and so on.

Hard to believe, but this beast is swapping. Here's a typical top 
snapshot:

load averages:  0.75,  0.36,  0.23 
up 14+12:39:04  12:40:02
128 processes: 1 running, 125 sleeping, 2 zombie
CPU states:
7.5% user,  0.0% nice,  1.3% system,  0.0% interrupt, 91.2% idle
Mem:
479M Active, 2470M Inact, 337M Wired, 101M Cache, 199M Buf, 5468K Free
Swap: 8192M Total, 116K Used, 8192M Free

The box is replacing a machine with dual AMD athlon MP CPU's and 1GB of 
RAM. The old box never swapped once, though then - as now - free memory 
dipped down into numbers we weren't comfortable with occasionally. The 
old box *was* quite heavily loaded at times so this wasn't so 
surprising. The new "superbox" however doesn't even have some stuff 
running on it that the old one had! So under no circumstances could the 
workload on the new box be described as heavy.

Can anyone suggest *anything* that might cause this uttely illogical 
situation to exist? We're frankly baffled.

Regards & TIA,
-Colin
--
Colin J. Raven
Wed Mar 16 12:54:00 CET 2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Backup on DDS-4 tapes

2005-03-16 Thread Alex Zbyslaw
Ludo Koren wrote:
It doesn't help either... The result is the same.
 

Just to check I'm understanding your problem correctly -- you're 
expecting to write much more data to the tape than is actually being 
written.

If that's correct, then there's a couple things I can think of:
1) Your tape drive isn't doing hardware compression.  Check the manual 
and see if there are any dip switches you need to set.  (Make a note of 
how they're set before you change anything, so you can go back to what 
you had originally!).

When you say the result is the same, if it used exactly the same number 
of tapes (down to the decimal point) then that definitely suggests that 
your tape drive is not compressing.

2) The data you're writing to the tape is already mostly compressed, so 
you won't fit as much as you might if it were uncompressed data.

Also, the 40Gb per tape that you quote is, I think, the MAXIMUM amount 
of data the tape will take.  It's only 20Gb native.  40Gb is how much 
will fit at optimum compression, which you never get.

It's unlikely to be a FreeBSD problem because I regularly fit 6-7Gb on a 
DDS-2, which has a native size of 4Gb.  I use dump options like the ones 
in my last message.

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


Re: FB 5.3 with wireless connection

2005-03-16 Thread Fabian Keil
Albert Shih <[EMAIL PROTECTED]> wrote:

> With a FB 5.3-P5 how can I configure a wifi card with 128 bits key wep ?
> 
> My wifi card is 
> 
> wi0:  at port 0xe000-0xe03f irq 5 
> function 0 config 1 on pccard1
> 
> When I use
> 
> [EMAIL PROTECTED] ifconfig wi0 wepkey xx up
> ifconfig: string too long
> [EMAIL PROTECTED] ifconfig wi0 weptxkey xx up
> ifconfig: SIOCS80211: Invalid argument

The recommended way is to specify the wepkey in hexadecimal digits.
ifconfig wi0 wepkey 0x1deadc0dedeadc0dedeadc0de1

man ifconfig:
>  wepkey key|index:key
>  For IEEE 802.11 wireless interfaces, set the selected WEP key.
>  If an index is not given, key 1 is set.  A WEP key will be either
>  5 or 13 characters (40 or 104 bits) depending of the local net-
>  work and the capabilities of the adaptor.  It may be specified
>  either as a plain string or as a string of hexadecimal digits
>  proceeded by `0x'.  For maximum portability, hex keys are recom-
>  mended; the mapping of text keys to WEP encryption is usually
>  driver-specific.  In particular, the Windows drivers do this map-
>  ping differently to FreeBSD.  A key may be cleared by setting it
>  to `-'.  If WEP is supported then there are at least four keys.
>  Some adaptors support more than four keys.  If that is the case,
>  then the first four keys (1-4) will be the standard temporary
>  keys and any others will be adaptor specific keys such as perma-
>  nent keys stored in NVRAM.

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


Re: FB 5.3 with wireless connection

2005-03-16 Thread Pietro Cerutti
On Wed, 16 Mar 2005 11:58:37 +0100, Albert Shih <[EMAIL PROTECTED]> wrote:
> Hi all

Hi there,


> 
> With a FB 5.3-P5 how can I configure a wifi card with 128 bits key wep ?
> 
> My wifi card is
> 
> wi0:  at port 0xe000-0xe03f irq 5 
> function 0 config 1 on pccard1
> 
> When I use
> 
> [EMAIL PROTECTED] ifconfig wi0 wepkey xx up
> ifconfig: string too long
> [EMAIL PROTECTED] ifconfig wi0 weptxkey xx up
> ifconfig: SIOCS80211: Invalid argument
> 

You should inform your system that you're using an exadecimal key!
Do so by writing 0x before your wep key.


> Regards.
> 
> --
> Albert SHIH
> Universite de Paris 7 (Denis DIDEROT)
> U.F.R. de Mathematiques.
> Heure local/Local time:
> Wed Mar 16 11:55:05 CET 2005

Hope this helps,
best regards

-- 
Pietro "Piter" Cerutti
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>

Beansidhe - SwiSS Death / Thrash Metal


Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FB 5.3 with wireless connection

2005-03-16 Thread Albert Shih
Hi all

With a FB 5.3-P5 how can I configure a wifi card with 128 bits key wep ?

My wifi card is 

wi0:  at port 0xe000-0xe03f irq 5 function 
0 config 1 on pccard1

When I use

[EMAIL PROTECTED] ifconfig wi0 wepkey xx up
ifconfig: string too long
[EMAIL PROTECTED] ifconfig wi0 weptxkey xx up
ifconfig: SIOCS80211: Invalid argument

Regards.


--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
Heure local/Local time:
Wed Mar 16 11:55:05 CET 2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


5.3-RELEASE-p5 reboots, ahd(4) debug messages on reboot [fixed format]

2005-03-16 Thread Leroy van Logchem
 Sorry for the previous linewrapped question 
Hello,
Our fileserver with a raid cabinet attached reboots about every two
weeks. What could be causing this?
OS Version: FreeBSD 5.3-RELEASE-p5
Server brand: Supermicro 6018-P8
Server purpose: Hosting files using Samba 3 and NFS with 400 clients.
SCSI cabinet: 2U EonStore A08-G1410. A RAID5+1 being exported as single
U160 device to the HBA.
Boot messages after crash:
--
Copyright (c) 1992-2004 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 5.3-RELEASE-p5 #1: Wed Feb  2 11:48:23 CET 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
MPTable: <  Kings Canyon>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2799.70-MHz 686-class CPU)
Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
Features=0xbfebfbff
Hyperthreading: 2 logical CPUs
real memory  = 1073217536 (1023 MB)
avail memory = 1043804160 (995 MB)
ioapic0: Assuming intbase of 0
ioapic1: Assuming intbase of 24
ioapic2: Assuming intbase of 48
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
ioapic2  irqs 48-71 on motherboard
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  pcibus 0 on motherboard
pci0:  on pcib0
pci0:  at device 0.1 (no driver attached)
pcib1:  at device 2.0 on pci0
pci1:  on pcib1
pci1:  at device 28.0 (no driver 
attached)
pcib2:  at device 29.0 on pci1
pci2:  on pcib2
em0:  port 
0x3000-0x303f mem 0xfc20-0xfc21 irq 54 at device 3.0 on pci2
em0: Ethernet address: 00:30:48:2a:53:be
em0:  Speed:N/A  Duplex:N/A
em1:  port 
0x3040-0x307f mem 0xfc22-0xfc23 irq 55 at device 3.1 on pci2
em1: Ethernet address: 00:30:48:2a:53:bf
em1:  Speed:N/A  Duplex:N/A
pci1:  at device 30.0 (no driver 
attached)
pcib3:  at device 31.0 on pci1
pci3:  on pcib3
ahd0:  port 0x4000-0x40ff,0x4400-0x44ff 
mem 0xfc30-0xfc301fff irq 28 at device 2.0 on pci3
ahd0: [GIANT-LOCKED]
aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs
ahd1:  port 0x4800-0x48ff,0x4c00-0x4cff 
mem 0xfc302000-0xfc303fff irq 29 at device 2.1 on pci3
ahd1: [GIANT-LOCKED]
aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs
pci0:  at device 29.0 (no driver attached)
pci0:  at device 29.1 (no driver attached)
pci0:  at device 29.2 (no driver attached)
pcib4:  at device 30.0 on pci0
pci4:  on pcib4
pci4:  at device 1.0 (no driver attached)
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 
0x2060-0x206f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0:  at device 31.3 (no driver attached)
cpu0 on motherboard
orm0:  at iomem 
0xe-0xe3fff,0xc8000-0xc8fff,0xc-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0:  at port 0x64,0x60 on isa0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0:  at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sc0:  at flags 0x100 on isa0sio0 at port 0x3f8-0x3ff irq 4 
flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown:  can't assign resources (port)
unknown:  can't assign resources (memory)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
Timecounter "TSC" frequency 2799696480 Hz quality 800
Timecounters tick every 10.000 msec
acd0: CDROM  at ata1-master UDMA33
Waiting 15 seconds for SCSI devices to settle
ahd0: Invalid Sequencer interrupt occurred.
>> Dump Card State Begins <
ahd0: Dumping Card State at program address 0x23b Mode 0x0
Card was paused
INTSTAT[0x0] SELOID[0x0] SELID[0x10] HS_MAILBOX[0x0]
INTCTL[0x80]:(SWTMINTMASK) SEQINTSTAT[0x0] SAVED_MODE[0x11]
DFFSTAT[0x33]:(CURRFIFO_NONE|FIFO0FREE|FIFO1FREE)
SCSISIGI[0x0]:(P_DATAOUT) SCSIPHASE[0x0] SCSIBUS[0x0]
LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE) SCSISEQ0[0x0]
SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI) SEQCTL0[0x0] 
SEQINTCTL[0x6]:(INTMASK1|INTMASK2)
SEQ_FLAGS[0x0] SEQ_FLAGS2[0x0] QFREEZE_COUNT[0x3]
KERNEL_QFREEZE_COUNT[0x3] MK_MESSAGE_SCB[0xff00] MK_MESSAGE_SCSIID[0xff]
SSTAT0[0x0] SSTAT1[0x0] SSTAT2[0x0] SSTAT3[0x0] PERRDIAG[0x0]
SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) LQISTAT0[0x0]
LQISTAT1[0x0] LQISTAT2[0x0] LQOSTAT0[0x0] LQOSTAT1[0x0]
LQOSTAT2[0x0]
SCB Count = 16 CMDS_PENDING = 0 LASTSCB 0x CURRSCB 0xf NEXTSCB 0xff00
qinstart = 39 qinfifonext = 39
QINFIFO:
WAITING_TID_QUEUES:
Pending list:
Total 0
Kernel Free SCB list: 15 14 9 1 2 3 4 5 6 7 8 10 11 12 13 0
Sequencer Complete DMA-inprog list:
Sequencer Complete list:
Sequencer DMA-Up and Complete list:
Sequencer On QFreeze and Complete list:
ahd0: FIFO0 Free, LONGJMP == 0x8000, SCB 0xe
SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS)
SEQINTSRC[0x0] 

RE: 5.3-RELEASE-p5 reboots, ahd(4) debug messages on reboot

2005-03-16 Thread Ted Mittelstaedt
You have some Seagates running at 320.000MB/s transfers (160.000MHz,
offset 63, 16bit),
and a  running at 160.000MB/s transfers (80.000MHz,
offset 62, 16bit)
and they appear to be on the same cable?

Interesting that Anthony is having a similar problem, same kind of thing
although different scsi adapter and driver.  You both ought to compare
notes.

Ted



> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Leroy van
> Logchem
> Sent: Wednesday, March 16, 2005 2:36 AM
> To: freebsd-questions@freebsd.org
> Subject: 5.3-RELEASE-p5 reboots, ahd(4) debug messages on reboot
>
>
> Hello,
>
> Our fileserver with a raid cabinet attached reboots about every two
> weeks. What could be causing this?
>
> OS Version: FreeBSD 5.3-RELEASE-p5
> Server brand: Supermicro 6018-P8
> Server purpose: Hosting files using Samba 3 and NFS with 400 clients.
> SCSI cabinet: 2U EonStore A08-G1410. A RAID5+1 being exported as single
> U160 device to the HBA.
>
> Boot messages after crash:
>
> Mar 10 10:09:21  filer kernel: Waiting 15 seconds for SCSI
> devices to settle
> Mar 10 10:09:21  filer kernel: ahd0: Invalid Sequencer
> interrupt occurred.
> Mar 10 10:09:21  filer kernel: >> Dump Card
> State Begins <
> Mar 10 10:09:21  filer kernel: ahd0: Dumping Card State at
> program address 0x23b Mode 0x0
> Mar 10 10:09:21  filer kernel: Card was paused
> Mar 10 10:09:21  filer kernel: INTSTAT[0x0] SELOID[0x0]
> SELID[0x10] HS_MAILBOX[0x0]
> Mar 10 10:09:21  filer kernel: INTCTL[0x80]:(SWTMINTMASK)
> SEQINTSTAT[0x0] SAVED_MODE[0x11]
> Mar 10 10:09:21  filer kernel:
> DFFSTAT[0x33]:(CURRFIFO_NONE|FIFO0FREE|FIFO1FREE)
> Mar 10 10:09:21  filer kernel: SCSISIGI[0x0]:(P_DATAOUT)
> SCSIPHASE[0x0] SCSIBUS[0x0]
> Mar 10 10:09:21  filer kernel:
> LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE) SCSISEQ0[0x0]
> Mar 10 10:09:21  filer kernel:
> SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI) SEQCTL0[0x0]
> SEQINTCTL[0x6]:(INTMASK1|INTMASK2)
> Mar 10 10:09:21  filer kernel: SEQ_FLAGS[0x0]
> SEQ_FLAGS2[0x0]
> QFREEZE_COUNT[0x3]
> Mar 10 10:09:21  filer kernel: KERNEL_QFREEZE_COUNT[0x3]
> MK_MESSAGE_SCB[0xff00] MK_MESSAGE_SCSIID[0xff]
> Mar 10 10:09:21  filer kernel: SSTAT0[0x0] SSTAT1[0x0]
> SSTAT2[0x0] SSTAT3[0x0] PERRDIAG[0x0]
> Mar 10 10:09:21  filer kernel:
> SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) LQISTAT0[0x0]
> Mar 10 10:09:21  filer kernel: LQISTAT1[0x0] LQISTAT2[0x0]
> LQOSTAT0[0x0] LQOSTAT1[0x0]
> Mar 10 10:09:21  filer kernel: LQOSTAT2[0x0]
> Mar 10 10:09:21  filer kernel:
> Mar 10 10:09:21  filer kernel: SCB Count = 16
> CMDS_PENDING =
> 0 LASTSCB 0x CURRSCB 0xf NEXTSCB 0xff00
> Mar 10 10:09:21  filer kernel: qinstart = 39
> qinfifonext = 39
> Mar 10 10:09:21  filer kernel: QINFIFO:
> Mar 10 10:09:21  filer kernel: WAITING_TID_QUEUES:
> Mar 10 10:09:21  filer kernel: Pending list:
> Mar 10 10:09:21  filer kernel: Total 0
> Mar 10 10:09:21  filer kernel: Kernel Free SCB
> list: 15 14 9
> 1 2 3 4 5 6 7 8 10 11 12 13 0
> Mar 10 10:09:21  filer kernel: Sequencer Complete
> DMA-inprog
> list:
> Mar 10 10:09:21  filer kernel: Sequencer Complete list:
> Mar 10 10:09:21  filer kernel: Sequencer DMA-Up and
> Complete
> list:
> Mar 10 10:09:21  filer kernel: Sequencer On QFreeze and
> Complete list:
> Mar 10 10:09:21  filer kernel:
> Mar 10 10:09:21  filer kernel:
> Mar 10 10:09:21  filer kernel: ahd0: FIFO0 Free, LONGJMP ==
> 0x8000, SCB 0xe
> Mar 10 10:09:21  filer kernel:
> SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|E
> NCFG4DATA|ENSAVEPTRS)
> Mar 10 10:09:21  filer kernel: SEQINTSRC[0x0] DFCNTRL[0x0]
> DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)
> Mar 10 10:09:21  filer kernel:
> SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0]
> Mar 10 10:09:21  filer kernel: SOFFCNT[0x0]
> MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0
> Mar 10 10:09:21  filer kernel: HADDR = 0x00, HCNT = 0x0
> CCSGCTL[0x10]:(SG_CACHE_AVAIL)
> Mar 10 10:09:21  filer kernel:
> Mar 10 10:09:21  filer kernel: ahd0: FIFO1 Free, LONGJMP ==
> 0x8063, SCB 0xf
> Mar 10 10:09:21  filer kernel:
> SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|E
> NCFG4DATA|ENSAVEPTRS)
> Mar 10 10:09:21  filer kernel: SEQINTSRC[0x0] DFCNTRL[0x0]
> DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)
> Mar 10 10:09:21  filer kernel:
> SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0]
> Mar 10 10:09:21  filer kernel: SOFFCNT[0x0]
> MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0
> Mar 10 10:09:21  filer kernel: HADDR = 0x00, HCNT = 0x0
> CCSGCTL[0x10]:(SG_CACHE_AVAIL)
> Mar 10 10:09:21  filer kernel: LQIN: 0x8 0x0 0x0
> 0xe 0x0 0x1
> 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
> Mar 10 10:09:21  filer kernel: ahd0: LQISTATE =
> 0x0, LQOSTATE
> = 0x0, OPTIONMODE = 0x42
> Mar 10 10:09:21  filer kernel: ahd0: OS_SPACE_CNT = 0x20
> MAXCMDCNT = 0x1
> Mar 10 10:09:21  filer kernel: ahd0: SAVED_SCSIID = 0x0
> SAVED_LUN = 0x0
> Mar 10 10:09:21  filer kernel:
> Mar 10 10

5.3-RELEASE-p5 reboots, ahd(4) debug messages on reboot

2005-03-16 Thread Leroy van Logchem
Hello,
Our fileserver with a raid cabinet attached reboots about every two
weeks. What could be causing this?
OS Version: FreeBSD 5.3-RELEASE-p5
Server brand: Supermicro 6018-P8
Server purpose: Hosting files using Samba 3 and NFS with 400 clients.
SCSI cabinet: 2U EonStore A08-G1410. A RAID5+1 being exported as single
U160 device to the HBA.
Boot messages after crash:
Mar 10 10:09:21  filer kernel: Waiting 15 seconds for SCSI 
devices to settle
Mar 10 10:09:21  filer kernel: ahd0: Invalid Sequencer 
interrupt occurred.
Mar 10 10:09:21  filer kernel: >> Dump Card 
State Begins <
Mar 10 10:09:21  filer kernel: ahd0: Dumping Card State at 
program address 0x23b Mode 0x0
Mar 10 10:09:21  filer kernel: Card was paused
Mar 10 10:09:21  filer kernel: INTSTAT[0x0] SELOID[0x0] 
SELID[0x10] HS_MAILBOX[0x0]
Mar 10 10:09:21  filer kernel: INTCTL[0x80]:(SWTMINTMASK) 
SEQINTSTAT[0x0] SAVED_MODE[0x11]
Mar 10 10:09:21  filer kernel: 
DFFSTAT[0x33]:(CURRFIFO_NONE|FIFO0FREE|FIFO1FREE)
Mar 10 10:09:21  filer kernel: SCSISIGI[0x0]:(P_DATAOUT) 
SCSIPHASE[0x0] SCSIBUS[0x0]
Mar 10 10:09:21  filer kernel: 
LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE) SCSISEQ0[0x0]
Mar 10 10:09:21  filer kernel: 
SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI) SEQCTL0[0x0] 
SEQINTCTL[0x6]:(INTMASK1|INTMASK2)
Mar 10 10:09:21  filer kernel: SEQ_FLAGS[0x0] SEQ_FLAGS2[0x0] 
QFREEZE_COUNT[0x3]
Mar 10 10:09:21  filer kernel: KERNEL_QFREEZE_COUNT[0x3] 
MK_MESSAGE_SCB[0xff00] MK_MESSAGE_SCSIID[0xff]
Mar 10 10:09:21  filer kernel: SSTAT0[0x0] SSTAT1[0x0] 
SSTAT2[0x0] SSTAT3[0x0] PERRDIAG[0x0]
Mar 10 10:09:21  filer kernel: 
SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) LQISTAT0[0x0]
Mar 10 10:09:21  filer kernel: LQISTAT1[0x0] LQISTAT2[0x0] 
LQOSTAT0[0x0] LQOSTAT1[0x0]
Mar 10 10:09:21  filer kernel: LQOSTAT2[0x0]
Mar 10 10:09:21  filer kernel:
Mar 10 10:09:21  filer kernel: SCB Count = 16 CMDS_PENDING = 
0 LASTSCB 0x CURRSCB 0xf NEXTSCB 0xff00
Mar 10 10:09:21  filer kernel: qinstart = 39 qinfifonext = 39
Mar 10 10:09:21  filer kernel: QINFIFO:
Mar 10 10:09:21  filer kernel: WAITING_TID_QUEUES:
Mar 10 10:09:21  filer kernel: Pending list:
Mar 10 10:09:21  filer kernel: Total 0
Mar 10 10:09:21  filer kernel: Kernel Free SCB list: 15 14 9 
1 2 3 4 5 6 7 8 10 11 12 13 0
Mar 10 10:09:21  filer kernel: Sequencer Complete DMA-inprog 
list:
Mar 10 10:09:21  filer kernel: Sequencer Complete list:
Mar 10 10:09:21  filer kernel: Sequencer DMA-Up and Complete 
list:
Mar 10 10:09:21  filer kernel: Sequencer On QFreeze and 
Complete list:
Mar 10 10:09:21  filer kernel:
Mar 10 10:09:21  filer kernel:
Mar 10 10:09:21  filer kernel: ahd0: FIFO0 Free, LONGJMP == 
0x8000, SCB 0xe
Mar 10 10:09:21  filer kernel: 
SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS)
Mar 10 10:09:21  filer kernel: SEQINTSRC[0x0] DFCNTRL[0x0] 
DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)
Mar 10 10:09:21  filer kernel: 
SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0]
Mar 10 10:09:21  filer kernel: SOFFCNT[0x0] 
MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0
Mar 10 10:09:21  filer kernel: HADDR = 0x00, HCNT = 0x0 
CCSGCTL[0x10]:(SG_CACHE_AVAIL)
Mar 10 10:09:21  filer kernel:
Mar 10 10:09:21  filer kernel: ahd0: FIFO1 Free, LONGJMP == 
0x8063, SCB 0xf
Mar 10 10:09:21  filer kernel: 
SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS)
Mar 10 10:09:21  filer kernel: SEQINTSRC[0x0] DFCNTRL[0x0] 
DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)
Mar 10 10:09:21  filer kernel: 
SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0]
Mar 10 10:09:21  filer kernel: SOFFCNT[0x0] 
MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0
Mar 10 10:09:21  filer kernel: HADDR = 0x00, HCNT = 0x0 
CCSGCTL[0x10]:(SG_CACHE_AVAIL)
Mar 10 10:09:21  filer kernel: LQIN: 0x8 0x0 0x0 0xe 0x0 0x1 
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
Mar 10 10:09:21  filer kernel: ahd0: LQISTATE = 0x0, LQOSTATE 
= 0x0, OPTIONMODE = 0x42
Mar 10 10:09:21  filer kernel: ahd0: OS_SPACE_CNT = 0x20 
MAXCMDCNT = 0x1
Mar 10 10:09:21  filer kernel: ahd0: SAVED_SCSIID = 0x0 
SAVED_LUN = 0x0
Mar 10 10:09:21  filer kernel:
Mar 10 10:09:21  filer kernel: SIMODE0[0xc]:(ENOVERRUN|ENIOERR)
Mar 10 10:09:21  filer kernel: CCSCBCTL[0x4]:(CCSCBDIR)
Mar 10 10:09:21  filer kernel: ahd0: REG0 == 0xd501, SINDEX = 
0x10e, DINDEX = 0x102
Mar 10 10:09:21  filer kernel: ahd0: SCBPTR == 0xe, SCB_NEXT 
== 0xff00, SCB_NEXT2 == 0xff36
Mar 10 10:09:21  filer kernel: CDB 12 20 0 80 8 55
Mar 10 10:09:21  filer kernel: STACK: 0x236 0x2 0x0 0x0 0x0 
0x0 0x0 0x0
Mar 10 10:09:21  filer kernel: < Dump Card 
State Ends >>
Mar 10 10:09:21  filer kernel: ses0 at ahd0 bus 0 target 6 lun 0
Mar 10 10:09:21  filer kernel: ses0:  Fixed 
Processor SCSI-2 device
Mar 10 10:09:21  filer kernel: ses0: 3.300MB/s transfers
Mar 10 10:09:21  filer kernel: ses0: SAF-TE Compliant Device
Mar 10 10:09:21  filer kernel: Copied 18 bytes of s

SSH with Kerberos authentication

2005-03-16 Thread Vladimir Dvorak
Hi *,
I get stucked for several hours with configuring SSH authentication via Kerberos. I tested the same configuration on Linux and there was no problem.
I suspect pam_krb5.so. 

My requisities:
FreeBSD  5.3-RELEASE-p5
Kerberos comming with base system (heimdal implementation (Heimdal 0.6.1))
in /etc/krb5.conf
[libdefaults]
  default_realm = ATREY
[realms]
   ATREY = {
   kdc = 172.16.10.1
   kpasswd_server = 172.16.10.1
   }
[logging]
  kdc = FILE:/var/log/kdc.log
  kdc = SYSLOG:DEBUG
  default = SYSLOG:DEBUG:USER
[appdefaults]
   kinit = {
   forwardable= true
   }
[kdc]
   database = {
   realm = ATREY
   }
require-preauth = no
v4-realm= ATREY
key-file = /var/heimdal/heimdal.mkey

in /etc/pam.d/sshd have:
authsufficient  pam_krb5.so  try_first_pass  debug
authrequiredpam_unix.so
account  required  pam_krb5.so debug
session   optional   pam_krb5.so  debug
password   sufficient  pam_krb5.so  debug
From client view :

debug1: Authentications that can continue: 
publickey,gssapi-with-mic,password,keyboard-interactive
debug1: Next authentication method: gssapi-with-mic
debug1: Authentications that can continue: 
publickey,gssapi-with-mic,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /home/dvorakv/.ssh/identity
debug1: Trying private key: /home/dvorakv/.ssh/id_rsa
debug1: Trying private key: /home/dvorakv/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
Password:
pam_krb5: pam_sm_authenticate: Kerberos 5 error
pam_krb5: pam_sm_authenticate: Kerberos 5 refuses you
At server site in /var/log/auth.log there is notning to public. :-( In 
/var/log/kdc.log :

What more - "debug" parameter standing after pam_krb5.so doesn`t increase 
verbosity of output.
Here is my configuration method:
1.kstash 
Password: 

2. edit /etc/krb5.conf
3. kadmin -l
kadmin> init ATREY
..
4. add principals
kadmin> add dvorakv

5. run kdc,kpasswd,kadmind
/etc/rc.d/{kerberos,kadmind,kpasswd} start
6. test if i can get a ticket 
kinit dvorakv
password: 
[EMAIL PROTECTED]:~$ kinit dvorakv
[EMAIL PROTECTED]'s Password: 
kinit: NOTICE: ticket renewable lifetime is 1 week
   
 everything ok, but SSH and PAM! :-(

And the last remark - this server runs in jail(8) - but there shouldn`t be a 
problem.
Any ideas ? Is /etc/pam.d/sshd correct ? Is there anything what I am 
missing ? Is there anything special in FreeBSD besides Linux.
Thank you, Vladimir
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mozilla port issues

2005-03-16 Thread Michael C. Shultz
On Wednesday 16 March 2005 12:50 am, Ben Munat wrote:
> I've been working on upgrading 85 ports with portmanager -u for the
> last couple days. Had to restart it a few times, but little by little
> it seems to be whittling down the number of outstanding packages.
>
> Couple questions though...
>
> 1) a lot of the gnome stuff doesn't seem to be getting done... did I
> read something recently about portmanager not being able to upgrade
> gnome currently? Or some difficulty with gnome?
>
> 2) several of my remaining ports say that they're waiting on
> mozilla-1.7.5_1,2 as a dependency, but if I try to upgrade that, it
> stops, saying there are security issues with mozilla and I need to
> update my ports tree. I've updated several times however... What else
> do I need to do?
>
> 3) portmanager periodically says that it's missing
> nautilus-media-0.8.1_1... any idea why that would be?

nautilus-media-0.8.1_1 is no longer in ports, see the bottom 
of /usr/ports/MOVED.  Eventually when the ports that used to depend on 
it are upgraded you will stop seeing that message,
>
> thnks,
>
> Ben
>
> PS: crap, I just remembered the UPDATING file... I see in there that
> I can't use portupgrade to update gnome... does that mean it won't
> work with portmanager either?

Until the upgrade is done you should set
DISABLE_VULNERABILITIES="YES" in your make file. portmanager will be 
able to do the upgrade, but when it can't upgrade one port like mozilla 
it won't upgrade anything that depends on mozilla either.

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


Re: Shared object "libintl.so.5" not found error wheninstallinglogrotate port - how to solve this?

2005-03-16 Thread Olaf Greve
Hi,
Firstly, thanks for your reply!
No, you have the right version of gettext but you didn't address the 
problem.
I feared as much...:(
Soo, the question then winds down to how to resolve this. Can
anyone tell me how I can fix this problem?

Well, you have a mix bag set of references to gettext. Ports you haven't 
rebuilt are still refering to the old library. The interface changed 
between .so.5 and .so.6 and you have to rebuild everything that uses 
libintl. 
Hmmm, to be honest, I'm not certain how I can best fix this. It is my 
live server which is up 24/7, and of which I'd rather not break anything 
just to get logrotate going

I considered trying to install it as a package using sysinstall, but 
that complains that the fbsd 5.2.1 distribution cannot be found on the 
FTP servers anymore.

Ideally, I'd like to (re)build the logrotate port such that it will 
work. I guess that does involve doing what you say: rebuilding 
everything that depends on the conflicting library. However, I do not 
know exactly how to do this.

Can anyone perhaps tell me how I can find out which ports depend on this 
library, and how I can correctly update the lot such that it will all 
work, and such that I can install the logrotate port correctly?

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


sysinstall/fdisk drive geometry problem

2005-03-16 Thread Perica Veljanovski
Hello
I finally got another hdd for my home box, decided to do a fresh fbsd 
install and I ended up with a disk problem :( :

ide0: 40GB [FreeBSD wannabe (ufs2) 10GB, storage2 (fat32) 30GB]
ide2: 40GB [WinXP (ntfs) 10GB, storage1 (fat32) 30GB]
Now when I begin the installation, and go to the partitioning section, 
fdisk complains about drive geometry and rearranges the drive. Here are 
the settings:

cyls/heads/sectors
19xxx/16/255 (BIOS)
7xxx/16/63 (dmesg "this is what fbsd complains to")
4xxx/255/63 (the new fdisk rearrangement)
and FreeBSD's fdisk seems to get off on setting the head count to 255!!! 
I tried setting the bios value and fdisk complains again, but for some 
reason when I swap the heads and sectors values it does not. Same goes 
for the dmesg values (drive geometry from the dmesg output).

Since I have no experience with changing drive geometry, nor do I 
understand the bloody thing, I have several issues:

- Will I loose the data on 'storage2' if I change the drive geometry?
- How should I set up the new drive geometry? What setting is 
faster/better? more cyls or more sectors (since fdisk is set to use 255 
heads)?
- If I backup 'storage2', change drive geometry as fbsd/fdisk suggests 
(or whatever), create a 10g slice and leave the other space 
unpartitioned, will I be able to partition and format the drive to fat32 
from WinXP?

That's about it... any examples would be great!
thanks ahead!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Backup on DDS-4 tapes

2005-03-16 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Ludo Koren
> Sent: Wednesday, March 16, 2005 1:19 AM
> To: [EMAIL PROTECTED]
> Cc: freebsd-questions@freebsd.org
> Subject: Re: Backup on DDS-4 tapes
> 
> 

>Anyway, cpio cannot handle the problem too, and the tar in
>5.2.1-RELEASE-p3 can handle multi-volume backup, but in the 5.3-STABLE
>don't according to the man page.

I have never found multivolume tar archives to work unless I defined
the size of each tape.  Waiting for the tape device to return an EOT
to the tar program always ended up with junk.

If the tar in 5.3 doesen't have this option any longer why don't you
compile a tar that does?

Anyway, I think your problem is your tape device has it's dip switch
set to disable compression.  In that position it takes a SCSI command
to turn compression on.  If you flip the switch then the tape device
starts with compression on, and it takes a scsi command to turn it
off.  This is hardware compression I am referring to, of course.

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


Re: Backup on DDS-4 tapes

2005-03-16 Thread Ludo Koren


>> # /sbin/dump -Lu0 -B 41943040 -C 32 -f /dev/sa0 /usr
>> 
>> 
>> 
 > I would guess that your tape drive does hardware compression in
 > which case the amount of data which fits on a tape is variable.
 > In such a case you can't tell dump how big the tape is -- I
 > haven't used options like -B since 1600bpi reel-to-reel tapes,
 > except in my day you specified how many feet of tape you had
 > :-)

 > from man dump

 >  -a ``auto-size''.  Bypass all tape length considerations,
 > and enforce writing until an end-of-media indication is
 > returned.  This fits best for most modern tape drives.  Use of
 > this option is particularly recommended when appending to an
 > existing tape, or using a tape drive with hardware compression
 > (where you can never be sure about the compression ratio).

It doesn't help either... The result is the same.

 > Don't know -L, must be a 5.x thing.  Try:

 -L  This option is to notify dump that it is dumping a live file sys-
 tem.  To obtain a consistent dump image, dump takes a snapshot of
 the file system in the .snap directory in the root of the
 filesystem being dumped and then does a dump of the snapshot.
 The snapshot is removed when the dump is complete.  If the .snap
 directory does not exist in the root of the filesystem being
 dumped, the dump will fail.  This problem can be corrected by
 creating a .snap directory in the root of the filesystem to be
 dumped; its owner should be root, its group should be operator,
 and its mode should be 0770.


 > /sbin/dump -Lu0 -a -C 32 -f /dev/sa0 /usr

 > I use -b 64 as well.

 > Use cpio/tar at your peril as they may not do devices right and
 > may not understand filesystem flags.

 > --Alex

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


Re: Backup on DDS-4 tapes

2005-03-16 Thread Ludo Koren

 > --pP0ycGQONqsnqIMP Content-Type: text/plain; charset=us-ascii
 > Content-Disposition: inline

 > On Monday, 14 March 2005 at 10:38:02 +0100, Ludo Koren wrote:
>>  Hi,
>> 
>> I am using 5.2.1-RELEASE-p3 for backup on DDS-4 tapes 40GB in
>> size.
>> 
>> ...
>> 
>> Why I cannot dump the filesystem on 2 tapes (it takes 3, it
>> seems it works without compression) no matter if I use dump or
>> cpio? What I am doing wrong?

 > You're using dump :-)

 > Dump is too stupid to understand compression or EOF marks, so
 > it errs on the side of caution.  It's also IMO not a very good
 > backup medium unless you really want the incremental dump
 > facility.  Even between different releases of FreeBSD there are
 > compatibility problems, and you can assume that there is no
 > compatibility at all between different operating systems.  You
 > may find tar a better choice.

Surprisingly

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/backup-basics.html

in 16.1.7 suggests dump, though as the reference is used (maybe)
outdated E. Zwicky link...

Anyway, cpio cannot handle the problem too, and the tar in
5.2.1-RELEASE-p3 can handle multi-volume backup, but in the 5.3-STABLE
don't according to the man page.

I wonder what is then the best solution.

Regards,

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


oo.org unkillable process

2005-03-16 Thread Freek Nossin
Hello, 
 
I recently installed OO.org via the ports. When I start one of its
applications the program freezes and I can't kill the process, not even as
root with
 
#kill -9 
 
I found some related messages in the freebsd-current mailling list, but I
could not find a solution. 

http://lists.freebsd.org/mailman/htdig/freebsd-current/2004-November/042264.
html
http://lists.freebsd.org/mailman/htdig/freebsd-current/2004-November/042162.
html
http://lists.freebsd.org/mailman/htdig/freebsd-current/2004-November/04.
html
http://lists.freebsd.org/mailman/htdig/freebsd-current/2004-November/042204.
html
http://lists.freebsd.org/mailman/htdig/freebsd-current/2004-November/042488.
html
http://lists.freebsd.org/mailman/htdig/freebsd-current/2004-November/042156.
html

 Does anybody have an idea? 

Freek

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


Re: IPFW or pf?

2005-03-16 Thread Peter N. M. Hansteen
Andreas Davour <[EMAIL PROTECTED]> writes:

> So, the base systems ships with two firewalls? 

Three, actually - ipfw, ipf and pf. There's a brief explanation why in
the handbook at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-apps.html

I prefer pf myself, but which one to use is really down to personal
preference. I'd recommend following the Handbook's advice and do a bit
of reading and experimenting. 

I hope to get around to updating my pf tutorial soonish (see
http://www.bgnett.no/~peter/pf/en/ if you're interested - or
http://www.bgnett.no/~peter/pf/no/ if you prefer the Norwegian version)

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
"First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales"

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


mozilla port issues

2005-03-16 Thread Ben Munat
I've been working on upgrading 85 ports with portmanager -u for the last couple days. Had 
to restart it a few times, but little by little it seems to be whittling down the number 
of outstanding packages.

Couple questions though...
1) a lot of the gnome stuff doesn't seem to be getting done... did I read something 
recently about portmanager not being able to upgrade gnome currently? Or some difficulty 
with gnome?

2) several of my remaining ports say that they're waiting on mozilla-1.7.5_1,2 as a 
dependency, but if I try to upgrade that, it stops, saying there are security issues with 
mozilla and I need to update my ports tree. I've updated several times however... What 
else do I need to do?

3) portmanager periodically says that it's missing nautilus-media-0.8.1_1... any idea why 
that would be?

thnks,
Ben
PS: crap, I just remembered the UPDATING file... I see in there that I can't use 
portupgrade to update gnome... does that mean it won't work with portmanager either?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: IPFW or pf?

2005-03-16 Thread Peter N. M. Hansteen
Andreas Davour <[EMAIL PROTECTED]> writes:

> Can someone tell me if it's ok to just use IPFW on my STABLE system, or 
> is there some other knobs in the kernelconfig I should toggle to turn 
> off pf support?

By default pf is compiled as a loadable module, which you load if you
want to run pf, leave alone otherwise. Removing all traces of pf would
likely take a bit of effort.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
"First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales"

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


Re: Mysql postfix SASL cyrus imap problem

2005-03-16 Thread Daniel S. Haischt
As a short note - Try adding something like the following to
your imapd.conf if you you want that Cyrus authenticates against
your RDBMS as well ...
#sasl_auxprop_plugin: sql
#sasl_sql_engine: pgsql
#sasl_sql_hostnames: postgresql.abyssworld.de
#sasl_sql_user: haischt
#sasl_sql_passwd: access4odin
#sasl_sql_database: sasl2_auxprop
#sasl_sql_select: SELECT %p FROM user_table WHERE username = '%u' and 
realm = '%r'

... and as a 2nd note - Make sure that the directory where the
lmtp socket etc. should be created exists and is readable by
the cyrus user account.
Jason M aka Talon schrieb:
Sorry if this was a double post my subscribe was not working :(
Im not sure if the original mail went through.
Hi All
I have a problem with my cyrus imap / mysql install
after 3 days on google looking around i am ripping my hair out
I have tried everything i have found in the faq's / howto's
but just cant seem to get it to work.
Postfix works nicely and delivers to maildir etc
when i use the sasldb for cyrus i have no problems users can log in
auxprop has not been nice to me g.
If any one has the time could they have a look at my configuration and
give me a pointer on what I am doing wrong.
Any help would be greatly appreciated
Regards Jason M aka Talon (talonz[at]gmail.com)
###
## version information
OS FreeBSD 5.3-RELEASE-p5
Postfix Version postfix 2.1.5
MySQL server version: 5.0.0-alpha
Cyrus Version cyrus-imapd 2.2.10
SASL Version cyrus-sasl 2.1.20
All installed from ports
###
## /var/log/messages :: Errors when imapd is started
forsaken master[60842]: process started
forsaken ctl_cyrusdb[60843]: recovering cyrus databases
forsaken ctl_cyrusdb[60843]: skiplist: recovered
/var/imap/mailboxes.db (3 records, 584 bytes) in 0 seconds
forsaken ctl_cyrusdb[60843]: skiplist: recovered
/var/imap/annotations.db (0 records, 144 bytes) in 0 seconds
forsaken ctl_cyrusdb[60843]: done recovering cyrus databases
forsaken master[60842]: unable to create lmtpunix listener socket: No
such file or directory
forsaken master[60842]: ready for work
forsaken ctl_cyrusdb[60844]: checkpointing cyrus databases
forsaken ctl_cyrusdb[60844]: DBERROR: error listing log files:
DB_NOTFOUND: No matching key/data pair found
forsaken ctl_cyrusdb[60844]: DBERROR: archive /var/imap/db: cyrusdb error
forsaken ctl_cyrusdb[60844]: DBERROR: error listing log files:
DB_NOTFOUND: No matching key/data pair found
forsaken ctl_cyrusdb[60844]: DBERROR: archive /var/imap/db: cyrusdb error
forsaken ctl_cyrusdb[60844]: done checkpointing cyrus databases
###
## Login errors (after telnet localhost imap // o login test test)
## this is the bit that has me stumped
forsaken imap[60846]: sql_select option missing
forsaken imap[60846]: auxpropfunc error no mechanism available
forsaken imap[60846]: no user in db
forsaken imap[60846]: no user in db
forsaken imap[60846]: badlogin: localhost [127.0.0.1] plaintext test
SASL(-13): user not found: checkpass failed
###
## Start Configuration
###
## postfix main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix
mail_owner = postfix
myhostname = forsaken.unix.org.au
mydomain = unix.org.au
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 550
relay_domains = $mydestination
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/local/sbin/sendmail
newaliases_path = /usr/local/bin/newaliases
mailq_path = /usr/local/bin/mailq
setgid_group = maildrop
html_directory = no
manpage_directory = /usr/local/man
sample_directory = /usr/local/etc/postfix
readme_directory = no
# header/body checking
header_checks = regexp:/usr/local/etc/postfix/header_checks
body_checks = regexp:/usr/local/etc/postfix/body_checks
# use cyrus or virtual
mailbox_transport = cyrus
virtual_alias_maps = mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:125
virtual_mailbox_base = /usr/local/virtual
virtual_mailbox_domains =
mysql:/usr/local/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 5120
virtual_mailbox_maps =
mysql:/usr/local/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 125
# use cyrus or vir

<    1   2