Re: Mounting an FTP space ?

2007-03-01 Thread Malcolm Fitzgerald

What do I need to do to wipe the slate clean?


On 02/03/2007, at 11:53 AM, Chris Slothouber wrote:


make config



Yes. I don't know what arguments to pass to it. Where are the current 
arguments being stored, surely I can edit that file?







Never you mind wrote:

On 02/03/2007, at 2:58 AM, John Nielsen wrote:

On Thursday 01 March 2007 01:37, Never you mind wrote:
On my Mac from the Finder I can select "Connect to server", give it 
the

details of an ftp location and it will connect and display the ftp
space as a drive on the desktop.

Can I obtain the same sort of functionality using freeBSD and xfce
desktop manager?


I haven't used it, but the sysutils/fusefs-curlftpfs should allow 
you to mount
an ftp location as a virtual filesystem. The desktop icon thing 
you'll have
to work out on your own, but it shouldn't be too difficult (a 
shortcut to

your chosen mountpoint should suffice).
I've just made an error during installation. At the dialog I selected 
BOTH c-ares and IPV6.

That caused an error:
curl-7.16.0_1  does not support both c-ares and IPv6 - disable one of 
them.
OK. I thought I'd simply run "make install clean" again and at the 
dialog I would make my selection. However, I do not get to the 
dialog. My choices have been saved somewhere and are being re-used. I 
need to clean up from my first effort. What do I need to do to wipe 
the slate clean?

malcolm
___
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]"




Malcolm Fitzgerald

T: 0403 972 660 E: [EMAIL PROTECTED]

FOR YOUR COMPUTER Customised software built to your specifications. 
Using Macs? Automate your workflow with AppleScript. FOR YOU Computer 
training, software installation + upgrades, computer setups. IN TIMES 
OF NEED Troubleshooting, maintenance + repairs.



That's Not Your Homework
ABN 91 398 224 929

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


Re: hardware question

2007-03-01 Thread Garrett Cooper

jekillen wrote:


On Mar 1, 2007, at 8:04 PM, Garrett Cooper wrote:


jekillen wrote:

Hello;
I have built a machine with ASUS M2N32 WS pro motherboard.
It has dual network interface ports that are Marvell interfaces.
I understand that FreeBSD does not yet support Marvell as of
v6.2. I did get a reference to a source for the driver source and
instructions to compile and install. But my short term solution was
to get Intel nics that fit in PCIe lane one slots. As fate would have
it one of the slots is situated too close to some copper vain heat
dissipation attachments, so the second interface card will not
fit in the slot for the obstruction.
So, my question is simple:
Can I use a network interface card made for a PCIe lane one slot
in a PCIe lane 16 slot and expect it to work?
By way of explanation: I need to interfaces because I am using
this machine as a web server and I want one public ip address
assigned to it and one private ip address assigned to it also.
I have all but http and dns blocked from the outside. I use ssh
and ftp to post content to the machine on the inside network.
Thanks, not tearing my hair just yet
Jeff K


Maybe. Read this document: 
.

-Garrett



Thanks, in my flustered state of mind I just poked out this message and 
then

decided to follow advices I have gotten in the past, ask Google. I came up
with a Wikipedia article that was positive. I also decided to look back 
at the
specs listed on the Tiger Direct site where I got the interface cards 
and there
it was, pretty plain. There is still a problem. One of the cards is 
initializing and
the other is not. I have not determined which one is not. But the punch 
line
is that the one that does show up shows up with status no carrier in 
ifconfig.
I looked back the the FreeBSD site, at hardware notes for v6.2 and it 
appears
that that card specifically, is not listed as supported. 82572 is listed 
as supported
by the em driver, but Intel® 82572EI or Intel® 82572GI Gigabit 
Controller is not

listed specifically, Well that is another $70+ not well enough spent.
thanks for the response.
Jeff K


There's always -current or an RMA. Weird though... I didn't think that 
the slot size was large enough though for a PCIx card slot. Interesting...


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


Re: hardware question

2007-03-01 Thread jekillen


On Mar 1, 2007, at 8:18 PM, Garrett Cooper wrote:


Garrett Cooper wrote:

jekillen wrote:

Hello;
I have built a machine with ASUS M2N32 WS pro motherboard.
It has dual network interface ports that are Marvell interfaces.
I understand that FreeBSD does not yet support Marvell as of
v6.2. I did get a reference to a source for the driver source and
instructions to compile and install. But my short term solution was
to get Intel nics that fit in PCIe lane one slots. As fate would have
it one of the slots is situated too close to some copper vain heat
dissipation attachments, so the second interface card will not
fit in the slot for the obstruction.
So, my question is simple:
Can I use a network interface card made for a PCIe lane one slot
in a PCIe lane 16 slot and expect it to work?

By way of explanation: I need to interfaces because I am using
this machine as a web server and I want one public ip address
assigned to it and one private ip address assigned to it also.
I have all but http and dns blocked from the outside. I use ssh
and ftp to post content to the machine on the inside network.
Thanks, not tearing my hair just yet
Jeff K
Maybe. Read this document: 
.

-Garrett


Actually after looking at the size and slots of PCI-Express x16 vs 
standard PCIe, _no_, you can't. In 
 there's a picture 
comparing PCIe x16 to PCI, PCIe x8, and PCI-X, and there's no way that 
it will fit... Besides the PCI-x has 1 lane while PCI-x16 has 16. 
That's what I get for not having a up to date machine that I could 
judge this from (still stuck in the PCI "dark ages").


-Garrett



Thanks, in my flustered state of mind I just poked out this message and 
then
decided to follow advices I have gotten in the past, ask Google. I came 
up
with a Wikipedia article that was positive. I also decided to look back 
at the
specs listed on the Tiger Direct site where I got the interface cards 
and there

it was, pretty plain.
Compatible with x1, x4, x8, and x16 full-height and low-profile PCI 
Express slots

There is still a problem. One of the cards is initializing and
the other is not. I have not determined which one is not. But the punch 
line
is that the one that does show up shows up with status no carrier in 
ifconfig.
I looked back the the FreeBSD site, at hardware notes for v6.2 and it 
appears
that that card specifically, is not listed as supported. 82572 is 
listed as supported
by the em driver, but Intel® 82572EI or Intel® 82572GI Gigabit 
Controller is not

listed specifically, Well that is another $70+ not well enough spent.
thanks for the response. I guess I will try the driver source route 
from another
message from this list, for the Marvell interfaces. I will have to burn 
it to a cd

and install from that.
Jeff K


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


Re: Using source control to manage system configs

2007-03-01 Thread Rob

On 01/03/2007, at 4:26 AM, David Robillard wrote:


Well, I'm not quite sure that it will answer all of your questions,
but take a look at Luke Kanies's article called ''Using version
control in system administration''.

It's available from the USENIX website at
http://www.usenix.org/publications/login/2005-12/pdfs/kanies.pdf


Thanks David - that was really useful.

I think that my 'directory based' approach to version management  
comes from using RCS (and SCCS). With those tools, the only way to  
track groups of files was to keep them in different places.


So instead of dragging my RCS habits into the world of CVS, it's  
probably time to learn about branching. That seems to be the standard  
way to handle shared files with local modifications.


Rob.

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


Re: Linux "equivalent" to freebsd

2007-03-01 Thread Erik Osterholm
On Fri, Mar 02, 2007 at 08:55:41AM +1100, Norberto Meijome wrote:
> On Thu, 01 Mar 2007 11:17:10 -0800 Simon Gao <[EMAIL PROTECTED]>
> wrote:
> 
> > Why not give Gentoo Linux (www.gentoo.org) a try. By using Gentoo
> > Linux, you not only get the similar port system, portage, as with
> > FreeBSD, but also enjoy all the benefits Linux can provide. Gentoo
> > Linux is very flexible and has a very good support community.
> 
> risking making this a discussion about linux : I've used gentoo...
> portage is OK but is nowhere near as good as the ports
> collection, IMHO. First, you need to build everything from scratch,
> no binary packages. There is an annoying split of portage sections
> (dev | production | good | bad | pink ..whatever), that someone else
> puts on you, rather than allow you to chose what to use. And masked
> ports?!  -USE flags are confusing, to me (global? local? )
> Anyway..maybe I haven't got the patience needed for linuxi
> rather get on with life :D

No binary packages?  Could have fooled me.

From:  http://www.gentoo.org/doc/en/faq.xml#ebuilds

"For full ISO releases, we create a full suite of binary packages in
an enhanced .tbz2 format, which is .tar.bz2 compatible with
meta-information attached to the end of the file. These can be used to
install a working (though not fully optimized) version of the package
quickly and efficiently."

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


Re: hardware question

2007-03-01 Thread Garrett Cooper

Garrett Cooper wrote:

jekillen wrote:

Hello;
I have built a machine with ASUS M2N32 WS pro motherboard.
It has dual network interface ports that are Marvell interfaces.
I understand that FreeBSD does not yet support Marvell as of
v6.2. I did get a reference to a source for the driver source and
instructions to compile and install. But my short term solution was
to get Intel nics that fit in PCIe lane one slots. As fate would have
it one of the slots is situated too close to some copper vain heat
dissipation attachments, so the second interface card will not
fit in the slot for the obstruction.
So, my question is simple:
Can I use a network interface card made for a PCIe lane one slot
in a PCIe lane 16 slot and expect it to work?

By way of explanation: I need to interfaces because I am using
this machine as a web server and I want one public ip address
assigned to it and one private ip address assigned to it also.
I have all but http and dns blocked from the outside. I use ssh
and ftp to post content to the machine on the inside network.
Thanks, not tearing my hair just yet
Jeff K


Maybe. Read this document: .
-Garrett



Actually after looking at the size and slots of PCI-Express x16 vs 
standard PCIe, _no_, you can't. In 
 there's a picture 
comparing PCIe x16 to PCI, PCIe x8, and PCI-X, and there's no way that 
it will fit... Besides the PCI-x has 1 lane while PCI-x16 has 16. That's 
what I get for not having a up to date machine that I could judge this 
from (still stuck in the PCI "dark ages").


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


Re: hardware question

2007-03-01 Thread Garrett Cooper

jekillen wrote:

Hello;
I have built a machine with ASUS M2N32 WS pro motherboard.
It has dual network interface ports that are Marvell interfaces.
I understand that FreeBSD does not yet support Marvell as of
v6.2. I did get a reference to a source for the driver source and
instructions to compile and install. But my short term solution was
to get Intel nics that fit in PCIe lane one slots. As fate would have
it one of the slots is situated too close to some copper vain heat
dissipation attachments, so the second interface card will not
fit in the slot for the obstruction.
So, my question is simple:
Can I use a network interface card made for a PCIe lane one slot
in a PCIe lane 16 slot and expect it to work?

By way of explanation: I need to interfaces because I am using
this machine as a web server and I want one public ip address
assigned to it and one private ip address assigned to it also.
I have all but http and dns blocked from the outside. I use ssh
and ftp to post content to the machine on the inside network.
Thanks, not tearing my hair just yet
Jeff K


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


Re: defrag

2007-03-01 Thread Ivan Voras
Jerry McAllister wrote:

> Well, it would do some, but for the greatest effect, you would need:
>   dump + rm -rf * + restore

This is nitpicking so ignore it: deleting all files on UFS2 volume won't
restore it to it's pristine state because inodes are lazily initialized.
It doesn't have anything to do with fragmentation, but will make fsck
run a little longer.



signature.asc
Description: OpenPGP digital signature


Re: Best anoncvs Site to Update 6.2 Sources

2007-03-01 Thread Martin McCormick
Kevin Kinsey writes:
> The mirrors are in the form "cvsupN.freebsd.org". I use cvsup12, cvsup13,
> cvsup6 from SW Missouri (and my upstream links go through NE Oklahoma,
> dunno if they are close to you or not).

Probably close enough.  It will probably work when I connect to
the right site.

> It might be worth the time to install /usr/ports/sysutils/fastest_cvsup to
> help find the fastest/nearest servers for your installation area.

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


hardware question

2007-03-01 Thread jekillen

Hello;
I have built a machine with ASUS M2N32 WS pro motherboard.
It has dual network interface ports that are Marvell interfaces.
I understand that FreeBSD does not yet support Marvell as of
v6.2. I did get a reference to a source for the driver source and
instructions to compile and install. But my short term solution was
to get Intel nics that fit in PCIe lane one slots. As fate would have
it one of the slots is situated too close to some copper vain heat
dissipation attachments, so the second interface card will not
fit in the slot for the obstruction.
So, my question is simple:
Can I use a network interface card made for a PCIe lane one slot
in a PCIe lane 16 slot and expect it to work?

By way of explanation: I need to interfaces because I am using
this machine as a web server and I want one public ip address
assigned to it and one private ip address assigned to it also.
I have all but http and dns blocked from the outside. I use ssh
and ftp to post content to the machine on the inside network.
Thanks, not tearing my hair just yet
Jeff K 


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


Re: Linux "equivalent" to freebsd

2007-03-01 Thread Stephen Liu

--- Simon Gao <[EMAIL PROTECTED]> wrote:

> Stephen Liu wrote:
 
> >>> Take a look at Slackware.
> >>>
> >>> http://www.slackware.com
> >>>
> >>> Patrick
> >>>   
> >> Seconded, if I got to run Linux, I run Slackware (and I have in 
> >> production). If you need it there is a port of Slack to AMD64
> called 
> >> slamd64, http://www.slamd64.com/.
> >>
> >> FreeBSD users will appreciate it's simplicity and it's stability.
> >> 
> >
> >
> > slamd64-11.0 has issue on nVidia driver, same as FreeBSD 6.2-amd64.
> 
> > Besides you need to recompile kernel to enable smp technology. 
> Each
> > time after recompiling/upgrading kernel you need to reinstall the
> > driver download on nVidia.com.  The situation is better than FBSD. 
> I
> > can't locate driver for FBSD x86_64 on their website, only x_86
> > available.  The onboard NIC fails to work and X can't work properly
> 
> > However smp technology is already enabled on FBSD.
> >
> > I have slamd64-11.0 and FreeBSD 6.2-amd64 running here.
> >
> > I have no knowledge on CentOS.  I'm prepared to try it.  According
> to
> > folks on their forum CentOS supports nVidia chipset without
> problem.   
> >
> >
> > B.R.
> > Stephen Liu
   
> Why not give Gentoo Linux (www.gentoo.org) a try. By using Gentoo
> Linux, 
> you not only get the similar port system, portage, as with FreeBSD,
> but 
> also enjoy all the benefits Linux can provide. Gentoo Linux is very 
> flexible and has a very good support community.


I have 64 bit Gentoo box here.  It also has nVidia driver problem.  My
20" Philips LCD display can't display resolution > "1024x768".  I have
to download a driver from nVidia.com.  Now it displays correct
resolution "1680x1050".  I don't know whether I need to reinstall the
said driver if after upgrading/recompiling the kernel.  Because it is
running on a single core AMD Athlon64 PC.  I don't need to recompile
kernel to enable smp.

I'm now searching a rigid OS, either Unix or Linux, to be run as
server.  For time saving I don't expect building the same myself, HLFS.
 I need X for running web browser to communicate outside World.  Text
