Mouse fails with ACPI enabled 8-B4

2009-09-11 Thread Eitan Adler
If I boot with ACPI enabled and then either start X or moused the
mouse will appear to work for a few moments and then cease to proccess
any input (as tested by moused verbose output, xev, and failure of the
mouse to move).
This happens on 8.0 BETA 4
If I boot without ACPI the mouse works.

Any ideas on how to fix?
___
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: reducing size of apache instances

2009-09-11 Thread Gareth Brown

   Here's a few you can disable:
   mod_status, mod_info (both give extra unnecessary info about server)
   and mod_include (allows include statements in html files).  These
   aren't recommended anyway unless you really need them as they create
   some level of security concern.
   mod_userdir is only needed if you are allowing users to have webpages
   from home directories
   mod_ssl, only if you're going to use ssl
   mod_rewrite only if you will be rewriting webpage names to something
   else
   mod_auth_basic and mod_auth_digest only if you're going to add http
   authentication to any of your webpages
   John Almberg wrote:

 My Apache 2.2 instances are running about 18 Meg each. I've been
 thinking about doing something to trim these down, and I think
 tomorrow is the day to take action. They are getting out of hand.
 I've done a bit of research on this. I think the way to get started
 is to eliminate unused modules. Problem is, I know which ones I
 need, since I purposefully added them. I *don't* know which ones I
 don't need, if you see what I mean, since I inherited them from the
 default configuration.
 I assume that some are critical to the basic operation of Apache. I
 am hoping I can google a list of these tomorrow. Obviously these
 I'll have to live with.
 But what about the set that is left after I remove the ones the
 system needs, and the ones I need? How do I know which ones I can
 safely turn off? All I can think of is a trial and error process
 (i.e., turn them off one by one and see if anything breaks.)
 Is there a better way?
 -- John
 ___
 [1]freebsd-questi...@freebsd.org mailing list
 [2]http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [3]freebsd-questions-unsubscr...@freebsd.org

References

   1. mailto:freebsd-questions@freebsd.org
   2. http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   3. mailto: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


FreeBSD 7.x with Lenovo Thinkpad SL500 or T400

2009-09-11 Thread Abhi
Hola,
  Has anybody tried FreeBSD 7.x on Lenovo Thinkpads SL500 or T400?

Thanks,
Abhijit
-- 
(if hungry?
   (eat)
 (sleep))
___
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.2-RELEASE/amd64 - weird stuff in dmesg

2009-09-11 Thread Albert Shih
 Le 11/09/2009 à 15:03:36+1000, Alex R a écrit
 Any ideas??? Anyone??

No.

But I got this kind of message since 7.0.

Do you have «no classic» network ? 

Regards.

JAS
-- 
Albert SHIH
SIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
Ven 11 sep 2009 09:21:42 CEST
___
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 commands... refcard

2009-09-11 Thread Matthias Apitz

Hello,

In some Linux mailing list of Cuba I'm subscribed to, I just stumbled
over this Debian GNU/Linux Reference Card: http://xinocat.com/refcard/
which is available in many languages. This would be very helpfull for my
wife which 'must' ( :-)) run FreeBSD on her laptop. Is there something
like this for FreeBSD, and even in Spanish? Thanks

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use 
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


Re: Upgrading 6.0 to 6.x... without /var

