RE: FreeBSD vs Linux

2006-01-20 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of
>[EMAIL PROTECTED]
>Sent: Friday, January 20, 2006 10:13 PM
>To: freebsd-questions@freebsd.org
>Subject: Re: FreeBSD vs Linux
>
>
>> "is freebsd better than linux" kind of question is perfectly 
>legitimate.
>
>"Is FreeBSD more suitible as a desktop system with
>a 200mHz pentium-pro and a 4 gigabyte hard-drive
>than windows 3.11 on dos 6.22 on vmware on top
>of Solaris 10?" is perfectly legitimate.
>"Is FreeBSD better than Slackware?" is legitimate.
>"Is FreeBSD better than a generic kernel stuck onto
>an unknown useland being packaged by a 14-year-old
>AOL subscriber?" is probably legitimate.
>"Is FreeBSD better than *?" is not.
>

Anyone asking the question has an idea of what "?" is, so your next
logical question in preparing an answer is "what version of linux"
This is implied, of course.

>> If we as the FreeBSD community cannot answer that question, then why
>> are we wasting our time with it?
>
>I think this is a false dichotomy.  Either that or I'm going to
>die tomorrow.
>

I can answer that question for me.  My question to you is, if you cannot
tell me why you think FreeBSD is better than any Linux distribution,
then why are you bothering with it?  Do you seek out inferior products
to use, perchance?

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


No openGL, glxgears, glxinfo - libm.so.3 not found

2006-01-20 Thread Joseph Vella
OpenGL apps won't run.  glxgears and glxinfo give me the same error:

/libexec/ld-elf.so.1: Shared object "libm.so.3" not found, required by 
"libGL.so.1"

I have the nVidia driver, I have renderaccel set to true in xorg.conf.
Transparancy and shadows work in KDE with no performance issues.

Any ideas where do I go from here?

Joseph

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


ports and packages errors

2006-01-20 Thread Joseph Vella
I keep getting errors in trying to install packages and ports.

As an example when I try to get linuxpluginwrapper in ports I see it trying to 
fetch some items and not finding them.  It seems like it trys in several 
places (but I'm not sure if it's just going on to the next item).  It finally 
ends up with an automake not the right version error.

what I did was 
su, then
cd /usr/ports/www/linuxpluginwrapper && make install clean

So next I tried to get it as a package:
pkg_add -r linuxpluginwrapper

This retreived several packages successfully but failed at 6 of them.

This same scenario has happened to 2 other packages I've tried to receive.
I'm pretty sure I have a good internet connection as I have downloaded several 
other multi MB items through http.

Am I just having bad luck with servers being down or am I doing something 
wrong?  Is it unusual that some componants of ports and packages are not 
available?

Also, where did the ones that were fetched go?  Do I need to remove them, will 
they be overwritten if I try again later and there are new ones available?

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


Re: Post install help

2006-01-20 Thread Joseph Vella
Thanks all for your help.  I've got the nVidia driver and the SoundBlaster 
Driver installed and working.  I've gone past the permission problem with the 
cd player in KDE.

Joseph Vella



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


Re: FreeBSD vs Linux

2006-01-20 Thread [EMAIL PROTECTED]
> "is freebsd better than linux" kind of question is perfectly legitimate.

"Is FreeBSD more suitible as a desktop system with
a 200mHz pentium-pro and a 4 gigabyte hard-drive
than windows 3.11 on dos 6.22 on vmware on top
of Solaris 10?" is perfectly legitimate.
"Is FreeBSD better than Slackware?" is legitimate.
"Is FreeBSD better than a generic kernel stuck onto
an unknown useland being packaged by a 14-year-old
AOL subscriber?" is probably legitimate.
"Is FreeBSD better than *?" is not.

> If we as the FreeBSD community cannot answer that question, then why
> are we wasting our time with it?

I think this is a false dichotomy.  Either that or I'm going to
die tomorrow.


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


RE: FreeBSD vs Linux

2006-01-20 Thread Ted Mittelstaedt


>-Original Message-
>From: Danial Thom [mailto:[EMAIL PROTECTED]
>Sent: Friday, January 20, 2006 12:36 PM
>To: Ted Mittelstaedt; Dick Davies; freebsd-questions@freebsd.org
>Subject: RE: FreeBSD vs Linux
>
>
>
>
>More rambling, useless points from Ted. Whether
>its written from scratch or not is irrelevant.
>The point is that in order to produce a windows
>driver you have to buy the dev kit,

Danial, do your homework next time.  This isn't true.  See the following:

http://www.microsoft.com/whdc/devtools/ddk/orderddkcd.mspx

The cost of the Microsoft DDK is for shipping and handling
only.  (about $15)  You don't have to buy it.  Of course it
works best with the MS C tools.

People have also written Kernel Mode Drivers under the
Windows Driver Model using gcc, see the following:

http://www.reactos.org/xhtml/en/index.html

There's also 3rd parties like the following:

http://www.computer-solutions.co.uk/chipdev/windriver.htm

who produce software that they claim will create drivers
without the DDK

>and MS
>doesn't pay them to do it.
>

My point was that if you actually spend some serious coin on
some decent hardware instead of the dumpster diving you
seem to be recommending, Danial, that you won't find that
many problems getting drivers for UNIX systems.

Ted

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


RE: FreeBSD vs Linux

2006-01-20 Thread Ted Mittelstaedt


>-Original Message-
>From: Adam Nealis [mailto:[EMAIL PROTECTED]
>Sent: Friday, January 20, 2006 3:13 AM
>To: Ted Mittelstaedt; Graham Bentley; freebsd-questions@freebsd.org
>Subject: RE: FreeBSD vs Linux
>
>
>--- Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
>
>> 
>> What do you say to the people who want to do some research before
>> putting the time into installing it?
>
>I would suggest going to http://www.freebsd.org/docs.html and 
>reading the
>FAQ (especially section 1) and the handbook for a start. This 
>should give
>you an idea of the approach and the level of technical awareness you
>will need.
>
>The community and support sections should help you get a feel 
>for how the
>OS is actually received.
>

And if you have questions that aren't answered there, what then?

I am pointing this out because the process of asking questions on
the mailing list is a legitimate means of research.  Not everyone
wants to just spend the time installing it and then deciding if they
like it.  Some want to do some research first, and that involves
asking questions on the mailing list.  Framing the question as a
"is freebsd better than linux" kind of question is perfectly legitimate.
If we as the FreeBSD community cannot answer that question, then why
are we wasting our time with it?

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


Re: freebsd-update defaults and restrictions

2006-01-20 Thread Richard Bejtlich
Gayn Winters wrote:

> Bejtlich states that the KEY and the URL in the .conf file are
> cooked to get updates from Colin's site, and to use the sample file "if
> you trust [Colin] to securely build binary updates for you to blindly
> install ..."  Aside from Bejtlich's obvious tongue-in-cheek negativity
> (they are both security guys after all, and Colin is the FreeBSD
> security officer), are there other possible sites for updates?

Hello,

If you take a look at the text you're quoting, you'll notice that it's
output from installing freebsd-update.  I did not need to apply any
"obvious tongue-in-cheek negativity" in my article -- those are
Colin's words!  I have the utmost respect for Colin; he's been very
helpful in the community.

Also, when I wrote the original article (Dec 04), Colin was not the
security officer. That didn't happen until Aug 05, which is still
after the date on the current article (Apr 05).

For the latest info, you might like to read my article published in
the Feb 06 Sys Admin magazine on Keeping FreeBSD Up-to-Date.

To your questions -- I don't know of any sites beyond Colin's that
provide updates at this time.  If we see freebsd-update moved into the
base system, I expect to see freebsd.org mirrors carrying them.  It
would be nice to have updates for non-i386 platforms, too.

I defer to Colin for your other queries.

Sincerely,

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


Re: Can't mount existing data disk after upgrade (disklabel gone)

2006-01-20 Thread [EMAIL PROTECTED]
On 1/20/06, Joe S <[EMAIL PROTECTED]> wrote:
> First of all, I have learned something VERY important about FreeBSD.
> SAVE your DISKLABELS!
> When I try to mount /dev/ad4s1a to /data, I get this error:
>   coruscant# mount /dev/ad4s1a /mnt
>   mount: /dev/ad4s1a on /mnt: incorrect super block
>
> How can I properly re-create the disklabel? It seems this is what I need
> to do in order to get to my data. Any help would be greatly appreciated.

Silly question:  did you: newfs -U /dev/ad4s1a ?
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


understanding virtual memory

2006-01-20 Thread Michael P. Soulier
[EMAIL PROTECTED] ~]$ sysctl -a | grep Memory
Virtual Memory: (Total: 724K, Active 545156K)
Real Memory:(Total: 232508K Active 124272K)
Shared Virtual Memory:  (Total: 24684K Active: 11880K)
Shared Real Memory: (Total: 12124K Active: 6756K)
Free Memory Pages:  14852K

How can I have 724K of virtual memory with 545156K active? Am I reading this
wrong?

Mike

-- 
Michael P. Soulier <[EMAIL PROTECTED]>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein


pgpZ557Beg7A2.pgp
Description: PGP signature


Re: out of swap?

2006-01-20 Thread Kris Kennaway
On Fri, Jan 20, 2006 at 08:57:29PM -0500, Michael P. Soulier wrote:
> On 20/01/06 Kevin Kinsey said:
> 
> > I'd almost offer "definitely more likely", as the amount of swap
> > shown is less than 1/2 GB.  Michael, how much RAM on this box?
> 
> [EMAIL PROTECTED] ~]$ sysctl -a | grep Memory
> Virtual Memory: (Total: 720K, Active 537852K)
> Real Memory:(Total: 236228K Active 123640K)
> Shared Virtual Memory:  (Total: 24812K Active: 11880K)
> Shared Real Memory: (Total: 12136K Active: 6672K)
> Free Memory Pages:  11692K
> 
> Mem: 124M Active, 25M Inact, 75M Wired, 10M Cache, 34M Buf, 768K Free
> Swap: 471M Total, 67M Used, 403M Free, 14% Inuse
> 
> It's not a lot, but it's always been fine for me when running Linux as a
> headless server.
>
> > I once set up a box with 256M RAM and 512M swap, which was
> > all good && fine until I got a few extra $$ and decided to up the
> > RAM to 768M.  After that, it died most every evening with Xorg
> > running out of swapspace.
> > 
> > If you've more RAM than swap, it's very possible that any process,
> > but especially larger ones, could cause problems like this. 
> > Fortunately, it's not too difficult to add some swap --- provided
> > you've some unformatted disk space available.
> 
> I don't think that's the case. I did notice poorer performance while sshing
> into the box in the last few days. If the jdk does have a leak, that would
> explain it. 

While it's theoretically possible, try to assess the likelihood of
this being true: the jdk is used by many users, and they don't report
memory leaks.  On the other hand, your system manifestly has almost no
spare capacity to accomodate transient memory spikes.  When this
happens, you'll easily run your system out of swap.

The fact that your system is *already* using 14% of swap (under
presumably a "normal" workload) says that it is clearly overloaded:
the instant your system starts swapping in order to accomodate its
workload, performance will drop in the toilet.

