Re: is there a way to upgrade Only ports that need it??

2009-04-14 Thread Gary Kline
On Mon, Apr 13, 2009 at 09:22:25AM +0200, Roland Smith wrote:
 On Sun, Apr 12, 2009 at 10:54:29PM -0700, Gary Kline wrote:
  is there any way t o not upgrade all installed ports, but only
  those that are not current?  
 
 portmaster -a -B -d
  
  tired of having my main box grinding away for endless days
 
 :-)
 


well, gents, i think that Roland (and a couple others) have it
figured out.  how-to upgrade the necessary and
keep-it-simple-sir.

i spent, nay, wasted 8+ hours early this ayem locatime because my
pfsense firewall was broken.  long long story, which has inspired
yet another question that i'll post separately if/when i have the
bloody energy.

yours in exhaustion,

gary

ps: thanks, y'all:)



 Roland
 -- 
 R.F.Smith   http://www.xs4all.nl/~rsmith/
 [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
 pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.41a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


xset quirk....

2009-04-14 Thread Gary Kline
in just the past day or three i've noticed that  when i turn the
repeating key off by

% xset r off

instantly, all my Konsoles spawn endless numbers of newlines.
if this gets out to the list, anybody got a clue?

[i was responding toa message when i hit too many chars at once,
^Z's to th e consoleand typed the above command.  i'll try to
 rebuild xset now if i can find it!

 tx,

 gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.41a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NX dumps core on 7.1-RELEASE

2009-04-14 Thread Kouichiro Iwao
I try to ask freebsd-x11 list.
thanks.

-- 
Iwao, Koichiro m...@club.kytuech.ac.jp
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Sudden /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by errors

2009-04-14 Thread Ruben de Groot
On Fri, Apr 10, 2009 at 08:40:51PM -0300, Agus typed:
 Hi guys,
 
 Yesterday i suddenly start receiving this errors... first i noticed it
 cause i couldnt login and bash threw it.. then su...
 
 /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by 
 -su
 
 Then i remove bash and change to tcsh and was ok... but then again,
 this one when using sendmail..
 
 /libexec/ld-elf.so.1: Shared object libsasl2.so.2 not found,
 required by send-mail
 
 
 I didnt update anything... and it was all running fine for months...
 what can it be? the files i have are..
 
 -rwxr-xr-x  1 root  wheel92K Mar 11 15:26 libsasl2.so.2
 lrwxr-xr-x  1 root  wheel13B Mar 11 15:26 libsasl2.so - libsasl2.so.2
 
 -r--r--r--  1 root  wheel39K Aug 23  2008 libintl.so.8
 lrwxr-xr-x  1 root  wheel12B Aug 23  2008 libintl.so - libintl.so.8

What is the output of ldconfig -r ?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: csup vs freebsd-update

2009-04-14 Thread Andrei Brezan
Adam Vande More wrote:
 Andrei Brezan wrote:
 Hi all,

 I have a strange problem with csup and freebsd-update. I'm using
 7.0-RELEASE-p11. If i do:

 # freebsd-update fetch
 Looking up update.FreeBSD.org mirrors... 2 mirrors found.
 Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org...
 done.
 Fetching metadata index... done.
 Inspecting system... done.
 Preparing to download files... done.

 No updates needed to update system to 7.0-RELEASE-p11.

 All seems ok, i'm up to date.

 But if i do:
 # csup -L 2 ./standard-supfile
 Parsing supfile ./standard-supfile
 Connecting to cvsup.hu.FreeBSD.org
 Connected to 193.6.222.7
 Server software version: SNAP_16_1h
 Negotiating file attribute support
 Exchanging collection information
 Establishing multiplexed-mode data connection
 Running
 Updating collection src-all/cvs
  Checkout src/contrib/lukemftpd/src/ftpd.c
  Checkout src/contrib/telnet/telnetd/sys_term.c
  Checkout src/libexec/ftpd/extern.h
  Checkout src/libexec/ftpd/ftpcmd.y
  Checkout src/libexec/ftpd/ftpd.c
  Checkout src/sys/amd64/amd64/exception.S
  Checkout src/sys/conf/newvers.sh
  Checkout src/sys/dev/random/randomdev.c
  Checkout src/sys/dev/random/randomdev_soft.c
  Checkout src/sys/kern/kern_environment.c
  Checkout src/sys/kern/kern_time.c
  Checkout src/sys/kern/uipc_domain.c
  Checkout src/sys/kern/vfs_mount.c
  Checkout src/sys/netinet/tcp.h
  Checkout src/sys/netinet/tcp_output.c
  Checkout src/sys/netinet6/icmp6.c
  Checkout src/sys/netinet6/in6.h
  Checkout src/sys/netinet6/in6_proto.c
  Checkout src/sys/netinet6/nd6.h
  Checkout src/sys/netinet6/nd6_nbr.c
 Shutting down connection to server
 Finished successfully

 ./standard supfile is:
 *default host=cvsup.hu.FreeBSD.org
 *default base=/var/db
 *default prefix=/usr

 *default release=cvs tag=RELENG_7_0
 *default delete use-rel-suffix

 *default compress

 src-all


 If i do again a freebsd-update i get:
 # freebsd-update fetch install
 Looking up update.FreeBSD.org mirrors... 2 mirrors found.
 Fetching metadata signature for 7.0-RELEASE from update1.FreeBSD.org...
 done.
 Fetching metadata index... done.
 Inspecting system... done.
 Preparing to download files... done.

 The following files will be updated as part of updating to
 7.0-RELEASE-p11:
 /usr/src/contrib/lukemftpd/src/ftpd.c
 /usr/src/contrib/telnet/telnetd/sys_term.c
 /usr/src/libexec/ftpd/extern.h
 /usr/src/libexec/ftpd/ftpcmd.y
 /usr/src/libexec/ftpd/ftpd.c
 /usr/src/sys/amd64/amd64/exception.S
 /usr/src/sys/conf/newvers.sh
 /usr/src/sys/dev/random/randomdev.c
 /usr/src/sys/dev/random/randomdev_soft.c
 /usr/src/sys/kern/kern_environment.c
 /usr/src/sys/kern/kern_time.c
 /usr/src/sys/kern/uipc_domain.c
 /usr/src/sys/kern/vfs_mount.c
 /usr/src/sys/netinet/tcp.h
 /usr/src/sys/netinet/tcp_output.c
 /usr/src/sys/netinet6/icmp6.c
 /usr/src/sys/netinet6/in6.h
 /usr/src/sys/netinet6/in6_proto.c
 /usr/src/sys/netinet6/nd6.h
 /usr/src/sys/netinet6/nd6_nbr.c
 Installing updates... done.


 I know freebs-update is getting the correct files for release 7.0, but i
 don't understand where i go wrong with csup. If anyone can point the
 obvious that i can't see here please do.

 Thank you,
   
 I'm not entirely clear what you're trying to do, but freebsd-update is a
 binary upgrade utility and cvsup is source based.  perhaps csup is
 borking w/ how freebsd-update is verifying the files to update. 
 however, you should use one or the other not both.  I only use csup when
 doing a major upgrade eg 7.0 - 7.1 and doing a buildworld. 
 freebsd-update keeps me up to date on latest patchset.
 

I'm not doing this on a regular basis, i'm using freebsd-update for
updates and csup for version changes also. But i thought that csup with
tag=RELENG_7_0 should keep me up to date with sources too.

-- 
Andrei Brezan
310280 Arad - Romania
mobile +40 740 089 315
email andrei [at] bsoft-company.ro
www http://www.bsoft-company.ro/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to diagnose hardware problem?

2009-04-14 Thread Graham Bentley

The first two utils I run if I suspect hardware issues
both independant of resident os ;
http://www.memtest.org/
http://www.hitachigst.com/hdd/technolo/dft/dft.htm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: CUPS

2009-04-14 Thread Dave Feustel
On Tue, Apr 14, 2009 at 07:22:01AM +0200, Peter Ulrich Kruppa wrote:
 Am Dienstag, den 14.04.2009, 04:14 + schrieb Dave Feustel:
  On Mon, Apr 13, 2009 at 10:01:32PM -0400, Bob Falanga wrote:
 
  I also am having problems printing on Suse 11 with CUPS from Maple
  version 12 (Maple, using its own copy of JRT 1.6 finds no printer
  services).  There is a new (2008) book on CUPS administration which I will
  shortly be ordering from amazon.com since CUPS appears to be the wave of
  the future.
 Is your printer attached to a SUSE or a FreeBSD machine?
 Where do you run Maple - on SUSE or FreeBSD?
 
 Greetings
 
 Uli.

My printer is attached to Suse, and I run Maple on Suse. I don't think
that Suse comes in a FreeBSD version unless RPMs work with FreeBSD.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


kern.maxfiles limit exceeded... what to do?

2009-04-14 Thread VeeJay
Hi there

I am keep getting this error on the screen. I have tried to solve this
problem by myself but still no luck. Could anyone guide what to do to
increase the limit and avoid this error?

kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
Apr 14 11:08:08 server2 postfix/pickup[25022] : fatal : kqueue : Too many
files open in the system
Apr 14 11:08:08 server2 postfix/pickup[25023] : fatal : kqueue : Too many
files open in the system
kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
kern.maxfiles limit exceeded by uid 1003, please see tuning(7)

Then I am unable to login on the server by consol or ssh. what to do?
-- 
Thanks!

BR / vj
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: CUPS

2009-04-14 Thread Peter Ulrich Kruppa
Am Dienstag, den 14.04.2009, 13:29 +0200 schrieb Dave Feustel:
 On Tue, Apr 14, 2009 at 07:22:01AM +0200, Peter Ulrich Kruppa wrote:
  Am Dienstag, den 14.04.2009, 04:14 + schrieb Dave Feustel:
   On Mon, Apr 13, 2009 at 10:01:32PM -0400, Bob Falanga wrote:
  
   I also am having problems printing on Suse 11 with CUPS from Maple
   version 12 (Maple, using its own copy of JRT 1.6 finds no printer
   services).  There is a new (2008) book on CUPS administration which I will
   shortly be ordering from amazon.com since CUPS appears to be the wave of
   the future.
  Is your printer attached to a SUSE or a FreeBSD machine?
  Where do you run Maple - on SUSE or FreeBSD?
  
  Greetings
  
  Uli.
 
 My printer is attached to Suse, and I run Maple on Suse. I don't think
 that Suse comes in a FreeBSD version unless RPMs work with FreeBSD.
In this case you should ask people on a SUSE forum or SUSE mailing list,
shouldn't you?

Greetings,

Uli.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: add to mailing list

2009-04-14 Thread Neal Hogan
On Mon, Apr 13, 2009 at 11:06 PM, Rajeev Sharma rajb3...@gmail.com wrote:
 Kindly add me in FreeBSD mailing list

I will, only if you consider the following link ;)

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


 rajb3...@gmail.com
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




-- 
www.nealhogan.net  www.lambdaserver.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: CUPS

2009-04-14 Thread Dave Feustel
On Tue, Apr 14, 2009 at 01:34:49PM +0200, Peter Ulrich Kruppa wrote:
 Am Dienstag, den 14.04.2009, 13:29 +0200 schrieb Dave Feustel:
  On Tue, Apr 14, 2009 at 07:22:01AM +0200, Peter Ulrich Kruppa wrote:
   Am Dienstag, den 14.04.2009, 04:14 + schrieb Dave Feustel:
On Mon, Apr 13, 2009 at 10:01:32PM -0400, Bob Falanga wrote:
   
I also am having problems printing on Suse 11 with CUPS from Maple
version 12 (Maple, using its own copy of JRT 1.6 finds no printer
services).  There is a new (2008) book on CUPS administration which I 
will
shortly be ordering from amazon.com since CUPS appears to be the wave of
the future.
   Is your printer attached to a SUSE or a FreeBSD machine?
   Where do you run Maple - on SUSE or FreeBSD?
   
   Greetings
   
   Uli.
  
  My printer is attached to Suse, and I run Maple on Suse. I don't think
  that Suse comes in a FreeBSD version unless RPMs work with FreeBSD.
 In this case you should ask people on a SUSE forum or SUSE mailing list,
 shouldn't you?
 
 Greetings,
 
 Uli.

Actually, I was not asking for help on my CUPS problem; I was advising
the OP of the existence of a CUPS administrative reference book that he
might find helpful in solving his problem. I should have made that more
obvious.

I use to run FreeBS but had to give it up to free up a computer to run
Suse Linux. When I can afford to buy another computer, FreeBSD is what I
will run on it. I like BSD operating systems. :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


GCHK price up more than 20%, Obama's stimulus package creates massive growth

2009-04-14 Thread Stock Price Up Alert
 Dear Subscribers,
 
 If you missed out on my last 1,000% gain, no worries, I may have another one 
coming RIGHT NOW!
 
 I have been writing to the investment community for the last ten years, during 
this time I have brought your attention to hundreds of companies and trades, 
most of them gave early investors a chance to profit at least 100% or more. I 
am a serious student of the market and have been looking at hundreds of 
companies the last few months, in hopes of bringing you the very best 
opportunities for you to make huge trading profits on my next few picks.  Out 
of the hundreds of companies I reviewed, I am excited to tell you I have found 
4 that I think will fit the bill. Only four, which is good because summer is 
coming, and I want to bring them all to you before.  If I am right on these, it 
should give early investors a lot of extra cash for their family vacations!
 If you missed out on AXVC which almost gave early investors a quick 500% gain, 
then get ready for your moment of redemption because missing my next pick might 
make your knees buckle!
 
 
 Timing is Everything 
 
 GCHK is too cheap to pass up!
 
 I believe, and so do others, that Greenchek Technology Inc GCHK could be at 
least 10 times undervalued right now and think readers should be picking this 
one up while it?s under $2.00 per share.  ( Analyst Victor Sula, Ph. D. picked  
GCHK to go to $3.42 in his report back in Sept.)
 GCHK is a green company that developed a product that, if used everywhere, 
could significantly reduce Carbon emissions globally. This Company will bring 
back memories of huge gains that were made in recent years by making socially 
responsible investments in green companies that have unique products to offer 
the world. 
 Time and Time again the Government has created Sector rallies in specific 
industries and we think GCHK could be next.  When Governments and Investors are 
in synch the results can be staggering profits and all signs indicate that 
protecting the environment could become the next huge SECTOR bull market.  
 One day, Environmental technologies will be commonplace, like other 
technologies that we now take for granted, so it stands to reason that it will 
follow a similar development pattern as other technologies, like computers.
 The field of computer science didn't even exist until the Department of 
Defense began pumping money into the unknown market of microchips. In fact, 
billionaire Larry Ellison's fortune and tech powerhouse Oracle all began with 
just a small contract from the Central Intelligence Agency. It's a deal that 
made Ellison and those folks who followed the government's lead, very rich. 
When Oracle started trading in 1986, it was a virtually unknown penny stock.
 Over the course of a few years Oracle's business boomed, thanks to the 
government, and it handed some early investors once in a lifetime gains of 
over 8,000%! Ellison ended up the No. 14 spot on Forbes' list of the wealthiest 
people in the world.
 
 In closing, I believe this company could rocket up the charts and give 
investors a reason to cheer again. GCHK will be the first of my four picks over 
the next few months and I hope my readers will take advantage of the trading 
profit potential of these next picks! 
 I do not own shares in this company and will wait for this report to go out to 
you before I buy any! I plan to buy some in the open market, and hopefully will 
sell at much higher prices!
 Enjoy and trade to win! 
 
 You can go to www.hotstockpic.com for a full report and video on GCHK
 
 
 
 
 IMPORTANT CYA: This is an ad. We were paid to send this out. We only take on 
deals we feel have upside and that are willing to pay us. We never tell people 
to sell. The info in this piece is based on what the Company told us. What we 
believe MAY happen in the future may not come to pass this is a risky business. 
We don't hold any licenses and this has not been approved by anyone. Don't buy 
this or any stock unless you can pay the band and handle a complete loss. We 
were paid fifty thousand dollars by a third party shareholder for sending out 
this ad. We will not buy this stock in the market until this report is finished 
going out. Do your homework and check out any deal before putting your hard 
earned cash in it and talk to your own experts. Basically if you decide to buy 
in it?s your decision and you are on your own. Please be careful and bet with 
your head not over it. 
 
 
 For any complaints about this ad please call us at 405-378-5424.
 
 
 or
 
 
 Call the company?s toll-free number 1-(866)-590-6589 for shareholder 
information.  
 
 
 But first... GET YOUR free report at:  
 
 
 http://anapiel.com/c/zlu4F7nzO1zDPKjnkpVs3g.html?11
 To remove yourself from this list, 
click here 

Re: Can I resume the perl upgrade?

2009-04-14 Thread Ruben de Groot
On Sun, Apr 12, 2009 at 12:05:50PM -0700, David Southwell typed:
 On Saturday 11 April 2009 17:20:56 Chris Rees wrote:
   I hope it is not too far off topic but:
  
   Can anyone tell me how to fix this one:
  
   Stale dependency: bsdpan-Pod-Perldoc-3.15 - perl-5.8.9_2 (lang/perl5.8):
   can't convert nil into string
  
  
   My update to 10 seems to be OK except for this..
  
   I cannot find its origin so do not know what to deinstall and reinstall
  
   It would also be great to get all bsdpan into the pkgdb with their
   origins.. is there any way to do that?
  
   Thanks in advance
  
   David
 
  Perhaps you should start a new thread.
 
  Chris
 
 Tried that last week to no avail
 So asmy question was vaguely on topic I had hoped someone might be able to 
 contribute something useful!!

If you can send a reply-all to the list, you certainly can send a new question,
can't you? Hijacking threads *is* considered rude/ignorant/dumb by some.

That said, Pod::Perldoc seems to be part of perl-5.8.[8-9] on my systems, so 
unless 
you're doing some nonstandard things with this package, I suggest you just 
pkg_delete 
the bsdpan package and get on with it.

Ruben

 No such luck!!
 Thank you for your contribution
 most helpful
 David
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: kern.maxfiles limit exceeded... what to do?

2009-04-14 Thread Wojciech Puchar

increase kern.maxfiles :)