2009-09-11 Thread Ruben de Groot
On Thu, Sep 10, 2009 at 02:14:55PM -0700, jaymax typed:
 
 
 I have a 6.0 installation without a /var slice. Instead I have a soft link
 of /usr/var to a /var@ file. Now I am attempting an upgrade to 6.4 and
 getting an error condition. I am using Disk 1 of the 6.4 distro  Upgrade
 [Upgrade an existing system]  All [All system sources. binaries and
 X-Windows System]  added Ports and mount points. System goes through its
 fsck-ffs -y routines on /mnt/dev/* devices.
 = Error Messages
 [i] Error mounting /mnt/dev ad0as1e on /mnt/usr : Input/output error
 [ii] Error mounting /mnt/dev ad0as1f on /mnt/usr : Input/output error
^^^

While entirely possible, this is not a normal partitioning scheme.
You should post some more about your configuration (fstab, dmesg) before 
this can be analysed.

 Could this problem result from the absence of a /var partition ? 

I doubt it. Something else is fishy her ;)

 Is there an alt. Strategy for a 6.0 =6.4 upgrade, while maintaining all the
 previous custom and configuration files?

There's allways the csup - buildworld - kernel - installworld source upgrade 
path.

Ruben

___
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: Sites using FreeBSD

2009-09-11 Thread Ruben de Groot
On Thu, Sep 10, 2009 at 04:56:34PM +0200, Arvin Zuberbuehler typed:
 Hi there,
 
 Is there a chance to get listed under Sites using FreeBSD
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/nutshell.html#INTRODUCTION-NUTSHELL-USERS?
 Or are there any possibilities for advertisements on any pages of
 http://www.freebsd.org/http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/nutshell.html#INTRODUCTION-NUTSHELL-USERS
  ?
 
 Please give me a short feedback.

Try a donation:

http://www.freebsdfoundation.org/donate/sponsors.shtml

Ruben

___
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: FreeBSD 7.x with Lenovo Thinkpad SL500 or T400

2009-09-11 Thread Chad Perrin
On Fri, Sep 11, 2009 at 12:25:25PM +0530, Abhi wrote:
 Hola,
   Has anybody tried FreeBSD 7.x on Lenovo Thinkpads SL500 or T400?

Alas, though I tried, I could not convince my girlfriend that installing
FreeBSD on her T500 would be worth the sacrifice of *not* getting to run
WoW, since (unlike Ubuntu, which is what she used instead) the
proprietary ATI driver doesn't work so well with FreeBSD.

Anyway . . . while I have not tried installing FreeBSD on an SL500 or a
T400 either, I suspect support would be decent -- as long as you don't
need 3D graphics support good enough for WoW.  That's just my educated
guess, and not confirmation, though.  Hopefully someone else can give a
more definitive response.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Antoine de Saint-Exupery: A designer knows he has achieved
perfection not when there is nothing left to add, but when there is
nothing left to take away.


pgpd6Zf9ug7xb.pgp
Description: PGP signature


Re: FreeBSD commands... refcard

2009-09-11 Thread Manolis Kiagias
Matthias Apitz wrote:
 Hello,

 In some Linux mailing list of Cuba I'm subscribed to, I just stumbled
 over this Debian GNU/Linux Reference Card: http://xinocat.com/refcard/
 which is available in many languages. This would be very helpfull for my
 wife which 'must' ( :-)) run FreeBSD on her laptop. Is there something
 like this for FreeBSD, and even in Spanish? Thanks

   matthias
   

It wouldn't be difficult to do something similar. Looking at the Greek
version of the debian card, most commands are basic ones with similar
function in FreeBSD. We could replace the apt-get section with commands
from the ports system and pkg_* and the /etc/init.d/ section with
/etc/rc.d and /usr/local/etc/rc.d.

I'll try to make up an  initial English version this weekend.
___
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: FreeBSD commands... refcard

2009-09-11 Thread Matthias Apitz
El día Friday, September 11, 2009 a las 12:21:41PM +0300, Manolis Kiagias 
escribió:

 Matthias Apitz wrote:
  Hello,
 
  In some Linux mailing list of Cuba I'm subscribed to, I just stumbled
  over this Debian GNU/Linux Reference Card: http://xinocat.com/refcard/
  which is available in many languages. This would be very helpfull for my
  wife which 'must' ( :-)) run FreeBSD on her laptop. Is there something
  like this for FreeBSD, and even in Spanish? Thanks
 
  matthias

 
 It wouldn't be difficult to do something similar. Looking at the Greek
 version of the debian card, most commands are basic ones with similar
 function in FreeBSD. We could replace the apt-get section with commands
 from the ports system and pkg_* and the /etc/init.d/ section with
 /etc/rc.d and /usr/local/etc/rc.d.
 
 I'll try to make up an  initial English version this weekend.

That would be very fine; please, can you describe also what software from the
ports one must use for Of course, you may alter the reference card to
you needs and create a cusomised refcard. You need to apt-get install
the following packages first: docbook-xsl, pdfjam, pdftk, po4a, xmlroff,
poppler-utils, and xsltproc.

I'd be more than happy to make a Spanish and German translation of it.

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use 
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


Re: FreeBSD commands... refcard

2009-09-11 Thread James Seward
On Fri, Sep 11, 2009 at 8:30 AM, Matthias Apitz g...@unixarea.de wrote:
 In some Linux mailing list of Cuba I'm subscribed to, I just stumbled
 over this Debian GNU/Linux Reference Card: http://xinocat.com/refcard/
 which is available in many languages. This would be very helpfull for my
 wife which 'must' ( :-)) run FreeBSD on her laptop. Is there something
 like this for FreeBSD, and even in Spanish? Thanks

Not quite the same, but have a look at the Rosetta Stone for Unix:
http://bhami.com/rosetta.html

/JMS
___
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: linux-pango won't install

2009-09-11 Thread Daniel Bye
On Thu, Sep 10, 2009 at 09:49:13PM -0600, Chad Perrin wrote:
 For some reason, the x11-toolkits/linux-pango port won't install on my
 FreeBSD 7.2 system.  When I try, I get the following:
 
 [Gathering depends for x11-toolkits/linux-pango 
 .. done]
 ---  Installing 'linux-pango-1.10.2_3' from a port 
 (x11-toolkits/linux-pango)
 ---  Building '/usr/ports/x11-toolkits/linux-pango'
 ===  Cleaning for linux-pango-1.10.2_3
 ** Command failed [exit code 1]: /usr/bin/script -qa 
 /tmp/portinstall20090910-66072-gzj01-0 env make
 ** Fix the problem and try again.
 ** Listing the failed packages (-:ignored / *:skipped / !:failed)
 ! x11-toolkits/linux-pango  (unknown build error)
 
 How can I fix this?  My Google and FreeBSD documentation searches have
 proven fruitless.

I remember having the devil's own job upgrading this a while ago. Try
running the install manually - portinstall tends to obscure the real
error message, making it harder to track down the specific problem. Doing
it manually should at least let you see what's going wrong!

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpmtkTx4NvTn.pgp
Description: PGP signature


Re: linux-pango won't install

2009-09-11 Thread Matthew Seaman
Daniel Bye wrote:
 On Thu, Sep 10, 2009 at 09:49:13PM -0600, Chad Perrin wrote:
 For some reason, the x11-toolkits/linux-pango port won't install on my
 FreeBSD 7.2 system.  When I try, I get the following:

 [Gathering depends for x11-toolkits/linux-pango 
 .. done]
 ---  Installing 'linux-pango-1.10.2_3' from a port 
 (x11-toolkits/linux-pango)
 ---  Building '/usr/ports/x11-toolkits/linux-pango'
 ===  Cleaning for linux-pango-1.10.2_3
 ** Command failed [exit code 1]: /usr/bin/script -qa 
 /tmp/portinstall20090910-66072-gzj01-0 env make
 ** Fix the problem and try again.
 ** Listing the failed packages (-:ignored / *:skipped / !:failed)
 ! x11-toolkits/linux-pango  (unknown build error)

 How can I fix this?  My Google and FreeBSD documentation searches have
 proven fruitless.
 
 I remember having the devil's own job upgrading this a while ago. Try
 running the install manually - portinstall tends to obscure the real
 error message, making it harder to track down the specific problem. Doing
 it manually should at least let you see what's going wrong!
 
 Dan
 

Perhaps this will prove enlightening:

significant-gravitas-shortfall:~:% portaudit -a 
Affected package: linux-f8-pango-1.18.4_1
Type of problem: pango -- integer overflow.
Reference: 
http://portaudit.FreeBSD.org/4b172278-3f46-11de-becb-001cc0377035.html

1 problem(s) in your installed packages found.

You are advised to update or deinstall the affected package(s) immediately.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   Flat 3
  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW, UK



signature.asc
Description: OpenPGP digital signature


Re: 7.2-RELEASE/amd64 - weird stuff in dmesg

2009-09-11 Thread Bruce Cran
On Thu, 10 Sep 2009 13:03:44 +1000
Alex R a...@mailinglist.ahhyes.net wrote:

 Hi everyone,
 
 I was wondering whether anyone could shed some light on the following 
 messages I am seeing in dmesg:
 
 
 
 33aarrpp::  uunnkknnoowwnn  hhaarrddwwaarree  aaress format
 (0x) ress format (0x)
 arp: unakrnpo:w nu nhkanrodwwna rhea raddwdarrees sa dfdorremsast  
 f(o0rxm0a0t0 0()0
 x
 )
 arp:3 uanrkpn:o wunn khnaorwdnw ahraer dawdadrree sasd dfroersmsa
 tf o(r0mxat0 0(00x000)0
 0
 )
 arp: unknown hardware address format (0xarp:0 7u0n0k)n
 o
 wn hardware address format (0x0700)
 aarrpp::  uunnkknnoowwnn  hhaarrddwwaarree  aarree  
 ffoorrmmaatt  ((00xx0077))
 
 --
 
 Any ideas whats with the jumbled/double letters? Is there something 
 wrong with the machine or is it a bug in the OS? I have seen similar 
 symptoms on SMP enabled boxes when shutting down if 2 processes call 
 kprintf() or printf() at the same time, it results in garbled output.


 Should i turn a blind eye to this?

Yes :)
It's a known issue that the kernel printf isn't locked so messages get
mixed up like that.In 8.0 the PRINTF_BUFR_SIZE option has been
added which should fix it.

-- 
Bruce
___
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: linux-pango won't install

2009-09-11 Thread Daniel Bye
On Fri, Sep 11, 2009 at 11:49:25AM +0100, Matthew Seaman wrote:
 Daniel Bye wrote:
  On Thu, Sep 10, 2009 at 09:49:13PM -0600, Chad Perrin wrote:
  For some reason, the x11-toolkits/linux-pango port won't install on my
  FreeBSD 7.2 system.  When I try, I get the following:
 
  [Gathering depends for x11-toolkits/linux-pango 
  .. done]
  ---  Installing 'linux-pango-1.10.2_3' from a port 
  (x11-toolkits/linux-pango)
  ---  Building '/usr/ports/x11-toolkits/linux-pango'
  ===  Cleaning for linux-pango-1.10.2_3
  ** Command failed [exit code 1]: /usr/bin/script -qa 
  /tmp/portinstall20090910-66072-gzj01-0 env make
  ** Fix the problem and try again.
  ** Listing the failed packages (-:ignored / *:skipped / !:failed)
  ! x11-toolkits/linux-pango  (unknown build error)
 
  How can I fix this?  My Google and FreeBSD documentation searches have
  proven fruitless.
  
  I remember having the devil's own job upgrading this a while ago. Try
  running the install manually - portinstall tends to obscure the real
  error message, making it harder to track down the specific problem. Doing
  it manually should at least let you see what's going wrong!
  
  Dan
  
 
 Perhaps this will prove enlightening:
 
 significant-gravitas-shortfall:~:% portaudit -a 
 Affected package: linux-f8-pango-1.18.4_1
 Type of problem: pango -- integer overflow.
 Reference: 
 http://portaudit.FreeBSD.org/4b172278-3f46-11de-becb-001cc0377035.html
 
 1 problem(s) in your installed packages found.
 
 You are advised to update or deinstall the affected package(s) immediately.


Ah yes, now I remember! I recently upgraded to 8-BETA* which uses f10 by
default, and the f10 linux pango doesn't seem to have that problem. Perhaps 
that's how I ended up fixing it...

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpERPFvQA70K.pgp
Description: PGP signature


Re: linux-pango won't install

2009-09-11 Thread Jerry
On Fri, 11 Sep 2009 11:49:25 +0100
Matthew Seaman m.sea...@infracaninophile.co.uk wrote:

 Daniel Bye wrote:
  On Thu, Sep 10, 2009 at 09:49:13PM -0600, Chad Perrin wrote:
  For some reason, the x11-toolkits/linux-pango port won't install
  on my FreeBSD 7.2 system.  When I try, I get the following:
 
  [Gathering depends for
  x11-toolkits/linux-pango 
  ..
  done] ---  Installing 'linux-pango-1.10.2_3' from a port
  (x11-toolkits/linux-pango) ---  Building
  '/usr/ports/x11-toolkits/linux-pango' ===  Cleaning for
  linux-pango-1.10.2_3 ** Command failed [exit code
  1]: /usr/bin/script -qa /tmp/portinstall20090910-66072-gzj01-0 env
  make ** Fix the problem and try again. ** Listing the failed
  packages (-:ignored / *:skipped / !:failed) !
  x11-toolkits/linux-pango  (unknown build error)
 
  How can I fix this?  My Google and FreeBSD documentation searches
  have proven fruitless.
  
  I remember having the devil's own job upgrading this a while ago.
  Try running the install manually - portinstall tends to obscure the
  real error message, making it harder to track down the specific
  problem. Doing it manually should at least let you see what's going
  wrong!
  
  Dan
  
 
 Perhaps this will prove enlightening:
 
 significant-gravitas-shortfall:~:% portaudit -a 
 Affected package: linux-f8-pango-1.18.4_1
 Type of problem: pango -- integer overflow.
 Reference:
 http://portaudit.FreeBSD.org/4b172278-3f46-11de-becb-001cc0377035.html
 
 1 problem(s) in your installed packages found.
 
 You are advised to update or deinstall the affected package(s)
 immediately.

If you still want to install the port, you could just add this to
the /etc/make.conf file:

# Pango
.if $(.CURDIR:M*/x11-toolkits/linux-pango)
DISABLE_VULNERABILITIES=yes
.endif