Kris


pgpRbUMhORtjV.pgp
Description: PGP signature


Re: out of swap?

2006-01-20 Thread Michael P. Soulier
On 20/01/06 Kevin Kinsey said:

> I'd almost offer "definitely more likely", as the amount of swap
> shown is less than 1/2 GB.  Michael, how much RAM on this box?

[EMAIL PROTECTED] ~]$ sysctl -a | grep Memory
Virtual Memory: (Total: 720K, Active 537852K)
Real Memory:(Total: 236228K Active 123640K)
Shared Virtual Memory:  (Total: 24812K Active: 11880K)
Shared Real Memory: (Total: 12136K Active: 6672K)
Free Memory Pages:  11692K

Mem: 124M Active, 25M Inact, 75M Wired, 10M Cache, 34M Buf, 768K Free
Swap: 471M Total, 67M Used, 403M Free, 14% Inuse

It's not a lot, but it's always been fine for me when running Linux as a
headless server. 

> I once set up a box with 256M RAM and 512M swap, which was
> all good && fine until I got a few extra $$ and decided to up the
> RAM to 768M.  After that, it died most every evening with Xorg
> running out of swapspace.
> 
> If you've more RAM than swap, it's very possible that any process,
> but especially larger ones, could cause problems like this. 
> Fortunately, it's not too difficult to add some swap --- provided
> you've some unformatted disk space available.

I don't think that's the case. I did notice poorer performance while sshing
into the box in the last few days. If the jdk does have a leak, that would
explain it. 

I think I'll keep an eye on the size of the java process. 

[EMAIL PROTECTED] ~]$ top -b -d1 | grep java
 1988 www   200   219M 34264K kserel   1:31  0.00%  0.00% java

Mike

-- 
Michael P. Soulier <[EMAIL PROTECTED]>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein


pgptSutjNg0DX.pgp
Description: PGP signature


Re: PHP junk pointer error with imagick.so

2006-01-20 Thread Justin Meyer
Hi Uwe!

On Fri, 20 Jan 2006, Uwe Laverenz wrote:

> On Fri, Jan 20, 2006 at 11:11:22AM -0800, Justin Meyer wrote:
> 
> > Has anyone else encountered this issue? Does anyone have any
> > suggestions as to how I might resolve it?
> 
> I have similar problems with imagick and also with xslt. These two
> modules make php segfault e.g. when installing pear-ports. The problem
> seems to exist only on machines with ldap-setup (nss_ldap, pam_ldap). Do
> you run your machine with nss_ldap?

Oh hell no; I'm not into that kind of pain :) Just plain ol' /etc/passwd
here, thanks!

> Solutions? I have mailed the php-maintainer about the problem but got
> no response. I don't think it would help to additionally make a PR, so
> for me there are 2 possible ways to solve this:
> 
> 1) don't use imagick or xslt

Well, in truth I don't *need* this module, just thought it'd be useful,
but still, this bugs the shit out of me...

> 2) don't use FreeBSD for PHP-development

.. b-b-but I *like* FreeBSD! Nope, not gonna abandon this platform. If I
don't hear from anyone else anytime soon, I'll take this to -ports and
see what they say.

Thanks, Uwe; at least I know I'm not alone :)

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


Re: awk question

2006-01-20 Thread Alexandre Vieira
On 1/20/06, Don Hinton <[EMAIL PROTECTED]> wrote:
>
> Hi Alexandre:
>
> On Friday 20 January 2006 16:59, Alexandre Vieira wrote:
> > Hello folks,
> >
> > I'm making a script to generate some statistics for a batch job and I'm
> > stuck with awk.
> >
> > For example:
> >
> > %echo 1 2 3 4 5 6 | awk {'print $1 $2 $3 $4 $5 $6'}
> >
> > it will output:
> >
> > 1 2 3 4 5 6
> >
> > I want to tokenize a string with another separating char (the : char):
> >
> > %echo 1:2:3:4:5:6
> >
> > and with awk to output:
> >
> > 1 2 3 4 5 6
> >
> > Is there any way of doing this?
>
> Sure.  Here's a link to the online awk documentation section on field
> seperators...
>
>
> http://www.gnu.org/software/gawk/manual/html_node/Field-Separators.html#Field-Separators
>
> ciao...
> don
>
>
> >
> > Real example:
> >
> > I have a log file with the following output:
> > 2006-01-20 - 20:01:07 - Some text
> > 2006-01-20 - 20:01:15 - Some text
> > 2006-01-20 - 20:01:38 - Some text
> > (...)
> >
> > and since I'm generating hourly stats I need to match the "20" which is
> in
> > a string "20:01:07" that is separated by the char ":".
> >
> > I hope I've been clear.
> >
> > Thanks for your help.
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
>
> --
> Don Hinton   tel: 615.480.5667
> ISIS, Vanderbilt University  skype: donhinton
> http://people.vanderbilt.edu/~don.hinton/
>
>
>
Geez I can believe it was that easy. Thank you.

--
Alexandre Vieira - [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: awk question

2006-01-20 Thread Don Hinton
Hi Alexandre:

On Friday 20 January 2006 16:59, Alexandre Vieira wrote:
> Hello folks,
>
> I'm making a script to generate some statistics for a batch job and I'm
> stuck with awk.
>
> For example:
>
> %echo 1 2 3 4 5 6 | awk {'print $1 $2 $3 $4 $5 $6'}
>
> it will output:
>
> 1 2 3 4 5 6
>
> I want to tokenize a string with another separating char (the : char):
>
> %echo 1:2:3:4:5:6
>
> and with awk to output:
>
> 1 2 3 4 5 6
>
> Is there any way of doing this?

Sure.  Here's a link to the online awk documentation section on field 
seperators...

http://www.gnu.org/software/gawk/manual/html_node/Field-Separators.html#Field-Separators

ciao...
don


>
> Real example:
>
> I have a log file with the following output:
> 2006-01-20 - 20:01:07 - Some text
> 2006-01-20 - 20:01:15 - Some text
> 2006-01-20 - 20:01:38 - Some text
> (...)
>
> and since I'm generating hourly stats I need to match the "20" which is in
> a string "20:01:07" that is separated by the char ":".
>
> I hope I've been clear.
>
> Thanks for your help.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
Don Hinton   tel: 615.480.5667
ISIS, Vanderbilt University  skype: donhinton
http://people.vanderbilt.edu/~don.hinton/


pgpMuZXJJHZeq.pgp
Description: PGP signature


awk question

2006-01-20 Thread Alexandre Vieira
Hello folks,

I'm making a script to generate some statistics for a batch job and I'm
stuck with awk.

For example:

%echo 1 2 3 4 5 6 | awk {'print $1 $2 $3 $4 $5 $6'}

it will output:

1 2 3 4 5 6

I want to tokenize a string with another separating char (the : char):

%echo 1:2:3:4:5:6

and with awk to output:

1 2 3 4 5 6

Is there any way of doing this?

Real example:

I have a log file with the following output:
2006-01-20 - 20:01:07 - Some text
2006-01-20 - 20:01:15 - Some text
2006-01-20 - 20:01:38 - Some text
(...)

and since I'm generating hourly stats I need to match the "20" which is in a
string "20:01:07" that is separated by the char ":".

I hope I've been clear.

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


Re: !!***SPAM***!! AMD64 X2 Dual and RAM

2006-01-20 Thread Kris Kennaway
On Sat, Jan 21, 2006 at 12:32:55AM +0200, Vahric MUHTARYAN wrote:
>  
> Hi,
>  
> Will start to using AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
> (2188.80-MHz K8-class CPU) , I installed freebsd 6.0 and I can see that
> FreeBSD can see the cpu with correct name 
>  
> Jan 21 02:20:27 spma2 kernel: CPU: AMD Athlon(tm) 64 X2 Dual Core Processor
> 4400+ (2188.80-MHz K8-class CPU)
> Jan 21 02:20:27 spma2 kernel: Origin = "AuthenticAMD"  Id = 0x20f32
> Stepping = 2
> Jan 21 02:20:27 spma2 kernel:
> Features=0x178bfbff ,CMOV,PAT,PSE36,CLFLUSH,MM
> X,FXSR,SSE,SSE2,HTT>
> Jan 21 02:20:27 spma2 kernel: Features2=0x1
> Jan 21 02:20:27 spma2 kernel: AMD
> Features=0xe2500800,LM,3DNow+,3DNow>
> Jan 21 02:20:27 spma2 kernel: Hyperthreading: 2 logical CPUs
>  
> But when I checked top out I couldn't see C column .. also I added  "options
> SMP # Symmetric MultiProcessor Kernel" line to kernel
> conf and compile it still I couldn't see system work like two cpu ? 
>  
> I know FreeBSD habe amd64 compatible (including OpteronT, Athlon 64, and
> EM64T) , but this cpu call like "AMD AthlonT 64 X2 Dual-Core Processor  "
> not  " AMD AthlonT 64 Processor  " 
>  
> Any knowledge about this  ? 

This is a FAQ.  You probably need a BIOS update to allow FreeBSD to
see and use the second core.

> And system can't see more then 3gb ram ?

Sure it can.

Kris

pgprCdULipUmv.pgp
Description: PGP signature


!!***SPAM***!! AMD64 X2 Dual and RAM

2006-01-20 Thread Vahric MUHTARYAN
 
Hi,
 
Will start to using AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
(2188.80-MHz K8-class CPU) , I installed freebsd 6.0 and I can see that
FreeBSD can see the cpu with correct name 
 
Jan 21 02:20:27 spma2 kernel: CPU: AMD Athlon(tm) 64 X2 Dual Core Processor
4400+ (2188.80-MHz K8-class CPU)
Jan 21 02:20:27 spma2 kernel: Origin = "AuthenticAMD"  Id = 0x20f32
Stepping = 2
Jan 21 02:20:27 spma2 kernel:
Features=0x178bfbff
Jan 21 02:20:27 spma2 kernel: Features2=0x1
Jan 21 02:20:27 spma2 kernel: AMD
Features=0xe2500800,LM,3DNow+,3DNow>
Jan 21 02:20:27 spma2 kernel: Hyperthreading: 2 logical CPUs
 
But when I checked top out I couldn't see C column .. also I added  "options
SMP # Symmetric MultiProcessor Kernel" line to kernel
conf and compile it still I couldn't see system work like two cpu ? 
 
I know FreeBSD habe amd64 compatible (including OpteronT, Athlon 64, and
EM64T) , but this cpu call like "AMD AthlonT 64 X2 Dual-Core Processor  "
not  " AMD AthlonT 64 Processor  " 
 
Any knowledge about this  ? 
 
And system can't see more then 3gb ram ?
 
Thanks 
 
 
Vahric 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PHP junk pointer error with imagick.so

2006-01-20 Thread Uwe Laverenz
On Fri, Jan 20, 2006 at 11:11:22AM -0800, Justin Meyer wrote:

> Has anyone else encountered this issue? Does anyone have any
> suggestions as to how I might resolve it?

I have similar problems with imagick and also with xslt. These two
modules make php segfault e.g. when installing pear-ports. The problem
seems to exist only on machines with ldap-setup (nss_ldap, pam_ldap). Do
you run your machine with nss_ldap?

I know of two other users who reported similar problems, both with
nss_ldap.

Solutions? I have mailed the php-maintainer about the problem but got no
response. I don't think it would help to additionally make a PR, so for
me there are 2 possible ways to solve this:

1) don't use imagick or xslt
2) don't use FreeBSD for PHP-development