in sysctl.conf

On Tue, 14 Apr 2009, VeeJay wrote:


Hi there

I am keep getting this error on the screen. I have tried to solve this
problem by myself but still no luck. Could anyone guide what to do to
increase the limit and avoid this error?

kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
Apr 14 11:08:08 server2 postfix/pickup[25022] : fatal : kqueue : Too many
files open in the system
Apr 14 11:08:08 server2 postfix/pickup[25023] : fatal : kqueue : Too many
files open in the system
kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
kern.maxfiles limit exceeded by uid 1003, please see tuning(7)

Then I am unable to login on the server by consol or ssh. what to do?
--
Thanks!

BR / vj


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: kern.maxfiles limit exceeded by uid 1003? what to do?

2009-04-14 Thread Frederique Rijsdijk
VeeJay wrote:
 Hi there
 
 I am keep getting this error on the screen. I have tried to solve this
 problem by myself but still no luck. Could anyone guide what to do to
 increase the limit and avoid this error?
 
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 Apr 14 11:08:08 server2 postfix/pickup[25022] : fatal : kqueue : Too many
 files open in the system
 Apr 14 11:08:08 server2 postfix/pickup[25023] : fatal : kqueue : Too many
 files open in the system
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 
 When this happens, I am unable to login on the server by consol or ssh. what
 to do? And I have to restart the server manually by on/off switch...


If it's not a very busy machine, something must be wrong with postfix to
cause this error.

If it is a busy machine, you can increase the kern.maxfiles.

sysctl kern.maxfiles=number

You can set it in /etc/sysctl.conf to set it at boot time.



-- Frederique


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: HOWTO Apache + SSL

2009-04-14 Thread Odhiambo Washington
On Mon, Apr 13, 2009 at 3:53 PM, Pieter Donche pieter.don...@ua.ac.bewrote:

 Where can I find a really good FreeBSD7 step by step HOW-TO on setting up
 digital certifcates (SSL) for the Apache22. My apache22 is running on my
 freebsd7 system but I never set up any
 apache httpd server for https access yet ...


cd /usr/ports/www/apache22
make config
make install clean

Then you can grab http://www.openssl.org/contrib/ssl.ca-0.1.tar.gz and use
it to make certificates. The certificates will be specified in
/usr/local/etc/apache22/extra/httpd-ssl.conf under SSLCertificateFile,
SSLCertificateKeyFile and SSLCACertificatePath.
Once done, you just have to uncomment the relevant line under Supplemental
Configuration section of httpd.conf
More like it. The rest you have to read about Apache.

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Clothes make the man.  Naked people have little or no influence on
society.
  -- Mark Twain
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: kern.maxfiles limit exceeded by uid 1003? what to do?

2009-04-14 Thread till plewe
On Tue, Apr 14, 2009 at 9:11 PM, VeeJay maan...@gmail.com wrote:
 Hi there

 I am keep getting this error on the screen. I have tried to solve this
 problem by myself but still no luck. Could anyone guide what to do to
 increase the limit and avoid this error?


sysctl -a | grep kern.maxfiles

and then

sysctl kern.maxfiles=123456789 (or some other BIG number)



 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 Apr 14 11:08:08 server2 postfix/pickup[25022] : fatal : kqueue : Too many
 files open in the system
 Apr 14 11:08:08 server2 postfix/pickup[25023] : fatal : kqueue : Too many
 files open in the system
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)

 When this happens, I am unable to login on the server by consol or ssh. what
 to do? And I have to restart the server manually by on/off switch...
 --
 Thanks!

 BR / vj
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: kern.maxfiles limit exceeded by uid 1003? what to do?

2009-04-14 Thread Peter
Hello,

Check your HHD. Last time I hit this on a not busy machine it was the
RAID card. Do you use RAID on it ?

Peter

Frederique Rijsdijk wrote:
sysctl kern.maxfiles=number
 
 You can set it in /etc/sysctl.conf to set it at boot time.
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I resume the perl upgrade?

2009-04-14 Thread David Southwell
On Tuesday 14 April 2009 05:20:35 Ruben de Groot wrote:
 On Sun, Apr 12, 2009 at 12:05:50PM -0700, David Southwell typed:
  On Saturday 11 April 2009 17:20:56 Chris Rees wrote:
I hope it is not too far off topic but:
   
Can anyone tell me how to fix this one:
   
Stale dependency: bsdpan-Pod-Perldoc-3.15 - perl-5.8.9_2
(lang/perl5.8): can't convert nil into string
   
   
My update to 10 seems to be OK except for this..
   
I cannot find its origin so do not know what to deinstall and
reinstall
   
It would also be great to get all bsdpan into the pkgdb with their
origins.. is there any way to do that?
   
Thanks in advance
   
David
  
   Perhaps you should start a new thread.
  
   Chris
 
  Tried that last week to no avail
  So asmy question was vaguely on topic I had hoped someone might be able
  to contribute something useful!!

 If you can send a reply-all to the list, you certainly can send a new
 question, can't you? Hijacking threads *is* considered rude/ignorant/dumb
 by some.

 That said, Pod::Perldoc seems to be part of perl-5.8.[8-9] on my systems,
 so unless you're doing some nonstandard things with this package, I suggest
 you just pkg_delete the bsdpan package and get on with it.

Hi Ruben

Sorry to get cross with you but it has been clear from your responses that you 
have not actually troubled to read the detail of what I posted. The origibnal 
posting refrred to the issue as being one that came as a result of doing 
something similar to the OP for the thread. There was a second part (relating 
to getting the info on bsdpan into the DB.

a. If you had read carefully you would have found that I have already tried:
posting another thread
b. I had already tried pkg_delete without success.
c. I had tried package_deinstall again without success.
d. I am totally puzzled why bsdpan-Pod_Perldoc should be showing a dependency 
on perl-5.8-9 when I have upgraded to 10. 

I will be very happy to get on with it when I know how to achieve that 
nirvana.

In the meantime those who get try to get picky without reading a thread 
carefully do tend to offeset the work of so many people who are friendly and 
helpful

Thanks in advance for positive contributions

david


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: kern.maxfiles limit exceeded by uid 1003? what to do?

2009-04-14 Thread Pieter de Goeje
On Tuesday 14 April 2009 14:11:02 VeeJay wrote:
 Hi there
 
 I am keep getting this error on the screen. I have tried to solve this
 problem by myself but still no luck. Could anyone guide what to do to
 increase the limit and avoid this error?
 
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 Apr 14 11:08:08 server2 postfix/pickup[25022] : fatal : kqueue : Too many
 files open in the system
 Apr 14 11:08:08 server2 postfix/pickup[25023] : fatal : kqueue : Too many
 files open in the system
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 
 When this happens, I am unable to login on the server by consol or ssh. what
 to do? And I have to restart the server manually by on/off switch...

Check kern.openfiles sysctl to see if it is close to kern.maxfiles. Tune 
kern.maxfiles and kern.maxfilesperproc (use bigger numbers).

kern.maxfiles: Maximum number of files
kern.maxfilesperproc: Maximum files allowed open per process
kern.openfiles: System-wide number of open files

HTH,
Pieter de Goeje
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


iwi-firmware-kmod port

2009-04-14 Thread caleb
hi,

I have just installed FreeBSD on one of my laptops. It has a wireless
adapter (intel 2200) so I need to get it working. I went into the ports
and tried to install

/usr/ports/net/iwi-firmware-kmod

but got an error;

=== iwi-firmware-kmod-3.0_3 is already included in the base system.
*** Error code 1

Does this mean the kernel module is install? or the firmware installed?

thanks

caleb


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Problem: PPOE and a Static IP.

2009-04-14 Thread Paul Halliday
I am following the instructions on this page:

http://www.freebsd.org/doc/en/books/handbook/pppoe.html

I had initially thought it was a problem with the modem so I had a
technician come in to take a look; when hooked up to his windows
laptop:

1) He had to assign the  interface the static address
2) no uname/pass were required.

What needs to change in my ppp.conf to accommodate a static address?

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: iwi-firmware-kmod port

2009-04-14 Thread Bruce Cran
On Wed, 15 Apr 2009 00:33:13 +1000
caleb s0x...@netspace.net.au wrote:

 hi,
 
 I have just installed FreeBSD on one of my laptops. It has a wireless
 adapter (intel 2200) so I need to get it working. I went into the
 ports and tried to install
 
 /usr/ports/net/iwi-firmware-kmod
 
 but got an error;
 
 === iwi-firmware-kmod-3.0_3 is already included in the base system.
 *** Error code 1
 
 Does this mean the kernel module is install? or the firmware
 installed?

See iwi(4) - the firmware is in src/sys/contrib/dev/iwi but will be
loaded automatically if you have device firmware in your kernel
config file.

-- 
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Mouse stopped working in X

2009-04-14 Thread Schmehl, Paul L
I ran the perl upgrade and portupgrade, and now my mouse doesn't work in
Xorg running KDE.  Works fine in the console, and I haven't changed anything
in the xorg.conf file.  I generated a new one, and the mouse section is
identical to what I already have.

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5 6 7
EndSection