-- 
Jerry
ges...@yahoo.com

Go climb a gravity well.
___
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


amavisd-new status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of data -- message may be sent more than once) in maillog issue

2009-09-11 Thread Andrei Brezan
Hello list,

I have a strange behaviour from my postfix config using amavisd-new with
clamav. I have 4 messages in queue all deffered with the same problem:
lost connection with 127.0.0.1.

This is what i get from amavisd with log_level=5 in debug.log:

*snip*
Sep 11 14:15:47 mail amavis[46602]: (46602-01) run_command: [47011]
/usr/local/bin/file p001 p002 p003 /dev/null 21
Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
target fd0 closing, to become  /dev/null
Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
target fd1 closing, to become  =15
Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
target fd1 dup2 from fd15  =15
Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
source fd15 closed
Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
target fd2 closing, to become  1
Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
target fd2 dup2 from fd1  1
Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1):
p001: ASCII news text\n
Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re(ASCII news
text) matches key (?i-xsm:^(ASCII|text)\b), result=asc
Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup
[map_full_type_to_short_type] = true,  ASCII news text matches,
result=asc, matching_key=(?i-xsm:^(ASCII|text)\\b)
Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p001: ASCII
news text; (asc)
Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1):
p002: Microsoft Office Document Microsoft Word Document\n
Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re(Microsoft
Office Document Microsoft Word Document) matches key
(?i-xsm:^Microsoft Office Document\b), result=doc
Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup
[map_full_type_to_short_type] = true,  Microsoft Office Document
Microsoft Word Document matches, result=doc,
matching_key=(?i-xsm:^Microsoft Office Document\\b)
Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p002:
Microsoft Office Document Microsoft Word Document; (doc)
Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1):
p003: Microsoft Office Document Microsoft Word Document\n
Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re(Microsoft
Office Document Microsoft Word Document) matches key
(?i-xsm:^Microsoft Office Document\b), result=doc
Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup
[map_full_type_to_short_type] = true,  Microsoft Office Document
Microsoft Word Document matches, result=doc,
matching_key=(?i-xsm:^Microsoft Office Document\\b)
Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p003:
Microsoft Office Document Microsoft Word Document; (doc)
Sep 11 14:15:47 mail amavis[46602]: (46602-01) do_ascii: Decoding part p001
Sep 11 14:15:47 mail amavis[46602]: (46602-01) do_ascii: Setting
sigaction handler, was 0
Sep 11 14:15:47 mail amavis[46602]: (46602-01) timer set to 320 s (was
480 s)
Sep 11 14:15:47 mail amavis[46593]: Net::Server: Starting 1 children
Sep 11 14:15:47 mail amavis[47012]: Net::Server: Child Preforked (47012)
Sep 11 14:15:47 mail amavis[47012]: entered child_init_hook
Sep 11 14:15:47 mail amavis[47012]: SpamControl: init_child on
SpamAssassin done

And at ~ the same time i get:
pid 46602 (perl), uid 106: exited on signal 11.

Don't know what to do with those 4 messages and why they are stuck in
queue. I've tried sendig other messages and they get delivered ok.

If someone can elighten me pls do so.

Thank you.
___
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: reducing size of apache instances

2009-09-11 Thread Ivan Voras

John Almberg wrote:
My Apache 2.2 instances are running about 18 Meg each. I've been 
thinking about doing something to trim these down, and I think tomorrow 
is the day to take action. They are getting out of hand.


I've done a bit of research on this. I think the way to get started is 
to eliminate unused modules. Problem is, I know which ones I need, since 


There is another thing you can try. Judging from the process size you've 
given it looks like you are not using PHP or a similar Apache module. 
Also, you didn't specify anything so I assume you are using the default 
configuration, which operates in prefork mode - MPM_PREFORK, which 
means a separate process is forked for every request.


If all of this is true, you can trivially switch to the worker-threaded 
MPM in which every Apache process (which will be of comparable size to 
the one you currently have) will handle a large number of request. In 
effect, instead of e.g. 50 Apache processes active for 50 connections, 
you will have 2-3 Apache processes.


Enable WITH_MPM=worker in /etc/make.conf to enable this.

___
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


grabbing files from SVN ViewVC browser

2009-09-11 Thread Alexander Best
hi there,

just wanted to ask if there's a way to actually download files via the SVN
ViewVC browser? right now i'm using SVN DAV tree for downloads and SVN
ViewVC browser to track changes, do diffs, etc.

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


Nice/priority and disk access

2009-09-11 Thread Bertram Scharpf
Hi,


as the man page tells, `nice' alters the scheduling priority.
Is there a way to reduce a processes priority for hard disk
access?

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
___
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: [SOLVED] amavisd-new status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of data -- message may be sent more than once) in maillog issue

2009-09-11 Thread Andrei Brezan
Andrei Brezan wrote:
 Hello list,
 
 I have a strange behaviour from my postfix config using amavisd-new with
 clamav. I have 4 messages in queue all deffered with the same problem:
 lost connection with 127.0.0.1.
 
 This is what i get from amavisd with log_level=5 in debug.log:
 
 *snip*
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) run_command: [47011]
 /usr/local/bin/file p001 p002 p003 /dev/null 21
 Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
 target fd0 closing, to become  /dev/null
 Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
 target fd1 closing, to become  =15
 Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
 target fd1 dup2 from fd15  =15
 Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
 source fd15 closed
 Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
 target fd2 closing, to become  1
 Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
 target fd2 dup2 from fd1  1
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1):
 p001: ASCII news text\n
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re(ASCII news
 text) matches key (?i-xsm:^(ASCII|text)\b), result=asc
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup
 [map_full_type_to_short_type] = true,  ASCII news text matches,
 result=asc, matching_key=(?i-xsm:^(ASCII|text)\\b)
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p001: ASCII
 news text; (asc)
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1):
 p002: Microsoft Office Document Microsoft Word Document\n
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re(Microsoft
 Office Document Microsoft Word Document) matches key
 (?i-xsm:^Microsoft Office Document\b), result=doc
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup
 [map_full_type_to_short_type] = true,  Microsoft Office Document
 Microsoft Word Document matches, result=doc,
 matching_key=(?i-xsm:^Microsoft Office Document\\b)
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p002:
 Microsoft Office Document Microsoft Word Document; (doc)
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1):
 p003: Microsoft Office Document Microsoft Word Document\n
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re(Microsoft
 Office Document Microsoft Word Document) matches key
 (?i-xsm:^Microsoft Office Document\b), result=doc
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup
 [map_full_type_to_short_type] = true,  Microsoft Office Document
 Microsoft Word Document matches, result=doc,
 matching_key=(?i-xsm:^Microsoft Office Document\\b)
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p003:
 Microsoft Office Document Microsoft Word Document; (doc)
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) do_ascii: Decoding part p001
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) do_ascii: Setting
 sigaction handler, was 0
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) timer set to 320 s (was
 480 s)
 Sep 11 14:15:47 mail amavis[46593]: Net::Server: Starting 1 children
 Sep 11 14:15:47 mail amavis[47012]: Net::Server: Child Preforked (47012)
 Sep 11 14:15:47 mail amavis[47012]: entered child_init_hook
 Sep 11 14:15:47 mail amavis[47012]: SpamControl: init_child on
 SpamAssassin done
 
 And at ~ the same time i get:
 pid 46602 (perl), uid 106: exited on signal 11.
 
 Don't know what to do with those 4 messages and why they are stuck in
 queue. I've tried sendig other messages and they get delivered ok.
 
 If someone can elighten me pls do so.
 
 Thank you.
 

After googling around a bit more i found out that is something related
to uulib code. All i had to do is comment out the entries with do_ascii
in amavisd.conf.

Here's the post where i found this:

http://www.mail-archive.com/amavis-u...@lists.sourceforge.net/msg14374.html

P.S. Sorry about the noise and too long subj :)
___
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: Nice/priority and disk access

2009-09-11 Thread Ivan Voras

Bertram Scharpf wrote:

Hi,


as the man page tells, `nice' alters the scheduling priority.
Is there a way to reduce a processes priority for hard disk
access?