Uwe

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


Re: out of swap?

2006-01-20 Thread Kevin Kinsey

Kris Kennaway wrote:


On Fri, Jan 20, 2006 at 11:14:29AM -0500, Michael P. Soulier wrote:
 


Hey people,

I'm running 5.4, and I just found a ton of these in my daily security run.

kanga.digitaltorque.ca kernel log messages:
   


swap_pager_getswapspace(6): failed
swap_pager_getswapspace(5): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(4): failed
 


I'm running jdk 1.4.2 and tomcat 5.5.9, and I noticed that it was down
this morning. My swap is fine now.

[EMAIL PROTECTED] ~]$ swapinfo
Device  1K-blocks UsedAvail Capacity
/dev/ad0s1b48212066268   41585214%

So I'm assuming that there's a memory leak in jdk 1.4.2, and it slowly
used up all my memory.

Sound right?
   



Or you just don't have enough virtual memory (RAM + swap) to handle
your peak loads.  This is perhaps more likely.

Kris
 



I'd almost offer "definitely more likely", as the amount of swap
shown is less than 1/2 GB.  Michael, how much RAM on this box?

I once set up a box with 256M RAM and 512M swap, which was
all good && fine until I got a few extra $$ and decided to up the
RAM to 768M.  After that, it died most every evening with Xorg
running out of swapspace.

If you've more RAM than swap, it's very possible that any process,
but especially larger ones, could cause problems like this. 
Fortunately, it's not too difficult to add some swap --- provided

you've some unformatted disk space available.

Kevin Kinsey

--
You have a reputation for being thoroughly reliable and trustworthy.
A pity that it's totally undeserved.


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


Re: sshd question

2006-01-20 Thread Daniel Molina Wegener
   On Thu, Jan 19, 2006 at 05:41:41PM -0900,
   Beech Rintoul wrote:

> I'm trying to set up ssh to use keys to authenticate on   
> a remote server. I've always used passwords in the past.  
> I generated a key pair and exported my public key to  
> ~/.ssh/authorized_keys on the remote machine. I changed   
> sshd_config to "PasswordAuthentication no". when I login the  
> remote machine still asks for a password. What do I change to 
> just use the key to log in?   

  Well, that's right, but you must set also the next options:

ChallengeResponseAuthentication no
PermitEmptyPasswordsno
PasswordAuthentication  no
IgnoreRhostsyes
IgnoreUserKnownHostsyes
HostbasedAuthentication no
RhostsRSAAuthentication no
PubkeyAuthenticationyes
PermitRootLogin no
StrictModes yes

  This could be more secure. Never allow remote users to gain
root access. Instead, put a user in the wheel group to allow
this user to run su(1), also, you can setup a user with uid =
0, on another group to maintain the root user a little bit more
safe.

  Also, the logging options are should be these settings.

SyslogFacility  AUTH
LogLevelVERBOSE

> Thanks,

  Best regards...

Atte.
-- 
 . 0 . | Daniel Molina Wegener
 . . 0 | dmw at unete dot cl
 0 0 0 | FreeBSD Power User
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fwd: Re: 6.0-REL && ports/emulators/qemu = PANIC

2006-01-20 Thread Juergen Lock
On Fri, Jan 20, 2006 at 05:38:00PM +0100, [EMAIL PROTECTED] wrote:
> El d?a Monday, January 02, 2006 a las 10:57:35PM +0100, Juergen Lock escribi?:
> 
> > On Mon, Jan 02, 2006 at 12:05:40PM +0100, [EMAIL PROTECTED] wrote:
> > > 
> > > Hi Juergen,
> > > 
> > > I've installed 6.0-REL from the CD which brings the qemu/kqemu
> > > as PORTVERSION=0.7.0s.20050717 but loading the kernel module
> > > kqemu.so (without even using it) crashes the system;
> > > 
> > > to what PORTVERSION can I update, even to 0.8 with my 6.0-REL?
> > 
> > Not sure why you get a panic, but you can of course use the latest
> > port with 6.0-R.  Should you still get a panic with that then it
> > would be nice if you could enable crashdumps and post the backtrace
> > on -emulation and Cc me...
> 
> When I moved from 5.4-REL to 6.0-REL I took my 4 GByte disk file
> for qemu with me having a W2k in it; the W2k starts fine on 6.0-REL's
> qemu but some Windows apps are crashing, for example OutLook complains
> about a wrong MAPI32.DLL; I went back to the 5.4-REL box, there the
> OutLook runs fine; shutdown W2k, copied over the disk image to 6.0-REL
> again and OutLook crashes; this is with 0.7.0s.20050717 and with 0.8.0;
> 
> does W2k has somehow an information about the old host system and notes
> the shift?

Possibly, but I'm no windows expert.

 (Btw, please Cc me with followups that you want me to see, I'm not
subscribed on -questions...)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: cannot ping anything

2006-01-20 Thread fbsd_user
delete all your ipf rules and replace with single pass all rule


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


Re: Support for FreeBSD 4.10/4.9

2006-01-20 Thread Danial Thom


--- Kris Kennaway <[EMAIL PROTECTED]> wrote:

> On Mon, Dec 19, 2005 at 02:28:09PM -0800,
> Derrick Francis wrote:
> > Have a simple question.  If someone to
> request support for version 4.10 
> > or 4.9 how would they be supported?  Please
> let me know.  I need to 
> > verify this version of FreeBSD is still
> supported.  Thank you.
> 
> Generally speaking these old versions are not
> supported at all.  They
> might still be receiving security support (see
> http://www.freebsd.org/security/), but if you
> e.g. try to report a bug
> then you'll mostly get people telling you to
> upgrade to a supported
> version first (since after all there's a good
> chance the bug is
> already fixed).
> 
> At this point you really need to plan to
> upgrade to the 6.0 series,
> since that's where the future lies.

Sadly the "future" most likely lies in v9.0, so
hold on to 4.x for as long as you can. Hire a
programmer to fix or port stuff back. It will
save you in the long run.


DT

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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: FreeBSD vs Linux

2006-01-20 Thread Danial Thom


--- Ted Mittelstaedt <[EMAIL PROTECTED]>
wrote:

> 
> 
> >-Original Message-
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED]
> Behalf Of Danial Thom
> >Sent: Wednesday, January 18, 2006 8:54 AM
> >To: Dick Davies; freebsd-questions@freebsd.org
> >Subject: Re: FreeBSD vs Linux
> >
> >
> > 
> >> >  Microsoft pays hardware manufacturers to
> >> > make drivers for their OS,
> >> 
> >> I seriously doubt it. They don't need to
> with
> >> their market share.
> >
> >Ok, what do you guys live in a shoe or
> something?
> >For pete's sake, how can so many people be so
> >patently clueless and still be able to find
> food
> >and shelter? Do you really have no idea how
> >things work? Are you really so brainwashed by
> the
> >geeky liberals that you have lost your ability
> to
> >think?
> >
> >MS doesn't have to "pay" vendors, you toad.
> >Vendors write drivers for windows because the
> >market is substantial 
> 
> Actually, it's a lot worse than that, most
> times.
> 
> The vendors usually aren't the ones that write
> drivers,
> it is the chipset manufacturers that usually
> write a
> stock driver that they supply with the chipset,
> with the
> idea that the vendor is supposed to use this as
> an
> example of how the chipset it to be handled
> when they
> write their own driver.  All to often, though,
> the vendor
> merely repackages the chipset manufacturer's
> example
> driver.

More rambling, useless points from Ted. Whether
its written from scratch or not is irrelevant.
The point is that in order to produce a windows
driver you have to buy the dev kit, and MS
doesn't pay them to do it. 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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: cannot ping anything

2006-01-20 Thread Alvaro J . Gurdián
I tried both of those and got the same result, ping: sendto: No route 
to host.


I examined my dmesg output a little closer and noticed:
IP Filter: v3.4.35 initialized.  Default = block all, Logging = enabled

This means that my assumption of disabling IPF by removing all of the 
comments tertainin to it and IPNat from /etc/rc.conf were wrong because 
it it compiled statically.  This means that there is no way to turn it 
off, right?


So I reloaded my old /etc.rc.conf with the somments to turn on IPF and 
IPNat, and point to their rules files.


The previous computer this HD was installed on had two NICs sis0 and 
sis1.


sis0 was connected to the WAN, so I just changed sis0 in all the 
comments to dc0.  I made sure there was a statement that allowed ICMP 
statements thru.


I restarted, and things stayed the same, so I went back to 
/etc/ipf.rules and changed all instances of sis1 to dc0, also maing 
sure the ICMP statement was there.


I restarted again and, once again ,no progress.  Since the previous 
machine had two interfaces this is most likely the issue since nat is 
messing things up.


I have to get moving forward with this project so I am simply 
downloading the new 6.0 release.


This should solve the problem.

Thanks anyway

On Jan 20, 2006, at 2:43 PM, Derek Ragona wrote:

See if you can ping your own interface.  You should be able to ping it 
on both the loop back 127.0.0.1 and the 192.168.1.128 address.


If you can ping those and still not the router at 192.168.1.1 check 
for other defaultrouter statements.  If you have only one of these 
statements, I would bring down the interface and bring it up manually 
until you find the correct settings.  For instance you may need to set 
the line speed 1t 10 MBs, or 100 MBs or 1000 Mbs, or set the duplex 
setting.  Oh and check the LED's on your ethernet interface and router 
and hub/switches to be sure you didn't knock a cable loose.


-Derek


At 12:50 PM 1/20/2006, Alvaro J. Gurdián wrote:
thanks, but the defaultrouter line was already present in my 
/etc/rc.conf.


On Jan 20, 2006, at 1:32 PM, Derek Ragona wrote:


Check your /etc/rc.conf for this line:
defaultrouter="192.168.1.1"

add it and reboot if it is missing

-Derek


At 12:26 PM 1/20/2006, Alvaro J. Gurdián wrote:
Yesterday I placed an HD with Freebsd 5.3 release in a Dell 
Dimension L800CXE.  It booted properly. ( since it's running a 
generic kernel with only a name change)


However I could not ping anything inside or outside the LAN.
Ex:
ping google.com
ping: cannot resolve google.com: Hostname lookup failure

ping 192.168.1.1
ping: sendto: No route to host

I tried several addresses inside the LAN, 127.0.0.1, localhost, 
192.168.1.128, and all gave the same result.


I was previously using this HD in another machine to test IPF, with 
NAT also, and it worked peerfectly there.



So just to be safe I erased the contents of /etc/rc.conf, and then 
used sysinstall to bring up my NIC.  I  chose NO for IPv6, and YES 
for DHCP.