For some reason I now have a PS2 mouse being detected (there's no PS2 port
on this box and there's no PS2 mouse plugged in to it), and I think that's
the cause of the mouse failure in X.

# ls -l /dev/psm0
crw-rw-rw-  1 root  wheel0,  64 Apr 14 09:33 /dev/psm0

But how do I track down what's causing this device to be loaded?

I also have the usb mouse:

# ls -l /dev/ums0
crw-r--r--  1 root  operator0,  42 Apr 14 09:29 /dev/ums0

(**) |--Input Device Mouse0
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or
'vmmouse' will be disabled.
(WW) Disabling Mouse0
(==) RADEONHD(0): Silken mouse enabled
(II) config/hal: Adding input device PS/2 Mouse
(II) LoadModule: mouse
(II) Loading /usr/local/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor=X.Org Foundation
(**) PS/2 Mouse: Device: /dev/psm0
(==) PS/2 Mouse: Protocol: Auto
(**) PS/2 Mouse: always reports core events
(==) PS/2 Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) PS/2 Mouse: ZAxisMapping: buttons 4 and 5
(**) PS/2 Mouse: Buttons: 9
(**) PS/2 Mouse: Sensitivity: 1
(II) XINPUT: Adding extended input device PS/2 Mouse (type: MOUSE)
(**) PS/2 Mouse: (accel) keeping acceleration scheme 1
(**) PS/2 Mouse: (accel) filter chain progression: 2.00
(**) PS/2 Mouse: (accel) filter stage 0: 20.00 ms
(**) PS/2 Mouse: (accel) set acceleration profile 0
(II) PS/2 Mouse: SetupAuto: hw.iftype is 3, hw.model is 0
(II) PS/2 Mouse: SetupAuto: protocol is PS/2
(II) PS/2 Mouse: ps2EnableDataReporting: succeeded

Dmesg shows the device being loaded:

atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Generic PS/2 mouse, device ID 0

But also shows the usb mouse being loaded:

ukbd0: vendor 0x045e Microsoft Natural Keyboard Elite, class 0/0, rev
2.00/2.07, addr 3 on uhub3
kbd2 at ukbd0
ums0: Logitech Optical USB Mouse, class 0/0, rev 2.00/3.40, addr 4 on
uhub3
ums0: 3 buttons and Z dir.

I have no idea where this PS2 mouse suddenly appeared from, but I think it's
clearly the cause of the problem.

Also, Ctrl-Alt-Bksp no longer restarts X, which is kind of weird.  I can
still switch to other ttys though.

Paul Schmehl (pa...@utdallas.edu)
Senior Information Security Analyst
University of Texas at Dallas
http://www.utdallas.edu/ir/security/



smime.p7s
Description: S/MIME cryptographic signature


Re: SATA Port Multipliers in FreeBSD (6.3)

2009-04-14 Thread Christopher Key
Christopher Key wrote:
 I'm looking to substantially expand the storage on my FreeBSD 6.3 home
 media server.  With regards hardware, the simplest way to attach large
 numbers of drives seem to be to use SATA port multipliers, but I've
 been unable to find any consensus on their level of support in
 FreeBSD.  I'm currently looking at a RocketRAID 2314 and SiI3726 based
 port multipliers.  Has any had any experience with this combination?