browser such as elinks etc. won't serve my need.  I won't have X
started at boot.  I only start it at need.  That is my purpose to test
CentOS.

B.R.
Stephen
 


Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: defrag

2007-03-01 Thread Ivan Voras
jekillen wrote:

> a Mac disc. I am just curious as to how the HFS and HFS+ file systems fit
> into this picture. Particularly since OSX is essentially a Unix 'like'
> system
> but still uses HFS+
> Just for some perspective and idle curiosity.

As you said, HFS(+) is not a native unix file system, but maybe someone
will know about it. All I know about is that HFS+ is a journaling file
system and that it defragments (in the Windows sense) files smaller than
certain size (20MB?) on the fly.



signature.asc
Description: OpenPGP digital signature


Re: Fwd: IPF (ftp - pkg_add) help requested

2007-03-01 Thread Kelly D. Grills
On Thu, Mar 01, 2007 at 04:10:11PM -0500, Don Munyak wrote:
> 
> My server was opening an additional session using ports > 1024, which
> I was not initially allowing.  ipf was blocking outbound due to this
> rule. This is a known issue with ftp client sessions using active mode
> when behind a firewall.
> 

As I hinted at in my original response, If you'd rather keep your
firewall rules tighter, pkg_add(1) says:

Note: If you wish to use passive mode ftp in such transfers, set
the variable FTP_PASSIVE_MODE to some value in your environment.

Otherwise, the more standard ACTIVE mode may be used.  If pkg_add
consistently fails to fetch a package from a site known to work,
it may be because you have a firewall that demands the usage of
passive mode ftp.

-- 
Kelly D. Grills
[EMAIL PROTECTED]



pgpzSYEkjLW0T.pgp
Description: PGP signature


Re: defrag

2007-03-01 Thread Norberto Meijome
On Thu, 01 Mar 2007 22:56:02 +0100
Ivan Voras <[EMAIL PROTECTED]> wrote:

> > So that the need to do "defrag" is essentially almost 0 for almost all
> > users.  
> 
> For what it's worth, this has been Microsoft's official position since
> NTFS became mainstream.

Meaning that NTFS is cured of this ?? 

I must be using the Fat-16 version of NTFS because i haven't seen 1 Win32 box
where  fragmentation isnt an issue... It may be have a smaller impact on
performance  than in the old days (faster buses / disks / CPU ? ) , but it is
definitely still there , and it definitely affects performance.

_
{Beto|Norberto|Numard} Meijome

...using the internet as it was originally intended... for the further research
of pornography and pipebombs.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: defrag

2007-03-01 Thread jekillen


On Mar 1, 2007, at 2:56 PM, Ivan Voras wrote:


Lowell Gilbert wrote:


If you know the standard computer science terminology, it can be
described quite tersely.  UFS fragmentation is a way of avoiding
internal fragmentation from wasting too much space.  MS-DOS-FS
fragmentation is an example of external fragmentation in the storage
space.  They don't really have anything to do with each other.


It looks like I actually AM arguing about semantics here:

"UFS fragmentation" refers to dividing blocks (e.g. 16KB in size) into
block fragments (e.g. 2KB in size) that can be allocated separately in
special circumstances (which all boil down to: at the end of files).
This is done to lessen the effect of internal fragmentation.

	"Fragmentation" without "UFS" prefix, as mostly used today (and which 
I

believe it's how the original poster understands it) refers to dividing
files into non-continuous regions, i.e. external fragmentation.

Correct so far?

"% fragmentation" message from fsck cannot refer to internal
fragmentation as the numbers don't add up, so it almost certainly 
refers

to external fragmentation.


This discussion has been about UFS vs MS file system. But I have been
using Macs and have run file system utilities, Norton, and watched it 
defrag
a Mac disc. I am just curious as to how the HFS and HFS+ file systems 
fit
into this picture. Particularly since OSX is essentially a Unix 'like' 
system

but still uses HFS+
Just for some perspective and idle curiosity.
Thanks
Jeff K

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


Re: Mounting an FTP space ?

2007-03-01 Thread Chris Slothouber

make config

Never you mind wrote:


On 02/03/2007, at 2:58 AM, John Nielsen wrote:


On Thursday 01 March 2007 01:37, Never you mind wrote:

On my Mac from the Finder I can select "Connect to server", give it the
details of an ftp location and it will connect and display the ftp
space as a drive on the desktop.

Can I obtain the same sort of functionality using freeBSD and xfce
desktop manager?


I haven't used it, but the sysutils/fusefs-curlftpfs should allow you 
to mount
an ftp location as a virtual filesystem. The desktop icon thing you'll 
have

to work out on your own, but it shouldn't be too difficult (a shortcut to
your chosen mountpoint should suffice).


I've just made an error during installation. At the dialog I selected 
BOTH c-ares and IPV6.


That caused an error:

curl-7.16.0_1  does not support both c-ares and IPv6 - disable one of them.

OK. I thought I'd simply run "make install clean" again and at the 
dialog I would make my selection. However, I do not get to the dialog. 
My choices have been saved somewhere and are being re-used. I need to 
clean up from my first effort. What do I need to do to wipe the slate 
clean?


malcolm

___
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: Mounting an FTP space ?

2007-03-01 Thread Never you mind


On 02/03/2007, at 2:58 AM, John Nielsen wrote:


On Thursday 01 March 2007 01:37, Never you mind wrote:
On my Mac from the Finder I can select "Connect to server", give it 
the

details of an ftp location and it will connect and display the ftp
space as a drive on the desktop.

Can I obtain the same sort of functionality using freeBSD and xfce
desktop manager?


I haven't used it, but the sysutils/fusefs-curlftpfs should allow you 
to mount
an ftp location as a virtual filesystem. The desktop icon thing you'll 
have
to work out on your own, but it shouldn't be too difficult (a shortcut 
to

your chosen mountpoint should suffice).


I've just made an error during installation. At the dialog I selected 
BOTH c-ares and IPV6.


That caused an error:

curl-7.16.0_1  does not support both c-ares and IPv6 - disable one of 
them.


OK. I thought I'd simply run "make install clean" again and at the 
dialog I would make my selection. However, I do not get to the dialog. 
My choices have been saved somewhere and are being re-used. I need to 
clean up from my first effort. What do I need to do to wipe the slate 
clean?


malcolm

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


Re: Dual booting problems

2007-03-01 Thread RW
On Thu, 1 Mar 2007 13:30:26 -0900
Beech Rintoul <[EMAIL PROTECTED]> wrote:

> I should also mention that you need the FreeBSD boot manager on both 
> disks, or an alternative boot manager such as grub or gag. Read the 
> handbook.

I recall reading that too, but I've never understood what it's supposed
to achieve. I imagine it must be a quirk of the FreeBSD boot manager,
I've certainly never needed to install more than one copy of GAG or
LILO. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


X11 library question..

2007-03-01 Thread Jeff Mohler

The error:

error while loading shared libraries: libXm.so.3: cannot open shared object
file: No such file or directory


Ive done a few searches, and installing open-motif seemed to be the right
answer, but isnt getting me anywhere.



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


Re: defrag

2007-03-01 Thread Ivan Voras
Lowell Gilbert wrote:

> If you know the standard computer science terminology, it can be
> described quite tersely.  UFS fragmentation is a way of avoiding
> internal fragmentation from wasting too much space.  MS-DOS-FS
> fragmentation is an example of external fragmentation in the storage
> space.  They don't really have anything to do with each other.

It looks like I actually AM arguing about semantics here:

"UFS fragmentation" refers to dividing blocks (e.g. 16KB in size) into
block fragments (e.g. 2KB in size) that can be allocated separately in
special circumstances (which all boil down to: at the end of files).
This is done to lessen the effect of internal fragmentation.

"Fragmentation" without "UFS" prefix, as mostly used today (and which I
believe it's how the original poster understands it) refers to dividing
files into non-continuous regions, i.e. external fragmentation.

Correct so far?

"% fragmentation" message from fsck cannot refer to internal
fragmentation as the numbers don't add up, so it almost certainly refers
to external fragmentation.

As I understand it from technical documentation, it is correct that UFS
deliberately does external fragmentation of large files in order to make
file allocation faster and more managable, except in "optimized for
space" mode, correct? (the default being "optimized for time").





signature.asc
Description: OpenPGP digital signature


Re: defrag

2007-03-01 Thread Ivan Voras
Bill Moran wrote:
> In response to Ivan Voras <[EMAIL PROTECTED]>:

>> I believe that a "fragmented file" in common usage refers to a file
>> which is not stored continuously on the drive - i.e. it occupies more
>> than one continuous region. How is UFS fragmentation different than
>> fragmentation on other kinds of file systems?
> 
> That common usage refers to Windows filesystems.
> 
> In unix filesystems, fragmentation refers to the number of blocks that have
> been broken down in to fragments to either hold files smaller than a block,
> or (as you mentioned) use the space at the end of a file that doesn't fit
> exactly in a block.

Ok, so the difference is in the name, not in the semantics :)
Unfortunately, all the world is Windows now and that's why I try to use
"block fragments" instead of just "fragments" to try avoid confusion.

> But this also makes it _easy_ for the filesystem to avoid causing the type
> of fragmentation that _does_ degrade performance.  For example, when the
> first block is on track 10, then the next block is on track 20, then we're
> back to track 10 again, then over to track 35 ... etc, etc
> 
> Keep in mind, that in the previous 3 paragraphs, I was using the "Windows"
> definition of "fragmentation."

Agreed.



signature.asc
Description: OpenPGP digital signature


Re: defrag

2007-03-01 Thread Jerry McAllister
On Thu, Mar 01, 2007 at 05:17:38PM -0500, Jerry McAllister wrote:

> On Fri, Mar 02, 2007 at 08:51:00AM +1100, Norberto Meijome wrote:
> 
> > On Thu, 1 Mar 2007 19:22:32 +0100 (CET)
> > Wojciech Puchar <[EMAIL PROTECTED]> wrote:
> > 
> > > backup+restore will be defrag
> > 
> > you mean : backup, format, (reinstall if needed, depending on method of 
> > backup)
> > and restore - or simply restore on top (if you backed up everything and can
> > access your drive offline).
> > 
> > simply overwriting the existing files won't change anything, would it? You'd
> > need a clean slate to do a defrag this way...
> 
> Well, it would do some, but for the greatest effect, you would need:
>   dump + rm -rf * + restore
> That would get it all.
> 
> You could be really extreme and do:
>   dump + newfs + restore 
> if you wanted to, to be sure of a clean file system
> 
> You would not need a reformat (though some people really mean newfs
> when they say reformat) and you would not need any reinstall.  But,
> if you did this on the root partition, you would have to to the
> restore from some other boot such as on a different disk or from
> the fixit utility on the installation CD.   That shouldn't be
> necessary for any other file system unless you foolishly put /sbin
> in a partition other than /  (root).

Of course, I should have re-emphasized that this is not needed.
You will not improve performance.   Its only value might be to exercise
every used file block on the filesystem to make sure it is still
readable.And for that you don't need to nuke and rewrite things.
Just doing the backup (which you should do anyway) will read up all
used file space (except what you might have marked as nodump).
 -- or the other possible value - to placate mal-informed management.

jerry

> 
> jerry
> 
> > _
> > {Beto|Norberto|Numard} Meijome
> > 
> > Software isn't released it escapes.
> > 
> > I speak for myself, not my employer. Contents may be hot. Slippery when wet.
> > Reading disclaimers makes you go blind. Writing them is worse. You have been
> > Warned.
> > ___
> > 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]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: defrag

2007-03-01 Thread Lowell Gilbert
Ivan Voras <[EMAIL PROTECTED]> writes:

> Bill Moran wrote:
>> In response to Ivan Voras <[EMAIL PROTECTED]>:
>
>>> 352462 files, 2525857 used, 875044 free (115156 frags, 94986 blocks,
>>> 3.4% fragmentation)
>
>> 
>> Just to reiterate:
>> "Fragmentation" on a Windows filesystem is _not_ the same as "fragmentation"
>> on a unix file system.  They are not comparable numbers, and do not mean
>> the same thing.  The only way to avoid fragmentation on a unix file system
>> is to make every file you create equal to a multiple of the block size.
>
> Ok, my point was that 3.4% is a low number for a long used system, but,
> for education sake, what is the difference between Windows'
> "fragmentation" and Unix's "fragmentation"?
>
> I believe that a "fragmented file" in common usage refers to a file
> which is not stored continuously on the drive - i.e. it occupies more
> than one continuous region. How is UFS fragmentation different than
> fragmentation on other kinds of file systems?
>
> UFS has cylinder groups, blocks and block fragments. Obviously, a file
> larger than a cylinder group will get fragmented to spill over to
> another cylinder group. Block fragments only occur at the end of files.

If you know the standard computer science terminology, it can be
described quite tersely.  UFS fragmentation is a way of avoiding
internal fragmentation from wasting too much space.  MS-DOS-FS
fragmentation is an example of external fragmentation in the storage
space.  They don't really have anything to do with each other.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dual booting problems

2007-03-01 Thread Jerry McAllister
On Thu, Mar 01, 2007 at 04:36:45PM -0500, Sam Jones wrote:

> I'm having a little problem trying to dual boot. I have two SATA hard
> drives, the first one with FreeBSD and the second with Windows XP. I
> installed the FreeBSD boot manager on the first drive, and when the
> computer boots, it displays:
> 
> F1  FreeBSD
> F5  Drive 1
> 
> When I press F5, FreeBSD loads and not Windows. I know Windows is
> working because when I disconnect the first drive, Windows boots from
> the second just fine. I've tried using boot0cfg to reload the boot
> manager, but that doesn't help. The simplest thing to do would be to
> specify that F5 boots Windows, but I can't find anything.
> 
> Is this configuration even possible? Or does Windows just make it
> impossible to boot from the second disk?

You got it.
As far as I know MSwin[p] insists on being on the first drive.  
Of course, FreeBSD doesn't have any such sloppy limitations.

So, swap the drives.  Make sure both have a FreeBSD MBR and
things should work out fine.   You will just have to use the two-step
(F5 followed by F1) to boot FreeBSD.   Actually, if FreeBSD is the
only bootable slice on the second disk(after you move them) you might
not have to hit the F1 after the F5.

jerry