That seemed to work correctly, just to be sure I ran ifconfig:
dc0: flags=108843 MTU 1500
options=8
inet 192.168.1.128 netmask 0xff00 broadcast 
192.168.1.255

ether 00:80:ad:81:1a:9f
media: Ethernat autoselect (100baseTX)
status: active
plip0: flags=108810 mtu 1500
lo0: flags=8049 mtu 1500
inet 127.0.0.1 netmask 0xff00

Still, things are looking good; so, I go to another box, log into 
my router(192.168.1.1), and I can see the MAC address of the BSD 
box on my router.



However, I still get the same results when I ping as I did above.

Then I checked the routing tables:

netstat -r
Routing Tables

Internet:
Destination Gateway Flags   RefsUse 
Netif Expire

default 192.168.1.1 UGS 0   6
  dc0
localhost   localhost   UH
  1  37  lo0
192.168.1   link#1  UC  0
  0  dc0
192.168.1.1 00:0c:41:bd:49:7d   UHLW1   0   dc0
  695
192.168.1.128   localhost   UGHS0   0
  lo0

The output of netstat and ifconfig aboe are from today.  I began 
having this problem yesterday, and left the box on over night.
Yesterday's output was different in that the BSD box had a 
different IP address, 192.168.1.122.  That is fine I understand 
that the box is communicating with the router and negotiating 
leases when they expire.  However, why has the gateway to 
192.168.1.1 changed from link#1 to the MAC address of my router.  I 
am certain that if  I restart the computer that same gateway will 
revert to link#1.


The my questions are:
How do I get the system to see others in the network, and 
vice-versa?
What should the gateway for 192.168.1.1 be?(which also happens to 
be my routers address)



I am hoping it is something simple.  I could just as have easily 
reinstalled the system and started from scratch, but I wanted t

Re: cannot ping anything

2006-01-20 Thread Kevin Kinsey

Alvaro J. Gurdián wrote:

Yesterday I placed an HD with Freebsd 5.3 release in a Dell Dimension 
L800CXE.
It booted properly. ( since it's running a generic kernel with only a 
name change)


However I could not ping anything inside or outside the LAN.







I was previously using this HD in another machine to test IPF, with 
NAT also, and it worked peerfectly there.




I'd check to make sure nothing was left in the "old" IPF config that
would be screwing things up now that I'd moved the disk.

Just a though,

KDK

--
A woman can never be too rich or too thin.


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


Re: cannot ping anything

2006-01-20 Thread Greg Barniskis

Derek Ragona wrote:
See if you can ping your own interface.  You should be able to ping it 
on both the loop back 127.0.0.1 and the 192.168.1.128 address.


Well, he said he'd tried the loopback, but it's worth double 
checking of course. A finger fumble and a resulting false negative 
can lead to hours of useless troubleshooting. Fun for some, pain for 
most!


The OP wrote:
The output of netstat and ifconfig aboe are from today.  I began 
having this problem yesterday, and left the box on over night.
Yesterday's output was different in that the BSD box had a different 
IP address, 192.168.1.122.  That is fine I understand that the box 
is communicating with the router and negotiating leases when they 
expire.  However, why has the gateway to 192.168.1.1 changed from 
link#1 to the MAC address of my router.  I am certain that if  I 
restart the computer that same gateway will revert to link#1.


If I'm not mistaken (warning: lately I have been mistaken more than 
is usual ;) you're going to get the link#1 indicator prior to your 
box having had any reason to arp for the router, meaning "generally, 
that IP address should be somewhere in that direction". You'll see 
the MAC address after the box has tried and succeeded with an arp 
request, meaning "that IP address is precisely right there".


That the indicator changes to a MAC address is a sure sign of basic 
NIC functionality as well as cabling that transmits and receives OK, 
at least some of the time.


I was previously using this HD in another machine to test IPF, with NAT also, and it worked peerfectly there. 


The fact that you can use arp and DHCP but not ping smells like 
there is leftover ipf/nat configuration or related kernel/module 
issues that are preventing appropriate packet flow. Ensuring that 
such features are disabled is the only thing I can suggest short of 
reinstalling, which I am fairly confident would solve the problem.


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cannot ping anything

2006-01-20 Thread Derek Ragona
See if you can ping your own interface.  You should be able to ping it on 
both the loop back 127.0.0.1 and the 192.168.1.128 address.


If you can ping those and still not the router at 192.168.1.1 check for 
other defaultrouter statements.  If you have only one of these statements, 
I would bring down the interface and bring it up manually until you find 
the correct settings.  For instance you may need to set the line speed 1t 
10 MBs, or 100 MBs or 1000 Mbs, or set the duplex setting.  Oh and check 
the LED's on your ethernet interface and router and hub/switches to be sure 
you didn't knock a cable loose.


-Derek


At 12:50 PM 1/20/2006, Alvaro J. Gurdián wrote:

thanks, but the defaultrouter line was already present in my /etc/rc.conf.

On Jan 20, 2006, at 1:32 PM, Derek Ragona wrote:


Check your /etc/rc.conf for this line:
defaultrouter="192.168.1.1"

add it and reboot if it is missing

-Derek


At 12:26 PM 1/20/2006, Alvaro J. Gurdián wrote:
Yesterday I placed an HD with Freebsd 5.3 release in a Dell Dimension 
L800CXE.  It booted properly. ( since it's running a generic kernel with 
only a name change)


However I could not ping anything inside or outside the LAN.
Ex:
ping google.com
ping: cannot resolve google.com: Hostname lookup failure

ping 192.168.1.1
ping: sendto: No route to host

I tried several addresses inside the LAN, 127.0.0.1, localhost, 
192.168.1.128, and all gave the same result.


I was previously using this HD in another machine to test IPF, with NAT 
also, and it worked peerfectly there.



So just to be safe I erased the contents of /etc/rc.conf, and then used 
sysinstall to bring up my NIC.  I  chose NO for IPv6, and YES for DHCP.


That seemed to work correctly, just to be sure I ran ifconfig:
dc0: flags=108843 MTU 1500
options=8
inet 192.168.1.128 netmask 0xff00 broadcast 192.168.1.255
ether 00:80:ad:81:1a:9f
media: Ethernat autoselect (100baseTX)
status: active
plip0: flags=108810 mtu 1500
lo0: flags=8049 mtu 1500
inet 127.0.0.1 netmask 0xff00

Still, things are looking good; so, I go to another box, log into my 
router(192.168.1.1), and I can see the MAC address of the BSD box on my router.



However, I still get the same results when I ping as I did above.

Then I checked the routing tables:

netstat -r
Routing Tables

Internet:
Destination Gateway Flags   RefsUse Netif 
Expire

default 192.168.1.1 UGS 0   6
  dc0
localhost   localhost   UH
  1  37  lo0
192.168.1   link#1  UC  0
  0  dc0
192.168.1.1 00:0c:41:bd:49:7d   UHLW1   0   dc0
  695
192.168.1.128   localhost   UGHS0   0
  lo0

The output of netstat and ifconfig aboe are from today.  I began having 
this problem yesterday, and left the box on over night.
Yesterday's output was different in that the BSD box had a different IP 
address, 192.168.1.122.  That is fine I understand that the box is 
communicating with the router and negotiating leases when they 
expire.  However, why has the gateway to 192.168.1.1 changed from link#1 
to the MAC address of my router.  I am certain that if  I restart the 
computer that same gateway will revert to link#1.


The my questions are:
How do I get the system to see others in the network, and vice-versa?
What should the gateway for 192.168.1.1 be?(which also happens to be my 
routers address)



I am hoping it is something simple.  I could just as have easily 
reinstalled the system and started from scratch, but I wanted to know 
how to solve this problem.


Other info that might help:
less /etc/rc.conf
ifconfig_dco="DHCP"
hostname="fw.company.com"
defaultrouter="192.168.1.1"

less /etc/resolv.conf
search carolina.rr.com
nameserver 24.25.5.60
naemserver 24.25.5.61

less /etc/hosts
::1 localhost.company.com   localhost
127.0.0.1   localhost.company.com   localhost

Thanks in advance

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


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


Re: out of swap?

2006-01-20 Thread Kris Kennaway
On Fri, Jan 20, 2006 at 11:14:29AM -0500, Michael P. Soulier wrote:
> Hey people,
> 
> I'm running 5.4, and I just found a ton of these in my daily security run.
> 
> kanga.digitaltorque.ca kernel log messages:
> > swap_pager_getswapspace(6): failed
> > swap_pager_getswapspace(5): failed
> > swap_pager_getswapspace(3): failed
> > swap_pager_getswapspace(3): failed
> > swap_pager_getswapspace(3): failed
> > swap_pager_getswapspace(4): failed
> 
> I'm running jdk 1.4.2 and tomcat 5.5.9, and I noticed that it was down
> this morning. My swap is fine now.
> 
> [EMAIL PROTECTED] ~]$ swapinfo
> Device  1K-blocks UsedAvail Capacity
> /dev/ad0s1b48212066268   41585214%
> 
> So I'm assuming that there's a memory leak in jdk 1.4.2, and it slowly
> used up all my memory.
> 
> Sound right?

Or you just don't have enough virtual memory (RAM + swap) to handle
your peak loads.  This is perhaps more likely.

Kris


pgp9pgpcJh7Y2.pgp
Description: PGP signature


RE: Can't mount existing data disk after upgrade (disklabel gone)

2006-01-20 Thread Ruben Bloemgarten

Joe, 

If you did not touch ad4 the disklabel it should still have been there, but
I presume that you have destroyed it by now. Did you make any kind of backup
? such as a dump of the filesystem ? How did you try to mount ad4s1a ? ( I
am assuming you tried to mount the 'partition' and not the slice (ad4s1) or
the device (ad4)). Why are you changing the offset of ad4s1a from 16 to
2097215 ? Is there another partition on there somewhere or do you just not
want to use that part of your disk ? Also, you scan_ffs ad4 instead of ad4s1
which is what you should be interested in. The size differences are normal
because there's a difference between ad4 ad4s1 and ad4s1a. You want to write
the correct disklabel to ad4s1 and then mount ad4s1a. You're 'a' partition
extends past the size of the disk (c) because a(584002180)+offset(2097215)=
586099395 > c:( 586099332) (by 63)

If you can correctly replicate the exact disklabel you should be able to
access your data. Otherwise, chalk it up to experience.

I hope this helps.

Ruben 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joe S
Sent: January 20, 2006 6:18 PM
To: freebsd-questions@freebsd.org
Cc: Joe S
Subject: Can't mount existing data disk after upgrade (disklabel gone)

First of all, I have learned something VERY important about FreeBSD. 
SAVE your DISKLABELS!

I have 2 drives in my home file server. One 80GB drive (ad0) for the OS 
and one 300 GB drive for my data. A few days ago, I performed a clean 
install of FreeBSD 6.0 on the 1st drive (ad0). After the install I tried 
to mount ad4, but could not. I read somewhere that I was supposed to 
save my disklabels. DOH! I did not do this, nor have I ever read about 
this in the FreeBSD handbook.