No.

___
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: reducing size of apache instances

2009-09-11 Thread John Almberg

Ivan Voras wrote:


There is another thing you can try. Judging from the process size you've
given it looks like you are not using PHP or a similar Apache module.
Also, you didn't specify anything so I assume you are using the default
configuration, which operates in prefork mode - MPM_PREFORK, which
means a separate process is forked for every request.

If all of this is true, you can trivially switch to the worker-threaded
MPM in which every Apache process (which will be of comparable size to
the one you currently have) will handle a large number of request. In
effect, instead of e.g. 50 Apache processes active for 50 connections,
you will have 2-3 Apache processes.

Enable WITH_MPM=worker in /etc/make.conf to enable this.


I am using PHP, in fact. I've listed all the loaded modules below, and 
marked the ones I added with an '*'. I need the proxy modules because I 
use Apache as a front end for Mongrel.


BTW, this is Apache 2.2 on FreeBSD 7.1

This WITH_MPM=worker sounds interesting. I'll have to read up on it. I 
guess there is some downside to enabling it, like slower performance?


-- John

Loaded Modules:
 core_module (static)
 mpm_prefork_module (static)
 http_module (static)
 so_module (static)
 authn_file_module (shared)
 authn_dbm_module (shared)
 authn_anon_module (shared)
 authn_default_module (shared)
 authn_alias_module (shared)
 authz_host_module (shared)
 authz_groupfile_module (shared)
 authz_user_module (shared)
 authz_dbm_module (shared)
 authz_owner_module (shared)
 authz_default_module (shared)
 auth_basic_module (shared)
 auth_digest_module (shared)
 file_cache_module (shared)
 cache_module (shared)
 disk_cache_module (shared)
 dumpio_module (shared)
 include_module (shared)
 filter_module (shared)
 charset_lite_module (shared)
 deflate_module (shared)
 log_config_module (shared)
 logio_module (shared)
 env_module (shared)
 mime_magic_module (shared)
 cern_meta_module (shared)
 expires_module (shared)
 headers_module (shared)
 usertrack_module (shared)
 unique_id_module (shared)
 setenvif_module (shared)
 version_module (shared)
 *proxy_module (shared)
 *proxy_http_module (shared)
 *proxy_balancer_module (shared)
 *ssl_module (shared)
 mime_module (shared)
 *dav_module (shared)
 status_module (shared)
 autoindex_module (shared)
 asis_module (shared)
 info_module (shared)
 cgi_module (shared)
 dav_fs_module (shared)
 vhost_alias_module (shared)
 negotiation_module (shared)
 dir_module (shared)
 imagemap_module (shared)
 actions_module (shared)
 speling_module (shared)
 userdir_module (shared)
 alias_module (shared)
 *rewrite_module (shared)
 *php5_module (shared)
Syntax OK
___
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 proxy port ftp ftp/tcp

2009-09-11 Thread alexus
I'm straggling to get my FTP to work

I'm running jail on my FreeBSD with proftpd and I use ipnat to forward
any requests to my box to that jail for that service
this is what i put inside of my ipnat.conf

rdr bce0 64.237.55.65/27 - lama proxy port ftp ftp/tcp

64.237.55.65/27 this is my public range
lama is my jail's name

when I get connected I get something like this when I do ipnat -l

RDR 64.237.55.8321- - 64.237.55.8321[216.203.43.254 50532]
proxy ftp/6 use -11 flags 0
proto 6 flags 0 bytes 2824 pkts 24 data YES size 344
FTP Proxy:
passok: 0
Client:
seq b4b3b64d (ack b4b3b64d) len 6 junk 0 cmds 0
buf [FEAT\015\012\012p\015\012\000]
Server:
seq 970af81b (ack 970af8dc) len 193 junk 0 cmds 211
buf [211 End\015\012e;\012 MLST 
modify*;perm*;size*;type*;unique*;UNIX\000]

and on my client I get this

mbp:~ alexus$ ftp 64.237.55.83
Connected to 64.237.55.83.
220 64.237.55.83 FTP server ready
Name (64.237.55.83:alexus): ftp
331 Anonymous login ok, send your complete email address as your password
Password:
230 Anonymous access granted, restrictions apply
Remote system type is UNIX.
Using binary mode to transfer files.

421 Service not available, remote server timed out. Connection closed.
ftp: No control connection for command
ftp

can someone help me?

-- 
http://alexus.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: reducing size of apache instances

2009-09-11 Thread Ivan Voras

John Almberg wrote:

I am using PHP, in fact. I've listed all the loaded modules below, and 
marked the ones I added with an '*'. I need the proxy modules because I 
use Apache as a front end for Mongrel.


This WITH_MPM=worker sounds interesting. I'll have to read up on it. I 
guess there is some downside to enabling it, like slower performance?


PHP is incredibly buggy and will in all probability break Apache if you 
try running it in threaded mode.


___
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


jboss5 on freebsd

2009-09-11 Thread Steel City Phantom
im trying to get the jboss 5 port to run on bsd 6.3.  ive had 4 going for a
long time now but i can't seem to get 5 to run right.  my app is huge and i
need to increase the permgen space on the jvm for it to run.
ive got this in my rc.conf

jboss5_enable=YES
jboss5_config=default
jboss5_flags=-Dprogram.name=run.sh -server -Xms1024m -Xmx1024m
-XX:PermSize=1000m -XX:MaxPermSize=1000m

it worked fine in jboss4 but for some reason 5 isn't picking it up.  any
ideas?
___
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


SVN + Apache

2009-09-11 Thread Steve Bertrand
Hi all,

The only relevance that this has to FBSD is that both Apache and
subversion were installed via packages.

I've been meaning to get around to enabling SVN so that I can access my
repo via HTTPs. However, most of the docs I've found via Sir Google
claim that it's likely that I'll have to recompile subversion ( and/or
apache ) in order to make it work.

Although I have very up-to-date clone-able backups and archives of this
particular system, I really don't want to do anything that has the
potential of clobbering my current working setup.

Can those in the know provide any insight into:

- how I can verify whether the necessary components are currently installed

- how to identify whether said components were compiled with the
appropriate args

- a qd howto consisting of a path of least resistance ( or a reference
to a confirmed reliable existing howto )

- any caveats and/or things to look for prior to trying to implement it

I'm the only one who uses the repository ( at this time ), and currently
I access it via SSH. Security isn't an overly major concern at this
point, as I will just apply the web server to it's own IPv6 address and
filter those who could potentially access it via IPFW :)

Cheers!

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


Re: SVN + Apache