Just a follow up to let anyone else considering a similar set up that I
now have this combination working on 7.1p3 (I upgraded to take advantage
of zfs, and haven't tested 6.3), although there are a couple of
non-obvious problems:

Firstly, in addition to the documented 'device hptrr', 'device scbus'
and 'device da', a kernel with 'device pass' is also required in order
to be able to see individual disks.

Secondly, the card/driver will only expose disks to FreeBSD if it
recognises them as 'legacy disks', i.e. they contain a MBR. 
Fortunately, zfs leaves the first 8k of each disk untouched, so I
created a 'protective mbr' as per gpt partitioned disks.  It has a
single partition of type 0xed (unused, next to 0xee used for by GPT)
running from lba1 to the last lba on the disk, and with CHS start and
end of 1023/255/63.  This clearly has to be done before connecting the
drives to the controller, but is easily done with, e.g. a USB external
enclosure.

Regards,

Christopher Key


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Xorg/X11 driver Radeon: radeon vs. radeonhd, a mess!

2009-04-14 Thread O. Hartmann
On two boxes running FreeBSD 8.0-CURRENT/amd64 (both PCIe-basis) I
utilise AMD/ATi RV770LE and RV730 based graphicsadapter. Both machines
run the most recent FreeBSD 8.0-CURRENT and most recent X11 from ports
(with all the subsequent packages).
The box with the most powerful graphicsadapter is the lowest powerful
box, equipted with a UP kernel, single core CPU, PCIe 1.1. The GPU is a
RV770LE mounted on a MSI R4830T2D512, This box does only work properly
with driver 'radeon', using driver 'radeonhd' results in a missing
display adapter - means, driver connot find a valid graphics card.

On my lab's box, a 4-core SMP box with a more modern P35 chipset I
utilise a MSI R4760 graphics card, this uses a AMD/ATi RV730 chip as
GPU. This box does only run with 'radeonhd' in a propper manner, using
'radeon' craches the box when shutting down/resetting (kill -1)  Xorg
(server)  when rebooting or leaving windowmaker. Although  'radeonhd'
works and 'radeon' not, using 'radeonhd' renders X unusable. Window
movement is like a slideshow,  firefox seems to sleep randomly,
scrolling is a game for patient people. VESA driver is much faster than
'radeonhd' on this fast chipset!

Well, xf86-video-radeonhd is at revision 1.2.5 and this one is, when
believing what the Wiki says, under development and advisory of AMD
itself. Why is it so bumpy and unwilling to recognize an RV770LE
chipset? Does anyone has a hint or tip?

It feels like a mess having two ATI drivers each one following different
ways of development. What 'radeon' is capable of is missing in
'radeonhd' and vice versa.

Regards,
Oliver
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Block device to regular file?

2009-04-14 Thread cpghost
I'm trying to recover some deleted files from a UFS2 file
system with the sleuthkit. Unfortunatly, most sleuthkit
utilities expect regular image files and won't operate
on block devices:

  phenom# fls /dev/ad4s1e
  Sector offset supplied is larger than disk image (maximum: 0)

Of course, I could always dd(1) the block device into another
file system, and analyze that:

  phenom# dd if=/dev/ad4s1e of=/mnt/ad4s1e.dd
  phenom# fls /mnt/ad4s1e.dd | more
  regular-output-of-fls

but unfortunatly, the file system I'm trying to analyze
is VERY large and I don't have enough disk space elsewhere
to take an image.

Now, is there an easy way to turn a block device into
something that would behave like a regular file?
Something like mdconfig -t vnode, but in reverse?

Thanks,
-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 freebsd-questions-unsubscr...@freebsd.org


Re: Mouse stopped working in X

2009-04-14 Thread Manolis Kiagias
Schmehl, Paul L wrote:
 I ran the perl upgrade and portupgrade, and now my mouse doesn't work in
 Xorg running KDE.  Works fine in the console, and I haven't changed anything
 in the xorg.conf file.  I generated a new one, and the mouse section is
 identical to what I already have.

 Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Protocol auto
 Option  Device /dev/sysmouse
 Option  ZAxisMapping 4 5 6 7
 EndSection

 For some reason I now have a PS2 mouse being detected (there's no PS2 port
 on this box and there's no PS2 mouse plugged in to it), and I think that's
 the cause of the mouse failure in X.

 # ls -l /dev/psm0
 crw-rw-rw-  1 root  wheel0,  64 Apr 14 09:33 /dev/psm0

 But how do I track down what's causing this device to be loaded?

 I also have the usb mouse:

 # ls -l /dev/ums0
 crw-r--r--  1 root  operator0,  42 Apr 14 09:29 /dev/ums0

 (**) |--Input Device Mouse0
 (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or
 'vmmouse' will be disabled.
 (WW) Disabling Mouse0
 (==) RADEONHD(0): Silken mouse enabled
 (II) config/hal: Adding input device PS/2 Mouse
 (II) LoadModule: mouse
 (II) Loading /usr/local/lib/xorg/modules/input//mouse_drv.so
 (II) Module mouse: vendor=X.Org Foundation
 (**) PS/2 Mouse: Device: /dev/psm0
 (==) PS/2 Mouse: Protocol: Auto
 (**) PS/2 Mouse: always reports core events
 (==) PS/2 Mouse: Emulate3Buttons, Emulate3Timeout: 50
 (**) PS/2 Mouse: ZAxisMapping: buttons 4 and 5
 (**) PS/2 Mouse: Buttons: 9
 (**) PS/2 Mouse: Sensitivity: 1
 (II) XINPUT: Adding extended input device PS/2 Mouse (type: MOUSE)
 (**) PS/2 Mouse: (accel) keeping acceleration scheme 1
 (**) PS/2 Mouse: (accel) filter chain progression: 2.00
 (**) PS/2 Mouse: (accel) filter stage 0: 20.00 ms
 (**) PS/2 Mouse: (accel) set acceleration profile 0
 (II) PS/2 Mouse: SetupAuto: hw.iftype is 3, hw.model is 0
 (II) PS/2 Mouse: SetupAuto: protocol is PS/2
 (II) PS/2 Mouse: ps2EnableDataReporting: succeeded

 Dmesg shows the device being loaded:

 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
 atkbd0: AT Keyboard irq 1 on atkbdc0
 kbd0 at atkbd0
 atkbd0: [GIANT-LOCKED]
 atkbd0: [ITHREAD]
 psm0: PS/2 Mouse irq 12 on atkbdc0
 psm0: [GIANT-LOCKED]
 psm0: [ITHREAD]
 psm0: model Generic PS/2 mouse, device ID 0

 But also shows the usb mouse being loaded:

 ukbd0: vendor 0x045e Microsoft Natural Keyboard Elite, class 0/0, rev
 2.00/2.07, addr 3 on uhub3
 kbd2 at ukbd0
 ums0: Logitech Optical USB Mouse, class 0/0, rev 2.00/3.40, addr 4 on
 uhub3
 ums0: 3 buttons and Z dir.

 I have no idea where this PS2 mouse suddenly appeared from, but I think it's
 clearly the cause of the problem.

 Also, Ctrl-Alt-Bksp no longer restarts X, which is kind of weird.  I can
 still switch to other ttys though.

 Paul Schmehl (pa...@utdallas.edu)
 Senior Information Security Analyst
 University of Texas at Dallas
 http://www.utdallas.edu/ir/security/

   

The fact that CTRL+ALT+BACKSPACE does not work indicates that you
probably upgraded to Xorg 7.4

Try inserting the following in your xorg.conf to fix keyboard/mouse
problems:

Section ServerFlags
Option AutoAddDevices false
Option AllowEmptyInput false
Option DontZap false
EndSection

(DontZap will restore the previous CTRL+ALT+BKSP behaviour)


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Umask and Samba

2009-04-14 Thread Andy Hiscock
Hi there.

Having problems with create mask in samba since changing my umask in 
/etc/login.conf to 007.

I have created a share folder in /usr/homes with mod 770.  Accessing and 
writing/creating files/directories via ftp is as expected (-rw-rw) but when 
copying a file via samba I get a real mix of permissions, after many hours of 
playing with the create mask value in smb.conf I get typically:

-rw-r--r--
-rw-r-rw--
etc

Ideally I would like to create mask to be set to generate -rw-rw.  Is 
there a way of working what the value should be?

Find below a copy of my share section of smb.conf;

[share]
path=/usr/home/share
read only=no
guest ok=no
create mask=0330

Thanks in advance.




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


use BUNDLED_PCRE in updating to php 5.2.9 with ports and apache 2.2.x?

2009-04-14 Thread Tom Worster
the port configuration dialog comes up while updating from 5.2.8. to 5.2.9
with the php5 meta port. it asks if i want to use BUNDLED_PCRE, suggesting 
Select if you use apache 2.0.x.

what about apache 2.2.x?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Block device to regular file?

2009-04-14 Thread Polytropon
On Tue, 14 Apr 2009 18:17:24 +0200, cpghost cpgh...@cordula.ws wrote:
 I'm trying to recover some deleted files from a UFS2 file
 system with the sleuthkit.

:-(



 Unfortunatly, most sleuthkit
 utilities expect regular image files and won't operate
 on block devices:
 
   phenom# fls /dev/ad4s1e
   Sector offset supplied is larger than disk image (maximum: 0)

Because I already have my own sad story of data loss, I could
provide the idea of using FreeBSD's memory disks. I've always
used this to get TSK tools working the other way round, when
I had a dd copy, but required a device file.

Maybe this works as well in your case when you create a virtual
note for the device file:

# mdconfig -a -t vnode -u 10 -f /dev/ad4s1e
md10

You can now use TSK with /dev/md10, but I can't confirm that it
won't complain.



 Of course, I could always dd(1) the block device into another
 file system, and analyze that:
 
   phenom# dd if=/dev/ad4s1e of=/mnt/ad4s1e.dd
   phenom# fls /mnt/ad4s1e.dd | more
   regular-output-of-fls
 
 but unfortunatly, the file system I'm trying to analyze
 is VERY large and I don't have enough disk space elsewhere
 to take an image.

I would strongly advice you *not* to experiment with the original
disk, because this *may* lead you to more problems. Hard disks
are cheap today. Buy a fresh disk and make a dd copy onto it.
Work with this dd copy only - if the dd copy is a real copy
(and therefore replicates the defects of the original file system).

In my case, I'm talking about a ca. 80 GB partition which needs
4 hours to be transferred.

Always have in mind that your data may be more important than
the money for a new disk and the time spent for the dd copy.



 Now, is there an easy way to turn a block device into
 something that would behave like a regular file?
 Something like mdconfig -t vnode, but in reverse?

Maybe you could dd the partition into a (named) pipe and then
run TSK on this pipe?

Anyway, I'm not sure if this is such a good idea...



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ipnat dmz/internal network issue

2009-04-14 Thread Steve Krawcke

I have a gateway setup wing freebsd 7.1

gateway% uname -a
FreeBSD gateway.latcha.com 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #0:  
Wed Feb  4 20:27:06 EST 2009 r...@gateway3.latcha.com:/usr/obj/usr/ 
src/sys/GATEWAY  amd64


I have 1 external nic , and 2 internal, one for a DMZ and one for the  
rest of the network


em0 is my external, em1 is my internal and em2 is my DMZ

I am using ipf and ipnat to get access to the internet, but I am  
having an issue.


I am able to get to the internet via nat on both em1 and em2.
I am able to get port/IP redriection working from em0 - em2
I can access the address space from em1 - em2
But if I go to one of the redirected IPs from em1 - em0 - em2 it  
fails.


here are my ipnat rules

map em1 from 10.75.0.1/24 to 10.73.0.1/16 - 0/0
map em1 from 65.173.238.2/32 to 10.73.0.1/16 - 0/0
map em0 from 10.73.0.1/16 to any - 65.173.238.2/32   portmap tcp/udp  
auto
map em0 from 10.75.0.1/24 to any - 65.173.238.2/32   portmap tcp/udp  
auto


rdr em0 from any to 65.173.238.27/32 port = 80 - 10.75.0.29 port 80 tcp
rdr em0 from any to 65.173.238.30/32 port = 80 - 10.75.0.30 port 80 tcp
rdr em0 from any to 65.173.238.29/32 port = 80 - 10.75.0.26 port 80 tcp

for now I have the firewall rules disabled, until I get this working,  
so I know it isn't a firewall issue.

Any help would be appreciated.

Steve K

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Weird SSH problem... Any ideas?!?

2009-04-14 Thread Chris . A . Horinek
check permissions on /etc/passwd, in my case, solaris 10, /etc/passwd 
needed to be world readable.


Chris Horinek
Oklahoma City Data Center
Seagate Technology LLC
chori...@seagate.com
405-324-3599
Conf. Call# (US):  (877) 810-9442  Access# 1338666
Conf. Call# (Int'l):  (636) 651-3190  Access# 1338666
-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Block device to regular file?

2009-04-14 Thread cpghost
On Tue, Apr 14, 2009 at 07:18:43PM +0200, Polytropon wrote:
 On Tue, 14 Apr 2009 18:17:24 +0200, cpghost cpgh...@cordula.ws wrote:
  I'm trying to recover some deleted files from a UFS2 file
  system with the sleuthkit.
 
  Unfortunatly, most sleuthkit
  utilities expect regular image files and won't operate
  on block devices:
  
phenom# fls /dev/ad4s1e
Sector offset supplied is larger than disk image (maximum: 0)
 
 Because I already have my own sad story of data loss, I could
 provide the idea of using FreeBSD's memory disks. I've always
 used this to get TSK tools working the other way round, when
 I had a dd copy, but required a device file.
 
 Maybe this works as well in your case when you create a virtual
 note for the device file:
 
   # mdconfig -a -t vnode -u 10 -f /dev/ad4s1e
   md10
 
 You can now use TSK with /dev/md10, but I can't confirm that it
 won't complain.

Hmmm, I'm getting this:

  phenom# mdconfig -a -t vnode -o readonly -f /dev/ad4s1e
  mdconfig: ioctl(/dev/mdctl): Invalid argument

  phenom# mdconfig -a -t vnode -f /dev/ad4s1e
  mdconfig: ioctl(/dev/mdctl): Invalid argument

So, it doesn't seem to work. But it was a good idea. Probably
block devices aren't mappable like regular files.

  Of course, I could always dd(1) the block device into another
  file system, and analyze that:
  
phenom# dd if=/dev/ad4s1e of=/mnt/ad4s1e.dd
phenom# fls /mnt/ad4s1e.dd | more
regular-output-of-fls
  
  but unfortunatly, the file system I'm trying to analyze
  is VERY large and I don't have enough disk space elsewhere
  to take an image.
 
 I would strongly advice you *not* to experiment with the original
 disk, because this *may* lead you to more problems. Hard disks
 are cheap today. Buy a fresh disk and make a dd copy onto it.
 Work with this dd copy only - if the dd copy is a real copy
 (and therefore replicates the defects of the original file system).

If at all, the block device would have to be used in read-only
mode.

But that's not the issue here. The file system itself is over 470GB
(it occuples the whole 500GB disk), and while I do have spare 500GB
disks, the whole image won't fit into a filesystem: it will be slightly
too big.

Bigger disks won't work on that mobo without a bios upgrade, which
is not yet available for that machine.

I'll probably try to dd(1) the disk with conv=sparse, hoping that
it will compress enough to fit, but I was hoping to find a FUSE
daemon or something like that, that would turn a block device
into a regular file (preferably in read-only mode).

 In my case, I'm talking about a ca. 80 GB partition which needs
 4 hours to be transferred.

Yup, 80 GB are still manageable enough. The disk I have to recover
was set up by someone who didn't have a clue in sensible filesystem
layout. :-(

 Always have in mind that your data may be more important than
 the money for a new disk and the time spent for the dd copy.

Of course.

  Now, is there an easy way to turn a block device into
  something that would behave like a regular file?
  Something like mdconfig -t vnode, but in reverse?
 
 Maybe you could dd the partition into a (named) pipe and then
 run TSK on this pipe?

Nope. Apparently, TSK tools also seek back, so... :(

 Anyway, I'm not sure if this is such a good idea...

Thanks,
-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 freebsd-questions-unsubscr...@freebsd.org


Re: Mouse stopped working in X

2009-04-14 Thread Paul Schmehl
--On Tuesday, April 14, 2009 19:21:34 +0300 Manolis Kiagias 
sonic200...@gmail.com wrote:



Schmehl, Paul L wrote:

I ran the perl upgrade and portupgrade, and now my mouse doesn't work in
Xorg running KDE.  Works fine in the console, and I haven't changed anything
in the xorg.conf file.  I generated a new one, and the mouse section is
identical to what I already have.

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5 6 7
EndSection

For some reason I now have a PS2 mouse being detected (there's no PS2 port
on this box and there's no PS2 mouse plugged in to it), and I think that's
the cause of the mouse failure in X.

# ls -l /dev/psm0
crw-rw-rw-  1 root  wheel0,  64 Apr 14 09:33 /dev/psm0

But how do I track down what's causing this device to be loaded?

I also have the usb mouse:

# ls -l /dev/ums0
crw-r--r--  1 root  operator0,  42 Apr 14 09:29 /dev/ums0

(**) |--Input Device Mouse0
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or
'vmmouse' will be disabled.
(WW) Disabling Mouse0
(==) RADEONHD(0): Silken mouse enabled
(II) config/hal: Adding input device PS/2 Mouse
(II) LoadModule: mouse
(II) Loading /usr/local/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor=X.Org Foundation
(**) PS/2 Mouse: Device: /dev/psm0
(==) PS/2 Mouse: Protocol: Auto
(**) PS/2 Mouse: always reports core events
(==) PS/2 Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) PS/2 Mouse: ZAxisMapping: buttons 4 and 5
(**) PS/2 Mouse: Buttons: 9
(**) PS/2 Mouse: Sensitivity: 1
(II) XINPUT: Adding extended input device PS/2 Mouse (type: MOUSE)
(**) PS/2 Mouse: (accel) keeping acceleration scheme 1
(**) PS/2 Mouse: (accel) filter chain progression: 2.00
(**) PS/2 Mouse: (accel) filter stage 0: 20.00 ms
(**) PS/2 Mouse: (accel) set acceleration profile 0
(II) PS/2 Mouse: SetupAuto: hw.iftype is 3, hw.model is 0
(II) PS/2 Mouse: SetupAuto: protocol is PS/2
(II) PS/2 Mouse: ps2EnableDataReporting: succeeded

Dmesg shows the device being loaded:

atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Generic PS/2 mouse, device ID 0

But also shows the usb mouse being loaded:

ukbd0: vendor 0x045e Microsoft Natural Keyboard Elite, class 0/0, rev
2.00/2.07, addr 3 on uhub3
kbd2 at ukbd0
ums0: Logitech Optical USB Mouse, class 0/0, rev 2.00/3.40, addr 4 on
uhub3
ums0: 3 buttons and Z dir.

I have no idea where this PS2 mouse suddenly appeared from, but I think it's
clearly the cause of the problem.

Also, Ctrl-Alt-Bksp no longer restarts X, which is kind of weird.  I can
still switch to other ttys though.

Paul Schmehl (pa...@utdallas.edu)
Senior Information Security Analyst
University of Texas at Dallas
http://www.utdallas.edu/ir/security/




The fact that CTRL+ALT+BACKSPACE does not work indicates that you
probably upgraded to Xorg 7.4

Try inserting the following in your xorg.conf to fix keyboard/mouse
problems:

Section ServerFlags
Option AutoAddDevices false
Option AllowEmptyInput false
Option DontZap false
EndSection

(DontZap will restore the previous CTRL+ALT+BKSP behaviour)




Thanks.  I had already figured out that I needed to add AllowEmptyInput false, 
and the mouse is now working.  But I'll add the other two as well.


Apparently this is a change introduced by 7.4?

--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
Check the headers before clicking on Reply.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: kern.maxfiles limit exceeded by uid 1003? what to do?

2009-04-14 Thread Mel Flynn
On Tuesday 14 April 2009 14:11:02 VeeJay wrote:

 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)

From man 7 tuning:
 The kern.maxfiles sysctl determines how many open files the system sup-
 ports.  The default is typically a few thousand but you may need to bump
 this up to ten or twenty thousand if you are running databases or large
 descriptor-heavy daemons.   The read-only kern.openfiles sysctl may be
 interrogated to determine the current number of open files on the system.

-- 
Mel who wubs self-answering questions.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


[OT] C programming question: reopen stdin

2009-04-14 Thread Tobias Rehbein
Hi all.

I'm having a little trouble solving a specific problem in C. I want to write a
filter which reads data from stdin. After reading the user should be able to
interact with the program via stdin. This means I have to reopen stdin but I
don't know how to do this. I tried to solve this using dup() and dup2() but
without success.

You can have a look at my first experiment here:

http://gist.github.com/95320

I guess the code and the contained comments show what I'm trying to achieve.
Although this is off-topic on this list I hope someone with more knowledge in C
may steer me into the right direction.

Sorry for the noise and thanks for reading.

Regards

Tobias

-- 
Tobias Rehbein

PGP key: 4F2AE314
server:  keys.gnupg.net
fingerprint: ECDA F300 1B6E 9B87 8524  8663 E8B6 3138 4F2A E314
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Mouse stopped working in X

2009-04-14 Thread Richard DeLaurell
Could you tell me please where the changes to the xorg.conf file which are
necessitated by 7.4 are documented?

Thank you.

Richard

On Tue, Apr 14, 2009 at 12:19 PM, Paul Schmehl pschmehl_li...@tx.rr.comwrote:

 --On Tuesday, April 14, 2009 19:21:34 +0300 Manolis Kiagias 
 sonic200...@gmail.com wrote:

  Schmehl, Paul L wrote:

 I ran the perl upgrade and portupgrade, and now my mouse doesn't work in
 Xorg running KDE.  Works fine in the console, and I haven't changed
 anything
 in the xorg.conf file.  I generated a new one, and the mouse section is
 identical to what I already have.

 Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5 6 7
 EndSection

 For some reason I now have a PS2 mouse being detected (there's no PS2
 port
 on this box and there's no PS2 mouse plugged in to it), and I think
 that's
 the cause of the mouse failure in X.

 # ls -l /dev/psm0
 crw-rw-rw-  1 root  wheel0,  64 Apr 14 09:33 /dev/psm0

 But how do I track down what's causing this device to be loaded?

 I also have the usb mouse:

 # ls -l /dev/ums0
 crw-r--r--  1 root  operator0,  42 Apr 14 09:29 /dev/ums0

 (**) |--Input Device Mouse0
 (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or
 'vmmouse' will be disabled.
 (WW) Disabling Mouse0
 (==) RADEONHD(0): Silken mouse enabled
 (II) config/hal: Adding input device PS/2 Mouse
 (II) LoadModule: mouse
 (II) Loading /usr/local/lib/xorg/modules/input//mouse_drv.so
 (II) Module mouse: vendor=X.Org Foundation
 (**) PS/2 Mouse: Device: /dev/psm0
 (==) PS/2 Mouse: Protocol: Auto
 (**) PS/2 Mouse: always reports core events
 (==) PS/2 Mouse: Emulate3Buttons, Emulate3Timeout: 50
 (**) PS/2 Mouse: ZAxisMapping: buttons 4 and 5
 (**) PS/2 Mouse: Buttons: 9
 (**) PS/2 Mouse: Sensitivity: 1
 (II) XINPUT: Adding extended input device PS/2 Mouse (type: MOUSE)
 (**) PS/2 Mouse: (accel) keeping acceleration scheme 1
 (**) PS/2 Mouse: (accel) filter chain progression: 2.00
 (**) PS/2 Mouse: (accel) filter stage 0: 20.00 ms
 (**) PS/2 Mouse: (accel) set acceleration profile 0
 (II) PS/2 Mouse: SetupAuto: hw.iftype is 3, hw.model is 0
 (II) PS/2 Mouse: SetupAuto: protocol is PS/2
 (II) PS/2 Mouse: ps2EnableDataReporting: succeeded

 Dmesg shows the device being loaded:

 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
 atkbd0: AT Keyboard irq 1 on atkbdc0
 kbd0 at atkbd0
 atkbd0: [GIANT-LOCKED]
 atkbd0: [ITHREAD]
 psm0: PS/2 Mouse irq 12 on atkbdc0
 psm0: [GIANT-LOCKED]
 psm0: [ITHREAD]
 psm0: model Generic PS/2 mouse, device ID 0

 But also shows the usb mouse being loaded:

 ukbd0: vendor 0x045e Microsoft Natural Keyboard Elite, class 0/0, rev
 2.00/2.07, addr 3 on uhub3
 kbd2 at ukbd0
 ums0: Logitech Optical USB Mouse, class 0/0, rev 2.00/3.40, addr 4 on
 uhub3
 ums0: 3 buttons and Z dir.

 I have no idea where this PS2 mouse suddenly appeared from, but I think
 it's
 clearly the cause of the problem.

 Also, Ctrl-Alt-Bksp no longer restarts X, which is kind of weird.  I can
 still switch to other ttys though.

 Paul Schmehl (pa...@utdallas.edu)
 Senior Information Security Analyst
 University of Texas at Dallas
 http://www.utdallas.edu/ir/security/



 The fact that CTRL+ALT+BACKSPACE does not work indicates that you
 probably upgraded to Xorg 7.4

 Try inserting the following in your xorg.conf to fix keyboard/mouse
 problems:

 Section ServerFlags
Option AutoAddDevices false
Option AllowEmptyInput false
Option DontZap false
 EndSection

 (DontZap will restore the previous CTRL+ALT+BKSP behaviour)



 Thanks.  I had already figured out that I needed to add AllowEmptyInput
 false, and the mouse is now working.  But I'll add the other two as well.

 Apparently this is a change introduced by 7.4?

 --
 Paul Schmehl, Senior Infosec Analyst
 As if it wasn't already obvious, my opinions
 are my own and not those of my employer.
 ***
 Check the headers before clicking on Reply.


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: ipnat dmz/internal network issue

2009-04-14 Thread Gary Gatten


-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Steve Krawcke
Sent: Tuesday, April 14, 2009 12:08 PM
To: mail.list freebsd-questions
Subject: ipnat dmz/internal network issue

I have a gateway setup wing freebsd 7.1

gateway% uname -a
FreeBSD gateway.latcha.com 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #0:  
Wed Feb  4 20:27:06 EST 2009 r...@gateway3.latcha.com:/usr/obj/usr/ 
src/sys/GATEWAY  amd64

I have 1 external nic , and 2 internal, one for a DMZ and one for the  
rest of the network

em0 is my external, em1 is my internal and em2 is my DMZ

I am using ipf and ipnat to get access to the internet, but I am  
having an issue.

I am able to get to the internet via nat on both em1 and em2.
I am able to get port/IP redriection working from em0 - em2
I can access the address space from em1 - em2
But if I go to one of the redirected IPs from em1 - em0 - em2 it  
fails.

here are my ipnat rules

map em1 from 10.75.0.1/24 to 10.73.0.1/16 - 0/0
map em1 from 65.173.238.2/32 to 10.73.0.1/16 - 0/0
map em0 from 10.73.0.1/16 to any - 65.173.238.2/32   portmap tcp/udp  
auto
map em0 from 10.75.0.1/24 to any - 65.173.238.2/32   portmap tcp/udp  
auto

rdr em0 from any to 65.173.238.27/32 port = 80 - 10.75.0.29 port 80 tcp
rdr em0 from any to 65.173.238.30/32 port = 80 - 10.75.0.30 port 80 tcp
rdr em0 from any to 65.173.238.29/32 port = 80 - 10.75.0.26 port 80 tcp

for now I have the firewall rules disabled, until I get this working,  
so I know it isn't a firewall issue.
Any help would be appreciated.

Steve K


You want to get to a public address that really exists on your DMZ
from your private LAN?  Why not connect to the DMZ addresses directly?
What you're trying to do is probably possible, but tricky in some cases
and not possible with some/many commercial firewalls.  I'll have to read
this a few more times and draw a pretty picture





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


kdeinit4 has high CPU usage

2009-04-14 Thread Yuri

I use KDE4 and it mostly works well.

But sometimes I spot one or few kdeinit4 running with high CPU usage.
This drives the load number up.
Once I kill those kdeinit4 processes system runs ok again.

Anybody has the same problem and how to fix it?

Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


kern.maxfiles limit exceeded... what to do?

2009-04-14 Thread Jason Garrett
On Tue, Apr 14, 2009 at 07:41, Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:

 increase kern.maxfiles :)

 in sysctl.conf


Pretty sure he got his answer over on @hackers. The need to cross post never
ceases to amaze me.



 On Tue, 14 Apr 2009, VeeJay wrote:

  Hi there

 I am keep getting this error on the screen. I have tried to solve this
 problem by myself but still no luck. Could anyone guide what to do to
 increase the limit and avoid this error?

 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 Apr 14 11:08:08 server2 postfix/pickup[25022] : fatal : kqueue : Too many
 files open in the system
 Apr 14 11:08:08 server2 postfix/pickup[25023] : fatal : kqueue : Too many
 files open in the system
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)

 Then I am unable to login on the server by consol or ssh. what to do?
 --
 Thanks!

 BR / vj

  ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: make run-depends-list-recursive?

2009-04-14 Thread Mel Flynn
On Monday 13 April 2009 03:56:15 Tim Judd wrote:
 On Sun, Apr 12, 2009 at 5:10 PM, Chris Whitehouse cwhi...@onetel.comwrote:
  Hi
 
  Is there a make target which will give a list of _all_ dependencies
  recursively not just next level up? Or a port? I tried
  ports-mgmt/pkg_tree but it only seems to work with installed ports.
 
  I don't care if I get duplicates as long as every dependency is listed at
  least once.
 
  Thanks
 
  Chris

 make all-depends-list

Two things:
1) It surpresses config target and if a port has OPTIONS set, then you may get 
surprised once you've configured the port and ticked/unticked an option
2) It includes EXTRACT_DEPENDS, PATCH_DEPENDS and BUILD_DEPENDS, which 
typically don't end up in run dependencies. Looking at the subject this may 
not be what you need.

make -C /usr/ports/category/portname -V LIB_DEPENDS -V RUN_DEPENDS

will list the dependencies that will be registered in /var/db/pkg. Recurse 
through the list, take the second field split by : and run the above for each 
origin. Something like the script below, which calls the config target if not 
configured, remembers already visited dependencies and then prints the runtime 
dependency list.
-- 
Mel

#!/bin/sh

VISITED=
if test $# -eq 0; then
startdir=`pwd`
else
startdir=$1
fi

config_port() {
local ldeps rdeps curdir

curdir=$1
make -C ${curdir} config-conditional

ldeps=`make -C ${curdir} -V LIB_DEPENDS`
rdeps=`make -C ${curdir} -V RUN_DEPENDS`

for dep in ${ldeps} ${rdeps}; do
dir=${dep#*:}
# For 3-part deps where 3rd field is target, ex:
# dovecot:${PORTSDIR}/mail/dovecot:build
dir=${dir%%:*}
case ${VISITED} in
* ${dir} *|* ${dir})
;;
*)
VISITED=${VISITED} ${dir}
config_port ${dir}
esac
done
}

config_port $startdir

for dir in ${VISITED}; do
echo $dir
done
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [OT] C programming question: reopen stdin

2009-04-14 Thread Mel Flynn
On Tuesday 14 April 2009 20:13:00 Tobias Rehbein wrote:

 I'm having a little trouble solving a specific problem in C. I want to
 write a filter which reads data from stdin. After reading the user should
 be able to interact with the program via stdin.

Just open(2) /dev/tty. If tty is invalid, then you don't have to expect a user 
either.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: kern.maxfiles limit exceeded... what to do?

2009-04-14 Thread Eitan Adler
VeeJay wrote:
 Hi there
 
 I am keep getting this error on the screen. I have tried to solve this
 problem by myself but still no luck. Could anyone guide what to do to
 increase the limit and avoid this error?

please see tuning(7)




-- 
Eitan Adler
Security is increased by designing for the way humans actually behave.
-Jakob Nielsen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


7.1 System Crashing

2009-04-14 Thread APseudoUtopia
My FreeBSD 7.1-RELEASE-p3 system has gone down a few times in the last
two days. I'm trying to figure out why, but there is nothing in
/var/log/messages or dmesg about the incident.

Here's the output from the `last` command:
User  ttyp01.2.3.4Tue Apr 14 19:02   still logged in
User  ttyp01.2.3.4Tue Apr 14 18:52 - 19:02  (00:09)
reboot   ~ Tue Apr 14 18:52
User  ttyp01.2.3.4Tue Apr 14 18:42 - crash  (00:09)
User  ttyp01.2.3.4Tue Apr 14 16:06 - 18:42  (02:36)
User  ttyp01.2.3.4Tue Apr 14 11:23 - 12:53  (01:29)
reboot   ~ Tue Apr 14 07:44
User  ttyp01.2.3.4Mon Apr 13 20:01 - 22:58  (02:57)
User  ttyp01.2.3.4Mon Apr 13 19:56 - 20:01  (00:04)
User  ttyp01.2.3.4Mon Apr 13 19:31 - 19:56  (00:25)
User  ttyp01.2.3.4Sun Apr 12 15:02 - 16:15  (01:12)
User  ttyp01.2.3.4Sun Apr 12 14:48 - 15:02  (00:14)
reboot   ~ Sun Apr 12 14:48
shutdown ~ Sun Apr 12 14:45
User  ttyp01.2.3.4Sun Apr 12 14:24 - shutdown  (00:21)
User  ttyp01.2.3.4Sat Apr 11 13:03 - 17:00  (03:56)
wtmp begins Wed Apr  1 21:21:28 UTC 2009



As you can see, the system reboot several times, and crashed the most
recent time. Only one of the shutdown/reboots listed is valid - the
furthest one.
I have no idea why it is rebooting/crashing. It has been completely
stable until about 1-2 days ago. If anyone can direct me to post the
output to any commands or any log messages, I'd be more than willing
to do so in order to help anyone diagnose my problem.

Thank you for your time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Weird SSH problem... Any ideas?!?

2009-04-14 Thread Jerry McAllister
On Tue, Apr 14, 2009 at 11:46:37AM -0500, chris.a.hori...@seagate.com wrote:

 check permissions on /etc/passwd, in my case, solaris 10, /etc/passwd 
 needed to be world readable.

I don't understand your problem.
/etc/passwd is always world readable.

/etc/master.passwd is not.

jerry


 
 
 Chris Horinek
 Oklahoma City Data Center
 Seagate Technology LLC
 chori...@seagate.com
 405-324-3599
 Conf. Call# (US):  (877) 810-9442  Access# 1338666
 Conf. Call# (Int'l):  (636) 651-3190  Access# 1338666
 -
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Block device to regular file?

2009-04-14 Thread Roland Smith
On Tue, Apr 14, 2009 at 07:48:16PM +0200, cpghost wrote:
 On Tue, Apr 14, 2009 at 07:18:43PM +0200, Polytropon wrote:
  On Tue, 14 Apr 2009 18:17:24 +0200, cpghost cpgh...@cordula.ws wrote:
   I'm trying to recover some deleted files from a UFS2 file
   system with the sleuthkit.
  
   Unfortunatly, most sleuthkit
   utilities expect regular image files and won't operate
   on block devices:

For the record, FreeBSD doesn't have block devices. They are all
character devices. Compare the output of ls -l /dev | grep '^b' with
that of ls -l /dev | grep '^c'. 

Might this be what is bugging sleuthkit?

   phenom# mdconfig -a -t vnode -o readonly -f /dev/ad4s1e
   mdconfig: ioctl(/dev/mdctl): Invalid argument

The vnode type md can only use regular files. See md(4).

   but unfortunatly, the file system I'm trying to analyze
   is VERY large and I don't have enough disk space elsewhere
   to take an image.

Well, fls and other sleuthkit programs support split images. Will it fit
if you divide it into several smaller files? 

  I would strongly advice you *not* to experiment with the original
  disk, because this *may* lead you to more problems.

very good advice IMHO.

 But that's not the issue here. The file system itself is over 470GB
 (it occuples the whole 500GB disk), and while I do have spare 500GB
 disks, the whole image won't fit into a filesystem: it will be slightly
 too big.

Maybe it will fit if you play with the newfs parameters of the new disk?
Shrinking the reserved space, enlarging the block and fragment size and
reducing the number of inodes, that kind of thing.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpoZBSyxmqHH.pgp
Description: PGP signature


Re: Weird SSH problem... Any ideas?!?

2009-04-14 Thread Jerry McAllister
On Tue, Apr 14, 2009 at 02:33:48PM -0500, chris.a.hori...@seagate.com wrote:

 in my case, someone had inadvertantly removed world read from /etc/passwd. 
I added it back and the problem went away.

Hmmm.   Well, nothing in the system should be changing permissions
on /etc/passwd.Was anyone else working on the system who had
access to do that?   Maybe they didn't realize that passwd has to
have world read.

jerry


 Jerry McAllister jerr...@msu.edu 
 No Phone Info Available
 04/14/2009 02:20 PM
 
 To
 chris.a.hori...@seagate.com
 cc
 freebsd-questions@freebsd.org
 Subject
 Re: Weird SSH problem... Any ideas?!?
 
 On Tue, Apr 14, 2009 at 11:46:37AM -0500, chris.a.hori...@seagate.com 
 wrote:
 
  check permissions on /etc/passwd, in my case, solaris 10, /etc/passwd 
  needed to be world readable.
 
 I don't understand your problem.
 /etc/passwd is always world readable.
 
 /etc/master.passwd is not world readable.
 
 jerry
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Weird SSH problem... Any ideas?!?

2009-04-14 Thread Chris . A . Horinek
in my case, someone had inadvertantly removed world read from /etc/passwd. 
   I added it back and the problem went away.





Jerry McAllister jerr...@msu.edu 
No Phone Info Available
04/14/2009 02:20 PM

To
chris.a.hori...@seagate.com
cc
freebsd-questions@freebsd.org
Subject
Re: Weird SSH problem... Any ideas?!?






On Tue, Apr 14, 2009 at 11:46:37AM -0500, chris.a.hori...@seagate.com 
wrote:

 check permissions on /etc/passwd, in my case, solaris 10, /etc/passwd 
 needed to be world readable.

I don't understand your problem.
/etc/passwd is always world readable.

/etc/master.passwd is not.

jerry

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Block device to regular file?

2009-04-14 Thread cpghost
On Tue, Apr 14, 2009 at 09:36:22PM +0200, Roland Smith wrote:
 On Tue, Apr 14, 2009 at 07:48:16PM +0200, cpghost wrote:
  On Tue, Apr 14, 2009 at 07:18:43PM +0200, Polytropon wrote:
   On Tue, 14 Apr 2009 18:17:24 +0200, cpghost cpgh...@cordula.ws wrote:
I'm trying to recover some deleted files from a UFS2 file
system with the sleuthkit.
   
Unfortunatly, most sleuthkit
utilities expect regular image files and won't operate
on block devices:
 
 For the record, FreeBSD doesn't have block devices. They are all
 character devices. Compare the output of ls -l /dev | grep '^b' with
 that of ls -l /dev | grep '^c'. 

Ups, right. My mistake.

 Might this be what is bugging sleuthkit?

They try to get the file size of the char device...

phenom# mdconfig -a -t vnode -o readonly -f /dev/ad4s1e
mdconfig: ioctl(/dev/mdctl): Invalid argument
 
 The vnode type md can only use regular files. See md(4).

Yep.

but unfortunatly, the file system I'm trying to analyze
is VERY large and I don't have enough disk space elsewhere
to take an image.
 
 Well, fls and other sleuthkit programs support split images. Will it fit
 if you divide it into several smaller files? 

Good idea: that's one possible solution.

   I would strongly advice you *not* to experiment with the original
   disk, because this *may* lead you to more problems.
 
 very good advice IMHO.

Correct. I'm VERY careful with the original disk.

 
  But that's not the issue here. The file system itself is over 470GB
  (it occuples the whole 500GB disk), and while I do have spare 500GB
  disks, the whole image won't fit into a filesystem: it will be slightly
  too big.
 
 Maybe it will fit if you play with the newfs parameters of the new disk?
 Shrinking the reserved space, enlarging the block and fragment size and
 reducing the number of inodes, that kind of thing.

If the file won't fit (still copying), I'll hook up a couple of
500GB disks to the box, and will try to newfs a bigger file system
across all of them via gconcat(8). I haven't tried it before, but
I hope it will work.

Thanks for all the help.

-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 freebsd-questions-unsubscr...@freebsd.org


Re: Mouse stopped working in X

2009-04-14 Thread Polytropon
On Tue, 14 Apr 2009 13:22:34 -0500, Richard DeLaurell 
richard.delaur...@gmail.com wrote:
 Could you tell me please where the changes to the xorg.conf file which are
 necessitated by 7.4 are documented?

I think they are mentioned in /usr/ports/UPDATING - I haven't
updated my X yet due to the trouble it seems to cause... :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Mouse stopped working in X

2009-04-14 Thread Eugene L.

On Tue, 14 Apr 2009 13:22:34 -0500, Richard DeLaurell [1]richard.delaur...@gma
il.com wrote:


Could you tell me please where the changes to the xorg.conf file which are
necessitated by 7.4 are documented?


I think they are mentioned in /usr/ports/UPDATING - I haven't
updated my X yet due to the trouble it seems to cause... :-)





   Actually I had this problem awhile ago and then it just went away.
   KDE4 seemed to freeze if there is no input, literally not doing
   anything untill I move the mouse. So I commented out that option
   (which I had to add to use mouse in the first place) and all started
   working all right. Another WTF moment. Thought there was a couple of
   xorg updates since the problem appeared, it might gave been fixed.

References

   1. mailto:richard.delaur...@gmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


What flash players should be used from ports?

2009-04-14 Thread Andrew Falanga
Hi,

I'd like to finally get a flashplayer installed for use with Firefox.  Which
one should I use from the ports system?  I found this one that looks
promising:

/usr/ports/www/flashplugin-mozilla

Is the recommended one, or should I choose another?

Andy

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Mouse stopped working in X

2009-04-14 Thread Paul Schmehl
--On Tuesday, April 14, 2009 15:42:19 -0500 Eugene L. root1...@gmail.com 
wrote:



Actually I had this problem awhile ago and then it just went away. KDE4
seemed to freeze if there is no input, literally not doing anything untill I
move the mouse. So I commented out that option (which I had to add to use
mouse in the first place) and all started working all right. Another WTF
moment. Thought there was a couple of xorg updates since the problem
appeared, it might gave been fixed.


According to UPDATING the problem was fixed for most users.  I guess I'm not 
one of them, but then radeonhd is an experimental drive anyway.


--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
Check the headers before clicking on Reply.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: questions about Fatal Trap 12

2009-04-14 Thread Ray
On Saturday 11 April 2009 19:34:29 Paul Hamilton wrote:
 -Original Message-
 From: owner-freebsd-questi...@freebsd.org
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Ray
 Sent: Saturday, 4 April 2009 01:45
 To: freebsd general questions
 Subject: questions about Fatal Trap 12

 Hello,
 I have received a kernel Trap 12 error several times now and am trying to
 figure it out.
 the error occurred today, and the previous time was about two weeks ago.
 last time I had to run fsck manually if that proves anything.



snip

 Any help or suggestions would be greatly appreciated.
 Ray
 ___

 snip

 Hi Ray,

 I have had a few of the Trap 12 errors over the last 10 years of using
 FreeBSD.  From memory, mine where due to faulty motherboard/CPU.  I just
 moved the hard drive to another PC, and all was ok.

 The last time I received the error, was when I tried recompiling world.  I
 put it down to CPU heat, as it was running a LOT harder than normal day to
 day use.  This was on a server that had been in place for two years running
 with out problem!

 Cheers,

 PaulH


I Just had the power supply die on this machine. Could  a failing power supply 
cause this type of issues?
Ray



 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: What flash players should be used from ports?

2009-04-14 Thread Neal Hogan
On Tue, Apr 14, 2009 at 3:47 PM, Andrew Falanga af300...@gmail.com wrote:
 Hi,

 I'd like to finally get a flashplayer installed for use with Firefox.  Which
 one should I use from the ports system?  I found this one that looks
 promising:

 /usr/ports/www/flashplugin-mozilla

 Is the recommended one, or should I choose another?

I found /usr/ports/graphics/gnash to be acceptable.


 Andy

 --
 A: Because it messes up the order in which people normally read text.
 Q: Why is it such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing on usenet and in e-mail?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




-- 
www.nealhogan.net  www.lambdaserver.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Mouse stopped working in X

2009-04-14 Thread Warren Block

On Tue, 14 Apr 2009, Polytropon wrote:


On Tue, 14 Apr 2009 13:22:34 -0500, Richard DeLaurell 
richard.delaur...@gmail.com wrote:

Could you tell me please where the changes to the xorg.conf file which are
necessitated by 7.4 are documented?


The most recent change to xorg-server-1.6 are only in xorg.conf(5). 
That would be DontZap defaulting to On.  Oh, and a black root window 
instead of black/white grid.



I think they are mentioned in /usr/ports/UPDATING


Not the most recent ones, and the older ones 
(AllowEmptyInput/AutoAddDevices are only needed sometimes.



- I haven't updated my X yet due to the trouble it seems to cause... :-)


Remember what Mark Twain said about cats and stoves.

At present, ati/radeon should be pretty good.  Intel maybe not as good, 
no idea about nVidia or others.


Last night, I posted a sample xorg.conf here:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=91549+0+current/freebsd-x11

It may be helpful to use it as a minimal example of the way things can 
be configured now.  Although I did forget to point out the use of hal 
eliminates the need for input driver declarations, so I'll do it here:


That xorg.conf is set for dbus_enable=YES and hald_enable=YES in 
/etc/rc.conf.  I also use moused_enable=YES.  xorg-server can be built 
without hal support.  If you do that to avoid needing hal, well, then 
you need those input device sections in xorg.conf again.


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


Re: What flash players should be used from ports?

2009-04-14 Thread John Gage
On Tue, Apr 14, 2009 at 4:47 PM, Andrew Falanga af300...@gmail.com wrote:

 Hi,

 I'd like to finally get a flashplayer installed for use with Firefox.  Which
 one should I use from the ports system?  I found this one that looks
 promising:

 /usr/ports/www/flashplugin-mozilla

 Is the recommended one, or should I choose another?

 Andy

I'd like to give you a detailed, step-by-step procedure; but first can
you list your:

1. CPU architecture (e.g. i386, amd64, etc.)
2. Firefox version branch (e.g. /usr/ports/www/firefox == firefox 2.*
branch, /usr/ports/www/firefox3 == firefox 3.* branch)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


mkisofs and directories

2009-04-14 Thread Alexander Best
hi there,

this is a question that's always been bugging me:

when i give mkisofs a directory as argument it always ads the contents of that
directory to the iso. how can i tell mkisofs that i want the actual directory
(including all it's contents) to be added to the iso?

cheers.
alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: What flash players should be used from ports?

2009-04-14 Thread Andrew Falanga
On Tue, Apr 14, 2009 at 3:41 PM, John Gage grepk...@gmail.com wrote:

 On Tue, Apr 14, 2009 at 4:47 PM, Andrew Falanga af300...@gmail.com
 wrote:
 
  Hi,
 
  I'd like to finally get a flashplayer installed for use with Firefox.
  Which
  one should I use from the ports system?  I found this one that looks
  promising:
 
  /usr/ports/www/flashplugin-mozilla
 
  Is the recommended one, or should I choose another?
 
  Andy

 I'd like to give you a detailed, step-by-step procedure; but first can
 you list your:

 1. CPU architecture (e.g. i386, amd64, etc.)
 2. Firefox version branch (e.g. /usr/ports/www/firefox == firefox 2.*
 branch, /usr/ports/www/firefox3 == firefox 3.* branch)


Currently running i386.  I'm using firefox 3.0.4 (need to upgrade, wow
didn't realize that).


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: questions about Fatal Trap 12

2009-04-14 Thread Glen Barber
On Tue, Apr 14, 2009 at 5:23 PM, Ray r...@stilltech.net wrote:
 I Just had the power supply die on this machine. Could  a failing power supply
 cause this type of issues?

Absolutely.

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Fwd: Re: [PHP] putting variables in a variable

2009-04-14 Thread Ray
Sorry, 
I replied to OP, not list
Ray
--  Forwarded Message  --

Subject: Re: [PHP] putting variables in a variable
Date: Tuesday 14 April 2009
From: Ray r...@stilltech.net
To: Hulf r...@blue-fly.co.uk

On Monday 28 March 2011 05:06:14 Hulf wrote:
 Hi,

 I am making and HTML email. I have 3 images to put in. Currently I have

 $body .=
 table
   tr
 tdimg src=\image1.jpg\/td
   /tr

   tr
 td/td
   /tr
 /table
 ;


 ideally I would like to have

 $myimage1 = image1.jpg;
 $myimage2 = image2.jpg;
 $myimage3 = image3.jpg;


 and put them into the HTML body variable. I have tried escaping them in
 every way i can think of, dots and slashes and the rest. Any ideas?


 Ross

Hi Ross,
The example you are showing will only put the image name into the email. The 
email client will then look on the receivers machine for the image.
There are two ways to do what you are trying to do.
One is to send just a link to the images. 
For example: use $myimage1= www.example.com/images/image1.jpg
this of course assumes that you have the images hosted somewhere that the mail 
client can find them.
The other option involves including the images as attachments. The easiest way 
imo to do this is with the PHP Mime Mail class.
http://www.phpguru.org/static/htmlMimeMail5.html
PHP 4 version is also available if that's what you need.

Ray

---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


from very early this morning...

2009-04-14 Thread Gary Kline
I'm enclosing most of what I wrote late last night; essentially a request
for how to restrucure my network so that it is easily to maintain and
uses much less energy.  --I sent a few emails from a different platform
where I have mutt.  Don't know why this did not get out; it was in my
~/Maildir/DOT/[directories on my mailserver. [?]

Date: Tue, 14 Apr 2009 01:56:46 -0700
From: Gary Kline kl...@thought.org
To: Polytropon free...@edvax.de
Cc: FreeBSD Mailing List freebsd-questions@freebsd.org
Subject: Re: mayday, mayday
X-Organization: Thought Unlimited. Public service Unix since 1986.
X-Of_Interest: With 22 years  of service to the Unix community.
User-Agent: Mutt/1.5.17+20080114 (2008-01-14)
Status: RO

{edited for [hopeful] clarity}


it was my pfsense firewall.  it took more than 8 hours, an M.E.
buddy retired from Boeing coming over, three fruitless phone
calls, then my just-pondering a good 20 minutes.  finally, i
power-cycled the firewall, and on reboot, fsck cleared
out a bunch of mismatches and other disc garbage.  upon full reboot,
i was back in contact with the rest of the world.

the firewall still isn't working completely, but i doubt it is
very serious.  no worms ... [?] i just can't ping my local IP's.

both my main server and firewall are running on extremely old
hardware.  hp kayaks that i was given years ago and upgraded.
disks, memory, probably one-new-fan.  still, they are fast
approaching their end/live.  this brings up some questions that
i have been meaning to ask this list for several weeks. 

until my wife interrupted my dreams with: you've got to get up
and fix your system; i can't get on my laptop., i was going to do
the usual and postpone this for another few days [/weeks/months].  

anyway, i was ++stumped.  i rebooted everything, Et Cetera.
nutshell, around 16.40 i collapsed on sofa, then decided that
this has to be D-day; i.e.:: decision-day.  or maybe Q-Day,
time to ask the list for advice.

I have four (4) tower cases here, and between  3 laptop
computers, not all in continuous use.in short, 
it is time, or Past-Time, to cut my energy use here.

First: i will always stick with FreeBSD as my primary server.
no matter what i wind up using as toys, {music, videos, [...]}
i'll pony up for at least two new computers.  one to do my
DNS,mail, and web  [and firewall??], and 

Second, one to replace this desktop, which has hosted FBSD since 
version 2.0.5.  I know where stuff lives ... and so on.


Do i really need something as beefy as a pfsense standalone?
is there a way i can run it in a jail?  before my dec., '06
network meltdown i was using ifp quite well on ns1.thought.org.
After a few weeks of help from jon horne, i had a new/used Dell
plus the firewall.  My former server was stripped down a
bit.  

i got highspeed DSL from Qwest, our telco, a year ago.  jon
talked the installed thru how things fit.  i had no clue then,
nor now.  the firewall has two NIC's; the Qwest router is part
of my network.  from the firewall, the cable goes into my
16-port switch.  the server also plugs into the switch.  that
is about the limit of my understanding right now.

if i've made any sense so far, great!  if not,i'm open for
questions.  i'm also open for suggestions on how to alter this
network configuration.  

thanks for reading this far.

gary


It might be simplest to replace my firewall and my server with
low-energy-usage i386 computers; is there a better way?


 
 -- 
 Polytropon
 From Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...


-- 
  Gary Kline  kl...@thought.org   www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Problems with SSH and Subversion over SSH/HTTPS

2009-04-14 Thread Micah R Ledbetter

Hello, all.

I'm having a couple of problems that I can't get to the bottom of. I'm  
using a FreeBSD 7.1-RELEASE-p2 server running on AMD64, serving ssh  
and https, with various Mac OS X and Windows clients. I have recently  
come to wonder if these problems (described below) are related to SSL  
somehow, or perhaps /dev/random. If there's any tuning I could do  
along those lines, or if anyone has any other tips at all that could  
improve this situation, I'd very much love to hear them.



1) Paging through a lot of text over SSH is very slow.

If I compile a large program, or cat a large text file, or even use  
less to page through 8-10 pages of text, ssh becomes very slow.  
Sometimes I can wait it out, and let it catch up after a half minute  
or so, but sometimes I just have to kill ssh and reconnect.


This is notable to me because when I was running other operating  
systems on the same box (Solaris 10 and Linux, at various points in  
the past), which I could of course make my connection fail if I ran  
pathological tests, the difference was like night and day. Now, if I  
cat a file which turns out to be bigger than I expect, typing ^C  
several times - even if I do so just a couple of seconds after I start  
the cat - tends to cancel the cat only rarely... the buffer is so far  
behind that it can't process my input until it catches up, which it  
can't do and I have to end up killing the connection. This is much  
different than my experience with other operating systems.


This happens when I'm using OpenSSH 5.1p1 on my Mac, and when I'm  
using any of several recent versions of PuTTY on the various Windows  
machines.


Oddly, I can get decent speed when copying large files over sftp or  
scp - I haven't done any benchmarks, but it's in line with normal  
network speed for a 100mbps network.



2) SVN over both svn+ssh:// and https:// is also very slow

The repository in question is only three revisions old, and the whole  
repo is less than 200K. All of the files are plain text.


If I check this repo out, via either svn+ssh, or https, using the  
command line client installed on my Mac (which happens to be...  
Subversion 1.5.1), it takes two or three minutes over a perfectly fast  
Internet connection. If I use TortoiseSVN on a Windows machine, it  
takes so long that TSVN times out and says it can't complete the  
transaction. (Using a command-line SVN client on Windows seems to  
produce similar results to the command line client on my Mac).


If I type in the https:// URL for the subversion repository in a web  
browser, and click on individual text files, it displays them much  
more slowly (taking several seconds for a file only a few KB large)  
than I would expect as well.


I have tried this with Subversion version 1.5.1 and 1.6.0, compiled  
from ports, on the FreeBSD server, with no change.



When this is happening, load remains at near 0.00 on the FreeBSD  
server. The network connection is plenty fast, as previously  
mentioned, and the behavior is the same whether I'm connecting over  
the Internet (the FreeBSD box has a 16mbps/2mbps link) or the 100mbps  
local LAN.


For the record: I *have* compiled my own kernel, but its configuration  
differs only from the GENERIC kernel in my appending of the following  
options:



options IPFIREWALL
options IPDIVERT
options GEOM_MIRROR


If necessary, I can test with the GENERIC kernel again.

I have not changed the kern.random parameters, but here they are for  
the sake of completeness. They are in line with the defaults, at least  
as far as i can tell from random(4).



# sysctl kern.random
kern.random.yarrow.gengateinterval: 10
kern.random.yarrow.bins: 10
kern.random.yarrow.fastthresh: 192
kern.random.yarrow.slowthresh: 256
kern.random.yarrow.slowoverthresh: 2
kern.random.sys.seeded: 1
kern.random.sys.harvest.ethernet: 1
kern.random.sys.harvest.point_to_point: 1
kern.random.sys.harvest.interrupt: 1
kern.random.sys.harvest.swi: 0



I very much thank anyone for any help they can provide.

 - Micah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: the 'make' command in the ports tree

2009-04-14 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Polytropon wrote:
 On Sun, 12 Apr 2009 20:08:21 +0200, dede sserre...@gmail.com wrote:
 Hello,

 I'm a long time user of BSDs, and I don't find man pages or 
 documentation on the way I can master the port collection (specialy the 
 fonction of make).
 
 Did you try
 
   % man ports
 
 Don't miss
 
   % man portsnap
 
 
 
 I found this, interesting: 
 http://www.freebsd.org/doc/en/books/handbook/ports-using.html, but some 
 interogations persist.
 
 Which are those?
 
 
 
 I search a command that list all availables variables that afect program 
 installation, [...]
 
 Those are usually specifig to the port and are, in most cases,
 listed in its Makefile. Sometimes, they're documented, e. g.
 in /usr/ports/multimedia/mplayer/Makefile you'll find a header
 with explainations for the variables.
 
 There may be globally set variables that do have an effect on
 a specific port.
 
   % man make.conf
 
 gives a good summary, and have a look at the explainations given
 in /usr/share/examples/etc/make.conf.
 
 
 
 [...] and all arguments I can give to the /usr/port/Makefile  (I 
 know about 'make search key= and name=' is there another?).
 
 Yes, make install, make deinstall, make reinstall, make
 config, make clean, make distclean, make package are
 very common ones for the ports. In /usr/ports, you can even
 use make update to update your ports collection.
 
 
 
 Could anyone give me some cool addresses to learn on the subject?
 
 The FreeBSD Handbook, 4.5 Using the Ports Collection is excellent:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html
 You mentioned it already. 
 
 The FAQ, Chapter 7 User Applications, covers other activities:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/applications.html

No, you don't really want any of them.  The make man page isn't too bad as a
reference, but to learn it, what you want is the postscript writeup that comes
in FreeBSD's documents, in /usr/share/doc/psc/12.make/paper.ascii.gz.  I think
that that last directory can be parent to several different versions, depending
on what you have PRINTERDEVICE set to, so you could get (say) postscript.
Anyhow, whatever shows up at the bottom of that 12.make directory would be all
about pmake which is the parent of today's make, and that's a damned good one.

 
 
 
 If you find things that are not documented enough, simply ask a
 question here.
 
 
 
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknlF1gACgkQz62J6PPcoOkXwgCgmfm+caRmdDgSmp1dDaGTzN/Y
m+kAnjlgslpnLaqv/eVblbUwQCesqn2g
=cHUb
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: make run-depends-list-recursive?

2009-04-14 Thread Chris Whitehouse

Mel Flynn wrote:

On Monday 13 April 2009 03:56:15 Tim Judd wrote:

On Sun, Apr 12, 2009 at 5:10 PM, Chris Whitehouse cwhi...@onetel.comwrote:

Hi

Is there a make target which will give a list of _all_ dependencies
recursively not just next level up? Or a port? I tried
ports-mgmt/pkg_tree but it only seems to work with installed ports.

I don't care if I get duplicates as long as every dependency is listed at
least once.

Thanks

Chris

make all-depends-list


Two things:
1) It surpresses config target and if a port has OPTIONS set, then you may get 
surprised once you've configured the port and ticked/unticked an option
2) It includes EXTRACT_DEPENDS, PATCH_DEPENDS and BUILD_DEPENDS, which 
typically don't end up in run dependencies. Looking at the subject this may 
not be what you need.