After reading through the handbook and googling, I found a tool called 
scan_ffs that can help me recreate my disklabels by scanning my drive 
for partitions. Great!

Here is the output of scan_ffs on ad4:
  [EMAIL PROTECTED] scan_ffs -l  /dev/ad4
  X: 584002180 2097215 4.2BSD 2048 16384 0 # /data

Good. That is my /data partition. Its UFS2, created in FBSD 5.4.
Next, I tried editing the disklabel. It starts out like this:
  # /dev/ad4s1:
  8 partitions:
  #size   offsetfstype   [fsize bsize bps/cpg]

a: 586099316   16unused0 0
c: 5860993320unused0 0

I changed it to this:
  # /dev/ad4s1:
  8 partitions:
  #size   offsetfstype   [fsize bsize bps/cpg]
   a: 584002180 2097215 4.2BSD 2048 16384 0 # /data
   c: 5860993320unused0 0

But, I get this error:
  partition a: partition extends past end of unit
  re-edit the label? [y]:

Here is the output of bsdlabel. Notice the different sizes:
  [EMAIL PROTECTED] bsdlabel -r ad4
  # /dev/ad4:
  8 partitions:
  #size   offsetfstype   [fsize bsize bps/cpg]
a: 586114688   16unused0 0
c: 5861147040unused0 0
  [EMAIL PROTECTED] bsdlabel -r ad4s1
  # /dev/ad4s1:
  8 partitions:
  #size   offsetfstype   [fsize bsize bps/cpg]
a: 586099316   16unused0 0
c: 5860993320unused0 0
  [EMAIL PROTECTED]
  [EMAIL PROTECTED] bsdlabel -r ad4s1a
  # /dev/ad4s1a:
  8 partitions:
  #size   offsetfstype   [fsize bsize bps/cpg]
a: 586099300   16unused0 0
c: 5860993160unused0 0

When I try to mount /dev/ad4s1a to /data, I get this error:
  coruscant# mount /dev/ad4s1a /mnt
  mount: /dev/ad4s1a on /mnt: incorrect super block

How can I properly re-create the disklabel? It seems this is what I need 
to do in order to get to my data. Any help would be greatly appreciated.

-joe


PS> Here is my dmesg:

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
FreeBSD 6.0-SECURITY #0: Mon Dec 19 23:46:33 UTC 2005
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2394.01-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
 
Features=0xbfebfbff
   Features2=0x4400>
real memory  = 1072889856 (1023 MB)
avail memory = 1040945152 (992 MB)
ioapic0  irqs 0-23 on motherboard
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: Power Button (fixed)
pci_link0:  irq 11 on acpi0
pci_link1:  irq 3 on acpi0
pci_link2:  irq 10 on acpi0
pci_link3:  irq 5 on acpi0
pci_link4:  irq 0 on acpi0
pci_link5:  irq 0 on acpi0
pci_link6:  irq 9 on acpi0
pci_link7:  irq 9 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0:  on acpi0
acpi_throttle0:  on cpu0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  mem 0xf80

Re: NTP

2006-01-20 Thread Evgeny Solovyov

Try ntpdate -b foo.foo


Aguiar Magalhaes wrote:

Hi list,

When I type "ntpdate ntp.nasa.gov" (or another server)
the answer is "no server suitable for synchronization
found"...

What is wrong ?

Aguiar










___ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 


___
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: portmanager status?

2006-01-20 Thread Greg Barniskis

Micah wrote:


Check out http://portmanager.sunsite.dk/preface.html
"I have decided to remove portmanager from the FreeBSD ports tree 
because I do not get along with the people in charge of FreeBSD ports."


Sounds pretty permanent to me.

Use portupgrade.


The web site in question seems to have been updated to state that 
portmanager will remain in (return to?) the FreeBSD ports collection.



--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't mount existing data disk after upgrade (disklabel gone)

2006-01-20 Thread Joe S

Joe S wrote:
First of all, I have learned something VERY important about FreeBSD. 
SAVE your DISKLABELS!


I have 2 drives in my home file server. One 80GB drive (ad0) for the OS 
and one 300 GB drive for my data. A few days ago, I performed a clean 
install of FreeBSD 6.0 on the 1st drive (ad0). After the install I tried 
to mount ad4, but could not. I read somewhere that I was supposed to 
save my disklabels. DOH! I did not do this, nor have I ever read about 
this in the FreeBSD handbook.


After reading through the handbook and googling, I found a tool called 
scan_ffs that can help me recreate my disklabels by scanning my drive 
for partitions. Great!


Here is the output of scan_ffs on ad4:
 [EMAIL PROTECTED] scan_ffs -l  /dev/ad4
 X: 584002180 2097215 4.2BSD 2048 16384 0 # /data

Good. That is my /data partition. Its UFS2, created in FBSD 5.4.
Next, I tried editing the disklabel. It starts out like this:
 # /dev/ad4s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]

   a: 586099316   16unused0 0
   c: 5860993320unused0 0

I changed it to this:
 # /dev/ad4s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
  a: 584002180 2097215 4.2BSD 2048 16384 0 # /data
  c: 5860993320unused0 0

But, I get this error:
 partition a: partition extends past end of unit
 re-edit the label? [y]:

Here is the output of bsdlabel. Notice the different sizes:
 [EMAIL PROTECTED] bsdlabel -r ad4
 # /dev/ad4:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a: 586114688   16unused0 0
   c: 5861147040unused0 0
 [EMAIL PROTECTED] bsdlabel -r ad4s1
 # /dev/ad4s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a: 586099316   16unused0 0
   c: 5860993320unused0 0
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] bsdlabel -r ad4s1a
 # /dev/ad4s1a:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a: 586099300   16unused0 0
   c: 5860993160unused0 0

When I try to mount /dev/ad4s1a to /data, I get this error:
 coruscant# mount /dev/ad4s1a /mnt
 mount: /dev/ad4s1a on /mnt: incorrect super block

How can I properly re-create the disklabel? It seems this is what I need 
to do in order to get to my data. Any help would be greatly appreciated.


-joe


PS> Here is my dmesg:

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.0-SECURITY #0: Mon Dec 19 23:46:33 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2394.01-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9

Features=0xbfebfbff 


  Features2=0x4400>
real memory  = 1072889856 (1023 MB)
avail memory = 1040945152 (992 MB)
ioapic0  irqs 0-23 on motherboard
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: Power Button (fixed)
pci_link0:  irq 11 on acpi0
pci_link1:  irq 3 on acpi0
pci_link2:  irq 10 on acpi0
pci_link3:  irq 5 on acpi0
pci_link4:  irq 0 on acpi0
pci_link5:  irq 0 on acpi0
pci_link6:  irq 9 on acpi0
pci_link7:  irq 9 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0:  on acpi0
acpi_throttle0:  on cpu0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  mem 0xf800-0xfbff at 
device 0.0 on pci0

pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at device 0.0 (no driver attached)
uhci0:  port 0xcc00-0xcc1f 
irq 16 at device 29.0 on pci0

uhci0: [GIANT-LOCKED]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xd000-0xd01f 
irq 19 at device 29.1 on pci0

uhci1: [GIANT-LOCKED]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0xd400-0xd41f 
irq 18 at device 29.2 on pci0

uhci2: [GIANT-LOCKED]
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3:  port 0xd800-0xd81f 
irq 16 at device 29.3 on pci0

uhci3: [GIANT-LOCKED]
usb3:  on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0:  mem 0xfebffc00-0xfebf irq 
23 at device 29.7 on pci0

ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4:  on ehci0
usb4: USB revision 2.0
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.

Re: portmanager status?

2006-01-20 Thread cpghost
On Thu, Jan 19, 2006 at 08:44:09PM -0800, Micah wrote:
> Craig Deal wrote:
> >I just ran portmanager -s and it said that it has been removed from
> >the ports collection. The "MOVED" file said
> >"sysutils/portmanager||2006-01-19|Author withdrew permission to
> >distribute". Does this mean it will not be available any more, or is
> >this temporary?
> >
> >Does anyone have a recommendation for a replacement for a novice user.
> >Portmanager was very easy to use and I never had a problem with it.
> >
> >Thanks,
> >Craig
> 
> Check out http://portmanager.sunsite.dk/preface.html
> "I have decided to remove portmanager from the FreeBSD ports tree 
> because I do not get along with the people in charge of FreeBSD ports."
> 
> Sounds pretty permanent to me.
> 
> Use portupgrade.

Eww... :)

portupgrade with its ruby dependency? Actually portmanager was/is
a very good replacement for portupgrade, lightweight, C-based, and
its author was pretty helpful in the past providing quick fixes
and help on [EMAIL PROTECTED]

> HTH,
> Micah

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cannot ping anything

2006-01-20 Thread Alvaro J . Gurdián
thanks, but the defaultrouter line was already present in my 
/etc/rc.conf.


On Jan 20, 2006, at 1:32 PM, Derek Ragona wrote:


Check your /etc/rc.conf for this line:
defaultrouter="192.168.1.1"

add it and reboot if it is missing

-Derek


At 12:26 PM 1/20/2006, Alvaro J. Gurdián wrote:
Yesterday I placed an HD with Freebsd 5.3 release in a Dell Dimension 
L800CXE.  It booted properly. ( since it's running a generic kernel 
with only a name change)


However I could not ping anything inside or outside the LAN.
Ex:
ping google.com
ping: cannot resolve google.com: Hostname lookup failure

ping 192.168.1.1
ping: sendto: No route to host

I tried several addresses inside the LAN, 127.0.0.1, localhost, 
192.168.1.128, and all gave the same result.


I was previously using this HD in another machine to test IPF, with 
NAT also, and it worked peerfectly there.



So just to be safe I erased the contents of /etc/rc.conf, and then 
used sysinstall to bring up my NIC.  I  chose NO for IPv6, and YES 
for DHCP.


That seemed to work correctly, just to be sure I ran ifconfig:
dc0: flags=108843 MTU 1500
options=8
inet 192.168.1.128 netmask 0xff00 broadcast 192.168.1.255
ether 00:80:ad:81:1a:9f
media: Ethernat autoselect (100baseTX)
status: active
plip0: flags=108810 mtu 1500
lo0: flags=8049 mtu 1500
inet 127.0.0.1 netmask 0xff00

Still, things are looking good; so, I go to another box, log into my 
router(192.168.1.1), and I can see the MAC address of the BSD box on 
my router.



However, I still get the same results when I ping as I did above.

Then I checked the routing tables:

netstat -r
Routing Tables

Internet:
Destination Gateway Flags   RefsUse Netif 
  Expire
default 192.168.1.1 UGS 0   6 
  dc0
localhost   localhost   UH
  1  37  lo0
192.168.1   link#1  UC  0 
  0  dc0
192.168.1.1 00:0c:41:bd:49:7d   UHLW1   0   dc0   
  695
192.168.1.128   localhost   UGHS0   0 
  lo0