> -- 
> Sam Jones
> [EMAIL PROTECTED]
> [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: Dual booting problems

2007-03-01 Thread Beech Rintoul
On Thursday 01 March 2007 13:21, Beech Rintoul said:
> On Thursday 01 March 2007 12:36, Sam Jones said:
> > I'm having a little problem trying to dual boot. I have two SATA
> > hard drives, the first one with FreeBSD and the second with
> > Windows XP. I installed the FreeBSD boot manager on the first
> > drive, and when the computer boots, it displays:
> >
> > F1  FreeBSD
> > F5  Drive 1
> >
> > When I press F5, FreeBSD loads and not Windows. I know Windows is
> > working because when I disconnect the first drive, Windows boots
> > from the second just fine. I've tried using boot0cfg to reload
> > the boot manager, but that doesn't help. The simplest thing to do
> > would be to specify that F5 boots Windows, but I can't find
> > anything.
> >
> > Is this configuration even possible? Or does Windows just make it
> > impossible to boot from the second disk?
>
> You need to switch your drives around and setup accordingly.
> Windows (at least in my experience) will not boot from anything but
> the first drive.

I should also mention that you need the FreeBSD boot manager on both 
disks, or an alternative boot manager such as grub or gag. Read the 
handbook.

Beech
>
> Beech

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





pgpouHCKIYmQI.pgp
Description: PGP signature


Re: defrag

2007-03-01 Thread Lowell Gilbert
Norberto Meijome <[EMAIL PROTECTED]> writes:

> On Thu, 1 Mar 2007 19:22:32 +0100 (CET)
> Wojciech Puchar <[EMAIL PROTECTED]> wrote:
>
>> backup+restore will be defrag
>
> you mean : backup, format, (reinstall if needed, depending on method of 
> backup)
> and restore - or simply restore on top (if you backed up everything and can
> access your drive offline).
>
> simply overwriting the existing files won't change anything, would it? You'd
> need a clean slate to do a defrag this way...

Right.  That's what the "-r" flag to restore(8) is for.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: defrag

2007-03-01 Thread Bill Moran
In response to Ivan Voras <[EMAIL PROTECTED]>:

> Bill Moran wrote:
> > In response to Ivan Voras <[EMAIL PROTECTED]>:
> 
> >> 352462 files, 2525857 used, 875044 free (115156 frags, 94986 blocks,
> >> 3.4% fragmentation)
> 
> > 
> > Just to reiterate:
> > "Fragmentation" on a Windows filesystem is _not_ the same as "fragmentation"
> > on a unix file system.  They are not comparable numbers, and do not mean
> > the same thing.  The only way to avoid fragmentation on a unix file system
> > is to make every file you create equal to a multiple of the block size.
> 
> Ok, my point was that 3.4% is a low number for a long used system, but,
> for education sake, what is the difference between Windows'
> "fragmentation" and Unix's "fragmentation"?
> 
> I believe that a "fragmented file" in common usage refers to a file
> which is not stored continuously on the drive - i.e. it occupies more
> than one continuous region. How is UFS fragmentation different than
> fragmentation on other kinds of file systems?

That common usage refers to Windows filesystems.

In unix filesystems, fragmentation refers to the number of blocks that have
been broken down in to fragments to either hold files smaller than a block,
or (as you mentioned) use the space at the end of a file that doesn't fit
exactly in a block.

> UFS has cylinder groups, blocks and block fragments. Obviously, a file
> larger than a cylinder group will get fragmented to spill over to
> another cylinder group. Block fragments only occur at the end of files.

Yes, and UFS _intentionally_ creates what Windows users would call
"fragmentation"  There's no way I know of to measure this, however.

The key to understanding this is that not all fragmentation is bad.
Typically, files are accessed in chunks.  Your OS seldom grabs an
entire 50M file all at once -- it grabs (perhaps) 16 blocks worth, then
sends it to the requesting program, then grabs another 16 blocks worth,
etc, etc.  The time between grabbing a chunk is enough that allowing
the heads time to reposition to a difference cylinder group doesn't cause
a significant performance problem.  As a result, the OS _intentionally_
switches to a different cylinder group after a certain number of blocks
have been written (this is tunable with tunefs).  The result is that a
large file will typically be strewn about the disk.

But this also makes it _easy_ for the filesystem to avoid causing the type
of fragmentation that _does_ degrade performance.  For example, when the
first block is on track 10, then the next block is on track 20, then we're
back to track 10 again, then over to track 35 ... etc, etc

Keep in mind, that in the previous 3 paragraphs, I was using the "Windows"
definition of "fragmentation."

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


Re: Dual booting problems

2007-03-01 Thread Beech Rintoul
On Thursday 01 March 2007 12:36, Sam Jones said:
> I'm having a little problem trying to dual boot. I have two SATA
> hard drives, the first one with FreeBSD and the second with Windows
> XP. I installed the FreeBSD boot manager on the first drive, and
> when the computer boots, it displays:
>
> F1  FreeBSD
> F5  Drive 1
>
> When I press F5, FreeBSD loads and not Windows. I know Windows is
> working because when I disconnect the first drive, Windows boots
> from the second just fine. I've tried using boot0cfg to reload the
> boot manager, but that doesn't help. The simplest thing to do would
> be to specify that F5 boots Windows, but I can't find anything.
>
> Is this configuration even possible? Or does Windows just make it
> impossible to boot from the second disk?

You need to switch your drives around and setup accordingly. Windows 
(at least in my experience) will not boot from anything but the first 
drive.

Beech

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





pgpRs85yHX74L.pgp
Description: PGP signature


Re: defrag

2007-03-01 Thread Jerry McAllister
On Fri, Mar 02, 2007 at 08:51:00AM +1100, Norberto Meijome wrote:

> On Thu, 1 Mar 2007 19:22:32 +0100 (CET)
> Wojciech Puchar <[EMAIL PROTECTED]> wrote:
> 
> > backup+restore will be defrag
> 
> you mean : backup, format, (reinstall if needed, depending on method of 
> backup)
> and restore - or simply restore on top (if you backed up everything and can
> access your drive offline).
> 
> simply overwriting the existing files won't change anything, would it? You'd
> need a clean slate to do a defrag this way...

Well, it would do some, but for the greatest effect, you would need:
  dump + rm -rf * + restore
That would get it all.

You could be really extreme and do:
  dump + newfs + restore 
if you wanted to, to be sure of a clean file system

You would not need a reformat (though some people really mean newfs
when they say reformat) and you would not need any reinstall.  But,
if you did this on the root partition, you would have to to the
restore from some other boot such as on a different disk or from
the fixit utility on the installation CD.   That shouldn't be
necessary for any other file system unless you foolishly put /sbin
in a partition other than /  (root).

jerry

> _
> {Beto|Norberto|Numard} Meijome
> 
> Software isn't released it escapes.
> 
> I speak for myself, not my employer. Contents may be hot. Slippery when wet.
> Reading disclaimers makes you go blind. Writing them is worse. You have been
> Warned.
> ___
> 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: defrag

2007-03-01 Thread Ivan Voras
Bill Moran wrote:
> In response to Ivan Voras <[EMAIL PROTECTED]>:

>> 352462 files, 2525857 used, 875044 free (115156 frags, 94986 blocks,
>> 3.4% fragmentation)

> 
> Just to reiterate:
> "Fragmentation" on a Windows filesystem is _not_ the same as "fragmentation"
> on a unix file system.  They are not comparable numbers, and do not mean
> the same thing.  The only way to avoid fragmentation on a unix file system
> is to make every file you create equal to a multiple of the block size.

Ok, my point was that 3.4% is a low number for a long used system, but,
for education sake, what is the difference between Windows'
"fragmentation" and Unix's "fragmentation"?

I believe that a "fragmented file" in common usage refers to a file
which is not stored continuously on the drive - i.e. it occupies more
than one continuous region. How is UFS fragmentation different than
fragmentation on other kinds of file systems?

UFS has cylinder groups, blocks and block fragments. Obviously, a file
larger than a cylinder group will get fragmented to spill over to
another cylinder group. Block fragments only occur at the end of files.





signature.asc
Description: OpenPGP digital signature


Dual booting problems

2007-03-01 Thread Sam Jones

I'm having a little problem trying to dual boot. I have two SATA hard
drives, the first one with FreeBSD and the second with Windows XP. I
installed the FreeBSD boot manager on the first drive, and when the
computer boots, it displays:

F1  FreeBSD
F5  Drive 1

When I press F5, FreeBSD loads and not Windows. I know Windows is
working because when I disconnect the first drive, Windows boots from
the second just fine. I've tried using boot0cfg to reload the boot
manager, but that doesn't help. The simplest thing to do would be to
specify that F5 boots Windows, but I can't find anything.

Is this configuration even possible? Or does Windows just make it
impossible to boot from the second disk?
--
Sam Jones
[EMAIL PROTECTED]
[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: defrag

2007-03-01 Thread Robert Huff

Richard Lynch writes:

>  So that the need to do "defrag" is essentially almost 0 for
>  almost all users.

For one of my boxes, with three filesystems, the "frag %" has
been (0,8, 0.4, 1.1).
For n>5 years.


Robert Huff



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


Re: defrag

2007-03-01 Thread Ivan Voras
Richard Lynch wrote:
> On Thu, March 1, 2007 3:35 pm, Ivan Voras wrote:
>> Steve Franks wrote:
>>> How come I never hear defrag come up as a topic, and can't find
>>> anything related to defrag in the ports tree?  Is it really not an
>>> issue on UFS?  Can someone point me to an explantion if so?
> 
> I've been told that most modern file systems have much better
> allocation routines and/or automated defragmentation as needed.
> 
> So that the need to do "defrag" is essentially almost 0 for almost all
> users.

For what it's worth, this has been Microsoft's official position since
NTFS became mainstream.




signature.asc
Description: OpenPGP digital signature


Re: Linux "equivalent" to freebsd

2007-03-01 Thread Norberto Meijome
On Thu, 01 Mar 2007 11:17:10 -0800
Simon Gao <[EMAIL PROTECTED]> wrote:

> Why not give Gentoo Linux (www.gentoo.org) a try. By using Gentoo Linux, 
> you not only get the similar port system, portage, as with FreeBSD, but 
> also enjoy all the benefits Linux can provide. Gentoo Linux is very 
> flexible and has a very good support community.

risking making this a discussion about linux : I've used gentoo... portage is
OK but is nowhere near as good as the ports collection, IMHO. First, you
need to build everything from scratch, no binary packages. There is an annoying
split of portage sections (dev | production | good | bad | pink ..whatever),
that someone else puts on you, rather than allow you to chose what to use. And
masked ports?!
-USE flags are confusing, to me (global? local? ) Anyway..maybe I haven't got
the patience needed for linuxi rather get on with life :D

_
{Beto|Norberto|Numard} Meijome

Never attribute to malice what can adequately be explained by incompetence.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: defrag

2007-03-01 Thread Norberto Meijome
On Thu, 1 Mar 2007 19:22:32 +0100 (CET)
Wojciech Puchar <[EMAIL PROTECTED]> wrote:

> backup+restore will be defrag

you mean : backup, format, (reinstall if needed, depending on method of backup)
and restore - or simply restore on top (if you backed up everything and can
access your drive offline).

simply overwriting the existing files won't change anything, would it? You'd
need a clean slate to do a defrag this way...

_
{Beto|Norberto|Numard} Meijome

Software isn't released it escapes.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: defrag

2007-03-01 Thread Bill Moran
In response to Ivan Voras <[EMAIL PROTECTED]>:

> Steve Franks wrote:
> > How come I never hear defrag come up as a topic, and can't find
> > anything related to defrag in the ports tree?  Is it really not an
> > issue on UFS?  Can someone point me to an explantion if so?
> 
> fsck will tell you the level of fragmentation on the file system:
> 
> > fsck /usr
> ** /dev/ad0s2g (NO WRITE)
> ** Last Mounted on /usr
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> ** Phase 5 - Check Cyl groups
> 352462 files, 2525857 used, 875044 free (115156 frags, 94986 blocks,
> 3.4% fragmentation)
> 
> This is from a /usr system that's been in use for years. (note that
> "frags" in the last line refer to file system fragments - "subblocks",
> not fragmented files).

Just to reiterate:
"Fragmentation" on a Windows filesystem is _not_ the same as "fragmentation"
on a unix file system.  They are not comparable numbers, and do not mean
the same thing.  The only way to avoid fragmentation on a unix file system
is to make every file you create equal to a multiple of the block size.
And unix fragmentation does not degrade performance unless the file system
is close to full.

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


Re: defrag

2007-03-01 Thread Richard Lynch
On Thu, March 1, 2007 3:35 pm, Ivan Voras wrote:
> Steve Franks wrote:
>> How come I never hear defrag come up as a topic, and can't find
>> anything related to defrag in the ports tree?  Is it really not an
>> issue on UFS?  Can someone point me to an explantion if so?

I've been told that most modern file systems have much better
allocation routines and/or automated defragmentation as needed.

So that the need to do "defrag" is essentially almost 0 for almost all
users.

No promises that this answer is correct, but it sure sounded good to me.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

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


Re: Fwd: IPF (ftp - pkg_add) help requested

2007-03-01 Thread Chris Slothouber

Ahh, totally makes sense.

Sorry for the misguided reply, it was late and I thought there had been 
kernel changes with ipf in 6.2 but in fact that was ipfw.


Glad to hear you figured this out!

- Chris

Don Munyak wrote:

Apart from up dating to newer version, I don't see how upgrading to
6.2 will make a difference. Anyway, thanks for taking the time to
reply.

However, the solution is as follows.
Incidentally, this had nothing to do with pkg_add
And everything to do with FTP and IPFILTER.

===
Diagnosis...

{IPMON results}
# ipmon
01/03/2007 15:03:39.112348 em0 @0:17 b 192.168.222.69,63507 ->
204.152.184.73,63471 PR tcp len 20 48 -S OUT
01/03/2007 15:04:09.128610 em0 @0:17 b 192.168.222.69,57187 ->
62.243.72.50,59250 PR tcp len 20 48 -S OUT
01/03/2007 15:04:17.756186 em0 @0:17 b 192.168.222.69,59469 ->
204.152.184.73,55984 PR tcp len 20 48 -S OUT
01/03/2007 15:04:23.832928 em0 @0:17 b 192.168.222.69,62647 ->
62.243.72.50,58387 PR tcp len 20 48 -S OUT

My server was opening an additional session using ports > 1024, which
I was not initially allowing.  ipf was blocking outbound due to this
rule. This is a known issue with ftp client sessions using active mode
when behind a firewall.

# Block and Log the first occurance of everything else
block out log first quick on em0 all

Solution 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipf.html 


section 26.5.21.1 IPNAT Rules {or}
section 26.5.21.2 IPNAT FTP Filter Rules

I chose 26.5.21.2 for simplicity. This proabably isn't a  major issue
for me, since the server will be located behind a border (LAN)
firewall.  Basically changed:

# Allow ftp out
pass out quick on em0 proto tcp from any to any port = 20 flags S keep 
state
pass out quick on em0 proto tcp from any to any port = 21 flags S keep 
state


{ to...}

# Allow ftp out
pass out quick on em0 proto tcp from any to any port = 21 flags S keep 
state
pass out quick on em0 proto tcp from any to any port > 1024 flags S keep 
state


{ and added }

#Allow Active mode data channel from ftp server
pass in quick on em0 proto tcp from any to any port = 20 flags S keep state



For good reading {Official IPF home page}
http://coombs.anu.edu.au/~avalon/ip-filter.html

Don
___
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: defrag

2007-03-01 Thread Ivan Voras
Steve Franks wrote:
> How come I never hear defrag come up as a topic, and can't find
> anything related to defrag in the ports tree?  Is it really not an
> issue on UFS?  Can someone point me to an explantion if so?

fsck will tell you the level of fragmentation on the file system:

> fsck /usr
** /dev/ad0s2g (NO WRITE)
** Last Mounted on /usr
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
352462 files, 2525857 used, 875044 free (115156 frags, 94986 blocks,
3.4% fragmentation)

This is from a /usr system that's been in use for years. (note that
"frags" in the last line refer to file system fragments - "subblocks",
not fragmented files).