2009-09-11 Thread Daniel Molina Wegener
2009/9/11 Steve Bertrand st...@ibctech.ca

 Hi all,

 The only relevance that this has to FBSD is that both Apache and
 subversion were installed via packages.

 I've been meaning to get around to enabling SVN so that I can access my
 repo via HTTPs. However, most of the docs I've found via Sir Google
 claim that it's likely that I'll have to recompile subversion ( and/or
 apache ) in order to make it work.

 Although I have very up-to-date clone-able backups and archives of this
 particular system, I really don't want to do anything that has the
 potential of clobbering my current working setup.

 Can those in the know provide any insight into:

 - how I can verify whether the necessary components are currently installed

 - how to identify whether said components were compiled with the
 appropriate args

 - a qd howto consisting of a path of least resistance ( or a reference
 to a confirmed reliable existing howto )

 - any caveats and/or things to look for prior to trying to implement it

 I'm the only one who uses the repository ( at this time ), and currently
 I access it via SSH. Security isn't an overly major concern at this
 point, as I will just apply the web server to it's own IPv6 address and
 filter those who could potentially access it via IPFW :)


You need to install --- as basic packages --- Apache, subversion and
mod_davsvn to access subversion repositories from HTTPS.



 Cheers!

 Steve


Best Regards,
DMW
___
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: reducing size of apache instances

2009-09-11 Thread John Almberg

PHP is incredibly buggy and will in all probability break Apache if you
try running it in threaded mode.


That doesn't sound so good.

As a sanity check... I've been studying these processes all morning. 
When I use 'top', the column RES shows the amount of RAM used for the 
process, correct? This is the value I'd like to get down.


Okay, well after a morning studying and observing, and thanks to 
suggestions from you all, I think I understand enough to start turning 
modules off.


Crossing fingers...

-- John
___
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


NFS issues on 8.0-BETA4

2009-09-11 Thread Doug Poland

Hello,

I have a 7.2-RELEASE(i386) server hosting NFSv3.  I've installed
8.0-BETA4(amd64) in a VMware 6.5 workstation virtual machine.

I cannot sucessfully mount exports from the NFSv3 server on the
8.0-BETA4 client.  All works well with 7.2 clients.

The strange thing is, the directory in which I mount the nfs
filesystem disappears, and I get an error when I attempt to access the
directory.


On working the server, I set these knobs in /etc/rc.conf:
mountd_flags=-l
nfs_reserved_port_only=NO
nfs_server_enable=YES
nfs_server_flags=-u -n 6
rpc_lockd_enable=YES
rpc_statd_enable=YES

On the client, I set these knobs in /etc/rc.conf:
nfs_client_enable=YES
rpc_lockd_enable=YES
rpc_statd_enable=YES

client#  mount -t nfs -o
nfsv3,retrycnt=3,intr,soft,rsize=32768,wsize=32768 fs:/usr/ports
/usr/ports

I get a long delay (several seconds)

client# echo $?
0

client# ls /usr/ports
ls: /usr/ports: Permission denied

client#  echo $?
1

client# mount -t nfs
fs:/usr/ports on /usr/ports (nfs)


client# umount /usr/ports
client#  ls -ld /usr/ports
drwxr-xr-x  2 root  wheel  512 Sep 11 08:54 /usr/ports

If I simplify the mount command, I get a different error:
client# mount -t nfs fs:/usr/ports /usr/ports
mount: /usr/ports: Permission denied
client# echo $?
64

client# mount -t nfs
fs:/usr/ports on /usr/ports (nfs)


Any suggestions?


-- 
Regards,
Doug



-- 
Regards,
Doug

___
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: FreeBSD commands... refcard

2009-09-11 Thread Al Plant

Matthias Apitz wrote:

Hello,

In some Linux mailing list of Cuba I'm subscribed to, I just stumbled
over this Debian GNU/Linux Reference Card: http://xinocat.com/refcard/
which is available in many languages. This would be very helpfull for my
wife which 'must' ( :-)) run FreeBSD on her laptop. Is there something
like this for FreeBSD, and even in Spanish? Thanks

matthias

###

Aloha Matthias,

I have one of the cards for Unix (Generic)

I have seen them in Drug (Pharmacia) Stores in several countries I have 
been to, Canada and Argentina for 2)  for all sorts of how to's. Not 
just computers. I have seen English and Spanish language.


The manufacturer of the UNIX one is Bar Charts of Boca Raton Fla,

www.quickstudycharts.com

ot www.barcharts.com

Happy coaching.

--

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
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: reducing size of apache instances

2009-09-11 Thread Linda Messerschmidt
On Fri, Sep 11, 2009 at 1:48 PM, John Almberg jalmb...@identry.com wrote:
 As a sanity check... I've been studying these processes all morning. When I
 use 'top', the column RES shows the amount of RAM used for the process,
 correct? This is the value I'd like to get down.

How many Apache processes are involved, total?  Because I'm really not
sure how much success you're going to have with this.  You're at 22mb
already (by comparison mine are 44mb *without* mod_php).  How much
improvement are you looking for?  A couple of megs?

Unless there are tens of thousands of processes, buying a couple of
gigs of RAM is probably the most time and cost effective solution.

Also keep in mind that a lot of the RES is the configuration, which
isn't going to change at all when you disable modules. (Unless you
change it.)
___
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: reducing size of apache instances

2009-09-11 Thread Adam Vande More
On Fri, Sep 11, 2009 at 1:05 PM, Linda Messerschmidt 
linda.messerschm...@gmail.com wrote:

 On Fri, Sep 11, 2009 at 1:48 PM, John Almberg jalmb...@identry.com
 wrote:
  As a sanity check... I've been studying these processes all morning. When
 I
  use 'top', the column RES shows the amount of RAM used for the process,
  correct? This is the value I'd like to get down.

 How many Apache processes are involved, total?  Because I'm really not
 sure how much success you're going to have with this.  You're at 22mb
 already (by comparison mine are 44mb *without* mod_php).  How much
 improvement are you looking for?  A couple of megs?

 Unless there are tens of thousands of processes, buying a couple of
 gigs of RAM is probably the most time and cost effective solution.

 Also keep in mind that a lot of the RES is the configuration, which
 isn't going to change at all when you disable modules. (Unless you
 change it.)
 ___
 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


Not to mention the RES column is a horribly inaccurate method of calculating
mem usage by application.  They don't run 18 MB each that is shared mem.


-- 
Adam Vande More
___
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: reducing size of apache instances

2009-09-11 Thread Michael Powell
Ivan Voras wrote:

 John Almberg wrote:
 
 I am using PHP, in fact. I've listed all the loaded modules below, and
 marked the ones I added with an '*'. I need the proxy modules because I
 use Apache as a front end for Mongrel.
 
 This WITH_MPM=worker sounds interesting. I'll have to read up on it. I
 guess there is some downside to enabling it, like slower performance?
 
 PHP is incredibly buggy and will in all probability break Apache if you
 try running it in threaded mode.
 

Try mod_fcgid and run PHP as FastCGI if you want a threaded Apache. I've 
been running the event mpm on a test box at work this way. So far I've never 
had any trouble, but it is also not getting hammered either. Conventional 
wisdom is the event mpm is still considered experimental and therefore 
untrustworthy in a production environment.

-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


sudo script not executing

2009-09-11 Thread bsd

Hello,

I have an sh script that is called by the www process which has a  
shell that defaults to /sbin/nologin


I have configured the sudoers file with these settings:

www ALL=(www) NOPASSWD: /usr/local/bin/postfixadmin-domain- 
postdeletion.sh



And It does not seem to be able to execute…


Sorry, user www is not allowed to execute '/usr/local/bin/ 
postfixadmin-mailbox-postdeletion.sh y...@test.com test.com' as www on newmail.rmm.fr 
.





The file I am trying to delete is also owned by a non privileged  
user… ??



Any clue





Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this 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: reducing size of apache instances

2009-09-11 Thread John Almberg

Linda Messerschmidt wrote:

On Fri, Sep 11, 2009 at 1:48 PM, John Almbergjalmb...@identry.com  wrote:

As a sanity check... I've been studying these processes all morning. When I
use 'top', the column RES shows the amount of RAM used for the process,
correct? This is the value I'd like to get down.


How many Apache processes are involved, total?  Because I'm really not
sure how much success you're going to have with this.  You're at 22mb
already (by comparison mine are 44mb *without* mod_php).  How much
improvement are you looking for?  A couple of megs?