The output of netstat and ifconfig aboe are from today.  I began 
having this problem yesterday, and left the box on over night.  
Yesterday's output was different in that the BSD box had a different 
IP address, 192.168.1.122.  That is fine I understand that the box is 
communicating with the router and negotiating leases when they 
expire.  However, why has the gateway to 192.168.1.1 changed from 
link#1 to the MAC address of my router.  I am certain that if  I 
restart the computer that same gateway will revert to link#1.


The my questions are:
How do I get the system to see others in the network, and vice-versa?
What should the gateway for 192.168.1.1 be?(which also happens to be 
my routers address)



I am hoping it is something simple.  I could just as have easily 
reinstalled the system and started from scratch, but I wanted to know 
how to solve this problem.


Other info that might help:
less /etc/rc.conf
ifconfig_dco="DHCP"
hostname="fw.company.com"
defaultrouter="192.168.1.1"

less /etc/resolv.conf
search carolina.rr.com
nameserver 24.25.5.60
naemserver 24.25.5.61

less /etc/hosts
::1 localhost.company.com   localhost
127.0.0.1   localhost.company.com   localhost

Thanks in advance

___
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: Wake-on-LAN won't work if FreeBSD/Linux shuts down the system...?

2006-01-20 Thread David Kelly
On Fri, Jan 20, 2006 at 04:22:55PM +, Martin Tournoy wrote:
> I'm trying to get WoL working, and actually works quite well as long
> as windows shuts down the system.
> However, when FreeBSD or Linux shuts down my system, it won't work,
> and if I manually turn on the system and shut it down again (even
> before POST is done) WoL will work again(!?!?)
> 
> I've tried shutting down my system in every way I could think of, but
> it doesn't seem to matter...
> 
> I've been googling for hours on this and didn't get alot wiser, does
> anyone have any experience or solution for this?

You ask such a question without saying anything about what NIC you are
using?

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: cannot ping anything

2006-01-20 Thread Derek Ragona

Check your /etc/rc.conf for this line:
defaultrouter="192.168.1.1"

add it and reboot if it is missing

-Derek


At 12:26 PM 1/20/2006, Alvaro J. Gurdián wrote:
Yesterday I placed an HD with Freebsd 5.3 release in a Dell Dimension 
L800CXE.  It booted properly. ( since it's running a generic kernel with 
only a name change)


However I could not ping anything inside or outside the LAN.
Ex:
ping google.com
ping: cannot resolve google.com: Hostname lookup failure

ping 192.168.1.1
ping: sendto: No route to host

I tried several addresses inside the LAN, 127.0.0.1, localhost, 
192.168.1.128, and all gave the same result.


I was previously using this HD in another machine to test IPF, with NAT 
also, and it worked peerfectly there.



So just to be safe I erased the contents of /etc/rc.conf, and then used 
sysinstall to bring up my NIC.  I  chose NO for IPv6, and YES for DHCP.


That seemed to work correctly, just to be sure I ran ifconfig:
dc0: flags=108843 MTU 1500
options=8
inet 192.168.1.128 netmask 0xff00 broadcast 192.168.1.255
ether 00:80:ad:81:1a:9f
media: Ethernat autoselect (100baseTX)
status: active
plip0: flags=108810 mtu 1500
lo0: flags=8049 mtu 1500
inet 127.0.0.1 netmask 0xff00

Still, things are looking good; so, I go to another box, log into my 
router(192.168.1.1), and I can see the MAC address of the BSD box on my router.



However, I still get the same results when I ping as I did above.

Then I checked the routing tables:

netstat -r
Routing Tables

Internet:
Destination Gateway Flags   RefsUse Netif   Expire
default 192.168.1.1 UGS 0   6   dc0
localhost   localhost   UH  1 
 37  lo0
192.168.1   link#1  UC  0   0 
 dc0

192.168.1.1 00:0c:41:bd:49:7d   UHLW1   0   dc0 695
192.168.1.128   localhost   UGHS0   0   lo0

The output of netstat and ifconfig aboe are from today.  I began having 
this problem yesterday, and left the box on over night.  Yesterday's 
output was different in that the BSD box had a different IP address, 
192.168.1.122.  That is fine I understand that the box is communicating 
with the router and negotiating leases when they expire.  However, why has 
the gateway to 192.168.1.1 changed from link#1 to the MAC address of my 
router.  I am certain that if  I restart the computer that same gateway 
will revert to link#1.


The my questions are:
How do I get the system to see others in the network, and vice-versa?
What should the gateway for 192.168.1.1 be?(which also happens to be my 
routers address)



I am hoping it is something simple.  I could just as have easily 
reinstalled the system and started from scratch, but I wanted to know how 
to solve this problem.


Other info that might help:
less /etc/rc.conf
ifconfig_dco="DHCP"
hostname="fw.company.com"
defaultrouter="192.168.1.1"

less /etc/resolv.conf
search carolina.rr.com
nameserver 24.25.5.60
naemserver 24.25.5.61

less /etc/hosts
::1 localhost.company.com   localhost
127.0.0.1   localhost.company.com   localhost

Thanks in advance

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


cannot ping anything

2006-01-20 Thread Alvaro J . Gurdián
Yesterday I placed an HD with Freebsd 5.3 release in a Dell Dimension 
L800CXE.  It booted properly. ( since it's running a generic kernel 
with only a name change)


However I could not ping anything inside or outside the LAN.
Ex:
ping google.com
ping: cannot resolve google.com: Hostname lookup failure

ping 192.168.1.1
ping: sendto: No route to host

I tried several addresses inside the LAN, 127.0.0.1, localhost, 
192.168.1.128, and all gave the same result.


I was previously using this HD in another machine to test IPF, with NAT 
also, and it worked peerfectly there.



So just to be safe I erased the contents of /etc/rc.conf, and then used 
sysinstall to bring up my NIC.  I  chose NO for IPv6, and YES for DHCP.


That seemed to work correctly, just to be sure I ran ifconfig:
dc0: flags=108843 MTU 1500
options=8
inet 192.168.1.128 netmask 0xff00 broadcast 192.168.1.255
ether 00:80:ad:81:1a:9f
media: Ethernat autoselect (100baseTX)
status: active
plip0: flags=108810 mtu 1500
lo0: flags=8049 mtu 1500
inet 127.0.0.1 netmask 0xff00

Still, things are looking good; so, I go to another box, log into my 
router(192.168.1.1), and I can see the MAC address of the BSD box on my 
router.



However, I still get the same results when I ping as I did above.

Then I checked the routing tables:

netstat -r
Routing Tables

Internet:
Destination Gateway Flags   RefsUse Netif   Expire
default 192.168.1.1 UGS 0   6   dc0
localhost   localhost   UH  1   
37  lo0
192.168.1   link#1  UC  0   0   
dc0
192.168.1.1 00:0c:41:bd:49:7d   UHLW1   0   dc0 695
192.168.1.128   localhost   UGHS0   0   lo0

The output of netstat and ifconfig aboe are from today.  I began having 
this problem yesterday, and left the box on over night.  Yesterday's 
output was different in that the BSD box had a different IP address, 
192.168.1.122.  That is fine I understand that the box is communicating 
with the router and negotiating leases when they expire.  However, why 
has the gateway to 192.168.1.1 changed from link#1 to the MAC address 
of my router.  I am certain that if  I restart the computer that same 
gateway will revert to link#1.


The my questions are:
How do I get the system to see others in the network, and vice-versa?
What should the gateway for 192.168.1.1 be?(which also happens to be my 
routers address)



I am hoping it is something simple.  I could just as have easily 
reinstalled the system and started from scratch, but I wanted to know 
how to solve this problem.


Other info that might help:
less /etc/rc.conf
ifconfig_dco="DHCP"
hostname="fw.company.com"
defaultrouter="192.168.1.1"

less /etc/resolv.conf
search carolina.rr.com
nameserver 24.25.5.60
naemserver 24.25.5.61

less /etc/hosts
::1 localhost.company.com   localhost
127.0.0.1   localhost.company.com   localhost

Thanks in advance

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


PHP junk pointer error with imagick.so

2006-01-20 Thread Justin Meyer
Hi All,

I recently noticed running a phpinfo() page that the page would not
completely render. When I looked in /var/log/httpd-errors.log, I found
the following error every time I hit that page:

[Fri Jan 20 10:53:08 2006] [notice] child pid 88217 exit signal Abort
trap (6)
httpd in free(): error: junk pointer, too high to make sense

After successively commenting and uncommenting each extension I have for
php, I finally found the culprit extension to be imagick.so. I found the
commit message for ImageMagick 6.2.5.5 at
http://www.freshports.org/graphics/ImageMagick/ suggesting that there
were segfaults with earlier versions, and so on a hunch I did a
portupgrade -rf ImageMagick.

No dice; I still can't load the imagick.so extension to php without
running into these junk pointer errors.

FYI, here's the (I think) relevant ports I have installed:

apache+mod_ssl-1.3.34+2.8.25_2 ImageMagick-6.2.5.5 php4-4.4.2
php4-extensions-1.0 pecl-imagick-0.9.11_3

Has anyone else encountered this issue? Does anyone have any suggestions
as to how I might resolve it?

Thanks!

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


Re: Post install help

2006-01-20 Thread Mark Kane
Vayu wrote:
> I just did my first install, so far so good.  I've got KDE running.  I
> know how to play around with xorg.conf and got my screen resolution
> matching my monitor.  My network is working to the router.  Now I would
> like to get my graphics and sound cards working.

Hi, and welcome to FreeBSD :)

> Where can I find out about getting an nVidia driver installed (I have a
> 6600GT)?

For this, install the nvidia-driver from ports and then read the
instructions displayed at the end of the install to know how to load it.
Then, I personally just followed these instructions and loaded it into
my X config manually:

http://download.nvidia.com/freebsd/1.0-8178/README/chapter-03-section-02.html

> Where can I find out about getting my sound card working (sound blaster
> Audigy 2)?  Right now I get no sounds anywhere in KDE.

I use an Audigy 2 Platinum and it works great. You can either load a
kernel module for the sound driver or compile it into your kernel. Here
are the instructions on how to do either:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html

The sound driver for your card is the snd_emu10k1 so that first example
for loading it as a module and then adding it into loader.conf should
work for you.

Also, since you're running KDE, you'll need to take a couple steps
there. I have not used KDE in a while, but I remember having some
problems getting sound to work when I initially started using FreeBSD as
a desktop. The problem was I didn't realize that KDE took over the sound
 with it's "aRtsd". So once you have sound working in FreeBSD and if it
still doesn't work while in KDE, then look throughout the KDE options
for a KDE mixer and make sure all the levels are up (on the "Input" tab
too if they still have that).

> How can trace my permission errors when I try to access my CD player in
> KDE?  (All I know about so far is to add myself to the wheel group to
> get su)

For this problem, try setting the permissions on your CD drive. Check
out "man devfs.conf" or this online man page for more info:

http://www.freebsd.org/cgi/man.cgi?query=devfs.conf&apropos=0&sektion=5&manpath=FreeBSD+6.0-RELEASE+and+Ports&format=html

> Is there a good source of HowTos anywhere?

The handbook answers quite a few questions about setting things up and
is a great tool. Also searching the mailing list archives and/or Google
usually turns up quite a bit.