signature.asc
Description: OpenPGP digital signature


Serial Port Problems

2007-03-01 Thread Dan D Niles

More Dell 2950 woes.

I use serial ports to manage my FreeBSD machines remotely.  I've never
had any problems until now.  I've installed FreeBSD 6.2 on a Dell 2950.

The install goes without problems over the serial port.  After the
reboot, I get the typical:

FreeBSD/i386 (test.host.net) (ttyd0)

login:

and I can log in just fine.  If I disconnect and come back later
(sometimes), or if I hit return without entering a login name (always)
it starts spitting out junk like:

nooo~:Woo{;>6(|uww~now~nou})|t}}t9-

I can log in blind, but everything is scrambled.  Here is what I see
after logging in:

nooo~:ro}Zqsswv~?Nmswtl~:t|}}msr 1115?;5>:3ontt}}t=Koy{{oo|
t(kk)19;??2077t|mefvwgSWdproogw~/Koy{{oo|
t(kk)17?=,1998<,199;?=99>>,1998<,199<,1999=,199;>,19;?,199==*  t|
merwggo~wsoot|meuowws{}}ofccmmoo~oio.lllr{oo|
wsrwen/NvwegSWd.>?WMMESWe({_]p#3::fv{ijkon1331;:5?;30uUWc227?_wmooometovwegSWe-Jggvwesweokoogtugkikcmlswupv|,puesweuwwet|mefogrwwwsg?oo
 swgww{}taev{{mwsaonuuteuuedewrsuuannomu}oonforlllrwmmeswwsaswo*  
auth|ttz?/wnvwegSWnowo~mesww/--amwyycoow}|tt|meeWSUUaswgw}ooo* 
forywrrwmmessfo{swtassi}wwspteuuedfvwuuuo~}/oo 
t|mehiefoookaondfGQqdgw}mo~wsasweauz?/wwnvwegFnowo/aonl-* 
amooogw}|ht|meaimmooglm{ww,conbgeswesskmedbbggto*  
h|tz?/wwnvwegSowowessko/. fft|medoocdm{wvrwu}oonhis*  
eeoniowumlmel,hm}wweamoawwmmcnmefomutuemon/ws{iswoogo/Kofyusw|llhiwweaaquuwwonorpronmmm,lmeswetukoet|meuutuutooojuomm-mg/,amooogw}taoyrwmmwwo~tewrmmwssggw,aedemmimli}}kss
 quuww}oontot|hquuww}oosFvwewWnowgmmimmoogi{w~. 
iofyuasngisrwihfvwegSWgwsdm{sw{ylmyu|,pueswerwggwrtotuehimwz??-omo}lpqggo. 
iofyuswenotfgiaw}|hmmoumlpqew,t}yue`mmonmoo//[ummyylouwwes{{{ow|ll89)torwmmo~vrt|meiowumlmuonaonmkoonoowuu}oonuu}mm}}.eem}t/ouwoootdoockiooget|i{slooonaonoogmmon/~uwww#

If I exit things go back to normal until I disconnect for a while or hit
return without a login name.

I tried loading an older FreeBSD to see if it was a hardware issue or a
FreeBSD issue, but my disks (mfi) aren't supported.

It seems like the speed of the tty is getting out of sync.

HELP! Any ideas?  

Thanks,

Dan


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


Re: Best anoncvs Site to Update 6.2 Sources

2007-03-01 Thread Kevin Kinsey

Nikos Vassiliadis wrote:

On Thursday 01 March 2007 17:00, Martin McCormick wrote:

After installing FreeBSD6.2 from the ISO image, I figured
that cvsup would be the best way to update the new system and
apply the patches which have come out since the image was
created.  I think I have cvsup ready to go, but I can't tell for
sure since the mirror site I picked was the first one in the list
for the United states.  It is anoncvs.FreeBSD.org and is obviously
quite popular.  cvsup tried all night long to connect and never
got in .  The next mirror site for the US is
anoncvs1.FreeBSD.org and it appears to be down.  Since all I need
is to update all the sources for FreeBSD6.2, is there a better
choice of sites?  I got these 2 site names from the FreeBSD
handbook.


anoncvs is not CVSup. anoncvs.freebsd.org is an anonymous cvs
server.

You can find CVSup mirrors (and other information) here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

HTH, Nikos


The mirrors are in the form "cvsupN.freebsd.org".  I use cvsup12, 
cvsup13, cvsup6 from SW Missouri (and my upstream links go through NE 
Oklahoma, dunno if they are close to you or not).


It might be worth the time to install /usr/ports/sysutils/fastest_cvsup 
to help find the fastest/nearest servers for your installation area.


HTH,

Kevin Kinsey
--
Money is truthful.  If a man speaks of his honor, make him pay cash.
-- Lazarus Long
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: defrag

2007-03-01 Thread Kevin Kinsey

Steve Franks wrote:

Excellent!  Never had that one answered.  I've gone down the typical
road of being an MS booster ("It doesn't take 10 hours to set up and
configure") to experiencing glee when I find yet another way FBSD
kicks the crap out of MS.  Why?  Because I've grown up, and learned
that 2 hours time spent *reading* and configuring is way better than 2
days time spent when the system crashes in the middle of the workweek
- bottom line, BSD is cheaper before, during, and after installation.
Probably by a factor of 10 for me over the last 10 years.  As I write
this, I'm on a MS laptop that has degraded to the point where any disk
acess takes 10 seconds before the display updates (but not from the
shell - so not a defrag issue, just a screwed registry or something).
I used to reinstall my entire MS server every 6 months, on average...

Steve


There are some advantages to FBSD, for certain.  Your last sentence is a 
huge example, although I know some Winservers that have been running on 
the same "install" for quite some time (but some of those have to be 
rebooted fairly often).  A big *BSD argument is uptime - my personal 
server record is ~450 days, but you do kinda worry because there was 
probably supposed to be a security fix with a new kernel somewhere 
during that time period


Pietro Cerutti wrote:

groff /usr/share/doc/smm/05.fastfs/* ~/ffs.ps
ps2pdf ~/ffs.ps
acroread ~/ffs.pdf

But there's probably a better way --- I'm certainly "one offing" today.


> groff /usr/share/doc/smm/05.fastfs/* > ~/ffs.ps

Err, yes; that's today's "one off groff" ... thanks.  Never type what 
you can copy/paste  B-/


KDK
--
Hear about...
	the guru who refused Novocain while having a tooth pulled because he 
wanted to transcend dental medication?

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


Fwd: IPF (ftp - pkg_add) help requested

2007-03-01 Thread Don Munyak

Apart from up dating to newer version, I don't see how upgrading to
6.2 will make a difference. Anyway, thanks for taking the time to
reply.

However, the solution is as follows.
Incidentally, this had nothing to do with pkg_add
And everything to do with FTP and IPFILTER.

===
Diagnosis...

{IPMON results}
# ipmon
01/03/2007 15:03:39.112348 em0 @0:17 b 192.168.222.69,63507 ->
204.152.184.73,63471 PR tcp len 20 48 -S OUT
01/03/2007 15:04:09.128610 em0 @0:17 b 192.168.222.69,57187 ->
62.243.72.50,59250 PR tcp len 20 48 -S OUT
01/03/2007 15:04:17.756186 em0 @0:17 b 192.168.222.69,59469 ->
204.152.184.73,55984 PR tcp len 20 48 -S OUT
01/03/2007 15:04:23.832928 em0 @0:17 b 192.168.222.69,62647 ->
62.243.72.50,58387 PR tcp len 20 48 -S OUT

My server was opening an additional session using ports > 1024, which
I was not initially allowing.  ipf was blocking outbound due to this
rule. This is a known issue with ftp client sessions using active mode
when behind a firewall.

# Block and Log the first occurance of everything else
block out log first quick on em0 all

Solution 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipf.html
section 26.5.21.1 IPNAT Rules {or}
section 26.5.21.2 IPNAT FTP Filter Rules

I chose 26.5.21.2 for simplicity. This proabably isn't a  major issue
for me, since the server will be located behind a border (LAN)
firewall.  Basically changed:

# Allow ftp out
pass out quick on em0 proto tcp from any to any port = 20 flags S keep state
pass out quick on em0 proto tcp from any to any port = 21 flags S keep state

{ to...}

# Allow ftp out
pass out quick on em0 proto tcp from any to any port = 21 flags S keep state
pass out quick on em0 proto tcp from any to any port > 1024 flags S keep state

{ and added }

#Allow Active mode data channel from ftp server
pass in quick on em0 proto tcp from any to any port = 20 flags S keep state



For good reading {Official IPF home page}
http://coombs.anu.edu.au/~avalon/ip-filter.html

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


Re: defrag

2007-03-01 Thread Jerry McAllister
On Thu, Mar 01, 2007 at 11:21:16AM -0600, Kevin Kinsey wrote:

> Kevin Kinsey wrote:
> >Steve Franks wrote:
> >>How come I never hear defrag come up as a topic, and can't find
> >>anything related to defrag in the ports tree?  Is it really not an
> >>issue on UFS?  Can someone point me to an explantion if so?
> >>
> >>Thanks,
> >>Steve
> >
> >I'm thinking this one's in the FAQ at freebsd.org.
> >
> 
> Bah!  HEADS-UP:  Ignore any advice I feel compelled to give today.  Two 
> retractions in one hour would seem to demonstrate a cranial 
> short-circuit this morning.  Steve, it's not in the FAQ.

It should be, maybe including a pointer to 
that   /usr/share/doc/smm/05.fastfs   paper.
It is frequently asked.

jerry

> 
> Here's a link to a brief mailist discussion:
> 
> http://lists.freebsd.org/pipermail/freebsd-chat/2003-July/000932.html
> 
> Assuming you have Ghostscript installed (which may be a big IF), you 
> might be able to take a gander at the document mentioned with something 
> like:
> 
> groff /usr/share/doc/smm/05.fastfs/* ~/ffs.ps
> ps2pdf ~/ffs.ps
> acroread ~/ffs.pdf
> 
> But there's probably a better way --- I'm certainly "one offing" today.
> 
> Kevin Kinsey
> -- 
> I don't care for the Sugar Smacks commercial.  I don't like the idea of
> a frog jumping on my Breakfast.
>   -- Lowell, Chicago Reader 10/15/82
> 
> ___
> 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: defrag

2007-03-01 Thread Steve Franks

Excellent!  Never had that one answered.  I've gone down the typical
road of being an MS booster ("It doesn't take 10 hours to set up and
configure") to experiencing glee when I find yet another way FBSD
kicks the crap out of MS.  Why?  Because I've grown up, and learned
that 2 hours time spent *reading* and configuring is way better than 2
days time spent when the system crashes in the middle of the workweek
- bottom line, BSD is cheaper before, during, and after installation.
Probably by a factor of 10 for me over the last 10 years.  As I write
this, I'm on a MS laptop that has degraded to the point where any disk
acess takes 10 seconds before the display updates (but not from the
shell - so not a defrag issue, just a screwed registry or something).
I used to reinstall my entire MS server every 6 months, on average...

Steve

On 3/1/07, Kevin Kinsey <[EMAIL PROTECTED]> wrote:

Kevin Kinsey wrote:
> Steve Franks wrote:
>> How come I never hear defrag come up as a topic, and can't find
>> anything related to defrag in the ports tree?  Is it really not an
>> issue on UFS?  Can someone point me to an explantion if so?
>>
>> Thanks,
>> Steve
>
> I'm thinking this one's in the FAQ at freebsd.org.
>

Bah!  HEADS-UP:  Ignore any advice I feel compelled to give today.  Two
retractions in one hour would seem to demonstrate a cranial
short-circuit this morning.  Steve, it's not in the FAQ.

Here's a link to a brief mailist discussion:

http://lists.freebsd.org/pipermail/freebsd-chat/2003-July/000932.html

Assuming you have Ghostscript installed (which may be a big IF), you
might be able to take a gander at the document mentioned with something
like:

groff /usr/share/doc/smm/05.fastfs/* ~/ffs.ps
ps2pdf ~/ffs.ps
acroread ~/ffs.pdf

But there's probably a better way --- I'm certainly "one offing" today.

Kevin Kinsey
--
I don't care for the Sugar Smacks commercial.  I don't like the idea of
a frog jumping on my Breakfast.
-- Lowell, Chicago Reader 10/15/82





--
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mounting an FTP space ?

2007-03-01 Thread Never you mind


On 02/03/2007, at 2:58 AM, John Nielsen wrote:


On Thursday 01 March 2007 01:37, Never you mind wrote:
On my Mac from the Finder I can select "Connect to server", give it 
the

details of an ftp location and it will connect and display the ftp
space as a drive on the desktop.

Can I obtain the same sort of functionality using freeBSD and xfce
desktop manager?


I haven't used it, but the sysutils/fusefs-curlftpfs should allow you 
to mount
an ftp location as a virtual filesystem. The desktop icon thing you'll 
have
to work out on your own, but it shouldn't be too difficult (a shortcut 
to

your chosen mountpoint should suffice).


thanks John, That sounds like what I want.

I have previously used KDE as the desktop manager and it included 
graphical tools which managed this job. However, I'm learning to like 
xfce and looking at what I can do to make it work for me.


malcolm

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


Re: /libexec/ld-elf.so.1 [solved]

2007-03-01 Thread Noah



Kris Kennaway wrote:

On Wed, Feb 28, 2007 at 01:37:56PM -0800, Noah wrote:


so something strange has happened and my machine no longer boots and I 
am not clear why.  Here is what happens during boot:



Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
ELF interpreter /libexec/ld-elf.so.1 not found
Enter full pathname of shell or RETURN for /bin/sh:
ELF interpreter /libexec/ld-elf.so.1 not found
Enter full pathname of shell or RETURN for /bin/sh: sh
FEnter full pathname of shell or RETURN for /bin/sh: /bin/sh
ELF interpreter /libexec/ld-elf.so.1 not found
Enter full pathname of shell or RETURN for /bin/sh:
ELF interpreter /libexec/ld-elf.so.1 not found
Enter full pathname of shell or RETURN for /bin/sh:
ELF interpreter /libexec/ld-elf.so.1 not found
Enter full pathname of shell or RETURN for /bin/sh:
ELF interpreter /libexec/ld-elf.so.1 not found
Enter full pathname of shell or RETURN for /bin/sh:

what is the best suggestion for troubleshooting this?


That's a pretty serious error, it indicates your system has lost the
ability to run any dynamically linked binaries (i.e. almost all of
them, by default) because the dynamic linker was removed somehow.  The
cause of this could either be accidental misuse of rm or similar,
filesystem corruption, disk failure, etc.  Try to work out what you or
the other admins were doing prior to this failure.

To repair, you can boot -s and use the statically linked tools in
/rescue to try and investigate the cause and possible fix.  One thing
that might work is that if you have done an installworld on this
machine in the past then you might have a useable backup
/libexec/ld-elf.so.1.old which you could copy into place.  If not, and
you can't find a way to get a copy of this file onto the machine, then
your remaining alternative would be a reinstall.

Kris



thanks we used /rescue and saves the system

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


Re: Backup procedure question / theory

2007-03-01 Thread Roger Olofsson

Hello Dave,

May I suggest that you try rsync for this? For windows cwrsync works 
fine as client for Windows XP. It's rather easy to setup and can be 
triggered by the windows machine since it runs as a .bat or .cmd. For 
FreeBSD rsync is in ports.


With some nifty scripting you can setup the FreeBSD side to rotate the 
backups. There is a very good starting point for this at 
http://www.mikerubel.org/computers/rsync_snapshots/ .


Good luck!




Dave Carrera skrev:

HI All,

I need to automatically once a day backup some files on my Win 2003 
serve to my remote FreeBSD box running v6.


What i need specifically is to compress the win files as small as they 
can be then either set my FreeBSD box to go a get the file or tell win 
to send it to my FreeBSD box.


The stumbling block here is me, i have absolutely no idea what i need to 
do on each box to achieve this, having never done it before.


So i ask if any kind persons on the list can advise or even help me with 
this.


Many kind regards

Dave
___
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: freebsd 6.2 oracle php php-oci8 core dump

2007-03-01 Thread José García Juanino
El martes 27 de febrero a las 11:16:44 CET, Dan Cojocar escribió:
> Hello all,
> I have oracle-xe, lang/php5,
> databases/linux-oracle-instantclient-basic,
> databases/linux-oracle-instantclient-sdk, databases/oracle8-client and
> databases/php5-oci8
> following this howto: http://mrtenente.infosys.lt/blog/?p=22 all are
> installed without errors.
> But when I connect to oracle from php i get a core dump that i cannot 
> access.
> I mention that I have compiled php with debug enabled.
> Can somebody suggest another setup? Or how to investigate this?

I think databases/oracle8-client port is broken in 6.2-RELEASE. I have installed
databases/tora port and it crashes with a core. In 6.1-RELEASE works well.

My settings:

WITHOUT_MYSQL=1
WITHOUT_PGSQL=1
WITHOUT_KDE=1


Regards

-- 
http://personales.ya.com/banach


pgpfkaqPeWLqP.pgp
Description: PGP signature


Re: /libexec/ld-elf.so.1

2007-03-01 Thread Kris Kennaway
On Wed, Feb 28, 2007 at 01:37:56PM -0800, Noah wrote:
> 
> 
> so something strange has happened and my machine no longer boots and I 
> am not clear why.  Here is what happens during boot:
> 
> 
> Trying to mount root from ufs:/dev/ad0s1a
> WARNING: / was not properly dismounted
> ELF interpreter /libexec/ld-elf.so.1 not found
> Enter full pathname of shell or RETURN for /bin/sh:
> ELF interpreter /libexec/ld-elf.so.1 not found
> Enter full pathname of shell or RETURN for /bin/sh: sh
> FEnter full pathname of shell or RETURN for /bin/sh: /bin/sh
> ELF interpreter /libexec/ld-elf.so.1 not found
> Enter full pathname of shell or RETURN for /bin/sh:
> ELF interpreter /libexec/ld-elf.so.1 not found
> Enter full pathname of shell or RETURN for /bin/sh:
> ELF interpreter /libexec/ld-elf.so.1 not found
> Enter full pathname of shell or RETURN for /bin/sh:
> ELF interpreter /libexec/ld-elf.so.1 not found
> Enter full pathname of shell or RETURN for /bin/sh:
> 
> what is the best suggestion for troubleshooting this?

That's a pretty serious error, it indicates your system has lost the
ability to run any dynamically linked binaries (i.e. almost all of
them, by default) because the dynamic linker was removed somehow.  The
cause of this could either be accidental misuse of rm or similar,
filesystem corruption, disk failure, etc.  Try to work out what you or
the other admins were doing prior to this failure.

To repair, you can boot -s and use the statically linked tools in
/rescue to try and investigate the cause and possible fix.  One thing
that might work is that if you have done an installworld on this
machine in the past then you might have a useable backup
/libexec/ld-elf.so.1.old which you could copy into place.  If not, and
you can't find a way to get a copy of this file onto the machine, then
your remaining alternative would be a reinstall.

Kris


pgpKTDXCP15yO.pgp
Description: PGP signature


Re: Stability Issues on 5.4-RELEASE Box

2007-03-01 Thread Kris Kennaway
On Wed, Feb 28, 2007 at 05:39:48PM -0500, [EMAIL PROTECTED] wrote:
> >I'm not running your application mix, but I've never seen random reboots
> >unless there were hardware issues.  With 5.X these included having
> >hyperthreading turned on, which I know caused problems with my dual XEON
> >system.
> 
> Hmmm...two answers so far, two people saying "hyperthreading can be an 
> issue." I'll definitely have that turned off ASAP.

HTT isn't expected to cause problems at least on modern versions of
FreeBSD (I dont remember if old versions like 5.4 have a bug), but it
could be if you are running older hardware with broken BIOS support.

> >>* Issues with files that are not found on startup sometimes, but are 
> >>other times. Prime example: the Zope CMS system that's been 
> >>installed failed to find libmysqlclient.so after a planned soft 
> >>reboot, but found it with no trouble on a subsequent boot a few 
> >>minutes later, with no config changes in between.
> >>
> >Haven't seen that; are there any messages indicating you're having
> >filesystem problems?
> 
> Thanks for asking; I see some new nasties in /var/log/messages:
> 
> Feb 27 09:05:37 www fsck: /dev/ad4s1f: PARTIALLY TRUNCATED INODE I=9397392
> Feb 27 09:05:37 www fsck: /dev/ad4s1f: UNEXPECTED SOFT UPDATE 
> INCONSISTENCY; RUN fsck MANUALLY.

You definitely need to drop to single-user mode and fsck -f:
filesystem corruption can cause many problems.

> >>* Given my dmesg below, do you see any specific problems?
> >
> >The interrupt storm on uhci1+ is not a good thing.
> 
> Any thoughts on how to fix it?

You can disable USB support if you do not need it, otherwise a fix
will probably involve an upgrade to a newer version as a first step.

Kris


pgpBT0Fmvzg3S.pgp
Description: PGP signature


Re: Backup procedure question / theory

2007-03-01 Thread [EMAIL PROTECTED]

On 01/03/07, Nick Withers <[EMAIL PROTECTED]> wrote:

On Thu, 01 Mar 2007 11:46:07 +
Dave Carrera <[EMAIL PROTECTED]> wrote:

> HI All,
>
> I need to automatically once a day backup some files on my Win 2003
> serve to my remote FreeBSD box running v6.
>
> What i need specifically is to compress the win files as small as
> they can be then either set my FreeBSD box to go a get the file or
> tell win to send it to my FreeBSD box.
>
> The stumbling block here is me, i have absolutely no idea what i
> need to do on each box to achieve this, having never done it before.

Not necessarily what you're after (may be a little excessive for your
tastes), but I'd recommend Bacula (www.bacula.org).

Failing that, perhaps a script to zip the files on the Win box then
copy it to a Samba share on the FreeBSD box? Or mount a Windows
share containing the files to be backed up on the FreeBSD box and
bzip2 / gzip them to a file on the FreeBSD machine. A little off-topic
here, perhaps...



Off the top of my head, having a home directory
for the backups on the freebsd box and scripting
in scp on the windows machine (probably have to
install putty since appearantly ssh isn't a standard
enough protocol for MS to Embrace and Extend it
yet) obviates samba.  If you already have samba
installed, use that.  If you have a reliable and
useable nfs client for windows, that would work too.


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


Re: FSCK question on FreeBSD 5.4R

2007-03-01 Thread Gerry Freymann
On Thu, 1 Mar 2007 12:21:02 -0600
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

>Is the error (as such):
>
>FREE BLK COUNT(S) WRONG IN SUPERBLK
>SALVAGE?
>
>Because, this is nothing more than an artifact of
>fsck-ing a live filesystem with softupdates on.
>Unmount (or maybe downgrade it to read-only).

 Awh, you may have hit the nail on the head.

/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s1d on /files (ufs, local, soft-updates)
/dev/ad0s1e on /usr (ufs, local, soft-updates)
/dev/ad0s1f on /var (ufs, local, soft-updates)
/dev/ad0s1g on /web (ufs, local, soft-updates)

 Soft updates are on. Is that true even in single user mode?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: defrag

2007-03-01 Thread Wojciech Puchar



How come I never hear defrag come up as a topic, and can't find
anything related to defrag in the ports tree?  Is it really not an
issue on UFS?  Can someone point me to an explantion if so?


unless you'll keep your filesystem always near-full it's not an issue.

POSSIBLY it could gain few percent improvement with defrag, after long 
time of usage, but no more. there is AFAIK not defrag for UFS.


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


Re: FSCK question on FreeBSD 5.4R

2007-03-01 Thread Gerry Freymann
On Thu, 1 Mar 2007 11:39:12 -0500
Jerry McAllister <[EMAIL PROTECTED]> wrote:

>On Thu, Mar 01, 2007 at 10:12:38AM -0500, Gerry Freymann wrote:
>
>> I was doing some maintenance on my FreeBSD 5.4R box, and took it down
>to > single user mode and ran
>> 
>>  fsck -y
>> 
>> I have four partitions on my drive, and the 2nd and 3rd partitions come
>up > with errors and say run fsck manually.
>> 
>> When I do:
>> 
>>  fsck -y /dev/ad0s1e
>> 
>> there's no difference, it just shows me the errors but doesn't fix 'em.
>I > see (NO WRITE) on the partition which I figure is the problem.
>> 
>> How do I get fsck to write the changes necessary? I used to know all
>this > when I admin'd a half dozen boxes for about 5 years but 3 years
>later with > little to no admin chores anymore I've forgotten.
>> 
>> Thanks for any assistance you might provide.
>
>Haven't seen that.  But I wonder - is the partition mounted?
>If you got to single user by rebooting to it, then it should be.
>But, if you got there any other way (???) it might not be.  

 I brought it to single user mode by becoming root and doing a shutdown
now, and then trying fsck, no go. So then I did a reboot and selected
single user mode, tried fsck as indicated above, still wouldn't write the
changes.

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


Re: FSCK question on FreeBSD 5.4R

2007-03-01 Thread [EMAIL PROTECTED]

On 01/03/07, Gerry Freymann <[EMAIL PROTECTED]> wrote:

I was doing some maintenance on my FreeBSD 5.4R box, and took it down to
single user mode and ran

fsck -y

I have four partitions on my drive, and the 2nd and 3rd partitions come up
with errors and say run fsck manually.

When I do:

fsck -y /dev/ad0s1e

there's no difference, it just shows me the errors but doesn't fix 'em. I
see (NO WRITE) on the partition which I figure is the problem.

How do I get fsck to write the changes necessary? I used to know all this
when I admin'd a half dozen boxes for about 5 years but 3 years later with
little to no admin chores anymore I've forgotten.


Is the error (as such):

FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE?

Because, this is nothing more than an artifact of
fsck-ing a live filesystem with softupdates on.
Unmount (or maybe downgrade it to read-only).

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


Re: Linux "equivalent" to freebsd

2007-03-01 Thread Simon Gao

Stephen Liu wrote:

--- DAve <[EMAIL PROTECTED]> wrote:

  

Patrick Bowen wrote:


[EMAIL PROTECTED] wrote:
  

Hi,

Sorry this question is a little off-topic...

We've been using Freebsd for many years and all of our servers are

running

freebsd.

The only thing that is a pain with freebsd, is poor commercial


support :(


We are running in a situation where a customer needs Zend platform


3


(http://www.zend.com/products/zend_platform) which won't be


available for


freebsd until the end of the year...

So I will need to setup a machine with linux.

I don't know much about linux distributions, could someone

recommend 


one to
me please.

We are looking for a platform that will support amd64 extensions,

will 


act
as a console only server and that has a good way to install ports


and


upgrade. We want something secure and stable. We don't wanna go

with 


Redhat
or any commercial distribution.

I really like the cvsup/make install/portupgrade way of dealing


with

software installation and updates and I am looking for something 
equivalent

on a linux distribution.

Could you recommend a distribution you are using in production,

we've 


check
ubuntu, fedora and Debian, but I wonder what freebsd users


recommend...


Thanks


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


  


Take a look at Slackware.

http://www.slackware.com

Patrick
  
Seconded, if I got to run Linux, I run Slackware (and I have in 
production). If you need it there is a port of Slack to AMD64 called 
slamd64, http://www.slamd64.com/.


FreeBSD users will appreciate it's simplicity and it's stability.




slamd64-11.0 has issue on nVidia driver, same as FreeBSD 6.2-amd64. 
Besides you need to recompile kernel to enable smp technology.  Each

time after recompiling/upgrading kernel you need to reinstall the
driver download on nVidia.com.  The situation is better than FBSD.  I
can't locate driver for FBSD x86_64 on their website, only x_86
available.  The onboard NIC fails to work and X can't work properly 
However smp technology is already enabled on FBSD.


I have slamd64-11.0 and FreeBSD 6.2-amd64 running here.

I have no knowledge on CentOS.  I'm prepared to try it.  According to
folks on their forum CentOS supports nVidia chipset without problem.   



B.R.
Stephen Liu

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
  
Why not give Gentoo Linux (www.gentoo.org) a try. By using Gentoo Linux, 
you not only get the similar port system, portage, as with FreeBSD, but 
also enjoy all the benefits Linux can provide. Gentoo Linux is very 
flexible and has a very good support community.


Simon


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


Re: FreeBSD X11 settings in Virtual PC 2007

2007-03-01 Thread Björn König

Hello Anthony,

this is my xorg.conf:

http://www.alpha-tierchen.de/dateien/etc/xorg.conf-vpc2007.txt

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


Re: if_nfe on nVidia chipset

2007-03-01 Thread Palle Girgensohn


1 mar 2007 kl. 01.42 skrev Shigeaki Tagashira:


Hello,

Could you try the latest nfe code for only 7-CURRENT in the  
following URL? It was overhauled by Pyun YongHyeon (yongari@).


http://people.freebsd.org/~yongari/nfe/if_nfe.c
http://people.freebsd.org/~yongari/nfe/if_nfereg.h
http://people.freebsd.org/~yongari/nfe/if_nfevar.h


I run 6.2-stable. Is it worth testing in this environment?

Regards,
Palle



---
Shigeaki Tagashira

Brian Smith wrote:

Palle Girgensohn wrote:


Hi,

Great news: I can confirm that it works fine when the e1000phy  
patch was removed on this system. I have not tried this on the  
system that *did* work fine with the patch, though.


I reverted to e1000phy.c 1.17 and e1000phyreg.h 1.3 on FreeBSD 7,  
and it now uses the generic driver and correctly detects the  
media.   However for me it still doesn't work.  Keep getting:

nfe1: watchdog timeout
then the link goes down and back up again.
Wish I had more time to dig around in it.
Brian




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


Re: defrag

2007-03-01 Thread Pietro Cerutti

On 3/1/07, Kevin Kinsey <[EMAIL PROTECTED]> wrote:

Kevin Kinsey wrote:

groff /usr/share/doc/smm/05.fastfs/* > ~/ffs.ps

 /\/\
--
Pietro Cerutti

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


Re: defrag

2007-03-01 Thread Kevin Kinsey

Kevin Kinsey wrote:

Steve Franks wrote:

How come I never hear defrag come up as a topic, and can't find
anything related to defrag in the ports tree?  Is it really not an
issue on UFS?  Can someone point me to an explantion if so?

Thanks,
Steve


I'm thinking this one's in the FAQ at freebsd.org.



Bah!  HEADS-UP:  Ignore any advice I feel compelled to give today.  Two 
retractions in one hour would seem to demonstrate a cranial 
short-circuit this morning.  Steve, it's not in the FAQ.


Here's a link to a brief mailist discussion:

http://lists.freebsd.org/pipermail/freebsd-chat/2003-July/000932.html

Assuming you have Ghostscript installed (which may be a big IF), you 
might be able to take a gander at the document mentioned with something 
like:


groff /usr/share/doc/smm/05.fastfs/* ~/ffs.ps
ps2pdf ~/ffs.ps
acroread ~/ffs.pdf

But there's probably a better way --- I'm certainly "one offing" today.

Kevin Kinsey
--
I don't care for the Sugar Smacks commercial.  I don't like the idea of
a frog jumping on my Breakfast.
-- Lowell, Chicago Reader 10/15/82

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


RE: pfctl: DIOCSETSTATUSIF

2007-03-01 Thread Michael K. Smith - Adhost
Hello:


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Daniel Gerzo
> Sent: Wednesday, February 28, 2007 3:52 PM
> To: freebsd-questions@freebsd.org
> Subject: pfctl: DIOCSETSTATUSIF
> 
> Hello pf,
> 
> I'm having the following problem:
> 
> db2# pfctl -f /etc/pf.conf
> No ALTQ support in kernel
> ALTQ related functions disabled
> pfctl: DIOCSETSTATUSIF
> Exit 1
> db2# uname -srm
> FreeBSD 7.0-CURRENT #0: Wed Feb 28 23:47:39 CET 2007 amd64
> 
> pf related items in kernel:
> 
> device  pf
> device  pflog
> 
> --


If you are interested in compiling in ALTQ, use the following kernel
options listed below.  The error message you are receiving doesn't mean
that PF isn't working, however, it just doesn't have ALTQ support.

options ALTQ
options ALTQ_CBQ
options ALTQ_RED
options ALTQ_RIO
options ALTQ_HFSC
options ALTQ_CDNR
options ALTQ_PRIQ
options ALTQ_NOPCC

Regards,

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


Re: defrag

2007-03-01 Thread Kevin Kinsey

Steve Franks wrote:

How come I never hear defrag come up as a topic, and can't find
anything related to defrag in the ports tree?  Is it really not an
issue on UFS?  Can someone point me to an explantion if so?

Thanks,
Steve


I'm thinking this one's in the FAQ at freebsd.org.

Kevin Kinsey

--
HELP!  MY TYPEWRITER IS BROKEN!
-- E. E. CUMMINGS

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


Re: defrag

2007-03-01 Thread Jerry McAllister
On Thu, Mar 01, 2007 at 09:49:09AM -0700, Steve Franks wrote:

> How come I never hear defrag come up as a topic, and can't find
> anything related to defrag in the ports tree?  Is it really not an
> issue on UFS?  Can someone point me to an explantion if so?

It's really not an issue.

jerry

> 
> Thanks,
> Steve
> ___
> 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]"


defrag

2007-03-01 Thread Steve Franks

How come I never hear defrag come up as a topic, and can't find
anything related to defrag in the ports tree?  Is it really not an
issue on UFS?  Can someone point me to an explantion if so?

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


Re: Mounting an FTP space ?

2007-03-01 Thread Kevin Kinsey

John Nielsen wrote:

On Thursday 01 March 2007 01:37, Never you mind wrote:

On my Mac from the Finder I can select "Connect to server", give it the
details of an ftp location and it will connect and display the ftp
space as a drive on the desktop.

Can I obtain the same sort of functionality using freeBSD and xfce
desktop manager?


I haven't used it, but the sysutils/fusefs-curlftpfs should allow you to mount 
an ftp location as a virtual filesystem. The desktop icon thing you'll have 
to work out on your own, but it shouldn't be too difficult (a shortcut to 
your chosen mountpoint should suffice).




And I'll have to apologize for the noise of my last, as John seems to 
have caught what you were Really Asking(tm).


Kevin Kinsey

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


Re: Mounting an FTP space ?

2007-03-01 Thread Kevin Kinsey

Never you mind wrote:
On my Mac from the Finder I can select "Connect to server", give it the 
details of an ftp location and it will connect and display the ftp space 
as a drive on the desktop.


Can I obtain the same sort of functionality using freeBSD and xfce 
desktop manager?




The built in "file manager" Thunar doesn't seem to have this 
functionality (though I stand ready to be corrected if I'm wrong, I 
tested casually and scanned the manpage), but there are 125 programs in 
/usr/ports/ftp, and one of them should work.


And, just to show that I'm not being overtly cynical here, here's a 
short list of those programs that seem to be graphical and client-side 
in nature; perhaps one of them will suit you, or others could comment on 
their use.  Terminals and ftp(1) for me ;-)


Note that a] I've probably missed some; b] Those that start with "K" are 
probably for KDE and might not be something you want to get into (lots 
of dependencies you may not want) c] possibly ditto with gftp<-->Gnome, 
and some others may be rather "heavy"


iglooftp
wxftp
filezilla
ftpcube
gFTP
JFTP
Kasablanca
Kbear
KFTPGRabber
llnlxdir
multiget
waiho
wmget
wxdfast
Xrmftp

Kevin Kinsey

--
Early to bed and early to rise and you'll
be groggy when everyone else is wide awake.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FSCK question on FreeBSD 5.4R

2007-03-01 Thread Jerry McAllister
On Thu, Mar 01, 2007 at 10:12:38AM -0500, Gerry Freymann wrote:

> I was doing some maintenance on my FreeBSD 5.4R box, and took it down to
> single user mode and ran
> 
>   fsck -y
> 
> I have four partitions on my drive, and the 2nd and 3rd partitions come up
> with errors and say run fsck manually.
> 
> When I do:
> 
>   fsck -y /dev/ad0s1e
> 
> there's no difference, it just shows me the errors but doesn't fix 'em. I
> see (NO WRITE) on the partition which I figure is the problem.
> 
> How do I get fsck to write the changes necessary? I used to know all this
> when I admin'd a half dozen boxes for about 5 years but 3 years later with
> little to no admin chores anymore I've forgotten.
> 
> Thanks for any assistance you might provide.

Haven't seen that.  But I wonder - is the partition mounted?
If you got to single user by rebooting to it, then it should be.
But, if you got there any other way (???) it might not be.  

Just a shot in the dark,

jerry

> 
> -gerry
> 
> ___
> 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: python 2.4.4, 1 vs 2.4.3, 1 - zope trouble - python version downgrade

2007-03-01 Thread Dan Busarow


On Mar 1, 2007, at 7:54 AM, Le Cocq Michel wrote:

I just test on an other system after making a new instance et  
getting my
var and products folder, so it does not come from my zope instance,  
but

apparently my other system is unstable... sick...

for ex, when i launch zopctl:

rapace# ./zopectl
Traceback (most recent call last):
  File "/usr/local/www/Zope29/lib/python/Zope2/Startup/zopectl.py",  
line

322, in ?



[snip]



line 25, in ?
from zope.app.component.site import SiteManagementFolder
  File "/usr/local/www/Zope29/lib/python/zope/app/component/site.py",
line 35, in ?
from zope.app.component import adapter
  File "/usr/local/www/Zope29/lib/python/zope/app/component/ 
adapter.py",

line 28, in ?
class LocalSurrogate(zope.interface.adapter.Surrogate):
AttributeError: 'module' object has no attribute 'Surrogate'


No idea why you get something like that.  I'd try a fresh install.   
If you still have a problem hit the zope list and see if they can  
give you some guidance.


It's not the mix of python 2.4.4 and zope 2.9.6 in FreeBsd though.

Dan



Dan Busarow a écrit :


On Thursday, March 1, 2007, at 04:15  AM, Le Cocq Michel wrote:


Yesterday I try to install a python module after a 'portsnap fetch
update', during the install python upgrade from version  2.4.3,1 to
2.4.4,1.

python-2.4.3,1   The "meta-port" for the stable version of Python
interprete
vs
python-2.4.4,1   [...]

since these upgrade my zope (zope29-2.9.6) won't start anymore !

How can I come back to version python-2.4.3,1 ?


Zope 2.9.6 runs just fine with python 2.4.4.  From my Control Panel

Zope Version (Zope 2.9.6-final, python 2.4.4, freebsd5)
Python Version 2.4.4 (#2, Feb 1 2007, 14:50:23) [GCC 3.4.2 [FreeBSD]
20040728]
System Platform freebsd5

What is the error you see if you run bin/runzope manually?

Dan

___
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]"


Best anoncvs Site to Update 6.2 Sources

2007-03-01 Thread Martin McCormick
After installing FreeBSD6.2 from the ISO image, I figured
that cvsup would be the best way to update the new system and
apply the patches which have come out since the image was
created.  I think I have cvsup ready to go, but I can't tell for
sure since the mirror site I picked was the first one in the list
for the United states.  It is anoncvs.FreeBSD.org and is obviously
quite popular.  cvsup tried all night long to connect and never
got in .  The next mirror site for the US is
anoncvs1.FreeBSD.org and it appears to be down.  Since all I need
is to update all the sources for FreeBSD6.2, is there a better
choice of sites?  I got these 2 site names from the FreeBSD
handbook.  We have been using FreeBSD here since 2001, but I have
never seriously tried cvsup until now since we are installing
several new servers, all using FreeBSD6.2.  
Thanks.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Best anoncvs Site to Update 6.2 Sources

2007-03-01 Thread Nikos Vassiliadis
On Thursday 01 March 2007 17:00, Martin McCormick wrote:
>   After installing FreeBSD6.2 from the ISO image, I figured
> that cvsup would be the best way to update the new system and
> apply the patches which have come out since the image was
> created.  I think I have cvsup ready to go, but I can't tell for
> sure since the mirror site I picked was the first one in the list
> for the United states.  It is anoncvs.FreeBSD.org and is obviously
> quite popular.  cvsup tried all night long to connect and never
> got in .  The next mirror site for the US is
> anoncvs1.FreeBSD.org and it appears to be down.  Since all I need
> is to update all the sources for FreeBSD6.2, is there a better
> choice of sites?  I got these 2 site names from the FreeBSD
> handbook.

anoncvs is not CVSup. anoncvs.freebsd.org is an anonymous cvs
server.

You can find CVSup mirrors (and other information) here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

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


Re: Hardware Problem - FreeBSD 6.2

2007-03-01 Thread Nikos Vassiliadis
On Thursday 01 March 2007 16:10, Rômulo Lima wrote:
> Hi, 
> 
> Good morning, my name is Rômulo Lima, I had a problem when make an upgrade 
in my Freebsd Server from version 6.1 to 6.2. Before upgrade my SATA disc 
controller was working normally:
> 
> atapci1:  port 
0xec00-0xec0f,0xe480-0xe487,0xe400-0xe40f,0xe080-0xe087,0xe000-0xe01f mem 
0xd800-0xdbff irq 21 at device 31.1 on pci0
> ad4: 78167MB  at ata2-master SATA150
> 
>  But after upgrade I got the following error, and my SATA disc stops, after 
that I proceeded with a downgrade and may Server work fine again. 
> 
> atapci1: AHCI controller reset failure
> device_attach: atapci1 attach returned 6
> 
> I search a solution on some mail lists, but I still have no solution to this 
problem, if anyone can help me I will thank very much!
> 

Hello Romulo,

Check this message and the relevant thread: 
http://lists.freebsd.org/pipermail/freebsd-stable/2005-January/011256.html

If that's not your case, please post a message to stable@ with
an appropriate subject(SATA: AHCI controller reset failure for
example) to catch some attention.

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


FSCK question on FreeBSD 5.4R

2007-03-01 Thread Gerry Freymann
I was doing some maintenance on my FreeBSD 5.4R box, and took it down to
single user mode and ran

fsck -y

I have four partitions on my drive, and the 2nd and 3rd partitions come up
with errors and say run fsck manually.

When I do:

fsck -y /dev/ad0s1e

there's no difference, it just shows me the errors but doesn't fix 'em. I
see (NO WRITE) on the partition which I figure is the problem.

How do I get fsck to write the changes necessary? I used to know all this
when I admin'd a half dozen boxes for about 5 years but 3 years later with
little to no admin chores anymore I've forgotten.

Thanks for any assistance you might provide.

-gerry

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


Portupgrade -how ro get out of loop!!

2007-03-01 Thread Vizion
I have multiple lines of stale dependencies reported from pkgdb -F all of which 
relate to bsdpan-Archive-Tar-1.30 or 1.16 witha report that the package is held.

The lines are
Stale dependency:bsdpan-Archive-Tar-[version] -> [see NOTE below]: -> Ignored 
(the package is held; specify -f to force)

How do I get out of the following loop!
:
I run 
# pkgdb -f
Then try 
# portupgrade -a
and get
Stale dependency . manuall run 'pkgdb -F to fix or specify -O to force
I run
# pkgdb -O
then run
# portupgrade -a
and get
Stale dependencies ..manually run 'pkgdb -F' to fix or specify -O to force
NOTE
the references are to
p5-Text-Diff-0.35 (textproc/p5-Text-Diff)
etc
p5-PathTools [ver] [port]
p5- [App] [ver] [port]


Thanks in advance

david

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


RE: FreeBSD X11 settings in Virtual PC 2007

2007-03-01 Thread Anthony Hook
My xorg.conf keeps warning "no screens found" after I run xorgconf.  Would you 
be able to send a copy of your xorg.conf?  I appreciate the help!
 
Thanks,
 
Anthony



> Date: Thu, 1 Mar 2007 15:52:15 +0100> From: [EMAIL PROTECTED]> To: [EMAIL 
> PROTECTED]> CC: freebsd-questions@freebsd.org> Subject: Re: FreeBSD X11 
> settings in Virtual PC 2007> > Hello Anthony,> > it seems like that Virtual 
> PC 2007 doesn't support 24 bit color. I had > no problems with 16 bit and 
> 1152x768.> > Regards> Björn> > 
_
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mounting an FTP space ?

2007-03-01 Thread John Nielsen
On Thursday 01 March 2007 01:37, Never you mind wrote:
> On my Mac from the Finder I can select "Connect to server", give it the
> details of an ftp location and it will connect and display the ftp
> space as a drive on the desktop.
>
> Can I obtain the same sort of functionality using freeBSD and xfce
> desktop manager?

I haven't used it, but the sysutils/fusefs-curlftpfs should allow you to mount 
an ftp location as a virtual filesystem. The desktop icon thing you'll have 
to work out on your own, but it shouldn't be too difficult (a shortcut to 
your chosen mountpoint should suffice).

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


Re: FreeBSD X11 settings in Virtual PC 2007

2007-03-01 Thread Garrett Cooper

Anthony Hook wrote:

My xorg.conf keeps warning "no screens found" after I run xorgconf.  Would you 
be able to send a copy of your xorg.conf?  I appreciate the help!
 
Thanks,
 
Anthony




Date: Thu, 1 Mar 2007 15:52:15 +0100> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> CC: freebsd-questions@freebsd.org> Subject: Re: FreeBSD X11 settings in Virtual PC 2007> > Hello Anthony,> > it seems like that Virtual PC 2007 doesn't support 24 bit color. I had > no problems with 16 bit and 1152x768.> > Regards> Björn> > 


Have you tried startx -probe or xorgcfg yet?

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


Re: python 2.4.4, 1 vs 2.4.3, 1 - zope trouble - python version downgrade

2007-03-01 Thread Le Cocq Michel
I just test on an other system after making a new instance et getting my
var and products folder, so it does not come from my zope instance, but
apparently my other system is unstable... sick...

for ex, when i launch zopctl:

rapace# ./zopectl
Traceback (most recent call last):
  File "/usr/local/www/Zope29/lib/python/Zope2/Startup/zopectl.py", line
322, in ?
main()
  File "/usr/local/www/Zope29/lib/python/Zope2/Startup/zopectl.py", line
280, in main
options.realize(args)
  File "/usr/local/www/Zope29/lib/python/Zope2/Startup/zopectl.py", line
91, in realize
ZDOptions.realize(self, *args, **kw)
  File "/usr/local/www/Zope29/lib/python/zdaemon/zdoptions.py", line
273, in realize
self.load_schema()
  File "/usr/local/www/Zope29/lib/python/zdaemon/zdoptions.py", line
321, in load_schema
self.schema = ZConfig.loadSchema(self.schemafile)
  File "/usr/local/www/Zope29/lib/python/ZConfig/loader.py", line 31, in
loadSchema
return SchemaLoader().loadURL(url)
  File "/usr/local/www/Zope29/lib/python/ZConfig/loader.py", line 65, in
loadURL
return self.loadResource(r)
  File "/usr/local/www/Zope29/lib/python/ZConfig/loader.py", line 159,
in loadResource
schema = ZConfig.schema.parseResource(resource, self)
  File "/usr/local/www/Zope29/lib/python/ZConfig/schema.py", line 27, in
parseResource
xml.sax.parse(resource.file, parser)
  File "/usr/local/lib/python2.4/xml/sax/__init__.py", line 33, in parse
parser.parse(source)
  File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
  File "/usr/local/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
  File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
  File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 300, in
start_element
self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "/usr/local/www/Zope29/lib/python/ZConfig/schema.py", line 99, in
startElement
getattr(self, "start_" + name)(attrs)
  File "/usr/local/www/Zope29/lib/python/ZConfig/schema.py", line 475,
in start_schema
keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
  File "/usr/local/www/Zope29/lib/python/ZConfig/schema.py", line 201,
in get_sect_typeinfo
datatype = self.get_datatype(attrs, "datatype", "null", base)
  File "/usr/local/www/Zope29/lib/python/ZConfig/schema.py", line 194,
in get_datatype
return self._registry.get(dtname)
  File "/usr/local/www/Zope29/lib/python/ZConfig/datatypes.py", line
398, in get
t = self.search(name)
  File "/usr/local/www/Zope29/lib/python/ZConfig/datatypes.py", line
423, in search
package = __import__(n, g, g, component)
  File "/usr/local/www/Zope29/lib/python/Zope2/Startup/datatypes.py",
line 21, in ?
import OFS.Uninstalled
  File "/usr/local/www/Zope29/lib/python/OFS/Uninstalled.py", line 20, in ?
import SimpleItem, Globals, Acquisition
  File "/usr/local/www/Zope29/lib/python/OFS/SimpleItem.py", line 26, in ?
import AccessControl.Role, AccessControl.Owned, App.Common
  File "/usr/local/www/Zope29/lib/python/AccessControl/__init__.py",
line 17, in ?
from Implementation import setImplementation
  File
"/usr/local/www/Zope29/lib/python/AccessControl/Implementation.py", line
98, in ?
setImplementation("C")
  File
"/usr/local/www/Zope29/lib/python/AccessControl/Implementation.py", line
51, in setImplementation
from AccessControl import ImplC as impl
  File "/usr/local/www/Zope29/lib/python/AccessControl/ImplC.py", line
18, in ?
from cAccessControl import rolesForPermissionOn, \
  File
"/usr/local/www/Zope29/lib/python/AccessControl/SimpleObjectPolicies.py",
line 82, in ?
from DocumentTemplate.DT_Util import TemplateDict
  File "/usr/local/www/Zope29/lib/python/DocumentTemplate/__init__.py",
line 21, in ?
from DocumentTemplate import String, File, HTML, HTMLDefault, HTMLFile
  File
"/usr/local/www/Zope29/lib/python/DocumentTemplate/DocumentTemplate.py",
line 112, in ?
from DT_String import String, File
  File "/usr/local/www/Zope29/lib/python/DocumentTemplate/DT_String.py",
line 19, in ?
from DT_Util import ParseError, InstanceDict, TemplateDict,
render_blocks, str
  File "/usr/local/www/Zope29/lib/python/DocumentTemplate/DT_Util.py",
line 67, in ?
from ZPublisher.TaintedString import TaintedString
  File "/usr/local/www/Zope29/lib/python/ZPublisher/__init__.py", line
24, in ?
from Publish import publish_module, Retry
  File "/usr/local/www/Zope29/lib/python/ZPublisher/Publish.py", line
24, in ?
from zope.app.publication.browser import setDefaultSkin
  File
"/usr/local/www/Zope29/lib/python/zope/app/publication/browser.py", line
33, in ?
from zope.app.publication.http import BaseHTTPPublication
  File "/usr/local/www/Zope29/lib/python/zope/app/publication/http.py",
line 27, in ?
from zope.app.publication.zopepublication import ZopePublication
  File
"/us

Re: FreeBSD X11 settings in Virtual PC 2007

2007-03-01 Thread Björn König

Hello Anthony,

it seems like that Virtual PC 2007 doesn't support 24 bit color. I had 
no problems with 16 bit and 1152x768.


Regards
Björn


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


Re: python 2.4.4, 1 vs 2.4.3, 1 - zope trouble - python version downgrade

2007-03-01 Thread Dan Busarow


On Thursday, March 1, 2007, at 04:15  AM, Le Cocq Michel wrote:


Yesterday I try to install a python module after a 'portsnap fetch
update', during the install python upgrade from version  2.4.3,1 to 
2.4.4,1.


python-2.4.3,1   The "meta-port" for the stable version of Python 
interprete

vs
python-2.4.4,1   [...]

since these upgrade my zope (zope29-2.9.6) won't start anymore !

How can I come back to version python-2.4.3,1 ?


Zope 2.9.6 runs just fine with python 2.4.4.  From my Control Panel

Zope Version (Zope 2.9.6-final, python 2.4.4, freebsd5)
Python Version 2.4.4 (#2, Feb 1 2007, 14:50:23) [GCC 3.4.2 [FreeBSD] 
20040728]

System Platform freebsd5

What is the error you see if you run bin/runzope manually?

Dan

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


Re: Linux "equivalent" to freebsd

2007-03-01 Thread Stephen Liu

--- DAve <[EMAIL PROTECTED]> wrote:

> Patrick Bowen wrote:
> > [EMAIL PROTECTED] wrote:
> >> Hi,
> >>
> >> Sorry this question is a little off-topic...
> >>
> >> We've been using Freebsd for many years and all of our servers are
> 
> >> running
> >> freebsd.
> >>
> >> The only thing that is a pain with freebsd, is poor commercial
> support :(
> >>
> >> We are running in a situation where a customer needs Zend platform
> 3
> >> (http://www.zend.com/products/zend_platform) which won't be
> available for
> >> freebsd until the end of the year...
> >>
> >> So I will need to setup a machine with linux.
> >>
> >> I don't know much about linux distributions, could someone
> recommend 
> >> one to
> >> me please.
> >>
> >> We are looking for a platform that will support amd64 extensions,
> will 
> >> act
> >> as a console only server and that has a good way to install ports
> and
> >> upgrade. We want something secure and stable. We don't wanna go
> with 
> >> Redhat
> >> or any commercial distribution.
> >>
> >> I really like the cvsup/make install/portupgrade way of dealing
> with
> >> software installation and updates and I am looking for something 
> >> equivalent
> >> on a linux distribution.
> >>
> >> Could you recommend a distribution you are using in production,
> we've 
> >> check
> >> ubuntu, fedora and Debian, but I wonder what freebsd users
> recommend...
> >>
> >> Thanks
> >>
> >>
> >> ___
> >> freebsd-questions@freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> To unsubscribe, send any mail to 
> >> "[EMAIL PROTECTED]"
> >>
> >>   
> > 
> > Take a look at Slackware.
> > 
> > http://www.slackware.com
> > 
> > Patrick
> 
> Seconded, if I got to run Linux, I run Slackware (and I have in 
> production). If you need it there is a port of Slack to AMD64 called 
> slamd64, http://www.slamd64.com/.
> 
> FreeBSD users will appreciate it's simplicity and it's stability.


slamd64-11.0 has issue on nVidia driver, same as FreeBSD 6.2-amd64. 
Besides you need to recompile kernel to enable smp technology.  Each
time after recompiling/upgrading kernel you need to reinstall the
driver download on nVidia.com.  The situation is better than FBSD.  I
can't locate driver for FBSD x86_64 on their website, only x_86
available.  The onboard NIC fails to work and X can't work properly 
However smp technology is already enabled on FBSD.

I have slamd64-11.0 and FreeBSD 6.2-amd64 running here.

I have no knowledge on CentOS.  I'm prepared to try it.  According to
folks on their forum CentOS supports nVidia chipset without problem.   


B.R.
Stephen Liu

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Hardware Problem - FreeBSD 6.2

2007-03-01 Thread Rômulo Lima
Hi, 

Good morning, my name is Rômulo Lima, I had a problem when make an upgrade in 
my Freebsd Server from version 6.1 to 6.2. Before upgrade my SATA disc 
controller was working normally:

atapci1:  port 
0xec00-0xec0f,0xe480-0xe487,0xe400-0xe40f,0xe080-0xe087,0xe000-0xe01f mem 
0xd800-0xdbff irq 21 at device 31.1 on pci0
ad4: 78167MB  at ata2-master SATA150

 But after upgrade I got the following error, and my SATA disc stops, after 
that I proceeded with a downgrade and may Server work fine again. 

atapci1: AHCI controller reset failure
device_attach: atapci1 attach returned 6

I search a solution on some mail lists, but I still have no solution to this 
problem, if anyone can help me I will thank very much!

Best Regards,

Rômulo Lima
Tech Manager
Wavenet
www.wavenet.com.br
(55)(71) 3177-6150
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: IPF (ftp - pkg_add) help requested

2007-03-01 Thread Chris Slothouber

I'd start by upgrading to 6.2

Don Munyak wrote:

I am building a FreeBSD box to function as a FAMP server (LAMP) and
hopefully replace our existing mail server. I am having an issue with
IPF that I can't seem to figure out.

*** When IPF is enabled, I can't run # pkg_add -r .




p0069# uname -a
FreeBSD p0069.bm.local 6.1-RELEASE-p12 FreeBSD 6.1-RELEASE-p12 #0: Thu
Feb  8 13:55:26 EST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/WEBSERVER  i386

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


IPF (ftp - pkg_add) help requested

2007-03-01 Thread Don Munyak

I am building a FreeBSD box to function as a FAMP server (LAMP) and
hopefully replace our existing mail server. I am having an issue with
IPF that I can't seem to figure out.

*** When IPF is enabled, I can't run # pkg_add -r .

{...snip from local console..}
p0069# pkg_add -rv bash
looking up ftp.freebsd.org
connecting to ftp.freebsd.org:21
setting passive mode
opening data connection
Error: FTP Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/bash.tbz:
Network is unreachable
pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/bash.tbz'
by URL
pkg_add: 1 package addition's) failed
{...end-snip..}

*** When I disable ipf -D, all works fine.

IPF was compiled in the kernel when I did a buildworld.

p0069# uname -a
FreeBSD p0069.bm.local 6.1-RELEASE-p12 FreeBSD 6.1-RELEASE-p12 #0: Thu
Feb  8 13:55:26 EST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/WEBSERVER  i386
p0069#

When I issue ipfstat -ho, after pkg_add -r, the following lines increment
- pass out quick on em0 proto tcp from any to any port = 21 flags S keep state
- pass out quick on em0 proto udp from any to any port = 53 keep state
- block out log first quick on em0 all

# --
# /etc/ipf.rules
# logged to /var/log/firewall.log
# 02/28/2007
# --

# --
# EGRESS filtering
# --

# No restriction on Loopback Adapter
pass in quick on lo0 all
pass out quick on lo0 all

# DHCP Bootp
# pass out quick on em0 proto udp from any to any port = 67 keep state
# pass out quick on em0 proto udp from any to any port = 68 keep state

# ICMP
pass out quick on em0 proto icmp from any to any keep state

# Allow out http
pass out quick on em0 proto tcp from any to any port = 80 flags S keep state
pass out quick on em0 proto tcp from any to any port = 443 flags S keep state

# Allow ftp out
pass out quick on em0 proto tcp from any to any port = 20 flags S keep state
pass out quick on em0 proto tcp from any to any port = 21 flags S keep state

# Allow mail out
pass out quick on em0 proto tcp from any to any port = 110 flags S keep state
pass out quick on em0 proto tcp from any to any port = 143 flags S keep state
pass out quick on em0 proto tcp from any to any port = 25 flags S keep state

# Allow SSH Out
pass out quick on em0 proto tcp from any to any port = 22 flags S keep state

# Allow DNS
pass out quick on em0 proto udp from any to any port = 53 keep state
pass out quick on em0 proto tcp from any to any port = 53 flags S keep state

# Allow CVSUP
pass out quick on em0 proto tcp from any to any port = 5999 flags S keep state

# Keeping time
pass out quick on em0 proto tcp from any to any port = 37 flags S keep state
pass out quick on em0 proto tcp from any to any port = 123 flags S keep state

# Allow whois
pass out quick on em0 proto tcp from any to any port = 43 flags S keep state

# Razor & Spamassasin
# more later

# Block and Log the first occurance of everything else
block out log first quick on em0 all

# -
# INGRESS Filtering
# 

# Block all inbound traffic from non-routable or reserved networks
# block in quick on em0 from 192.168.0.0/16 to any
block in quick on em0 from 172.16.0.0/12 to any
block in quick on em0 from 10.0.0.0/8 to any
block in quick on em0 from 127.0.0.0/8 to any
block in quick on em0 from 0.0.0.0/8 to any
block in quick on em0 from 169.254.0.0/16 to any
# block in quick on em0 from 192.0.2.0/24 to any
block in quick on em0 from 204.153.64.0/23 to any
block in quick on em0 from 224.0.0.0/3 to any

# Block in Nasties
# stuff I don't want logged
block in quick on em0 proto icmp all icmp-type 8
block in quick on em0 all with frags
block in quick on em0 all with ipopts
block in quick on em0 all with short
# block return-rst in quick on em0 proto tcp all flags FUP
# block return-rst in quick on em0 proto tcp from any to any
# block return-icmp-as-digest(port-unr) in quick on em0 proto udp from
any to any

# Block all Netbios server. 137=name, 138=datagram, 139=session
block in log first quick on em0 proto tcp/udp from any to any port = 137
block in log first quick on em0 proto tcp/udp from any to any port = 138
block in log first quick on em0 proto tcp/udp from any to any port = 139
block in log first quick on em0 proto tcp/udp from any to any port = 81

# Allow in http/https
pass in quick on em0 proto tcp from any to any port = 80 flags S keep state
pass in quick on em0 proto tcp from any to any port = 443 flags S keep state

# allow incoming SSH
pass in quick on em0 proto tcp from any to any port = 22 flags S keep state

# SMTP/POP/IMAP
pass in quick on em0 proto tcp from any to any port = 25 flags S keep state
pass in quick on em0 proto tcp from any to any port = 110 flags S keep state
pass in quick on em0 proto tcp from any to any port = 143 flags S keep state

# Anit-Virus
# more later

# All the rest
block in log first quick on em0 all

# - EOF 

Re: find returns unusable result

2007-03-01 Thread Norberto Meijome
On Wed, 28 Feb 2007 17:12:58 -0600
Paul Schmehl <[EMAIL PROTECTED]> wrote:

> I thought I could just do this:
> chmod 755 `find /path/to/dirs -type d`
> 
> but find returns a directory name of Day, Day, Day, which (obviously) 
> doesn't work.

And for completeness sake, if you want to change the delimiter in your (bash*)
 shell,  set IFS to something else , eg

export IFS=|

so now, instead of breaking Day and 2 apart, they'll be considered 1 list item.
Which of course may bring other problems... but :)

_
{Beto|Norberto|Numard} Meijome

If you find God, do you get to keep him/her?

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Future of FreeBSD 7.0 and up

2007-03-01 Thread Norberto Meijome
On Wed, 28 Feb 2007 11:26:47 -0800
"Dwight Smith" <[EMAIL PROTECTED]> wrote:

> What 
> had me curious to asking this is this article I read about a review on 
> FreeBSD 6.2 (http://www.softwareinreview.com/cms/content/view/67/) The 
> reviewer had a lot of criticisms that seemed harsh, but at the same time 
> raised some valid points.

the writer doesnt seem to know much about Freebsd...or have cared to RTFM. 
 "Installation of default config files. After installation, FreeBSD is left
with no real make.conf or rc.conf, although there are example files
in /usr/share/examples."

I guess his /etc/defaults/* got lost with the geometry bug (which, btw, never
actually affected any of the servers / workstations / laptops I've installed
with FBsd - it complains, ignore it, works (for me at least). And ... which
options do we want to put in the initial config files? The defaults are ALL
there and they work. If you don't like them you *CHANGE* the defaults isn't
that the whole point of configuring your box?

I agree with someone else who said that at least w/ BSD you have 1 layer of
config - nice and clean. If you don't like something as efficient as a text
file for your options, write a great tool for every configuration and promote
its use. I'm happy to stay away from Microsoft style dumbing down and hidden
hacks (ie, registry tweaks, which are the only way to get things working half
the time). ( I've got some ideas on an useful configuration tool for BSD...but
this is not the time to spill the beans :)

anyway, we can all find nits on anything. Nobody is forcing him to like or use
FreeBSD, nor us to read his/her articles (ever again) :)

> I only ask this question as I would like to see 
> FreeBSD get the same recognition as Linux as FreeBSD is a powerful OS that 
> should not be overshadowed

well, each to their own... I for one I prefer that Linux keeps all the
"distribution hell" and limelight... FBSD (and all the BSDs for that matter)
are well known enough by the technical community - i see more and more people
using them all the time... 

:)
_
{Beto|Norberto|Numard} Meijome

"That's what I love about GUIs: They make simple tasks easier,
and complex tasks impossible."
-- John William Chambless

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Linux "equivalent" to freebsd

2007-03-01 Thread Norberto Meijome
On Thu, 1 Mar 2007 10:07:12 +0100
Uwe Laverenz <[EMAIL PROTECTED]> wrote:

> If you want a professional and well supported system, but don't need
> commercial support, CentOS is the way to go: http://www.centos.org
> 
> CentOS is a free version of Redhat's Enterprise Linux and is available
> for several platforms, including amd64. Everything that is certified for
> RHEL will run without problems on CentOS. The current version is 4.4 but
> a new version of RHEL is expected to be released during the next weeks
> (which will be followed by a new version of CentOS).

I'll agree with Uwe here - Centos is very nice and stable. I've given up on
gentoo, ubuntu , and RHEL (any more lock in and they might as well move to
Redmond...). 

( mainly using Centos as a host for VMWare server since it wont run on
FBSD :( , and FreeBSD on XEN isn't there yet, i think... maybe i ought to try
Netbsd... )

I haven't touched slackware since 1995 - if it's still so good I will give it
a try again

_
{Beto|Norberto|Numard} Meijome

A "No" uttered from deepest conviction is better and greater than a
"Yes" merely uttered to please, or what is worse, to avoid trouble.
-- Mahatma Ghandi

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Backup procedure question / theory

2007-03-01 Thread Nick Withers
On Thu, 01 Mar 2007 11:46:07 +
Dave Carrera <[EMAIL PROTECTED]> wrote:

> HI All,
> 
> I need to automatically once a day backup some files on my Win 2003 
> serve to my remote FreeBSD box running v6.
> 
> What i need specifically is to compress the win files as small as
> they can be then either set my FreeBSD box to go a get the file or
> tell win to send it to my FreeBSD box.
> 
> The stumbling block here is me, i have absolutely no idea what i
> need to do on each box to achieve this, having never done it before.

Not necessarily what you're after (may be a little excessive for your
tastes), but I'd recommend Bacula (www.bacula.org).

Failing that, perhaps a script to zip the files on the Win box then
copy it to a Samba share on the FreeBSD box? Or mount a Windows
share containing the files to be backed up on the FreeBSD box and
bzip2 / gzip them to a file on the FreeBSD machine. A little off-topic
here, perhaps...

> So i ask if any kind persons on the list can advise or even help me
> with this.
> 
> Many kind regards
> 
> Dave
-- 
Nick Withers
email: [EMAIL PROTECTED]
Web: http://www.nickwithers.com
Mobile: +61 414 397 446
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Backup procedure question / theory

2007-03-01 Thread Dave Carrera

HI All,

I need to automatically once a day backup some files on my Win 2003 
serve to my remote FreeBSD box running v6.


What i need specifically is to compress the win files as small as they 
can be then either set my FreeBSD box to go a get the file or tell win 
to send it to my FreeBSD box.


The stumbling block here is me, i have absolutely no idea what i need to 
do on each box to achieve this, having never done it before.


So i ask if any kind persons on the list can advise or even help me with 
this.


Many kind regards

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


python 2.4.4, 1 vs 2.4.3, 1 - zope trouble - python version downgrade

2007-03-01 Thread Le Cocq Michel
Yesterday I try to install a python module after a 'portsnap fetch
update', during the install python upgrade from version  2.4.3,1 to 2.4.4,1.

python-2.4.3,1   The "meta-port" for the stable version of Python interprete
vs
python-2.4.4,1   [...]

since these upgrade my zope (zope29-2.9.6) won't start anymore !

How can I come back to version python-2.4.3,1 ?

Michel

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


Re: find returns unusable result

2007-03-01 Thread Vince

Josh Tolbert wrote:

On Wed, Feb 28, 2007 at 11:33:14PM +, Vince wrote:
  

or just
find /path/to/dirs -type d -exec chmod 755 {} \;
should do it.



Fair enough; I generally prefer the xargs method in case I have to do any more
processing later. Also, xargs' batching may potentially save you a bit of
time, but I doubt that'd be noticable.

  

True, for anything more complex xargs is invaluable.

Vince



Thanks,

Josh
  


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


Re: Packet rate limiter

2007-03-01 Thread Chris

On 17/02/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> Hi
>
> is there any way how to limit packet per second [PPS] rate to
> specified
> IP (group of IP) ? Linux can achieve this via IPtables.
> I`ve searched a lot of web, but nothing interesting found (for PF,
> IPFilter, and IPFW).
>