make -C /usr/ports/category/portname -V LIB_DEPENDS -V RUN_DEPENDS

will list the dependencies that will be registered in /var/db/pkg. Recurse 
through the list, take the second field split by : and run the above for each 
origin. Something like the script below, which calls the config target if not 
configured, remembers already visited dependencies and then prints the runtime 
dependency list.


Thanks Mel and Tim. I am trying to determine how much disk space the 
distfiles for a port would use. I can get the file size from the 
distinfo file in the port directory. So I need to list dependencies for 
which a distfile would be downloaded.


I guess my question now is which targets or variables need to be 
included to achieve that. (I know it includes build dependencies.
I didn't include build deps in the subject because I figured replies 
would give me the principle and I could expand from that.)


I took a guess at the existence of BUILD_DEPENDS and added it into the 
script. Running the modified script on multimedia/vlc I get the same 
number of dependencies as make all-depends-list so make all-depends-list 
is the same as make -V LIB_DEPENDS -V RUN_DEPENDS -V BUILD-DEPENDS for 
vlc. Is that all I need for any port?


thanks

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: What flash players should be used from ports?

2009-04-14 Thread Vasadi I. Claudiu Florin




Currently running i386.  I'm using firefox 3.0.4 (need to upgrade, wow
didn't realize that).