Yup... that's about what I got for my troubles. After turning off all 
the unneeded modules, they are now running about 17mb. Not a huge 
improvement...


I definitely need more ram and I have it on order. While I'm waiting for 
it, I figured I'd see what processes I could slim down.


My basic problem is at peak usage times (usually in the afternoon), the 
server starts using swap space, and then response times really bog down.


This is on a 'spare' server that is temporarily in service while one of 
our 'big' servers is out for repair. This 'spare' server only has 1G ram 
and was never really meant for web server service.


It's trying it's best. I'm just trying to lighten the load for it.

-- John
___
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: reducing size of apache instances

2009-09-11 Thread Chuck Swiger

Hi--

On Sep 11, 2009, at 12:42 PM, John Almberg wrote:
My basic problem is at peak usage times (usually in the afternoon),  
the server starts using swap space, and then response times really  
bog down.


Limit the MaxChildren to the number of Apache httpd's which your  
machine can actually handle.  You may (will!) still get some backlog,  
but keeping the system from swapping will help responsiveness


Regards,
--
-Chuck

___
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: reducing size of apache instances

2009-09-11 Thread Adam Vande More
On Fri, Sep 11, 2009 at 2:42 PM, John Almberg jalmb...@identry.com wrote:

 Linda Messerschmidt wrote:

 On Fri, Sep 11, 2009 at 1:48 PM, John Almbergjalmb...@identry.com
  wrote:

 As a sanity check... I've been studying these processes all morning. When
 I
 use 'top', the column RES shows the amount of RAM used for the process,
 correct? This is the value I'd like to get down.


 How many Apache processes are involved, total?  Because I'm really not
 sure how much success you're going to have with this.  You're at 22mb
 already (by comparison mine are 44mb *without* mod_php).  How much
 improvement are you looking for?  A couple of megs?


 Yup... that's about what I got for my troubles. After turning off all the
 unneeded modules, they are now running about 17mb. Not a huge improvement...

 I definitely need more ram and I have it on order. While I'm waiting for
 it, I figured I'd see what processes I could slim down.

 My basic problem is at peak usage times (usually in the afternoon), the
 server starts using swap space, and then response times really bog down.

 This is on a 'spare' server that is temporarily in service while one of our
 'big' servers is out for repair. This 'spare' server only has 1G ram and was
 never really meant for web server service.

 It's trying it's best. I'm just trying to lighten the load for it.

 -- John



You've misunderstood what you've done.  You have not saved a couple of MB,
you've saved one.  Of the 18 MB, nearly all of it is shared memory which is
only loaded once.

This is a bit hypothetical but take the following 

1160 vandemorea  1  460   18M 83108K select  1  51:18  2.39%
httpd
 1482 vandemorea   11  440   18M   220M ucond   1 104:47  2.20% httpd
37776 vandemorea   20  440  18M  1179M select  1  95:43  1.76% httpd
 1301 vandemorea1  450   18M 28856K select  1 167:00  1.07% httpd
 1311 vandemorea2  470   18M   128M select  1  53:39  0.68% httpd
 1407 vandemorea2  440   18M 49284K select  1   3:41  0.20% httpd
38613 vandemorea1  440   18M 31220K select  0   8:16  0.00% httpd
 1320 vandemorea2  440   18M 53788K ucond   1   5:20  0.00% httpd
 5455 vandemorea1  440  18M  1292K select  0   4:26  0.00% httpd
64974 vandemorea   21  520   18M   241M ucond   0   4:20  0.00% httpd

from your posts, I understand you read that as httpd using a total of 180 MB
of RAM.  This is incorrect.  The RES column also included shared mem which
is only loaded once but counted on each line.  So if the size of the shared
mem in use by httpd is 17MB, in total it would be consuming 27MB, not the
180.  So chasing memory savings here is probably not pursuing low hanging
fruit.

1GB web server is more than enough for basic www server, even more.

-- 
Adam Vande More
___
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: sudo script not executing

2009-09-11 Thread Chris Cowart
bsd wrote:
 I have an sh script that is called by the www process which has a  
 shell that defaults to /sbin/nologin
 
 I have configured the sudoers file with these settings:
 
 www ALL=(www) NOPASSWD: /usr/local/bin/postfixadmin-domain- 
 postdeletion.sh
 
 
 And It does not seem to be able to execute?
 
 
  Sorry, user www is not allowed to execute '/usr/local/bin/ 
  postfixadmin-mailbox-postdeletion.sh y...@test.com test.com' as www on 
  newmail.rmm.fr 
  .
 
 
 
 The file I am trying to delete is also owned by a non privileged  
 user? ??

The user www is www, so you shouldn't need to sudo to run as that
account. Did you mean to setup the rule for the postfix user? Or a
postfix target account?

That said, I think what you typed should have worked. You shouldn't have
seen www is not allowed to execute ... as www, because your sudoers
file says otherwise.

Assuming your account has full sudo, what do you see if you type:
  $ sudo -u www sudo -l

Hopefully, because of the NOPASSWD in there, you won't have to produce
www's password.

Is your script (postfixadmin-domain-postdeletion.sh) readable and
executable by user www?

Do you have any trailing characters or something on the line with your
sudo rule which might make sudo think you've typed a literal command
with arguments instead of a command that can be run with arbitrary
arguments?

-- 
Chris Cowart
Network Technical Lead
Network  Infrastructure Services, RSSP-IT
UC Berkeley


pgphSFQguJkgd.pgp
Description: PGP signature


Re: reducing size of apache instances

2009-09-11 Thread John Almberg



You've misunderstood what you've done.  You have not saved a couple of
MB, you've saved one.  Of the 18 MB, nearly all of it is shared memory
which is only loaded once.


Ah... Okay. That actually makes sense. Thanks for the clarification.


1GB web server is more than enough for basic www server, even more.


I would have thought, but some times it really gets slow and I'm trying 
to figure out why. When bogged down, the load averages are low. The main 
thing that looks out of whack is swap space, which seems to never go 
below 7%, but sometimes gets up into the 20%-30% range. When it gets 
that high, the server slows to a crawl.



last pid: 12732;  load averages:  0.44,  0.31, 0.27 
  up 34+03:57:58  16:16:27

187 processes: 2 running, 185 sleeping
CPU:  4.5% user,  0.0% nice,  1.1% system,  0.0% interrupt, 94.4% idle
Mem: 425M Active, 106M Inact, 268M Wired, 3160K Cache, 110M Buf, 176M Free
Swap: 2008M Total, 150M Used, 1858M Free, 7% Inuse
___
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: Upgrading 6.0 to 6.x... without /var

2009-09-11 Thread Polytropon
On Thu, 10 Sep 2009 14:14:55 -0700 (PDT), jaymax jayma...@gmail.com wrote:
 = Error Messages
 [i] Error mounting /mnt/dev ad0as1e on /mnt/usr : Input/output error
 [ii] Error mounting /mnt/dev ad0as1f on /mnt/usr : Input/output error
^^^
This looks weird. Is this for real? Partition names should
be ad0s1e (or f), not ad0*a*s1e (or f). Have you specified
the correct device names?



 Then tries to a form a holographic shell
 asks for directory to save current /etc?, prompts with /var/tmp/etc, I
 changed it to /usr/tmp2/etc = Unable to backup your /etc int
 /usr/tmp2/etc. Do you want to continue anyway?
 Opt'd out w/ a No! selection.
 
 Could this problem result from the absence of a /var partition ? 

No, but the system can neither access /var (even as a symlink), nor
can it access /usr because it isn't mounted - as far as it seems to
me.



 Is there an alt. Strategy for a 6.0 =6.4 upgrade, while maintaining all the
 previous custom and configuration files?

You could first start with a live system CD (FreeBSD's own one or
FreeSBIE), then mount / and /usr (where /var does exist) and copy
the important subtrees, such as /etc, /var/db/pkg and /usr/local/etc.
You can then overwrite everything and reinstall your configuration
files manually.



-- 
Polytropon
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: reducing size of apache instances

2009-09-11 Thread Diego Montalvo
Have given Nginx web server a try?  It is small and may work better
with limited RAM.

http://www.nginx.net/
http://urloid.com/nginx1

Diego