I agree this would be a very nice addition to IPFW as a basic feature,
or maybe a more advanced version via Dummynet.  It's much to easy for a
trojan / virus or intentionally malicious user to flood a FreeBSD box
setup as a router with loads of tiny UDP packets on port 80.  In fact,
just a few days ago we had 2 users behind one of our FreeBSD gateways
sending huge loads of traffic to a webhosting site..  This packet count
shown below was all within a 12 hour period ;)

00010   99046537539618916491 deny ip from 172.17.106.114 to any
0001020010976  800449444 deny ip from 172.17.105.114 to any


Being able to put limits per protocol would be a wonderful addition.
For now what we do is setup a count rule by MAC address for every user,
we check the count rules every 60 seconds, if we begin to see packets
per second for a certain host climb above for example 4000PPS, we simply
automatically add a deny rule.  These are generally users set for 1 or 2
Mbps each, so 4000PPS is pretty extreme for that kind of bandwidth
unless your doing something you shouldn't.

I've been talking to a few friends about possibly adding this to ipfw or
dummynet, and if I ever get around to a completed working version, I
would be more than happy to share, but for now, there are ways to still
fix the problem, just not as elegant as if it where actually a firewall
rule ;)

Chris Bowman

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



Whats the rule that counts per src address?

thanks

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