Hy,


There are several ways to use flash player in FreeBSD X environment. One  
is, as someone previously pointed out, gnash. Another is by using  
nspluginwrapper and linux-flashplugin. Yet another is by using swfdec.
A god start would be http://freebsd.langhans.com.pl/af/index.html and  
http://www.google.ro/search?hl=roq=freebsd+firefox+flash+playerbtnG=C%C4%83utare+Googlemeta=aq=foq=  
and of course http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/  
but aspecially  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html  
.  Hope that triggered your appetite.



Have fun :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: 7.1 System Crashing

2009-04-14 Thread Graeme Dargie


-Original Message-
From: APseudoUtopia [mailto:apseudouto...@gmail.com] 
Sent: 14 April 2009 20:23
To: FreeBSD Questions
Subject: 7.1 System Crashing

My FreeBSD 7.1-RELEASE-p3 system has gone down a few times in the last
two days. I'm trying to figure out why, but there is nothing in
/var/log/messages or dmesg about the incident.

Here's the output from the `last` command:
User  ttyp01.2.3.4Tue Apr 14 19:02   still logged in
User  ttyp01.2.3.4Tue Apr 14 18:52 - 19:02  (00:09)
reboot   ~ Tue Apr 14 18:52
User  ttyp01.2.3.4Tue Apr 14 18:42 - crash  (00:09)
User  ttyp01.2.3.4Tue Apr 14 16:06 - 18:42  (02:36)
User  ttyp01.2.3.4Tue Apr 14 11:23 - 12:53  (01:29)
reboot   ~ Tue Apr 14 07:44
User  ttyp01.2.3.4Mon Apr 13 20:01 - 22:58  (02:57)
User  ttyp01.2.3.4Mon Apr 13 19:56 - 20:01  (00:04)
User  ttyp01.2.3.4Mon Apr 13 19:31 - 19:56  (00:25)
User  ttyp01.2.3.4Sun Apr 12 15:02 - 16:15  (01:12)
User  ttyp01.2.3.4Sun Apr 12 14:48 - 15:02  (00:14)
reboot   ~ Sun Apr 12 14:48
shutdown ~ Sun Apr 12 14:45
User  ttyp01.2.3.4Sun Apr 12 14:24 - shutdown  (00:21)
User  ttyp01.2.3.4Sat Apr 11 13:03 - 17:00  (03:56)
wtmp begins Wed Apr  1 21:21:28 UTC 2009