-Mark

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


-- 
GnuPG Public Key:
http://www.mkproductions.org/mk_pubkey.asc

Internet Radio:
Party107 (Trance/Electronic) - http://www.party107.com
Rock 101.9 The Edge (Rock) - http://www.rock1019.net

IRC:
MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941)



signature.asc
Description: OpenPGP digital signature


Can't mount existing data disk after upgrade (disklabel gone)

2006-01-20 Thread Joe S
First of all, I have learned something VERY important about FreeBSD. 
SAVE your DISKLABELS!


I have 2 drives in my home file server. One 80GB drive (ad0) for the OS 
and one 300 GB drive for my data. A few days ago, I performed a clean 
install of FreeBSD 6.0 on the 1st drive (ad0). After the install I tried 
to mount ad4, but could not. I read somewhere that I was supposed to 
save my disklabels. DOH! I did not do this, nor have I ever read about 
this in the FreeBSD handbook.


After reading through the handbook and googling, I found a tool called 
scan_ffs that can help me recreate my disklabels by scanning my drive 
for partitions. Great!


Here is the output of scan_ffs on ad4:
 [EMAIL PROTECTED] scan_ffs -l  /dev/ad4
 X: 584002180 2097215 4.2BSD 2048 16384 0 # /data

Good. That is my /data partition. Its UFS2, created in FBSD 5.4.
Next, I tried editing the disklabel. It starts out like this:
 # /dev/ad4s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]

   a: 586099316   16unused0 0
   c: 5860993320unused0 0

I changed it to this:
 # /dev/ad4s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
  a: 584002180 2097215 4.2BSD 2048 16384 0 # /data
  c: 5860993320unused0 0

But, I get this error:
 partition a: partition extends past end of unit
 re-edit the label? [y]:

Here is the output of bsdlabel. Notice the different sizes:
 [EMAIL PROTECTED] bsdlabel -r ad4
 # /dev/ad4:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a: 586114688   16unused0 0
   c: 5861147040unused0 0
 [EMAIL PROTECTED] bsdlabel -r ad4s1
 # /dev/ad4s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a: 586099316   16unused0 0
   c: 5860993320unused0 0
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] bsdlabel -r ad4s1a
 # /dev/ad4s1a:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a: 586099300   16unused0 0
   c: 5860993160unused0 0

When I try to mount /dev/ad4s1a to /data, I get this error:
 coruscant# mount /dev/ad4s1a /mnt
 mount: /dev/ad4s1a on /mnt: incorrect super block

How can I properly re-create the disklabel? It seems this is what I need 
to do in order to get to my data. Any help would be greatly appreciated.


-joe


PS> Here is my dmesg:

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.0-SECURITY #0: Mon Dec 19 23:46:33 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2394.01-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9

Features=0xbfebfbff
  Features2=0x4400>
real memory  = 1072889856 (1023 MB)
avail memory = 1040945152 (992 MB)
ioapic0  irqs 0-23 on motherboard
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: Power Button (fixed)
pci_link0:  irq 11 on acpi0
pci_link1:  irq 3 on acpi0
pci_link2:  irq 10 on acpi0
pci_link3:  irq 5 on acpi0
pci_link4:  irq 0 on acpi0
pci_link5:  irq 0 on acpi0
pci_link6:  irq 9 on acpi0
pci_link7:  irq 9 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0:  on acpi0
acpi_throttle0:  on cpu0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  mem 0xf800-0xfbff at 
device 0.0 on pci0

pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at device 0.0 (no driver attached)
uhci0:  port 0xcc00-0xcc1f 
irq 16 at device 29.0 on pci0

uhci0: [GIANT-LOCKED]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xd000-0xd01f 
irq 19 at device 29.1 on pci0

uhci1: [GIANT-LOCKED]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0xd400-0xd41f 
irq 18 at device 29.2 on pci0

uhci2: [GIANT-LOCKED]
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3:  port 0xd800-0xd81f 
irq 16 at device 29.3 on pci0

uhci3: [GIANT-LOCKED]
usb3:  on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0:  mem 0xfebffc00-0xfebf irq 
23 at device 29.7 on pci0

ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4:  on ehci0
usb4: USB revision 2.0
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4:

"The Complete FreeBSD": errata and addenda

2006-01-20 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

"The Complete FreeBSD" has been through a total of five editions, including its
predecessor "Installing and Running FreeBSD".  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Have you found a problem with the book, or maybe something confusing?  Please
let me know: I'm constantly updating it.

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


How to get best results from FreeBSD-questions

2006-01-20 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the "newcomers"), and also those who answer the
questions (the "hackers").

   Note that the term "hacker" has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is "cracker", but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for "[EMAIL PROTECTED]").  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send "how to" questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  Fr

Re: Fwd: Re: 6.0-REL && ports/emulators/qemu = PANIC

2006-01-20 Thread guru
El día Monday, January 02, 2006 a las 10:57:35PM +0100, Juergen Lock escribió:

> On Mon, Jan 02, 2006 at 12:05:40PM +0100, [EMAIL PROTECTED] wrote:
> > 
> > Hi Juergen,
> > 
> > I've installed 6.0-REL from the CD which brings the qemu/kqemu
> > as PORTVERSION=0.7.0s.20050717 but loading the kernel module
> > kqemu.so (without even using it) crashes the system;
> > 
> > to what PORTVERSION can I update, even to 0.8 with my 6.0-REL?
> 
> Not sure why you get a panic, but you can of course use the latest
> port with 6.0-R.  Should you still get a panic with that then it
> would be nice if you could enable crashdumps and post the backtrace
> on -emulation and Cc me...

When I moved from 5.4-REL to 6.0-REL I took my 4 GByte disk file
for qemu with me having a W2k in it; the W2k starts fine on 6.0-REL's
qemu but some Windows apps are crashing, for example OutLook complains
about a wrong MAPI32.DLL; I went back to the 5.4-REL box, there the
OutLook runs fine; shutdown W2k, copied over the disk image to 6.0-REL
again and OutLook crashes; this is with 0.7.0s.20050717 and with 0.8.0;

does W2k has somehow an information about the old host system and notes
the shift?

matthias
-- 
Matthias Apitz / Sisis Informationssysteme GmbH
ein Tochterunternehmen der OCLC PICA B.V. Leiden (NL)
D-82041 Oberhaching, Gruenwalder Weg 28g
Fon: +49 89 / 61308-351, Fax: -399, Mobile +49 170 4527211
http://www.sisis.de/~guru/

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


Wake-on-LAN won't work if FreeBSD/Linux shuts down the system...?

2006-01-20 Thread Martin Tournoy
I'm trying to get WoL working, and actually works quite well as long
as windows shuts down the system.
However, when FreeBSD or Linux shuts down my system, it won't work,
and if I manually turn on the system and shut it down again (even
before POST is done) WoL will work again(!?!?)

I've tried shutting down my system in every way I could think of, but
it doesn't seem to matter...

I've been googling for hours on this and didn't get alot wiser, does
anyone have any experience or solution for this?

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


out of swap?

2006-01-20 Thread Michael P. Soulier
Hey people,

I'm running 5.4, and I just found a ton of these in my daily security run.

kanga.digitaltorque.ca kernel log messages:
> swap_pager_getswapspace(6): failed
> swap_pager_getswapspace(5): failed
> swap_pager_getswapspace(3): failed
> swap_pager_getswapspace(3): failed
> swap_pager_getswapspace(3): failed
> swap_pager_getswapspace(4): failed

I'm running jdk 1.4.2 and tomcat 5.5.9, and I noticed that it was down
this morning. My swap is fine now.

[EMAIL PROTECTED] ~]$ swapinfo
Device  1K-blocks UsedAvail Capacity
/dev/ad0s1b48212066268   41585214%

So I'm assuming that there's a memory leak in jdk 1.4.2, and it slowly
used up all my memory.

Sound right?

Mike
--
Michael P. Soulier <[EMAIL PROTECTED]>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Re: vidcontrol does not give mode more 800x600

2006-01-20 Thread Андрей
> Though they may be listed, modes higher than 800x600
> don't appear to function.

so when run on vmware all modes there is in list and all function

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


Re: FreeBSD vs Linux

2006-01-20 Thread Andrew L. Gould
On Fri, 20 Jan 2006 01:19:38 -0800
"Ted Mittelstaedt" <[EMAIL PROTECTED]> wrote:

> 
> What do you say to the people who want to do some research before
> putting the time into installing it?
> 
> Ted


http://www.freebsd.org/
http://www.freebsddiary.org/topics.php
http://www.onlamp.com/bsd/
http://www.freebsdforums.org/forums/index.php?
http://www.ixsystems.com/cgi-bin/store/bsdlive.html
http://www.google.com/search?hl=en&q=freebsd&btnG=Google+Search

and don't forget:

"Have Fun!"

Andrew Gould

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


(no subject)

2006-01-20 Thread dima
how dial-up from server on home pc and start using internet (both computers - 
freebsd_6.0)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sshd question

2006-01-20 Thread Beech Rintoul
On Thursday 19 January 2006 22:57, Matthew Seaman wrote:
> Peter wrote:
> > --- Beech Rintoul <[EMAIL PROTECTED]> wrote:
> >> I'm trying to set up ssh to use keys to authenticate on a remote server.
> >> I've
> >> always used passwords in the past. I generated a key pair and exported
> >> my
> >> public key to ~/.ssh/authorized_keys on the remote machine. I changed
> >> sshd_config to "PasswordAuthentication no". when I login the remote
> >> machine
> >> still asks for a password. What do I change to just use the key to log
> >> in?
> >
> > I'm assuming you do not want to enter anything to log in right?  If so,
> > you need a private key with a blank passphrase.  It's hard to say from
> > here but it may be that you are being prompted for the passphrase to
> > unlock your private key.
>
> No, no, no.  ssh keys with out pass-phrases are a liability.  It really is
> a bad idea to do that.
>
> What the OP should do instead is use ssh-agent -- I fire it up from
> .xsession when I log into my desktop.  Then load your key into the agent:
>
> ssh-add ~/.ssh/id_dsa
>
> which will require you to give the pass phrase.  However, that's the one
> and only time you'll need to do that.
>
> Then when you ssh into a box, it should auth against your key
> automatically.  If you take care to always use the '-A' flag when you ssh
> in:
>
> ssh -A hostname
>
> then you can bounce through several machines, and the auth requests will be
> relayed back to the ssh-agent on your desktop.[*]
>
>   Cheers,
>
>   Matthew
>
> [*] Agent forwarding is off by default in /etc/ssh/ssh_config (client side)
> but permitted in /etc/ssh/sshd_config (server side) -- but the -A flag
> overrides the client settings.

Thanks, my original problem was solved by just starting over with a new key 
pair. Must of had a bad key. I ran debug on the server and it said it 
couldn't read it even though it was there. I'll try the agent today. It'll 
require adding a pass-phrase to the key, but that's no problem now that I 
know all the configs are good. I really don't mind the final default to a 
password. I just hate to type it all the time. I'm using a long very cryptic 
pass and it gets tedious to have to enter it several times.