Re: Future of FreeBSD 7.0 and up

2007-03-01 Thread Chris

On 01/03/07, Jeffrey Goldberg <[EMAIL PROTECTED]> wrote:

On Feb 28, 2007, at 1:26 PM, Dwight Smith wrote:

> I guess my question is that will the ease of building or installing
> software for FreeBSD ever streamline to where you do not have to do
> as many steps and text config file entries?

I've recently moved back to BSD from more than a decade of linux.
What I found most frustrating about the Linux distributions I've used
is the multiple layers of configuration tools.  There never seemed to
be a single layer at which I could do everything, and these layers of
admin tools would step on other layers.

So for me, editing text config files is a great relief.  But tastes
differ.

While it took me a few days to get my head round the system, I find
software installation though ports more pleasant on FreeBSD then I
ever did with Linux RPMs.

So, I can only speak for myself and without much new experience with
FreeBSD (I had used NetBSD back in 1996), but I find the software
installation and configuration steps easier under FreeBSD.

But maybe I and most other FreeBSD users are unusual.  I've used
apache from back when it was NCSA; so for me the apache configuration
file is something I'm comfortable with (though it has changed a great
deal over the years).  Likewise for a large number of other things I
may wish to run.

Maybe today's sysadms aren't familiar with all of these sorts of
configuration files, and so being presented with configuring them
directly is daunting.  And so maybe for them higher level
administration tools are useful.