As you can see, the system reboot several times, and crashed the most
recent time. Only one of the shutdown/reboots listed is valid - the
furthest one.
I have no idea why it is rebooting/crashing. It has been completely
stable until about 1-2 days ago. If anyone can direct me to post the
output to any commands or any log messages, I'd be more than willing
to do so in order to help anyone diagnose my problem.

Thank you for your time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org


If you are able to I would check the cpu heat sink and fan are clean and
in good working order, or if the machine is remote to you install
something like healthd and have a look at the temperatures.


Regards

Graeme

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: from very early this morning...

2009-04-14 Thread Steve Bertrand
Gary Kline wrote:

[...big snip...]

   if i've made any sense so far, great!  if not,i'm open for
   questions.  i'm also open for suggestions on how to alter this
   network configuration.  
 
   thanks for reading this far.
 
   gary
 
 
 It might be simplest to replace my firewall and my server with
 low-energy-usage i386 computers; is there a better way?

What are your requirements for your network ie. are you requiring any
fancy trickery, or is this simply trying to NAT a couple of machines
behind an ADSL connection?

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: questions about Fatal Trap 12

2009-04-14 Thread Steve Bertrand
Glen Barber wrote:
 On Tue, Apr 14, 2009 at 5:23 PM, Ray r...@stilltech.net wrote:
 I Just had the power supply die on this machine. Could  a failing power 
 supply
 cause this type of issues?
 
 Absolutely.

Seconded. Power supply issues have caused me this kind of grief more
times than memory has over the years.

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


iwi device not working

2009-04-14 Thread Brett Wiggins
Hi,

I have recently built a new kernel to get my intel 2200 wireless adapter
working and am still  having some problems. I put the following in my
kernel config file;

device   iwi
device   pci
device   wlan
device   firmware

I compiled and installed the new kernel successfully. I also pplaced the
following in my /boot/loader.conf file;

legal.intel_iwi.license_ack=1
iwi_base_load=YES
iwi_ibss_load=YES
iwi_monitor_load=YES

but when I try the following;

dhclient iwi0

i get;

iwi0: no link... giving up

also when I try

ifconfig iwi0 up scan

the system just hangs. I have had a look at /var/log/messages and found
the following lines:

module_register_init : MOD_LOAD (iwi_bss_fw, 0xc45f25a0, 0) error 1
kernel: firmware_get : failed to load firmware image iwi_base
kernel : iwi0 : could not load firmware

I have no idea what any of this means,

Thanks for any help,

Brett.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: What flash players should be used from ports?

2009-04-14 Thread John Gage
You have three viable choices, I'd recommend the third:
1. ports/graphics/gnash or gnash-devel (high CPU utilization on FreeBSD)
2. ports/www/swfdec-plugin [ ports/graphics/swfdec itself is a
standalone flash player, the plugin port installs a plugin for firefox
usage.  0.8.4 is the latest version for the standalone player(which,
according to the official swfdec site, can play youtube video just
fine). However, the plugin port of swfdec is still at version 0.8.2
and does not work with youtube videos at the moment.]
3. ports/emulators/linux_base-fc4 + ports/www/linux-flashplugin9 +
ports/www/nspluginwrapper (this method is the most complex, but
usually yields the fastest-responding flash and best results, at the
moment.)