2009/9/11 John Almberg jalmb...@identry.com:

 You've misunderstood what you've done.  You have not saved a couple of
 MB, you've saved one.  Of the 18 MB, nearly all of it is shared memory
 which is only loaded once.

 Ah... Okay. That actually makes sense. Thanks for the clarification.

 1GB web server is more than enough for basic www server, even more.

 I would have thought, but some times it really gets slow and I'm trying to
 figure out why. When bogged down, the load averages are low. The main thing
 that looks out of whack is swap space, which seems to never go below 7%, but
 sometimes gets up into the 20%-30% range. When it gets that high, the server
 slows to a crawl.


 last pid: 12732;  load averages:  0.44,  0.31, 0.27
                          up 34+03:57:58  16:16:27
 187 processes: 2 running, 185 sleeping
 CPU:  4.5% user,  0.0% nice,  1.1% system,  0.0% interrupt, 94.4% idle
 Mem: 425M Active, 106M Inact, 268M Wired, 3160K Cache, 110M Buf, 176M Free
 Swap: 2008M Total, 150M Used, 1858M Free, 7% Inuse
 ___
 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: reducing size of apache instances

2009-09-11 Thread Adam Vande More
On Fri, Sep 11, 2009 at 3:20 PM, John Almberg jalmb...@identry.com wrote:


  You've misunderstood what you've done.  You have not saved a couple of
 MB, you've saved one.  Of the 18 MB, nearly all of it is shared memory
 which is only loaded once.


 Ah... Okay. That actually makes sense. Thanks for the clarification.

  1GB web server is more than enough for basic www server, even more.


 I would have thought, but some times it really gets slow and I'm trying to
 figure out why. When bogged down, the load averages are low. The main thing
 that looks out of whack is swap space, which seems to never go below 7%, but
 sometimes gets up into the 20%-30% range. When it gets that high, the server
 slows to a crawl.


 last pid: 12732;  load averages:  0.44,  0.31, 0.27
  up 34+03:57:58  16:16:27
 187 processes: 2 running, 185 sleeping
 CPU:  4.5% user,  0.0% nice,  1.1% system,  0.0% interrupt, 94.4% idle
 Mem: 425M Active, 106M Inact, 268M Wired, 3160K Cache, 110M Buf, 176M Free
 Swap: 2008M Total, 150M Used, 1858M Free, 7% Inuse


 You're on the right track pursuing whatever is consuming swap.  Are there
any other services running on the system which may be consuming mem?  eg
postgresql?  You can start eliminating unnecessary services, and limiting
memory by app.  php.ini contains a knob for this.  Plus as mentioned before
limiting number of connections may help depending on what other things
system is running.


-- 
Adam Vande More
___
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: Upgrading 6.0 to 6.x... without /var

2009-09-11 Thread jaymax



Polytropon wrote:
 
 On Thu, 10 Sep 2009 14:14:55 -0700 (PDT), jaymax jayma...@gmail.com
 wrote:
 = Error Messages
 [i] Error mounting /mnt/dev ad0as1e on /mnt/usr : Input/output error
 [ii] Error mounting /mnt/dev ad0as1f on /mnt/usr : Input/output error
 ^^^
 This looks weird. Is this for real? Partition names should
 be ad0s1e (or f), not ad0*a*s1e (or f). Have you specified
 the correct device names?
 
 You are  correct my typos, they are 
 ad0s1e and ad0s1f for /tmp and /usr respectively; /var is replaced by soft
 link
 ln -s /usr/var /var 
 ( running an email server on this box runs the risk of 'filesystem full' 
 with a 'small' restricted /var partition , this way the problem is escaped
 )
 
 
 Then tries to a form a holographic shell
 asks for directory to save current /etc?, prompts with /var/tmp/etc, I
 changed it to /usr/tmp2/etc = Unable to backup your /etc int
 /usr/tmp2/etc. Do you want to continue anyway?
 Opt'd out w/ a No! selection.
 
 Could this problem result from the absence of a /var partition ? 
 
 No, but the system can neither access /var (even as a symlink), nor
 can it access /usr because it isn't mounted - as far as it seems to
 me.
 
 They are mounted
 
 Is there an alt. Strategy for a 6.0 =6.4 upgrade, while maintaining all
 the
 previous custom and configuration files?
 
 You could first start with a live system CD (FreeBSD's own one or
 FreeSBIE), then mount / and /usr (where /var does exist) and copy
 the important subtrees, such as /etc, /var/db/pkg and /usr/local/etc.
 You can then overwrite everything and reinstall your configuration
 files manually.
 
 I'll give that a try, I've already started on the cvsupd approach
 suggested earlier.
 
 Thanks!
 
 
 -- 
 Polytropon
 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
 
 

-- 
View this message in context: 
http://www.nabble.com/Upgrading-6.0-to-6.x...-without--var-tp25391151p25408257.html
Sent from the freebsd-questions mailing list archive at Nabble.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: Upgrading 6.0 to 6.x... without /var

2009-09-11 Thread Polytropon
On Fri, 11 Sep 2009 14:00:20 -0700 (PDT), jaymax jayma...@gmail.com wrote:
 You are  correct my typos, they are 
 ad0s1e and ad0s1f for /tmp and /usr respectively; /var is replaced by soft
 link
 ln -s /usr/var /var 

So the problem is /usr cannot be mounted. First of all, just try
it manually, as I mentioned (from FreeBSD live system CD or by
using FreeSBIE), e. g.

# mount /dev/ad0s1e /mnt/usr

Because the installer does not expect /var to exist, and because
it does reside on the former / partition which is /mnt/ while
installing (as far as I remember), /var cannot be accessed. In
this case, / needs to be mounted as /mnt/ and /usr needs to be
mounted as /mnt/usr; the problem is: if /var really points at
/usr/var, then /mnt/var will point at /usr/var, too, which does
not resolve because it exists as /mnt/usr/var during the installation.

An idea would be to specify a different path in the partition
editor, but not let the installer form an /etc/fstab from this
setting.

Another idea would be to change the /var symlink on / from

/var@ - /usr/var

to

/var@ - usr/var

so that it will work when / is mounted as /mnt/; the result
will then correctly be

/mnt/var@ - /mnt/usr/var



 (running an email server on this box runs the risk of 'filesystem full' 
 with a 'small' restricted /var partition , this way the problem is escaped)

That's why I prefer to use one big / partition in such settings
where I have no chance to reliably determine the future requirements
of partition sizes. :-)





-- 
Polytropon
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: reducing size of apache instances

2009-09-11 Thread Linda Messerschmidt
On Fri, Sep 11, 2009 at 4:20 PM, John Almberg jalmb...@identry.com wrote:
 I would have thought, but some times it really gets slow and I'm trying to
 figure out why. When bogged down, the load averages are low. The main thing
 that looks out of whack is swap space, which seems to never go below 7%, but
 sometimes gets up into the 20%-30% range. When it gets that high, the server
 slows to a crawl.

In this case you don't want to look at processes with big RES, you
want to find processes with a big difference between RES and SIZE
and/or the ones with flat-out largest SIZE.  Try sorting top by SIZE
and see what bubbles up.  (Ignore rpc.statd if it's running.)
___
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: reducing size of apache instances

2009-09-11 Thread John Almberg

In this case you don't want to look at processes with big RES, you
want to find processes with a big difference between RES and SIZE
and/or the ones with flat-out largest SIZE.  Try sorting top by SIZE
and see what bubbles up.  (Ignore rpc.statd if it's running.)


Huh... okay. That's interesting.

Well the biggest SIZE process is mysql, followed by three mongrel 
instances (for a ruby on rails app), and then a bunch of httpd processes.


Mysql is optimized for a small server, there isn't much I can do about 
the size of the Rails app, so the apache instances seemed like the 
logical place to start.


I'm starting to wonder about the Swap info from top... it never changes. 
It has said the same thing all day, since I've been watching it. Does 
that make sense?


Swap: 2008M Total, 150M Used, 1858M Free, 7% Inuse

-- John
___
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: reducing size of apache instances

2009-09-11 Thread Robert Huff
John Almberg writes:


  I'm starting to wonder about the Swap info from top... it never
  changes.  It has said the same thing all day, since I've been
  watching it. Does that make sense?

The current machine has 8G, so ... porbably not a good test
case.  :-)
It's predecessor succumbed when it had 2G; depending on what
was running, sometimes the swap would stick for hours or even days,


Robert Huff

___
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


DVD-R recording .iso SOLVED

2009-09-11 Thread Al Plant

Aloha,

On Wed, 9 Sep 2009, Al Plant wrote:

 Chris Hill wrote:
 On Wed, 9 Sep 2009, Al Plant wrote:

 Aloha,

 on FreeBSD 8 Current

 I have installed growisofs. I want to burn a DVD R of 
/path/7.2-RELEASE-p1-i386-disc1.iso .


 #growisofs -dvd-compat -Z 
/dev/cd0=/path/7.2-RELEASE-p1-i386-disc1.iso .


 Got this from FreeBSD handbook. Get no such file or directory 
error. Whats wrong with the syntax?


 Caveats about anything I say: 1) I'm using 7.2, and b) I'm using +R 