So these people should start off with

 cd /usr/ports/sysutils/webmin

 make install

It really isn't hard.


> I only ask this question as I would like to see FreeBSD get the
> same recognition as Linux as FreeBSD is a powerful OS that should
> not be overshadowed.

Well, you could talk to some venture capitalists and create a Red Hat
equivalent for FreeBSD.  I guess it should be called "Red Devil" if
that doesn't step on too many trademarks.

I don't think that FreeBSD people should be too upset that Linux
happens to be the free Unix-like system that is in the limelight.
It's just the way things turned out.

Cheers,

-j


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



I agree with most with whats been said here, I expect he typically
uses linux and then finds freebsd uncomfortable to use, he may have a
point with the hardware compatability but thats about it.  For a
neutral perspective tho someone who hasnt used linux or freebsd would
probably find freebsd easier to learn.  Its more organised layout with
its directories, the ports system is much more reliable then the
dependency hell you get on linux and easier to configure.

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


Re: Linux "equivalent" to freebsd

2007-03-01 Thread Uwe Laverenz
On Wed, Feb 28, 2007 at 06:46:13PM -0500, [EMAIL PROTECTED] wrote:

> Could you recommend a distribution you are using in production, we've check
> ubuntu, fedora and Debian, but I wonder what freebsd users recommend...