On Tue, Apr 14, 2009 at 7:14 PM, Vasadi I. Claudiu Florin wrote:


 Currently running i386.  I'm using firefox 3.0.4 (need to upgrade, wow
 didn't realize that).



 Hy,


 There are several ways to use flash player in FreeBSD X environment. One is,
 as someone previously pointed out, gnash. Another is by using
 nspluginwrapper and linux-flashplugin. Yet another is by using swfdec.
 A god start would be http://freebsd.langhans.com.pl/af/index.html and

This link from Vasadi should be very helpful to you, I have found that
the most stable fedora core base for myself has been 4.  I had a great
deal of trouble with npviewer.bin core dumping and locking up firefox
really nicely with fedora base 8, so I'd stick with 4.

 http://www.google.ro/search?hl=roq=freebsd+firefox+flash+playerbtnG=C%C4%83utare+Googlemeta=aq=foq=
 and of course http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ but
 aspecially
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html
 .  Hope that triggered your appetite.


 Have fun :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Umask and Samba

2009-04-14 Thread Karl Vogel
 On Tue, 14 Apr 2009 16:31:03 + (GMT), 
 Andy Hiscock andyjhisc...@yahoo.com said:

A Ideally I would like to create mask to be set to generate -rw-rw.
A Is there a way of working what the value should be?

   I use this in smb.conf, which allows user/group write and world read:
 force create mode = 0660
 force directory mode = 0775

   You might be able to turn world permissions off by using:
 create mask = 0740
   or
 security mask = 0770

-- 
Karl Vogel  I don't speak for the USAF or my company
Drawing on my fine command of language, I said nothing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 7.1 System Crashing

2009-04-14 Thread Fbsd1

APseudoUtopia wrote:

My FreeBSD 7.1-RELEASE-p3 system has gone down a few times in the last
two days. I'm trying to figure out why, but there is nothing in
/var/log/messages or dmesg about the incident.

Here's the output from the `last` command:
User  ttyp01.2.3.4Tue Apr 14 19:02   still logged in
User  ttyp01.2.3.4Tue Apr 14 18:52 - 19:02  (00:09)
reboot   ~ Tue Apr 14 18:52
User  ttyp01.2.3.4Tue Apr 14 18:42 - crash  (00:09)
User  ttyp01.2.3.4Tue Apr 14 16:06 - 18:42  (02:36)
User  ttyp01.2.3.4Tue Apr 14 11:23 - 12:53  (01:29)
reboot   ~ Tue Apr 14 07:44
User  ttyp01.2.3.4Mon Apr 13 20:01 - 22:58  (02:57)
User  ttyp01.2.3.4Mon Apr 13 19:56 - 20:01  (00:04)
User  ttyp01.2.3.4Mon Apr 13 19:31 - 19:56  (00:25)
User  ttyp01.2.3.4Sun Apr 12 15:02 - 16:15  (01:12)
User  ttyp01.2.3.4Sun Apr 12 14:48 - 15:02  (00:14)
reboot   ~ Sun Apr 12 14:48
shutdown ~ Sun Apr 12 14:45
User  ttyp01.2.3.4Sun Apr 12 14:24 - shutdown  (00:21)
User  ttyp01.2.3.4Sat Apr 11 13:03 - 17:00  (03:56)
wtmp begins Wed Apr  1 21:21:28 UTC 2009



As you can see, the system reboot several times, and crashed the most
recent time. Only one of the shutdown/reboots listed is valid - the
furthest one.
I have no idea why it is rebooting/crashing. It has been completely
stable until about 1-2 days ago. If anyone can direct me to post the
output to any commands or any log messages, I'd be more than willing
to do so in order to help anyone diagnose my problem.

Thank you for your time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




What you are experiencing are the early warning signs of disk drive 
failure or over heating problems.


Before doing any thing else make backup of your user data if you have 
not done so already.


Then open your box and use a small brush and a can of compressed air to 
blow the dust off the motherboard and the fans. Give special attention 
to the fan in the power supply. If PC is older than 3 years or has over 
1 year of continues use then replace the power supply.


IF problem still happens replace hard drive.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Splash screen color issues

2009-04-14 Thread Fbsd1

Eugene L. wrote:
Hello everyone, I have a FreeBSD 7.1-Release (generic kernel), and I am 
trying to make splash screen feature work properly, so I followed the 
procedure described in handbook and the splash screen actually loads, 
except the black is now white, red is violet, etc.


So all the colors of the bitmap are messed up, and I checked, they fit 
the requirements and I've tried other pics and pcx format. I tried gimp, 
photoshop. The issue isn't pic related


What could possibly be the reason?

I use Sapphire Radeon X1600 Pro AGP
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org





Has to be your video card. If you have an X-desktop installed try 
displaying the splash screen and see how it looks there. The x-desktop 
should have auto loaded a driver for your video card. If the colors are 
ok them unplug your video card and try the motherboard default video.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem: PPOE and a Static IP.

2009-04-14 Thread Fbsd1

Paul Halliday wrote:

I am following the instructions on this page:

http://www.freebsd.org/doc/en/books/handbook/pppoe.html

I had initially thought it was a problem with the modem so I had a
technician come in to take a look; when hooked up to his windows
laptop:

1) He had to assign the  interface the static address
2) no uname/pass were required.

What needs to change in my ppp.conf to accommodate a static address?

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org





set ifaddr s.s.s.s 0.0.0.0/0 0.0.0.0 0.0.0.0

where s.s.s.s is your static ip address

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Can't log-in anymore

2009-04-14 Thread Ruel Luchavez
Hi..

I know someoene here can help fix my biggest problem so far.

I can't log-in any more in my FreebSD box
the serverver always complain

/libexec/ld-elf.so.1:shared object lib.so.7 not found, required by sh
Enter full pathname of shell or RETURN fro /bin/sh:

I press enter but nothing happens it always came back with that prompt.

I'm not sure if there is something wrong with the library but few hours
before that happens I can still log-in on my box.

Any idea guys? I can't log-in anymore..


-- 
rHueL ..^o^
FreeBSD user since 6.0
Happy BSD use...
Country:Philippines
Zip Code:8000
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 7.1 System Crashing

2009-04-14 Thread Carl Chave
Could also be a PSU going out - unable to maintain the correct voltages.

On Tue, Apr 14, 2009 at 3:23 PM, APseudoUtopia apseudouto...@gmail.com wrote:
 My FreeBSD 7.1-RELEASE-p3 system has gone down a few times in the last
 two days. I'm trying to figure out why, but there is nothing in
 /var/log/messages or dmesg about the incident.

 Here's the output from the `last` command:
 User      ttyp0    1.2.3.4    Tue Apr 14 19:02   still logged in
 User      ttyp0    1.2.3.4    Tue Apr 14 18:52 - 19:02  (00:09)
 reboot           ~                         Tue Apr 14 18:52
 User      ttyp0    1.2.3.4    Tue Apr 14 18:42 - crash  (00:09)
 User      ttyp0    1.2.3.4    Tue Apr 14 16:06 - 18:42  (02:36)
 User      ttyp0    1.2.3.4    Tue Apr 14 11:23 - 12:53  (01:29)
 reboot           ~                         Tue Apr 14 07:44
 User      ttyp0    1.2.3.4    Mon Apr 13 20:01 - 22:58  (02:57)
 User      ttyp0    1.2.3.4    Mon Apr 13 19:56 - 20:01  (00:04)
 User      ttyp0    1.2.3.4    Mon Apr 13 19:31 - 19:56  (00:25)
 User      ttyp0    1.2.3.4    Sun Apr 12 15:02 - 16:15  (01:12)
 User      ttyp0    1.2.3.4    Sun Apr 12 14:48 - 15:02  (00:14)
 reboot           ~                         Sun Apr 12 14:48
 shutdown         ~                         Sun Apr 12 14:45
 User      ttyp0    1.2.3.4    Sun Apr 12 14:24 - shutdown  (00:21)
 User      ttyp0    1.2.3.4    Sat Apr 11 13:03 - 17:00  (03:56)
 wtmp begins Wed Apr  1 21:21:28 UTC 2009



 As you can see, the system reboot several times, and crashed the most
 recent time. Only one of the shutdown/reboots listed is valid - the
 furthest one.
 I have no idea why it is rebooting/crashing. It has been completely
 stable until about 1-2 days ago. If anyone can direct me to post the
 output to any commands or any log messages, I'd be more than willing
 to do so in order to help anyone diagnose my problem.

 Thank you for your time.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: from very early this morning...

2009-04-14 Thread Carl Chave
Hi Gary,
Just a couple of thoughts, as your setup sounds similar to mine (and a
lot of others' I'm sure) - I too recently decided to make a concerted
effort to reduce power consumption.  I just re-did my file server with
FreeNAS and even though I've got tons of hardware laying around I
decided to buy the Intel 945GCLF mini-itx board based on the Atom
processor, like you find in most netbooks.  I put a gigabit NIC in it
though as the onboard is 10/100 (but I knew that and already had the
NIC).  It's running great so far.

I'd like to replace my pfSense router/firewall, which is currently
powered by an AMD Duron with another mini-itx board that I've had
forever, it's one of the Via C3 500 Mhz based boards.  It's only got
one PCI slot though, which gets me back to the topic at hand.

I just changed my network topology when I stood up the new file
server.  It's now:

                                            |-- Wired LAN
ADSL Modem -- pfSense
                                      |     |-- WAP -- WLAN
                                      |
                                      |-- DMZ (web server)
Forgive my artwork.

I have my ADSL modem set to bridged ethernet mode which disables all
the router/firewall/dhcp features of the modem and just turns it into
a media/protocol converter between the phone line and the ethernet
cable going to the pfSense box.  I use the onboard 10/100 NIC for that
PPPoE connection.

I've got three more NICs installed to make up the remaining
connections.  The wired LAN and the WLAN interfaces are bridged.  I
initially had these as separate networks but most of my media players
are wireless and the file server is on the wired side so bridging it
was the easiest way (for me!) to get the broadcasts through.

The web server is connected directly to the third NIC at the moment
and is it's own network.  It's still behind the firewall but I can
open ports now to it while still protecting the rest of the LAN from
the web server if it get's compromised.  At least, that's the theory.

So that's my setup, don't know if that's the kind of feedback you're
looking for but I'd like to hear comments and see what others have
going.

Carl

On Tue, Apr 14, 2009 at 7:23 PM, Steve Bertrand st...@ibctech.ca wrote:

 Gary Kline wrote:

 [...big snip...]

        if i've made any sense so far, great!  if not,i'm open for
        questions.  i'm also open for suggestions on how to alter this
        network configuration.
 
        thanks for reading this far.
 
        gary
 
 
  It might be simplest to replace my firewall and my server with
  low-energy-usage i386 computers; is there a better way?

 What are your requirements for your network ie. are you requiring any
 fancy trickery, or is this simply trying to NAT a couple of machines
 behind an ADSL connection?

 Steve
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: questions about Fatal Trap 12

2009-04-14 Thread Michael Powell
Steve Bertrand wrote:

 Glen Barber wrote:
 On Tue, Apr 14, 2009 at 5:23 PM, Ray r...@stilltech.net wrote:
 I Just had the power supply die on this machine. Could  a failing power
 supply cause this type of issues?
 
 Absolutely.
 
 Seconded. Power supply issues have caused me this kind of grief more
 times than memory has over the years.
 

Yes, me too. With the advent of the digital age there is less and less 
cognizance of analog electronics these days. Simply checking the output 
voltages with a Radio Shack VOM will make things seem to be OK, as in the 
measurements seem to be within the range you'd expect, but this is not an 
entirely accurate assessment. 

It can be the case where a power supply has aged to the point that it can 
support only some fraction of the load it was rated at when new. As long as 
the load stays below this derated value the box seems all right, but plug in 
another drive or some other hardware that pushes it over the edge and you 
get another story.

What you will get is non-pure DC with huge amounts of unfiltered ripple. The 
VOM will not show this. You would have to be using an oscilloscope to see 
it. But even an old power supply that is not loaded down to the point of 
total failure can begin to show out of spec ripple measurement as load 
increases. This ripple can be the source of seemingly intermittent hardware 
problems such as hangs, mysterious automagic rebooting, lock ups, etc, that 
seem to have no rhyme or reason to them.

Many times in the distant past I replaced one by one each subsystem with 
known good ones to the point where the power supply was the last thing I 
tried. These days if it is an older box with a lot of hours of MTBF on it I 
do it first, using a known good. Probably 70%+ of the time it has turned out 
to save lots of time. Rather than try every thing else first I have learned 
to eliminate the power supply first, rather than the other way around. But I 
also have a 100MHz dual trace 'scope too.

-Mike




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mkisofs and directories

2009-04-14 Thread Peter Ulrich Kruppa
Am Mittwoch, den 15.04.2009, 00:18 +0200 schrieb Alexander Best:
 hi there,
 
 this is a question that's always been bugging me:
 
 when i give mkisofs a directory as argument it always ads the contents of that
 directory to the iso. how can i tell mkisofs that i want the actual directory
 (including all it's contents) to be added to the iso?
You could use the -root option like this:
# mkisofs -o image_name.iso -root directory_name path/to/files

Greetings,

Uli.
 
 cheers.
 alex
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mkisofs and directories

2009-04-14 Thread Tim Judd
On Tue, Apr 14, 2009 at 4:18 PM, Alexander Best 
alexbes...@math.uni-muenster.de wrote:

 hi there,

 this is a question that's always been bugging me:

 when i give mkisofs a directory as argument it always ads the contents of
 that
 directory to the iso. how can i tell mkisofs that i want the actual
 directory
 (including all it's contents) to be added to the iso?

 cheers.
 alex


unix naming convention normally dictates the following:
cp -r /cdrom/dir /mnt/
# will create /mnt/dir and everything under it
cp -r /cdrom/dir/ /mnt/
# will copy contents of dir into /mnt


Try excluding the slash (which is the only difference).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org