media.


 Nothing is wrong with the syntax, although your command above says 
the ISO file is in a directory called /path. Does the directory exist? 
Is the ISO in that directory? Permissions OK on everything? Does 
/dev/cd0 point to your burner? And as Adam said, make sure you have 
atapicam loaded.


 I'm also assuming that dot at the end of your line is a period at 
the end of your sentence, and not part of the command you issued.


 Is this the correct way to copy an .iso onto a DVD-R for installs?

 It burns the ISO to the disk as a premastered disk, which is what 
you want in this situation. If you wanted to just copy the ISO as a 
file, you'd replace the = sign with a space.


 Or can I just use burncd like somebody on the BSD forum said they did?

 I have no idea what somebody on the BSD forum said  :^)

 HTH. Hang loose.

 --
 Chris Hill   ch...@monochrome.org
 ** [ Busy Expunging | ]

 Aloha,

 The directory path is /usr/home/alp/FreeBSD_7 that is ok.

 The = could be what is not proper in the Handbook.

*Actually the = is correct, and you do need it for what you're doing. I 
*just went through this over the weekend. The = looked wrong, so I tried 
*doing without. What I ended up with was a data DVD with an ISO file on 
*it - not what I wanted! I would guess the command you need is


 *growisofs -dvd-compat -Z 
*/dev/cd0=/usr/home/alp/FreeBSD_7/7.2-RELEASE-p1-i386-disc1.iso


*(Probably wrapped in the email, but it needs to be all one line.) It's 
*simplest if you do this as root, or via su or sudo, which I think 
*you've been doing.


 I'll put apticam_load=YES in the /boot/loader.conf /Thats not in 
the Handbook either.


*I noticed that omission too.

*Putting that line in /boot/loader.conf makes the module load on the 
*next boot, but doesn't load it right now. You can see if it's already 
*loaded by issuing a kldstat command. If you see atapicam.ko in 
*response, you're good. If not, do a


 *kldload atapicam.ko

*..as root or equivalent, to load the module immediately without a 
*reboot. Just for completeness, you may want to also


* ls /dev | grep ^cd

*..to make sure you have a cd0 device, after loading the module. It 
*might be some number other than 0, depending on your hardware, in which 
*case change the growisofs command accordingly.


 Thanks for the help.

*It's one of the few questions around here that I know the answer to, so 
*I'm glad to! Makes me feel useful or something.


--
*Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]


Aloha,

Here's how it worked.

From sysutils/dvd+rw-tools
I installed the DVD port

# growisofs

I used the following from all the suggestions and it worked with Manolis 
 DVD p1 7.2


1st I put hw.ata.atapi_dma=1 in the /boot/loader.conf
2nd put apticam_load=YES in the /boot/loader.conf

(That 2nd 18.7.2 instruction is not clear in the Handbook section and 
should be added.)



Then I ran # growisofs -dvd-compat -Z 
dev/cd0=/usr/home/alp/FreeBSD_7/7.2-RELEASE-p1-i386-disc1.iso

(all on one line)

Then I was able to use  cd0 as a DVD burner and make the DVD-R

I tested the DVD on a spare box and it installed just fine.

I suggest that the authors of the section 18.7/2 add the sample command 
line for atapicam as they did for dma=1 to eliminate the confusion.


Thanks to all who helped

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740


  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
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: reducing size of apache instances

2009-09-11 Thread Dan Nelson
In the last episode (Sep 11), John Almberg said:
  In this case you don't want to look at processes with big RES, you
  want to find processes with a big difference between RES and SIZE
  and/or the ones with flat-out largest SIZE.  Try sorting top by SIZE
  and see what bubbles up.  (Ignore rpc.statd if it's running.)
 
 Huh... okay. That's interesting.
 
 Well the biggest SIZE process is mysql, followed by three mongrel
 instances (for a ruby on rails app), and then a bunch of httpd processes.
 
 Mysql is optimized for a small server, there isn't much I can do about the
 size of the Rails app, so the apache instances seemed like the logical
 place to start.
 
 I'm starting to wonder about the Swap info from top... it never changes. 
 It has said the same thing all day, since I've been watching it.  Does
 that make sense?

 Swap: 2008M Total, 150M Used, 1858M Free, 7% Inuse

If you previously ran some memory-intensive program, the system would have
pushed some unused data out to disk ( login processes for unused VTYs, other
daemons that are rarely used, etc ), but it won't free up that swap space
until those processes exit.  As long as you don't see ###K Out, ###K In on
that swap line, you're not actively using the swap space and don't have to
worry.

-- 
Dan Nelson
dnel...@allantgroup.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


Support for Apple iBook keyboards

2009-09-11 Thread KKuzmenko
I need a replacement keyboard for my iBook (Processor 500MHz, PowerPC  
G3, 384 MB SDRAM, build 8S165, machine model PowerBook4,1, CPU  
PowerPC 750 (32.14), Bus Speed 67 MHz, USB Bus 3200, File System HFS+  
AND - DIMM0/BUILT-IN: size 128 MB.

Please advise mr of the following:
1) Do you carry it?
2) What is the price?
3) And most importantly- how easy/difficult is it to install? The  
only experience that I have with hardware installing a new HD on a  
Power Mac 7100.

Thank you in advance with your help/reply.
Cordially,
K Kuzmenko
___
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: linux-pango won't install

2009-09-11 Thread Chad Perrin
On Fri, Sep 11, 2009 at 11:40:26AM +0100, Daniel Bye wrote:
 
 I remember having the devil's own job upgrading this a while ago. Try
 running the install manually - portinstall tends to obscure the real
 error message, making it harder to track down the specific problem. Doing
 it manually should at least let you see what's going wrong!

I should have thought of that myself.  Thanks for having patience and
giving me an informative response.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth C. S. Lewis: We all want progress, but if you're on the wrong
road, progress means doing an about-turn and walking back to the right
road; in that case, the man who turns back soonest is the most
progressive.


pgpX0aS0JqS0H.pgp
Description: PGP signature


Re: linux-pango won't install

2009-09-11 Thread Chad Perrin
On Fri, Sep 11, 2009 at 07:08:49AM -0400, Jerry wrote:
 On Fri, 11 Sep 2009 11:49:25 +0100
 Matthew Seaman m.sea...@infracaninophile.co.uk wrote:
  
  Perhaps this will prove enlightening:
  
  significant-gravitas-shortfall:~:% portaudit -a 
  Affected package: linux-f8-pango-1.18.4_1
  Type of problem: pango -- integer overflow.
  Reference:
  http://portaudit.FreeBSD.org/4b172278-3f46-11de-becb-001cc0377035.html
  
  1 problem(s) in your installed packages found.
  
  You are advised to update or deinstall the affected package(s)
  immediately.
 
 If you still want to install the port, you could just add this to
 the /etc/make.conf file:
 
 # Pango
 .if $(.CURDIR:M*/x11-toolkits/linux-pango)
 DISABLE_VULNERABILITIES=yes
 .endif

How long has this been broken for 7.2?  Considering all the stuff that
depends on linux-pango, I'm surprised it hasn't been fixed.

Thanks for the help, in any case.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Bjarne Stroustrup: An ugly operation should have an ugly
syntactic form.


pgpWCcuQsXOpn.pgp
Description: PGP signature