Thanks everyone for the help and suggestions,

Beech

-- 

---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://akparadise.byethost33.com
---













pgpjMJTsS1q7z.pgp
Description: PGP signature


Resolving Perl 'make test' Errors?

2006-01-20 Thread David Marshall
We're running perl 5.8.7_2 (from ports), with a mix of modules
installed via ports and CPAN, all on a 6.0-STABLE machine.

Someone tried to install WWW::Mechanize from CPAN, and when it tried
to do a 'make test', there was an error.  If I build the module in
ports and go into the work directory and run 'make test' manually, I
get the same test error.

I usually prefer to install Perl modules through ports when possible,
so that portupgrade can take care of them for me.  However, one of the
shortcomings of the (at least default) way in which ports installs
Perl modules is that ports does not run 'make test'.

Is there a clever way to have the ports system run 'make test' before
installing a Perl module?  Most of the /usr/ports/*/p5-*/Makefile
files do not have 'test' defined as a target.

Does anyone have any advice for how to go about ironing out this
problem?  My first inclination is to remake each of my p5-* ports and
run 'make test' on them manually and then have CPAN reinstall
everything that we have installed via CPAN.

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


Re: Important ....

2006-01-20 Thread Amr Basyouny
Hello Kristian .

You can check a simple of our works here .

www.kingtutresorthrg.com
www.khalikonline.com
www.monseflabib.com
www.tadawl.name.qa
www.bsss-eg.org

And also translate the whole web site into arabic language

Your site already contain multi-languages the site design contain all the
languages ... as i said before.

PLUS ( Time Limit Offer ) :

Free 24 Hours / Day Arabic Live Support .. for 2 monthes ...

And we are responsable for translate any quistion or answer to support in a
Ticket or E-mail From / To any user for a year 

24 hours / day live Arabic Phone Support For live time .
All this and upload in *two weeks* from order plus 3 monthes updating or
adding data for free .

and for the security of your data and web site you can send me the files to
work on and send it back for you to upload from your own PC .

*( secure your password and data )*

Also there is an advertising plan in the bigest arabic web site , radio , tv
... if you wanna ( OWN COST not coverd by the previos offer )

if you like this work re-contact me to start working on the site .
  the payment method will be by one of these methods :

1 - Western-union cash transfer . 30 % of the decieded amount in advance and
70 % after upload .
2 - Bank transfer to my account No. 50 % of the decieded amount in advance
and 50 % after upload .

Please send me your site details that will work on and if there is any
speacial orders and also the budget that you expect for the web site work to
decied the amount of funds .

 If you are really interested please send me a verfication to park
your place in the Time Limit Offer  .

you will gain too much from this offer .. the deferance between me and any
other designer is :

1 - Marge between Fast and Quality .
2 - Translate the whole web site into arabic language .
3 - Low prices and easy to pay Accourding to your budget .
4 - The time limit offer Gives you :

Free 24 Hours / Day Arabic Live Support .. for 2 monthes ...

And we are responsable for translate any quistion or answer to support in a
Ticket or E-mail From / To any user for a year 

24 hours / day live Arabic Phone Support For live time .
And More ...

there is an advertising plan in the bigest arabic web Site , Radio and Tv
With a great discounts ... if you wanna ( OWN COST not coverd by the previos
offer )
I hope you like my offer and it's a great chance to know you .

Regards .
Amr Basyouny
Egypt
+20121747071
[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: Haven't been hacked, just prone to man-in-the-middle attacks (WAS: I have been hacked)

2006-01-20 Thread Vince Hoffman



On Thu, 19 Jan 2006, Kilian Hagemann wrote:


Hi guys,

Just to find closure on this thread, I'd like to admit that I jumped to
conclusions too early and would like to share what had actually happened,
after many hours wasted playing the detective :-(  (glad I didn't
format/reinstall though)

When I "used" my FreeBSD gateway as an smtp server to convince myself I had
been hacked, the smtp connection was somehow redirected to one of my
institution's mail servers (or at least that's what gmail's mail headers are
saying). Funny enough the same trick no longer works today, but then they're
currently upgrading lots of stuff around here so that's a different story.

Then when I used ftp to connect to my gateway and it came up with "frox
transparent proxy", someone had actually intercepted my connection and
forged/spoofed a reply. I know that because I went to the premises of my box,
unplugged everything and tried that trick again, successfully, from a
separate dial-up connection. Hey, nmap even told me my box had ports open
even though it wasn't even up!

I've never seen anything like this before, but I've notified my ISP. Remains
to be seen if they do anything about it...

Good to know you werent hacked, I have seen this before for at least one 
dialup ISP, redirecting all smtp traffic via their smtp server(s) 
presumably to stop spammers. (Confused me back at the time to see an exim 
banner on what should be a sendmail server.) Havent heard about other 
services having this kind of "transparent proxy" imposed but it doesnt 
supprise me.



Vince

Anyway, long story short I'm glad I'm still secure and thanks to everyone who
helped me out and gave me advice.

--
Kilian Hagemann
___
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 vs Linux

2006-01-20 Thread Graham Bentley

> What do you say to the people who want to do some research before
> putting the time into installing it?
> 
> Ted

http://www.freesbie.org/

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


RE: FreeBSD vs Linux

2006-01-20 Thread Adam Nealis
--- Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:

> 
> What do you say to the people who want to do some research before
> putting the time into installing it?

I would suggest going to http://www.freebsd.org/docs.html and reading the
FAQ (especially section 1) and the handbook for a start. This should give
you an idea of the approach and the level of technical awareness you
will need.

The community and support sections should help you get a feel for how the
OS is actually received.

> 
> Ted
> 
> >-Original Message-
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED] Behalf Of Graham Bentley
> >Sent: Thursday, January 19, 2006 3:28 AM
> >To: freebsd-questions@freebsd.org
> >Subject: Re: FreeBSD vs Linux
> >
> >
> >Damn, I just fell into the same old trap. This is a questions 
> >list about FreeBSD. I already use it (as well as other OS's)
> >What do I care about the arguments for and against xy and z? 
> >
> >Thinking about it now, if I was asking the same question and 
> >someone said  "Why not try out FreeBSD and make your 
> >own mind up!" I may think they where being a tad dismissive 
> >however there can never be any substitue for hands on 
> >experience !!
> >
> >To that guy (wherever he is now) :-
> >
> >Download FreeBSD and get it installed, its great! 
> >
> >Come back and ask if you have any problems or 
> >questions and we will do our best to help :))
> >
> >Happy FreeBSD'ing !!!
> >___
> >freebsd-questions@freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to 
> >"[EMAIL PROTECTED]"
> >
> >-- 
> >No virus found in this incoming message.
> >Checked by AVG Free Edition.
> >Version: 7.1.375 / Virus Database: 267.14.19/231 - Release 
> >Date: 1/16/2006
> >
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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: sshd question

2006-01-20 Thread Adam Nealis
--- Matthew Seaman <[EMAIL PROTECTED]> wrote:

> Peter wrote:
> > --- Beech Rintoul <[EMAIL PROTECTED]> wrote:
> > 
> >> I'm trying to set up ssh to use keys to authenticate on a remote server.
> >> I've 
> >> always used passwords in the past. I generated a key pair and exported
> >> my 
> >> public key to ~/.ssh/authorized_keys on the remote machine. I changed 
> >> sshd_config to "PasswordAuthentication no". when I login the remote
> >> machine 
> >> still asks for a password. What do I change to just use the key to log
> >> in? 
> > 
> > I'm assuming you do not want to enter anything to log in right?  If so,
> > you need a private key with a blank passphrase.  It's hard to say from
> > here but it may be that you are being prompted for the passphrase to
> > unlock your private key.
> 
> No, no, no.  ssh keys with out pass-phrases are a liability.  It really is a
> bad idea to do that.

Not necessarily. They are still much better than ~/.rhosts, and having 
scripts containing ftp passwords. So long as you lock your screen or log
out, you're not at much more risk than without null password keys. And they
make administering several hundred hosts much easier.

Having said that, I'd never allow any host to connect as root without a
password using ssh (or over the network at all for that matter if it can
be avoided).

Adam.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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: FreeBSD vs Linux

2006-01-20 Thread Ted Mittelstaedt

What do you say to the people who want to do some research before
putting the time into installing it?

Ted

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Graham Bentley
>Sent: Thursday, January 19, 2006 3:28 AM
>To: freebsd-questions@freebsd.org
>Subject: Re: FreeBSD vs Linux
>
>
>Damn, I just fell into the same old trap. This is a questions 
>list about FreeBSD. I already use it (as well as other OS's)
>What do I care about the arguments for and against xy and z? 
>
>Thinking about it now, if I was asking the same question and 
>someone said  "Why not try out FreeBSD and make your 
>own mind up!" I may think they where being a tad dismissive 
>however there can never be any substitue for hands on 
>experience !!
>
>To that guy (wherever he is now) :-
>
>Download FreeBSD and get it installed, its great! 
>
>Come back and ask if you have any problems or 
>questions and we will do our best to help :))
>
>Happy FreeBSD'ing !!!
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to 
>"[EMAIL PROTECTED]"
>
>-- 
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.375 / Virus Database: 267.14.19/231 - Release 
>Date: 1/16/2006
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portmanager status?

2006-01-20 Thread Kris Kennaway
On Thu, Jan 19, 2006 at 08:44:09PM -0800, Micah wrote:
> Craig Deal wrote:
> >I just ran portmanager -s and it said that it has been removed from
> >the ports collection. The "MOVED" file said
> >"sysutils/portmanager||2006-01-19|Author withdrew permission to
> >distribute". Does this mean it will not be available any more, or is
> >this temporary?
> >
> >Does anyone have a recommendation for a replacement for a novice user.
> >Portmanager was very easy to use and I never had a problem with it.
> >
> >Thanks,
> >Craig
> 
> Check out http://portmanager.sunsite.dk/preface.html
> "I have decided to remove portmanager from the FreeBSD ports tree 
> because I do not get along with the people in charge of FreeBSD ports."
> 
> Sounds pretty permanent to me.

Someone else might take over development..assuming it was under an
open source license, there's nothing the author can do to stop them.

Kris


pgplCcaLFzGCp.pgp
Description: PGP signature


Re: Autoconf Issues

2006-01-20 Thread Kris Kennaway
On Thu, Jan 19, 2006 at 09:49:50PM -0600, Cody Holland wrote:
> Running FreeBSD 5.4-STABLE and trying to install Apache 2.0.x and
> getting:
> 
> autoconf: not found
> buildconf: autoconf not found.
>You need autoconf version 2.13 or newer installed
>to build Apache from CVS.
> ./buildconf failed for apr
> *** Error code 1
> 
> I have autoconf-2.13.000227_5 installed and automake-1.4.6_2.  I've
> removed and reinstalled autoconf several times and also tried
> autoconf-259.  I've installed Apache many times and have never ran into
> an issue like this.  Any ideas?

You are using the apache 2.0 port, right?

Kris


pgpn2nOYxSBsC.pgp
Description: PGP signature