If you want a professional and well supported system, but don't need
commercial support, CentOS is the way to go: http://www.centos.org

CentOS is a free version of Redhat's Enterprise Linux and is available
for several platforms, including amd64. Everything that is certified for
RHEL will run without problems on CentOS. The current version is 4.4 but
a new version of RHEL is expected to be released during the next weeks
(which will be followed by a new version of CentOS).

If you want an entirely free system with a large software repository and
don't care for certifications from software or hardware vendors, I'd
strongly recommend Debian Etch (will be the "stable" release in a short
while). Commercial support is available from Hewlett Packard IIRC.

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


Mounting an FTP space ?

2007-03-01 Thread Never you mind
On my Mac from the Finder I can select "Connect to server", give it the 
details of an ftp location and it will connect and display the ftp 
space as a drive on the desktop.


Can I obtain the same sort of functionality using freeBSD and xfce 
desktop manager?



Malcolm

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


Re: 6.1 & SMP & PERC 3 on PE 2650

2007-03-01 Thread Doug Barton
[ For future reference, please don't cross post to -questions and any
other list. Thanks. ]

Konrad Heuer wrote:
> 
> Hello everyone,
> 
> after upgrading from 4.11 to 6.1 

Step one would be to upgrade again to either 6.2-RELEASE or -stable.
Lots of good stuff happened between releases.

hth,

Doug

-- 

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


unlisted camera in gtkam?

2007-03-01 Thread t nagu tundmatu

Thanks, Alexander, for taking time to answer. If there is no other helpful
thoughts meanwhile I will definately give the it a try.

I did write the specific problem information here, maybe it will give a
better overview:
http://sourceforge.net/tracker/index.php?func=detail&aid=1670186&group_id=8874&atid=358874
(The answer did not help. Still no camera initialized.)

T.
__

On 3/1/07, ajm <[EMAIL PROTECTED] > wrote:


On Wed, Feb 28, 2007 at 11:48:54AM +0200, t nagu tundmatu wrote:
> Hello to all,
>
> I have a problem with gtkam ? my new camera (Pentax K10D) is not
supported.
> I now got it listed in the menu but trying to 'add a new camera' gives a
> message 'could not initialize the camera.' Is there any trick I'm
missing or
> is there maybe another program I can use (with the support of this
camera)
> or maybe a third option?
>
> Thanks in advance.

I don't have a Pentax, but I use a memory card reader for my Olympus.
I find it easier to mount, download photos then use gqview to
view and gimp to edit.  Just make sure you mount it with the
mount_msdosfs command.
Here is what I have done.

In the /etc/sysctl.conf file I have the following lines:
# user mounts devices
vfs.usermount=1

In the /usr/local/etc/sudoers file I have the following:
# Defaults specification
Defaults env_reset
Defaults timestamp_timeout=0
Defaults tty_tickets
Defaults requiretty
Defaults passwd_timeout=1
# User privilege specification
user_me  ALL=/sbin/umount,\
/sbin/mount_msdosfs

In my home directory, I have created a directory call
~/mount/camera

I am in the wheel group.

The command is
sudo mount_msdosfs /dev/da?s1 ~/mount/camera
replace the ? with your device number.

I hope this helps...I am sure there are many other ways to do this.
--
Alexander
FreeBSD 6.0-RELEASE i386
___
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]"