Re: tar and --include

2010-05-20 Thread b. f.
On 5/20/10, Tim Kientzle kient...@freebsd.org wrote:
 b. f. wrote:
 Martin McCormick wrote:
What I discovered was that --include doesn't appear to
 do anything at all. The example in the man page shows using it
 to filter an existing archive ...  I never
 tried that since that is not what was needed here.

 The --include directive was designed to support the
 case of filtering an existing archive.  GNU tar has
 no equivalent to bsdtar's @archive feature and hence
 has no real need for --include.


...


 There certainly seems to be a bug here, either in the documentation or
 the implementation.  The example you mention works as expected for me
 on 9-CURRENT, but the --include option fails on, for example:

 tar -cvf new.tar --include='baz'  foo/bar

 In your example here, the first item
 tar inspects is foo/bar, which does not match
 the pattern and therefore is not included.
 Excluding a directory excludes everything
 in the directory.

 The net result is the same as if you had specified:
 tar -cvf new.tar --exclude='foo/bar' foo/bar

tar(1) states The --include option is especially useful when
filtering archives.  If I understand your comments correctly, this
statement should be changed to state that the option is, in fact,
_only_ useful when filtering archives. The current description of the
option is misleading.


b.
___
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: Livefs/fixit

2010-05-20 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19/05/2010 21:20:24, Peter Clark wrote:

 I have a amd64 8.0-RELEASE-P2 FreeBSD box. I was building a spam/av
 gateway. Something has happened and there seems to be some OS
 corruption. I am not sure what did it but symlinks all over the system
 seem to be gone. Links like /home pointing at /usr/home. The data is
 still there in /usr/home/user_blah but the link pointing there is gone.
 There could be more issues that I have not discovered yet. I would like
 to repair the base os from the 8.0 DVD. I believe I should use the
 livecd/fixit method. Is this the right way to go about doing this? Are
 there some concise instructions for this? Will this affect the installed
 ports, ie. things like getting rid of all the configs in /usr/local/etc,
 rc.conf, passwd, /etc/groups ? I imagine I will need to reinstall all
 the ports like one would do after a buildworld.

You should be able to fix this without needing to use a livecd, or
overwriting the installation currently on your drive.  So long as you
can get the system up to at least single user mode, and mount all the
partitions, you can build and reinstall the system from source.  Follow
the instructions here:

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

You may need to install the system sources -- you can get them from the
installation media, but it's more common to use csup(1).

I'm pretty sure you could use freebsd-update(8) (if that's your
preferred update mechanism) to achieve the same effect, but I don't know
exactly what you'ld have to do to force it to reinstall anything damaged.

Hmmm... if what is happened is that some rogue process has deleted all
of the symbolic links on your system, then the worst problem you'll have
is shared libraries not working correctly.  Most of the rest of the
symlinks in the base system are to do with man pages or locale data,
which you can probably survive without, at least for a while.

You'll also need to fix any installed ports: the simplest way to do that
is to force re-install any of your ports where 'pkg_info -g portname'
indicates there may be a problem.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkv00bkACgkQ8Mjk52CukIy2GACeM+UFjsp8DvWrlwyvZLJd+17t
YRgAoI2M8Lu0aUKuF0rerQreVwCazXs0
=cACK
-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


Zpool import failure, metadata checksum fails 8.0-RELEASE

2010-05-20 Thread Joseph Lenox

Hello, all--

An unexpected powercycle apparently introduced (thanks to my system's 
RAID controller) metadata checksum errors on the system. Attempts to 
import that pool on any system hangs the command (such that it cannot 
even be killed).


I tried pulling out the OpenSolaris (2009.07) cd that I had on-hand, but 
the livecd couldn't find any of the pools in the system--so no help there.


I'm certain a scrub will fix the metadata problems (with or without 
dataloss, the data isn't critical enough to worry about losing a file or 
ten -- losing everything is more of a pain).


Anyone have any ideas for how I can get this pool fixed? I'm working on 
getting 8.0-STABLE sources downloaded (via cvsup) for testing.


--Joseph Lenox
___
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: Need advise.

2010-05-20 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19/05/2010 21:07:22, pa...@magi.magidesign.com wrote:

 I have a box that I need to add several software
 package, I can't use ports because it appears that they have blocked the
 ports to do a fetch. 
 
 So I am wondering what can I do?

Do you have HTTP access from the machine, possibly via some sort of
proxy? If so, you can tell the ports system to prefer HTTP rather than
FTP for fetching sources.  Or if you'ld prefer to install via pkgs, you
can just substitute 'http' for 'ftp' when downloading from ftp.freebsd.org

* To make the ports prefer downloading sources via HTTP, add this to
/etc/make.conf:

MASTER_SORT?= http

Not all ports have sources available via HTTP, but you can make the
ports system grab the distfiles by HTTP from ftp.freebsd.org like so:

MASTER_SITE_OVERRIDE?=
http://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/

* To set up global FTP or HTTP proxies to be used by fetch(1), create
environment variables:

   FTP_PROXY = http://your.proxy.server:3128
   HTTP_PROXY = http://your.proxy.server:3128

You'll need to adapt that to local circumstances, obviously.  Not all
proxies work via HTTP on port 3128, that's just what you'ld get with
squid.  See fetch(3) for details of what environment settings you can
play with.

Note: a handy way to add those variables globally to all login sessions
is to use /etc/login.conf  You want to change this line:

:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\

to read


:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES,FTP_PROXY=http\c//your.proxy.server\c3128,HTTP_PROXY=http\c//your.proxy.server\c3128:\

* To make the pkg system use HTTP to download packages, you can set
another environment variable:

   PACKAGEROOT = http://ftp.freebsd.org

See pkg_add(1) for details.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkv04E4ACgkQ8Mjk52CukIwOfwCdFXpZ5UC6i4DzJgZiCmkKxV1A
TvEAn1z2MhZKjCkmKDnPnJHPmxusczre
=dSyy
-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: freebsd on netbook

2010-05-20 Thread Matthias Apitz
El día Thursday, May 20, 2010 a las 09:08:48AM +0700, Anh Ky Huynh escribió:

 Hello all,
 
 I intend to buy a netbook for convenience (for many remote jobs, a netbook 
 seems to be enough) whose cost is around $400. I'd like have freebsd on that 
 netbook (oh, no linux, no windows, please :-) but it's hard to choose a right 
 one that works fine (even with Ubuntu. See 
 https://wiki.ubuntu.com/HardwareSupport/Machines/Netbooks.)
 
 Does anyone experience this problem? 
 
 Thank you for your comments.

I'm running 8-CURRENT on a Asus EeePC 900; here is how the installation
goes: http://www.unixarea.de/installEeePC-8CURRENT.txt
you may check as well the info about other Asus models with FreeBSD
here: http://wiki.freebsd.org/AsusEee

HIH

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/
¡Ya basta! ¡Tropas de OTAN, fuera de Afghanistan!
There's an end of it! NATO troups out of Afghanistan!
Schluss jetzt endlich! NATO raus aus Afghanistan!
___
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


Is the freeBSD mailing list using an automated ticket system?

2010-05-20 Thread James Phillips
Sorry about the blank post (hit enter by mistake): I feel I may have received a 
phishing e-mail. This may explain why somebody pasted their root password on 
the mailing list over the last few days:


[#24508771] Re: 7.0/i386 to 8.0/amd64 - gmirror/gstripe migration
Wednesday, May 19, 2010 11:11 PM
From freebsd-questions@freebsd.org Thu May 20 05:11:32 2010
X-Apparently-To:anti_spam...@yahoo.ca via 76.13.9.57; Wed, 19 
May 2010 22:11:32 -0700
Return-Path:freebsd-questions@freebsd.org
Received-SPF:   softfail (mta1044.mail.sk1.yahoo.com: domain of 
transitioning freebsd-questions@freebsd.org does not designate 208.43.146.75 as 
permitted sender)
X-YMailISG: 
bN4BmMIcZAoekRfwnHPcFUPXQy4vPFD_clpLPEdD8_d4TtskiryPLE2xsmlo_rObEVSxKsUGQx5NT2Y2Ddw8vTIEq_cR1CouOg9NUfFtDq8mQKWyzHHVLEom6TBQmPilNtvwDy1eUJnIL9G8I.6szaPOCpvbgk5BFS29sElIJWMNe9iRo.tCcbW8fYsQh3dXKD_BwLfjuOKdW5IvqLv2xJRDU4YotTdgtX99kvgNKLthhezb0vr8.mE_ozYBttnGy8mzAWtFDUJL7FRIZIoeAl4mWR_j0GPwT_AS.CwAiwQQLKiSoV0tqPGfDxjCJGON3wio2oakrHY8k.EfacsELaOyS2dV7l5Yj7OGdM5KO5i_5CzXMX1Gtn9LA2OlLX3gz4ix0Zw5EerCT9ZLqi1mt7ZmZVIR7K9nLxh_QfkAL9tWiLRTh0_ap2ek4jEfOmCk9_9P.l2eoqYhsoefWlj_ABQl9ctlSr4Epq6sz_f4Nj.PqKamL1G1T5UDJAuKv5zjbEt.bfkPUhwmIJXIGkB.qlTP9KgtZOYIAnP1BfPen1aQEJC0.y0_3la1jsqjcMyW5V.4RXp5VCzuuXAslYeYkMKqwFrJ36lmZuk1uKvXUBDZONdNqDd2
X-Originating-IP:   [208.43.146.75]
Authentication-Results: mta1044.mail.sk1.yahoo.com 
from=freebsd.org; domainkeys=neutral (no sig); from=freebsd.org; dkim=neutral 
(no sig)
Received:   from 127.0.0.1 (EHLO secure.mpcustomer.com) 
(208.43.146.75) by mta1044.mail.sk1.yahoo.com with SMTP; Wed, 19 May 2010 
22:11:32 -0700
Received:   by secure.mpcustomer.com (Postfix, from userid 99) id 
39DDB279AB3; Thu, 20 May 2010 00:11:32 -0500 (CDT)
To: James Phillips anti_spam...@yahoo.ca
Subject:[#24508771] Re: 7.0/i386 to 8.0/amd64 - gmirror/gstripe 
migration
Date:   Thu, 20 May 2010 00:11:32 -0500
From:   
freebsd-questions@freebsd.org  
Add sender to Contacts
Reply-To:   supp...@mpcustomer.com
Message-ID: a5745526da76cdd0d28769432b216...@secure.mpcustomer.com
X-Priority: 3
X-Mailer:   PHPMailer (phpmailer.sourceforge.net) [version 2.0.4]
X-Uberinst: uber_phase-support
X-Mailer:   Ubersmith
MIME-Version:   1.0
Content-Transfer-Encoding:  8bit
Content-Type:   text/plain; charset=utf-8
Content-Length: 1908
Compact Headers
Hello,

This is an automated response to inform you that your question has been entered 
into our system, and will be reviewed shortly. Your ticket has been submitted 
into the General Support department.

We will respond to you as soon as possible.

==
Please keep this information, and use it when refering to your ticket:

Ticket subject: Re: 7.0/i386 to 8.0/amd64 - gmirror/gstripe migration
Ticket number: 24508771
Ticket link: https://secure.mpcustomer.com/ticket.php?ticket=24508771
Ticket body:  Hi!
SNIPPED

Regards,

James Phillips





___
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: Help With pptpclient Setup

2010-05-20 Thread perryh
Drew Tomlinson d...@mykitchentable.net wrote:

  I'm using FBSD 8.0-STABLE and trying to connect to a Cisco
VPN at work.  Windows PCs connect with the basic Microsoft
dial-up networking client.  Thus I assume pptpclient is my
answer for FBSD.
 
  I would think GRE would be the answer here.
 
  ...

 Thanks for your reply.  However I do not see how to pass my 
 username/password to the Cisco VPN in either of those 2 links.

Dunno about either pptpclient or GRE, but vpnc knows how to
handle username  password and seems to work here,
___
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


cairo fails to compile

2010-05-20 Thread Ewald Jenisch
Hi,

After doing a regular cvsup for my ports, followed by make
fetchindex and pkgdb -F, the latter fails with the following errors:

--  Cut here  --

...
---  Checking the package registry database
Stale dependency: gobject-introspection-0.6.10 - cairo-1.8.10_1,1 
(graphics/cairo):
Install stale dependency? ([y]es/[n]o/[a]ll) [yes] 
[Gathering depends for graphics/cairo .
---  Installing 'cairo-1.8.10_1,1' from a port (graphics/cairo)
---  Building '/usr/ports/graphics/cairo'
...
/bin/sh /usr/ports/graphics/cairo/work/gnome-libtool --tag=CC   --mode=compile 
cc -DHAVE_CONFIG_H -I. -I..  -I. -I/usr/local/include/pixman-1  
-I/usr/local/include/freetype2 -I/usr/local/include   -I/usr/local/include
-I/usr/local/include   -D_THREAD_SAFE -I/usr/local/include   -D_THREAD_SAFE 
-I/usr/local/include-O -pipe -MT cairo-png.lo -MD -MP -MF 
.deps/cairo-png.Tpo -c -o cairo-png.lo cairo-png.c
gnome-libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. 
-I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 
-I/usr/local/include -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE 
-I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -O -pipe -MT 
cairo-png.lo -MD -MP -MF .deps/cairo-png.Tpo -c cairo-png.c  -fPIC -DPIC -o 
.libs/cairo-png.o
cairo-png.c:42:17: error: png.h: No such file or directory
cairo-png.c:46: error: expected ')' before 'png'
cairo-png.c:70: error: expected ')' before 'png'
cairo-png.c:92: error: expected ')' before 'png'
cairo-png.c:109: error: expected ')' before 'png'
cairo-png.c:125: error: expected ')' before 'png_ptr'
cairo-png.c:131: error: expected declaration specifiers or '...' before 
'png_rw_ptr'
cairo-png.c: In function 'write_png':
cairo-png.c:138: error: 'png_struct' undeclared (first use in this function)
cairo-png.c:138: error: (Each undeclared identifier is reported only once
cairo-png.c:138: error: for each function it appears in.)
cairo-png.c:138: error: 'png' undeclared (first use in this function)
cairo-png.c:139: error: 'png_info' undeclared (first use in this function)
cairo-png.c:139: error: 'info' undeclared (first use in this function)
cairo-png.c:140: error: 'png_byte' undeclared (first use in this function)
cairo-png.c:140: error: expected expression before 'volatile'
cairo-png.c:141: error: 'png_color_16' undeclared (first use in this function)
cairo-png.c:141: error: expected ';' before 'white'
cairo-png.c:160: error: 'rows' undeclared (first use in this function)
cairo-png.c:160: error: expected expression before ')' token
cairo-png.c:167: error: expected expression before ')' token
cairo-png.c:169: error: 'PNG_LIBPNG_VER_STRING' undeclared (first use in this 
function)
cairo-png.c:170: error: 'png_simple_error_callback' undeclared (first use in 
this function)
cairo-png.c:171: error: 'png_simple_warning_callback' undeclared (first use in 
this function)
cairo-png.c:188: error: 'write_func' undeclared (first use in this function)
cairo-png.c:188: error: 'png_simple_output_flush_fn' undeclared (first use in 
this function)
cairo-png.c:193: error: 'PNG_COLOR_TYPE_RGB_ALPHA' undeclared (first use in 
this function)
cairo-png.c:197: error: 'PNG_COLOR_TYPE_RGB' undeclared (first use in this 
function)
cairo-png.c:201: error: 'PNG_COLOR_TYPE_GRAY' undeclared (first use in this 
function)
cairo-png.c:219: error: 'PNG_INTERLACE_NONE' undeclared (first use in this 
function)
cairo-png.c:220: error: 'PNG_COMPRESSION_TYPE_DEFAULT' undeclared (first use in 
this function)
cairo-png.c:221: error: 'PNG_FILTER_TYPE_DEFAULT' undeclared (first use in this 
function)
cairo-png.c:223: error: 'white' undeclared (first use in this function)
cairo-png.c:228: error: 'png_time' undeclared (first use in this function)
cairo-png.c:228: error: expected ';' before 'pt'
cairo-png.c:230: error: 'pt' undeclared (first use in this function)
cairo-png.c:241: error: 'unpremultiply_data' undeclared (first use in this 
function)
cairo-png.c:243: error: 'convert_data_to_bytes' undeclared (first use in this 
function)
cairo-png.c:245: error: 'PNG_FILLER_AFTER' undeclared (first use in this 
function)
cairo-png.c: At top level:
cairo-png.c:261: error: expected ')' before 'png'
cairo-png.c: In function 'cairo_surface_write_to_png':
cairo-png.c:317: error: 'stdio_write_func' undeclared (first use in this 
function)
cairo-png.c:317: error: too many arguments to function 'write_png'
cairo-png.c: At top level:
cairo-png.c:331: error: expected ')' before 'png'
cairo-png.c: In function 'cairo_surface_write_to_png_stream':
cairo-png.c:376: error: 'stream_write_func' undeclared (first use in this 
function)
cairo-png.c:376: error: too many arguments to function 'write_png'
cairo-png.c: At top level:
cairo-png.c:389: error: expected ')' before 'png'
cairo-png.c:420: error: expected ')' before 'png'
cairo-png.c:437: error: expected ')' before 'read_func'
cairo-png.c:601: error: expected ')' before 'png'
cairo-png.c: In 

Re: Is the freeBSD mailing list using an automated ticket system?

2010-05-20 Thread Michael Powell
James Phillips wrote:

 Sorry about the blank post (hit enter by mistake): I feel I may have
 received a phishing e-mail. This may explain why somebody pasted their
 root password on the mailing list over the last few days:
 
[snip]

The answer is no. Some script kiddie thought it might be fun to stick the 
email list into this companies ticketing system, and/or vice versa by 
subscribing the list to the ticketing system.

 
 This is an automated response to inform you that your question has been
 entered into our system, and will be reviewed shortly. Your ticket has
 been submitted into the General Support department.
 
 We will respond to you as soon as possible.
 
 ==
 Please keep this information, and use it when refering to your ticket:
 
 Ticket subject: Re: 7.0/i386 to 8.0/amd64 - gmirror/gstripe migration
 Ticket number: 24508771
 Ticket link: https://secure.mpcustomer.com/ticket.php?ticket=24508771
 Ticket body:  Hi!
 SNIPPED

A lot of people are seeing this, some have complained to the powers that be 
on both sides. I'm not 'in the loop' or totally privy but I seem to get the 
impression from what little I've read about the situation is it has been 
reported to both the company involved and postmaster. I think the last thing 
I recall was the company is expecting the list postmaster to 'fix' it, and 
have done nothing with the issue. Someone with more details may elaborate.

Me, and my $.02, is that if it affected *my* ticketing system I'd do 
whatever I had to do to fix *my* ticketing system, irregardless of what 
other third party might be involved. But that's just me

-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: freebsd on netbook

2010-05-20 Thread Anh Ky Huynh
On Thu, 20 May 2010 09:22:40 +0200
Matthias Apitz g...@unixarea.de wrote:

 El día Thursday, May 20, 2010 a las 09:08:48AM +0700, Anh Ky Huynh
 escribió:
 
  Hello all,
  
  I intend to buy a netbook for convenience (for many remote jobs,
  a netbook seems to be enough) whose cost is around $400. I'd like
  have freebsd on that netbook (oh, no linux, no windows,
  please :-) but it's hard to choose a right one that works fine
  (even with Ubuntu. See
  https://wiki.ubuntu.com/HardwareSupport/Machines/Netbooks.)
  
  Does anyone experience this problem? 
  
  Thank you for your comments.
 
 I'm running 8-CURRENT on a Asus EeePC 900; here is how the
 installation goes: http://www.unixarea.de/installEeePC-8CURRENT.txt
 you may check as well the info about other Asus models with FreeBSD
 here: http://wiki.freebsd.org/AsusEee
 

Thank you all for quick and useful helps.

I believe that with your information I can choose a right netbook to install 
FreeBSD :)

Regards,

-- 
Anh Ky Huynh
___
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 on netbook

2010-05-20 Thread Anh Ky Huynh
On Thu, 20 May 2010 02:56:54 -0300
Gonzalo Nemmi gne...@gmail.com wrote:

 On Thu, May 20, 2010 at 1:16 AM, Warren Block wbl...@wonkity.com
 wrote:
  On Thu, 20 May 2010, Anh Ky Huynh wrote:
 
  I intend to buy a netbook for convenience (for many remote jobs,
  a netbook seems to be enough) whose cost is around $400. I'd
  like have freebsd on that netbook (oh, no linux, no windows,
  please :-) but it's hard to choose a right one that works fine
  (even with Ubuntu. See
  https://wiki.ubuntu.com/HardwareSupport/Machines/Netbooks.)
 
  http://laptop.bsdgroup.de/freebsd/index.html has a lot of
  user-supplied information.
 
  I've used FreeBSD on Acer Aspire One models AOA150 and D250.
   Most of the basic hardware is the same on all brands: Atom
  processor, Intel chipset. Potential problem areas are card
  readers, wireless, and even wired Ethernet.
 
  Watch out for the Poulsbo/GMA500 video in newer netbooks.  Sounds
  like xorg is questionable on them so far.
 
 Keep an eye on the ethernet and wireless cards too. Be sure _not_ to
 buy anything that comes with Broadcom chipsets (be it ethernet or
 wireless) specially if you are buying from Dell.
 
 Best advice I could give you is:
 
 - Set a top price: How much will you spent on it.
 
 - Based on that number, look for the netbook you like the most
 (given that they all pack almost the same hardware ... looks and
 probably keyboard are what make the difference... at least until
 AMD/ATI netbooks start to show up)
 
 - Once you have a candidate, use google to try and get the output of
 lspci -vv (that's 2 v, and not  1 w) from somebody running linux
 on the netbook you have chosen. ( the output of pciconf -lbcv will
 probably be harder to get .. )
 
 - Make sure all the hardware ( or at least the parts you care
 about ) are fully supported under FreeBSD. Specially:
 suspend/resume as we are talking on a netbook in here and hence ..
 full suspend/resume support is vital.
 
 - With all that info in your hands, come back, post it to the list
 and ask if somebody owns the netbook you'd like to buy .. what
 problems they've run into (if any) and how was their experience
 running FreeBSD under that particular netboook.
 
 - Having done that, and knowing in advanced what you are about to
 get into ... just decide whether to spend your hard earned money on
 it or not =)
 
 My take?
 I decided to wait (for the last 4 months with the money on my
 wallet) until Dell released the new version of the Dell Latitude
 2100 .. and then the Latitude 2110 showed up a week or so ago ..
 After seeing they went with the lackluster Atom N470 and it's
 crappy video chipset instead of going with the new AMD/ATI combo,
 that they only offer Dell Wireless cards (which AFAIK are all
 based on Broadcom chips) with no option to pick an intel 5100, and
 knowing they use soldered Broadcom ethernet chips, I decided not to
 spend my money on it and spend it in something that works for me,
 instead of spending it on something that only works for them =)

I have Compaq Pressario with a Broadcom chips here. You know, I always get 
troubles with my wireless connection :)

 
 Tips:
 - Do not buy anything with Broadcom Corporation NetLink BCM5906M
 ethernet cards.
 - Do not buy anything with Broadcom Corporation chips
 - Do not buy anything with Broadcom Corporation components
 - Do not buy anything that has the word Broadcom written on it or in
 its packaging, manuals or documentation.
 - Always look for harware from manufacturers that make their
 chipsets documentation available to the public, or at least, to the
 devels of different Open Source (specially BSD) projects.
 - Even if it's not my cup of tea and I am in no way recommending you
 to even consider them, _do_ take a look in here as it has a lot of
 information: http://wiki.freebsd.org/AsusEee
 
 Hope that helped =)
 Best luck on your buy

Thank you so much, Gonzalo. You provide very very useful tips when buying 
computer to use with FreeBSD :)

-- 
Anh Ky Huynh
___
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


Apache 2.2, mod_auth_kerb

2010-05-20 Thread John

Hi list.

I'm having problems getting mod_auth_kerb to play nice on one of my servers.
I have the exact same setup on other machines and it works perfectly, 
only difference is this ones running CURRENT while they track RELEASE.


Some info:

# pkg_info|grep apache  pkg_info|grep kerb
apache-2.2.15_7 Version 2.2.x of Apache web server with prefork MPM.
mod_auth_kerb-5.4   An Apache module for authenticating users with 
Kerberos v5


# uname -a
FreeBSD host.example.com 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Tue May 11 
20:04:45 UTC 2010 host.example.com:/usr/obj/usr/src/sys/HOST  i386



Everything compiles and installs nicely, but when I try to do a 
'apachectl start' I get this:


httpd: Syntax error on line 4 of /usr/local/etc/apache22/httpd.conf: 
Cannot load /usr/local/libexec/apache22/mod_auth_kerb.so into server: 
/usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol 
gsskrb5_register_acceptor_identity


Is this due to running current?
If it is I will drop the issue right now, I just want to know for sure 
before I spend hours trying to solve it.


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


real time files mirroring ?

2010-05-20 Thread Frank Bonnet

Hello

I'm searching for a software that could perform some kind of real time
mirroring between two (or more) freebsd servers.

My meaning is to keep up to date some files ( flat and db maps ) used by 
Postfix on our MX servers and propagate every change of one or more

files to all the others.

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: real time files mirroring ?

2010-05-20 Thread Gary Gatten
Will rsync not work?

- Original Message -
From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org
To: freebsd-questions freebsd-questions@freebsd.org
Sent: Thu May 20 09:12:47 2010
Subject: real time files mirroring ?

Hello

I'm searching for a software that could perform some kind of real time
mirroring between two (or more) freebsd servers.

My meaning is to keep up to date some files ( flat and db maps ) used by 
Postfix on our MX servers and propagate every change of one or more
files to all the others.

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
___
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 long do you go without upgrading FreeBSD to a newer release?

2010-05-20 Thread Roger Vetterberg

On 2010-05-16 17:42, Dan Naumov wrote:

Hello folks


[snip]


Do you liva by the If it's not broken, don't fix it mantra or do you
religiously keep your OS installations up to date?


- Sincerely,
Dan Naumov


Depends on the installation requirements.

I know of two 2.2.8 installations on PII hardware still running like 
champs, not a glitch in god knows how many years of 24/7 operation. None 
of them are exposed externally so there are no security considerations. 
The customers that runs them are still more then happy with their 
servers so I'm actually a bit curious to see how long they will keep 
them running.


I have a few other servers that are highly exposed. My mantra there is 
to run _verified_ software. Not necessarily the latest, but software 
that has no known bugs and has been well tested.
To religiously update everytime there is a new version and blame it on 
security is stupid. How do you know that a brand new version of a 
software does not contain a big gaping security hole unless it has been 
tested in the wild yet?


--
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: real time files mirroring ?

2010-05-20 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 20/05/2010 15:12:47, Frank Bonnet wrote:

 I'm searching for a software that could perform some kind of real time
 mirroring between two (or more) freebsd servers.
 
 My meaning is to keep up to date some files ( flat and db maps ) used by
 Postfix on our MX servers and propagate every change of one or more
 files to all the others.

That's actually a very hard problem if you really need /real time/
mirroring.

If you can stand a delay of a few minutes for changes to propagate, then
simply running rsync(1) in a cron job should do -- it's simple to set
up, robust and probably quite a lot faster than you expect.

You will have to handle any issues to do with file locking and having
postfix close and reopen any descriptors on those files if necessary.

Otherwise, there are two strategies to consider:

* Use a network mounted filesystem.  This can work like a charm, or
  it can be a complete nightmare depending on what postfix needs to
  do with the shared files.  Locking and exclusive access tends to
  be a problem.  You'ld need to look at something like HAST if you
  want a resilient solution, or your fileserver will be a single
  point of failure.

* Use a network database -- in this case, I'd think LDAP would be a
  good choice.  This is pretty fast in operation, and you can make
  it resilient pretty easily by replicating the database.  Downside
  is extra work when setting everything up.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkv1R84ACgkQ8Mjk52CukIx/QQCeM042jig7+Ux0PKMuidRjudsN
w2QAnAn2KLJEW3zh0ElPM2xTd9ESmxQE
=wpzh
-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: real time files mirroring ?

2010-05-20 Thread Vincent Hoffman
On 20/05/2010 15:12, Frank Bonnet wrote:
 Hello

 I'm searching for a software that could perform some kind of real time
 mirroring between two (or more) freebsd servers.

 My meaning is to keep up to date some files ( flat and db maps ) used
 by Postfix on our MX servers and propagate every change of one or more
 files to all the others.
HAST (http://wiki.freebsd.org/HAST  in -STABLE now.) or ggate sound like
your best bet, although they could be overkill for a few files.
you could put something together with sysutils/wait_on  and rsync that
would probably do.


Vince
 

 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

___
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: real time files mirroring ?

2010-05-20 Thread Julien Cigar
You may want to wait for HAST : http://wiki.freebsd.org/HAST .. I think 
it has been merged to HEAD ..


regards,
Julien

Frank Bonnet wrote:

Hello

I'm searching for a software that could perform some kind of real time
mirroring between two (or more) freebsd servers.

My meaning is to keep up to date some files ( flat and db maps ) used by 
Postfix on our MX servers and propagate every change of one or more

files to all the others.

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



--
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.
___
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: real time files mirroring ?

2010-05-20 Thread Brandon Gooch
On Thu, May 20, 2010 at 9:12 AM, Frank Bonnet f.bon...@esiee.fr wrote:
 Hello

 I'm searching for a software that could perform some kind of real time
 mirroring between two (or more) freebsd servers.

 My meaning is to keep up to date some files ( flat and db maps ) used by
 Postfix on our MX servers and propagate every change of one or more
 files to all the others.

Back in 2008, Ivan Voras wrote a rather simple daemon that fits this need:

http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/

http://ivoras.sharanet.org/stuff/adfs.tgz

I'm not sure about the status of the code (in regard to compiling and
working with 8.x or HEAD), but it's worth a shot. I remember trying it
out last year and it worked well for the small-ish project I had
going.

Ivan may have an informed comment or two to provide as well...

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


ftp passive mode

2010-05-20 Thread gahn
Hi All:

I am behind firewall and only pass ftp sessions are allowed. With that, most 
ftp sessions of portupgrade would not be able to connect to remote FreeBSD 
sites.

Could I reconfigure the my FreeBSD 7.3 in a way so that it would only start ftp 
sessions in PASV mode?

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: real time files mirroring ?

2010-05-20 Thread Frank Bonnet

Thanks for your answers guys !

I'm gonna test all softwares you pointed on


On 05/20/10 16:12, Frank Bonnet wrote:

Hello

I'm searching for a software that could perform some kind of real time
mirroring between two (or more) freebsd servers.

My meaning is to keep up to date some files ( flat and db maps ) used by
Postfix on our MX servers and propagate every change of one or more
files to all the others.

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


___
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: ftp passive mode

2010-05-20 Thread Lowell Gilbert
gahn ipfr...@yahoo.com writes:

 I am behind firewall and only pass ftp sessions are allowed. With that, most 
 ftp sessions of portupgrade would not be able to connect to remote FreeBSD 
 sites.

 Could I reconfigure the my FreeBSD 7.3 in a way so that it would only start 
 ftp sessions in PASV mode?

That should already be the default; FETCH_ARGS should be set to -ApRr
in /etc/ports/Mk/bsd.port.mk (the 'p' option is what means passive
mode).  It certainly works for me, and has for many years.  You can test
by setting FTP_PASSIVE_MODE (to anything *except* no) in the environment.
___
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


increasing memory for no root users on freebsd 8.0

2010-05-20 Thread Vikash Badal


Can someone assist me with tunning freebsd 8.0 so that I can allocate more 
memory to a process that is not owned by root or running as root.


From top 
I get this line before it coredumps.

PID USERNAMETHR PRI NICE   SIZERES STATETIME   WCPU COMMAND
1161 nntpd  1500  440   502M   303M STOP 1:27  0.00% nntpd

The server has:
real memory  = 4294967296 (4096 MB)
avail memory = 3145883648 (3000 MB)


/boot/loader.conf
kern.maxdsiz=768M
kern.maxssiz=768M
kern.maxtsiz=768M

limits
Resource limits (current):
  cputime  infinity secs
  filesize infinity kB
  datasize   786432 kB
  stacksize  786432 kB
  coredumpsize infinity kB
  memoryuseinfinity kB
  memorylocked infinity kB
  maxprocesses 5547
  openfiles   11095
  sbsize   infinity bytes
  vmemoryuse   infinity kB
  pseudo-terminals infinity
  swapuse  infinity kB


according to tuning(7)

 The kern.dfldsiz and kern.dflssiz tunables set the default soft limits
 for process data and stack size respectively.  Processes may increase
 these up to the hard limits by calling setrlimit(2).  The kern.maxdsiz,
 kern.maxssiz, and kern.maxtsiz tunables set the hard limits for process
 data, stack, and text size respectively; processes may not exceed these
 limits.  The kern.sgrowsiz tunable controls how much the stack segment
 will grow when a process needs to allocate more stack.


But setting these values in /boot/loader.conf does not seem to solve the memory 
limits that I am hitting.

Any idea where I'm going wrong ?



Thanks

Please note: This email and its content are subject to the disclaimer as 
displayed at the following link 
http://www.is.co.za/legal/E-mail+Confidentiality+Notice+and+Disclaimer.htm. 
Should you not have Web access, send a mail to disclaim...@is.co.za and a copy 
will be emailed to 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: Autoresponders [pa...@magi.magidesign.com: [#24508600] Re: Need advise.]

2010-05-20 Thread Bob Hall
On Wed, May 19, 2010 at 10:37:22PM -0400, Glen Barber wrote:
 Headers attached, so we can stop this nonsense in the future.
I've gotten the same thing, and I'm a bit confused. What exactly is
going on?
___
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: ftp passive mode

2010-05-20 Thread N.J. Mann
In message 111263.90106...@web52308.mail.re2.yahoo.com,
gahn (ipfr...@yahoo.com) wrote:
 
 I am behind firewall and only pass ftp sessions are allowed. With
 that, most ftp sessions of portupgrade would not be able to connect to
 remote FreeBSD sites.
 
 Could I reconfigure the my FreeBSD 7.3 in a way so that it would only
 start ftp sessions in PASV mode?

The on-line handbook in section 4.5.2 'Installing Ports' says:

  The ports system uses fetch(1) to download the files, which honors
  various environment variables, including FTP_PASSIVE_MODE, FTP_PROXY,
  and FTP_PASSWORD.

So try setting FTP_PASSIVE_MODE in your environment.

man ports  and  man fetch  may also be worth a read.


Cheers,
   Nick.
-- 

___
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: Autoresponders [pa...@magi.magidesign.com: [#24508600] Re: Need advise.]

2010-05-20 Thread Chuck Swiger
On May 20, 2010, at 9:03 AM, Bob Hall wrote:
 On Wed, May 19, 2010 at 10:37:22PM -0400, Glen Barber wrote:
 Headers attached, so we can stop this nonsense in the future.
 
 I've gotten the same thing, and I'm a bit confused. What exactly is going on?

The folks at mpcustomer.com have a badly-written (per RFC-3834) autoresponder 
robot.  It generates responses with a From: header copied from the original 
human sender.  Some childish script kiddie, upon becoming aware of such a 
poorly designed system, forged a subscription between it and the FreeBSD 
mailing lists, so people posting to the list get spammed by mpcustomer.com 
tickets.

Given that postmas...@mpprotect.com doesn't work, I've been reporting this 
spam to the ISP hosting their netblock, ab...@networklayer.com.

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: real time files mirroring ?

2010-05-20 Thread Ivan Voras
On 20 May 2010 16:53, Brandon Gooch jamesbrandongo...@gmail.com wrote:
 On Thu, May 20, 2010 at 9:12 AM, Frank Bonnet f.bon...@esiee.fr wrote:
 Hello

 I'm searching for a software that could perform some kind of real time
 mirroring between two (or more) freebsd servers.

 My meaning is to keep up to date some files ( flat and db maps ) used by
 Postfix on our MX servers and propagate every change of one or more
 files to all the others.

 Back in 2008, Ivan Voras wrote a rather simple daemon that fits this need:

 http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/

 http://ivoras.sharanet.org/stuff/adfs.tgz

 I'm not sure about the status of the code (in regard to compiling and
 working with 8.x or HEAD), but it's worth a shot. I remember trying it
 out last year and it worked well for the small-ish project I had
 going.

 Ivan may have an informed comment or two to provide as well...

I am still interested in the subject and hope to one day find enough
free time to actually create something usable. Adfs was an experiment
and it showed that it couldn't be done the way I wanted it.

It was supposed to be rsync assisted by kqueue file events to detect
changes but, among other things, change detection isn't a very
demanding part of rsyncing files. In short, rsync in cron would do
much better.
___
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 long do you go without upgrading FreeBSD to a newer release?

2010-05-20 Thread Mehmet Erol Sanliturk
On Thu, May 20, 2010 at 10:28 AM, Roger Vetterberg ro...@vetterberg.comwrote:

 On 2010-05-16 17:42, Dan Naumov wrote:

 Hello folks

  [snip]


 Do you liva by the If it's not broken, don't fix it mantra or do you
 religiously keep your OS installations up to date?


 - Sincerely,
 Dan Naumov


 Depends on the installation requirements.

 I know of two 2.2.8 installations on PII hardware still running like
 champs, not a glitch in god knows how many years of 24/7 operation. None of
 them are exposed externally so there are no security considerations. The
 customers that runs them are still more then happy with their servers so I'm
 actually a bit curious to see how long they will keep them running.

 I have a few other servers that are highly exposed. My mantra there is to
 run _verified_ software. Not necessarily the latest, but software that has
 no known bugs and has been well tested.
 To religiously update everytime there is a new version and blame it on
 security is stupid. How do you know that a brand new version of a software
 does not contain a big gaping security hole unless it has been tested in the
 wild yet?

 --

 R



More than two years I am studying FreeBSD and some Linux distributions ,
mostly I am using Mandriva Linux ( attaching USB sticks mounts them
automatically , and burning CD/DVD is very easy . No one of them require
mount . )  .

After very desperate experiences ( loss of collection of large amounts of
downloaded documents and other files after upgrading the operating system
either by automatic update , or approved update of installed components ) I
have learned that upgrading an actively used operating system ( including
Windows ) is plainly wrong .  Now I am NOT upgrading any more any one ( I
have turned Off automatic updates , and I am ignoring notices about
availability upgrades ) .

The best policy seems to be one of the following :

 (i) install onto a new computer , test it , and if it is working very well
transfer data onto
 new system , and keep old system for a new release/update cycle .
 This step is most suitable for production systems exposed to outer
world .
(ii) attach a new hard disk to the computer , copy all of the present files
to the new
system ,
update it , test it , if it is successful , use previous hard disk for a
new release/update
cycle ,
(iii) back-up all of the data , and try update . Testing suitability may
take a long time .

In steps (ii) and (iii) , do not load new data during tests , because at the
end , all of them may be destroyed .
( No one of the above steps are suitable for a proprietary , activation
based operating system because they are not allowing so many computer and/or
hard disk changes . )

Therefore , the problem is a system analysis and design process .

Thank you very much .

Mehmet Erol Sanliturk
___
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: which utility do i use to burn some [two] of my cd's?

2010-05-20 Thread Rod Person
On Wed, 19 May 2010 19:14:12 -0700
Gary Kline kl...@thought.org wrote:

 
 guys,
 
 sound-juicer used to let me transfer one to some N tracks of my
 OLD favorites.  no mo'.  or | unless i'm mouse clicking the wrong
 place.  what it the audio utility of choice these days for
 freebsd?
 

Try grip if you want a GUI. It will rip all or some tracks and encode to mp3 
and flac.

-- 
Rod Person
http://www.rodperson.com
  
If you talk to God, you are praying. If God talks to you have schizophrenia.
-Thomas Szasz
___
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: Bash lockups

2010-05-20 Thread Karl Vogel
 On Wed, 19 May 2010 16:14:52 -0700, 
 Carl Johnson ca...@peak.org said:

C I have been experimenting with FreeBSD for a while, and I consistently
C get bash lockups at irregular intervals when it is otherwise idle.
C Does anybody have any suggestings on how I could try to trace this?

   1.  Get a process-table list every minute or so via cron.  It might show
   something else running or trying to run when you have your lockups.
   Try ps -axw -o user,pid,ppid,pgid,tt,start,time,command.

   2.  Get the PID of the bash session, and run something like this as root:

   pid=12345
   k=1
   while true; do
   truss -p $pid 21 | head -1000  /dir-with-lots-of-space/$k
   k=`expr $k + 1`
   done

   This should break the truss output into 1000-line chunks and let you
   clean out the directory before it chews up all your space.  Hopefully
   one of the truss files will show something useful after a lockup.

-- 
Karl Vogel  I don't speak for the USAF or my company

REMOTE CONTROL - female, because it gives a man pleasure, he'd be lost
without it, and while he doesn't always know the right buttons to push,
he keeps trying.   --from the What gender are they? list
___
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: [#24509808] How long do you go without upgrading FreeBSD to a newer release?

2010-05-20 Thread dedicated
Hello,

What exactly is this about. Let us know your requirement.

-- 
Best Regards

Dennis
Server Engineer
Hosting Services, Inc.

___
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


increasing memory for no root users on freebsd 8.0

2010-05-20 Thread Robert Huff

Vikash Badal writes:

  Can someone assist me with tunning freebsd 8.0 so that I can
  allocate more memory to a process that is not owned by root or
  running as root.

man (5) login.conf ??


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


Re: [#24509808] How long do you go without upgrading FreeBSD to a newer release?

2010-05-20 Thread Chuck Swiger
On May 20, 2010, at 10:12 AM, dedica...@midphase.com wrote:
 What exactly is this about. Let us know your requirement.

The requirement, per RFC-821/2821/5321, is that postmas...@midphase.com ought 
to work:

% telnet mx.midphase.com 25
Trying 69.4.235.206...
Connected to mx.midphase.com.
Escape character is '^]'.
220-cactaur.hostingservicesinc.net ESMTP Exim 4.69 #1 Thu, 20 May 2010 12:19:05 
-0500 
220-We do not authorize the use of this system to transport unsolicited, 
220 and/or bulk e-mail.
ehlo mac.com
250-cactaur.hostingservicesinc.net Hello rrcs-24-103-228-244.nyc.biz.rr.com 
[24.103.228.244]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
mail from: cswi...@mac.com
250 OK
rcpt to: postmas...@midphase.com
550 No such person at this address
quit
221 cactaur.hostingservicesinc.net closing connection
Connection closed by foreign host.

See http://www.rfc-ignorant.org/tools/lookup.php?domain=midphase.com

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: increasing memory for no root users on freebsd 8.0

2010-05-20 Thread Adam Vande More
On Thu, May 20, 2010 at 10:26 AM, Vikash Badal vikash.ba...@is.co.zawrote:


 Any idea where I'm going wrong ?


http://www.freebsd.org/doc/en/books/handbook/users-limiting.html


-- 
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: ftp passive mode

2010-05-20 Thread Lowell Gilbert
Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org writes:

 gahn ipfr...@yahoo.com writes:

 I am behind firewall and only pass ftp sessions are allowed. With that, most 
 ftp sessions of portupgrade would not be able to connect to remote FreeBSD 
 sites.

 Could I reconfigure the my FreeBSD 7.3 in a way so that it would only start 
 ftp sessions in PASV mode?

 That should already be the default; FETCH_ARGS should be set to -ApRr
 in /etc/ports/Mk/bsd.port.mk (the 'p' option is what means passive
 mode).  It certainly works for me, and has for many years.  You can test
 by setting FTP_PASSIVE_MODE (to anything *except* no) in the environment.

And I notice that should already be set as well; it's part of the
default class setting in /etc/login.conf.
___
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: Apache 2.2, mod_auth_kerb

2010-05-20 Thread Tim Judd
On 5/20/10, John ilc...@gmail.com wrote:
 Hi list.

 I'm having problems getting mod_auth_kerb to play nice on one of my servers.
 I have the exact same setup on other machines and it works perfectly,
 only difference is this ones running CURRENT while they track RELEASE.

 Some info:

 # pkg_info|grep apache  pkg_info|grep kerb
 apache-2.2.15_7 Version 2.2.x of Apache web server with prefork MPM.
 mod_auth_kerb-5.4   An Apache module for authenticating users with
 Kerberos v5

 # uname -a
 FreeBSD host.example.com 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Tue May 11
 20:04:45 UTC 2010 host.example.com:/usr/obj/usr/src/sys/HOST  i386


 Everything compiles and installs nicely, but when I try to do a
 'apachectl start' I get this:

 httpd: Syntax error on line 4 of /usr/local/etc/apache22/httpd.conf:
 Cannot load /usr/local/libexec/apache22/mod_auth_kerb.so into server:
 /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol
 gsskrb5_register_acceptor_identity

 Is this due to running current?
 If it is I will drop the issue right now, I just want to know for sure
 before I spend hours trying to solve it.



It begins to look like GSSAPI is not in there.  GSSAPI is part of
world.  You may need to rebuild kerberos with GSSAPI support.  Are you
using the builtin MIT or the add-on heimdal kerberos?
___
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 on netbook

2010-05-20 Thread Tim Judd
On 5/19/10, Anh Ky Huynh xky...@gmail.com wrote:
 Hello all,

 I intend to buy a netbook for convenience (for many remote jobs, a netbook
 seems to be enough) whose cost is around $400. I'd like have freebsd on that
 netbook (oh, no linux, no windows, please :-) but it's hard to choose a
 right one that works fine (even with Ubuntu. See
 https://wiki.ubuntu.com/HardwareSupport/Machines/Netbooks.)

 Does anyone experience this problem?

 Thank you for your comments.


Got an HP Mini 311 that's not FreeBSD friendly.  it's a completely
nVidia-based system with Atom CPU.
___
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


Terminal thinks start of line is first character of previous line

2010-05-20 Thread Eitan Adler
For some reason the output of my terminal at times seems to put the
first character of a line as the last character of the previous line.
This occurs with x11/Terminal x11/Eterm x11/xterm and probably others.
As far as I could tell this does not not occur on console but I have
not tested as thoroughly.

echo $TERM $COLUMNS
xterm 140

I'm unsure what other debugging data is needed. I am able to provide
any other data that might be needed to solve the problem though.

-- 
Eitan Adler
___
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: Terminal thinks start of line is first character of previous line

2010-05-20 Thread Polytropon
On Fri, 21 May 2010 01:02:04 +0300, Eitan Adler li...@eitanadler.com wrote:
 For some reason the output of my terminal at times seems to put the
 first character of a line as the last character of the previous line.
 This occurs with x11/Terminal x11/Eterm x11/xterm and probably others.
 As far as I could tell this does not not occur on console but I have
 not tested as thoroughly.
 
 echo $TERM $COLUMNS
 xterm 140

Do you have any idea what sets $COLUMN for your terminal session?
I don't have this variable defined neither in xterm or text mode
console.

When you state at some times for this strange shifting to happen,
what programs are affected, for example, or is terminal output
affected in general? Maybe $COLUMNS setting interferes with
something...



-- 
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: amavisd - exited on signal 11 - FreeBSD 8 with Perl 5.10

2010-05-20 Thread Hans F. Nordhaug
* Hans F. Nordhaug hans.f.nordh...@himolde.no [2010-04-29]:
 * Hans F. Nordhaug hans.f.nordh...@himolde.no [2010-04-29]:
  Hi!
  
  I have been happily running Postfix with amavisd-new (and Clamav 
  and SpamAssassin) on FreeBSD 7 with Perl 5.8 for a long time. 
  Recently, I upgraded to FreeBSD 8 and rebuilt all ports (after
  updating). Suddenly I saw many 
  kernel: pid x (perl), uid 110: exited on signal 11
  lines in /var/log/messages and mailq returns some messages
  with comments like:
  
  (lost connection with 127.0.0.1[127.0.0.1] while sending end 
  of data -- message may be sent more than once)

Cutting a lot of debug statements here - see 
http://lists.freebsd.org/pipermail/freebsd-questions/2010-April/215759.html
for my complete original messages

I finally found the problem - the spamassassin bayes db. For some
reason Perl (or really spamassassin) exited on signal 11 when reading
the bayes db. The reason it took my so long to find the problem was:

1) I was lazy and in stead of testing with
  su vscan -c 'spamassassin -D -t  msg.txt'
   as recommended, I just ran
  spamassassin -D -t  msg.txt
   as root. The later command didn't exit with signal 11, while the
   first did - it stopped after

[...]
check: pms new, time limit in 293.202 s
locker: mode is 384
locker: safe_lock: created /var/amavis/.spamassassin/bayes.mutex
locker: safe_lock: trying to get lock on /var/amavis/.spamassassin/bayes with 
10 timeout
locker: safe_lock: link to /var/amavis/.spamassassin/bayes.mutex: link ok
bayes: tie-ing to DB file R/W /var/amavis/.spamassassin/bayes_toks
bayes: tie-ing to DB file R/W /var/amavis/.spamassassin/bayes_seen
bayes: found bayes db version 3

2) The debug in /var/log/maillog (as posted in my earlier messages) was

[...]
bayes: tie-ing to DB file R/W /var/amavis/.spamassassin/bayes_toks
bayes: tie-ing to DB file R/W /var/amavis/.spamassassin/bayes_seen
bayes: found bayes db version 3
locker: refresh_lock: refresh /var/amavis/.spamassassin/bayes.lock

It didn't stop at the same point - bayes: found bayes db version 3.

3) sa-learn didn't report any problems with the bayes db.

Anyway, the solution was simple - rm -rf /var/amavis/.spamassassin/*.

I guess I should have asked on the amavisd mailing list, but at least 
this is documented here now for other FreeBSD users that get this problem 
after upgrading from Perl 5.8 to 5.10.

Regards,
Hans Nordhaug
___
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


PHP upgrade fails

2010-05-20 Thread Zbigniew Szalbot
Hello,

long story short - php52 upgarde failed.

php -v
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20090626/pdf.so' - Cannot open
/usr/local/lib/php/20090626/pdf.so in Unknown on line 0
PHP 5.3.2 with Suhosin-Patch (cli) (built: May 20 2010 23:47:26)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies


I followed this advice (although I should have done it prior to upgrading):

 As of php 5.3, a few extensions were removed from or included into the core
  php5 package.  Follow the steps below to update your installation.

  1) Delete the following packages (if installed):
 - php5-dbase
 - php5-ncurses
 - php5-pcre
 - php5-spl
 - php5-ming
 - php5-mhash

and then I tried to rebuild php port.

However, php is not working and the ports cannot be updated.

 portupgrade -fv
---  Session started at: Fri, 21 May 2010 00:36:58 +0200
** None has been installed or upgraded.
---  Session ended at: Fri, 21 May 2010 00:36:58 +0200 (consumed 00:00:00)

What do I do now? How can I now upgrade the ports? Can you help me,
please? :) Thanks!

-- 
Zbigniew Szalbot
www.slowo.pl
www.fairtrade.net.pl
___
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: PHP upgrade fails

2010-05-20 Thread Zbigniew Szalbot
Hello,

 Try reinstalling php5-extensions, which should rebuild all the ones
 that need to be rebuilt.

 The error messages from PHP should give you a hint which libraries
 it's looking for.
I made some progress but still

php -v
PHP Warning:  Module 'pdf' already loaded in Unknown on line 0
PHP 5.3.2 with Suhosin-Patch (cli) (built: May 21 2010 01:21:41)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

Even after restarting apache php-based pages do not load. Many thanks
in advance for further hints!


-- 
Zbigniew Szalbot
www.slowo.pl
www.fairtrade.net.pl
___
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: PHP upgrade fails

2010-05-20 Thread Zbigniew Szalbot
Hello again,

 Even after restarting apache php-based pages do not load. Many thanks
 in advance for further hints!
OK. I commented the extension=pdf.so in extensions.ini and php no
longer complains. :)

Thanks!

-- 
Zbigniew Szalbot
www.slowo.pl
www.fairtrade.net.pl
___
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: PHP upgrade fails

2010-05-20 Thread Zbigniew Szalbot
OK. Never declare victory too fast :)

 Hello again,

 Even after restarting apache php-based pages do not load. Many thanks
 in advance for further hints!
 OK. I commented the extension=pdf.so in extensions.ini and php no
 longer complains. :)

pkg_info -Ix php
php5-5.3.2  PHP Scripting Language
php5-bcmath-5.3.2   The bcmath shared extension for php
php5-bz2-5.3.2  The bz2 shared extension for php
php5-ctype-5.3.2The ctype shared extension for php
php5-dom-5.3.2  The dom shared extension for php
php5-filter-5.3.2   The filter shared extension for php
php5-gd-5.3.2   The gd shared extension for php
php5-gettext-5.3.2  The gettext shared extension for php
php5-iconv-5.3.2The iconv shared extension for php
php5-mbstring-5.3.2 The mbstring shared extension for php
php5-mcrypt-5.3.2   The mcrypt shared extension for php
php5-mysql-5.3.2The mysql shared extension for php
php5-mysqli-5.3.2   The mysqli shared extension for php
php5-openssl-5.3.2  The openssl shared extension for php
php5-posix-5.3.2The posix shared extension for php
php5-pspell-5.3.2   The pspell shared extension for php
php5-session-5.3.2  The session shared extension for php
php5-simplexml-5.3.2 The simplexml shared extension for php
php5-xml-5.3.2  The xml shared extension for php
php5-zip-5.3.2  The zip shared extension for php
php5-zlib-5.3.2 The zlib shared extension for php
phpMyAdmin-3.3.3A set of PHP-scripts to manage MySQL over the web

shows me that I still do not have two extensions which I deleted ealier:
php5-pcre
php5-spl

I really need php with pcre and spl support and I wonder how to
compile it using portinstall/portupgrade.

make config for /usr/ports/lang/php52-extensions
shows pcre and spl as checked

I hope someone will point me in the right direction. Thank you!

-- 
Zbigniew Szalbot
www.slowo.pl
www.fairtrade.net.pl
___
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: PHP upgrade fails

2010-05-20 Thread John Levine
  1) Delete the following packages (if installed):
 - php5-dbase
 - php5-ncurses
 - php5-pcre
 - php5-spl
 - php5-ming
 - php5-mhash

and then I tried to rebuild php port.

However, php is not working and the ports cannot be updated.

Try reinstalling php5-extensions, which should rebuild all the ones
that need to be rebuilt.

The error messages from PHP should give you a hint which libraries
it's looking for.

R's,
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: PHP upgrade fails

2010-05-20 Thread Yuri Pankov
On Fri, May 21, 2010 at 01:55:07AM +0200, Zbigniew Szalbot wrote:
 OK. Never declare victory too fast :)
 
  Hello again,
 
  Even after restarting apache php-based pages do not load. Many thanks
  in advance for further hints!
  OK. I commented the extension=pdf.so in extensions.ini and php no
  longer complains. :)
 
 pkg_info -Ix php
 php5-5.3.2  PHP Scripting Language
 php5-bcmath-5.3.2   The bcmath shared extension for php
 php5-bz2-5.3.2  The bz2 shared extension for php
 php5-ctype-5.3.2The ctype shared extension for php
 php5-dom-5.3.2  The dom shared extension for php
 php5-filter-5.3.2   The filter shared extension for php
 php5-gd-5.3.2   The gd shared extension for php
 php5-gettext-5.3.2  The gettext shared extension for php
 php5-iconv-5.3.2The iconv shared extension for php
 php5-mbstring-5.3.2 The mbstring shared extension for php
 php5-mcrypt-5.3.2   The mcrypt shared extension for php
 php5-mysql-5.3.2The mysql shared extension for php
 php5-mysqli-5.3.2   The mysqli shared extension for php
 php5-openssl-5.3.2  The openssl shared extension for php
 php5-posix-5.3.2The posix shared extension for php
 php5-pspell-5.3.2   The pspell shared extension for php
 php5-session-5.3.2  The session shared extension for php
 php5-simplexml-5.3.2 The simplexml shared extension for php
 php5-xml-5.3.2  The xml shared extension for php
 php5-zip-5.3.2  The zip shared extension for php
 php5-zlib-5.3.2 The zlib shared extension for php
 phpMyAdmin-3.3.3A set of PHP-scripts to manage MySQL over the web
 
 shows me that I still do not have two extensions which I deleted ealier:
 php5-pcre
 php5-spl

/usr/ports/MOVED:
devel/php5-pcre|lang/php5|2010-04-09|Bundled in core php
devel/php5-spl|lang/php5|2010-04-09|Bundled in core php

Check Note: on following pages:
http://ru.php.net/manual/en/pcre.installation.php
http://ru.php.net/manual/en/spl.installation.php

 
 I really need php with pcre and spl support and I wonder how to
 compile it using portinstall/portupgrade.
 
 make config for /usr/ports/lang/php52-extensions
 shows pcre and spl as checked

Why php52-extensions when you have php5 (5.3.2) installed? 

 
 I hope someone will point me in the right direction. Thank you!
 
 -- 
 Zbigniew Szalbot
 www.slowo.pl
 www.fairtrade.net.pl

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


Re: PHP upgrade fails

2010-05-20 Thread Zbigniew Szalbot
shows me that I still do not have two extensions which I deleted ealier:
php5-pcre
php5-spl

 They're both built into PHP 5.3.

Apache error log says:
PHP Fatal error:  Call to undefined function preg_match() in...

This seems to suggest I do not have it working and site is blank.

php -v
PHP 5.3.2 with Suhosin-Patch (cli) (built: May 21 2010 01:21:41)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

 php -m
[PHP Modules]
bcmath
bz2
Core
ctype
date
dom
ereg
filter
gd
gettext
iconv
libxml
mbstring
mcrypt
mysql
mysqli
openssl
pcre
pdf
posix
pspell
Reflection
session
SimpleXML
SPL
standard
xml
zip
zlib

[Zend Modules]

I am lost as to what to do to solve this. Any help will be appreciated!


-- 
Zbigniew Szalbot
www.slowo.pl
www.fairtrade.net.pl
___
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: PHP upgrade fails

2010-05-20 Thread Yuri Pankov
On Fri, May 21, 2010 at 02:13:30AM +0200, Zbigniew Szalbot wrote:
 shows me that I still do not have two extensions which I deleted ealier:
 php5-pcre
 php5-spl
 
  They're both built into PHP 5.3.
 
 Apache error log says:
 PHP Fatal error:  Call to undefined function preg_match() in...
 
snip
 
 I am lost as to what to do to solve this. Any help will be appreciated!

Did you restart apache after upgrading php...?

 
 
 -- 
 Zbigniew Szalbot
 www.slowo.pl
 www.fairtrade.net.pl

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


Re: PHP upgrade fails

2010-05-20 Thread Zbigniew Szalbot
Hello,

 I am lost as to what to do to solve this. Any help will be appreciated!

 Did you restart apache after upgrading php...?

Yes, I did!

I think something is wrong. It may be that I upgraded the wrong php
port? My initial command was portupgrade php\*

Anyway, I seem to have the extensions installed but somehow they are missing:
You should install the PHP MySQL extension! - a message from one site.

However, it is installed.
 pkg_info -Ix php
php5-5.3.2  PHP Scripting Language
php5-bcmath-5.3.2   The bcmath shared extension for php
php5-bz2-5.3.2  The bz2 shared extension for php
php5-ctype-5.3.2The ctype shared extension for php
php5-dom-5.3.2  The dom shared extension for php
php5-filter-5.3.2   The filter shared extension for php
php5-gd-5.3.2   The gd shared extension for php
php5-gettext-5.3.2  The gettext shared extension for php
php5-iconv-5.3.2The iconv shared extension for php
php5-mbstring-5.3.2 The mbstring shared extension for php
php5-mcrypt-5.3.2   The mcrypt shared extension for php
php5-mysql-5.3.2The mysql shared extension for php
php5-mysqli-5.3.2   The mysqli shared extension for php
php5-openssl-5.3.2  The openssl shared extension for php
php5-posix-5.3.2The posix shared extension for php
php5-pspell-5.3.2   The pspell shared extension for php
php5-session-5.3.2  The session shared extension for php
php5-simplexml-5.3.2 The simplexml shared extension for php
php5-xml-5.3.2  The xml shared extension for php
php5-zip-5.3.2  The zip shared extension for php
php5-zlib-5.3.2 The zlib shared extension for php
phpMyAdmin-3.3.3A set of PHP-scripts to manage MySQL over the web

Is there a simple way to remove all php and install again?
Would that work (and be a sensible solution)?
pkg_delete php5*
cd /usr/local
rm etc/php lib/php include/php

Thanks!

-- 
Zbigniew Szalbot
www.slowo.pl
www.fairtrade.net.pl
___
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: Bash lockups

2010-05-20 Thread Carl Johnson
vogelke+u...@pobox.com (Karl Vogel) writes:

 On Wed, 19 May 2010 16:14:52 -0700, 
 Carl Johnson ca...@peak.org said:

 C I have been experimenting with FreeBSD for a while, and I consistently
 C get bash lockups at irregular intervals when it is otherwise idle.
 C Does anybody have any suggestings on how I could try to trace this?

1.  Get a process-table list every minute or so via cron.  It might show
something else running or trying to run when you have your lockups.
Try ps -axw -o user,pid,ppid,pgid,tt,start,time,command.

2.  Get the PID of the bash session, and run something like this as root:

pid=12345
k=1
while true; do
truss -p $pid 21 | head -1000  /dir-with-lots-of-space/$k
k=`expr $k + 1`
done

This should break the truss output into 1000-line chunks and let you
clean out the directory before it chews up all your space.  Hopefully
one of the truss files will show something useful after a lockup.

Thanks for the ideas.  I keep several windows with shells open so I
don't want to trace all of them yet.  I don't even know what the
shells are doing when they lock up, so for now I'll just wait until
one locks up and then try truss to see what it is actually doing.
This happens only occasionally, so I will probably have to wait a
while.

I don't know this is actually just a bash problem since I have never
had it happen running on Linux in at least 10 years.
-- 
Carl Johnsonca...@peak.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: PHP upgrade fails

2010-05-20 Thread John Levine
shows me that I still do not have two extensions which I deleted ealier:
php5-pcre
php5-spl

They're both built into PHP 5.3.

R's,
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: File system

2010-05-20 Thread Randi Harper
On Sun, May 9, 2010 at 2:51 PM, Robert Bonomi bon...@mail.r-bonomi.com wrote:

 2) You could try using a 'journaling' filesystem, *BUT* you'd have to build/
   implement it yourself.  Journaling filesystems are deliberately _not_
   provided with FreeBSD, due to security issues/implications with them.
   _You_ will have to decide if the security risks in *your* envrionment are
   worth the (limited) benefits.

Really? Where do you get your information? Seriously, loling so hard
right now. There's been a lot of work within FreeBSD to add journaling
to UFS2. I guess we just don't care about security anymore.

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


Playing Ogg Vorbis files with Audacious

2010-05-20 Thread Carl Johnson
I just installed the package for the audio player audacious and I
discovered that it won't recognize ogg vorbis files.  I installed the
audacious-plugins package, but I don't see any vorbis plugins in the
file list, so has it been moved to some other port?  I am running an
amd64 version of 7.3 release, and it's ports system uses audacity
version 2.2.  I tested the .ogg file with ogg123 and the file is good.

Thanks for any information on how I can get this to work.
-- 
Carl Johnsonca...@peak.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: Playing Ogg Vorbis files with Audacious

2010-05-20 Thread Roland Smith
On Thu, May 20, 2010 at 08:04:58PM -0700, Carl Johnson wrote:
 I just installed the package for the audio player audacious and I
 discovered that it won't recognize ogg vorbis files.  I installed the
 audacious-plugins package, but I don't see any vorbis plugins in the
 file list, so has it been moved to some other port?  

Make sure your ports tree is up-to-date. Looking at
ports/multimedia/audacious-plugins/Makefile version 1.74, the Ogg Vorbis input
plugin _is_ there. But it is off by default.

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)


pgpXRjEIIhPLI.pgp
Description: PGP signature


Re: Bash lockups

2010-05-20 Thread Giorgos Keramidas
On Wed, 19 May 2010 16:14:52 -0700, Carl Johnson ca...@peak.org wrote:
 I have been experimenting with FreeBSD for a while, and I consistently
 get bash lockups at irregular intervals when it is otherwise idle.  By
 lockup, I mean that it stops responding to the keyboard and uses 100%
 CPU.  It will sometimes go for days with no problems, but I had two
 yesterday, and other today.  They have occurred on test systems
 running in VirtualBox and on a real computer, both i386 and amd64
 images, and a mixture of 7.1, 7.3 and 8.0.  They usually seem to
 happen when I am switching tabs in konsole or switching shells in
 screen, but other times I think they happen when I am not even using
 the system.  The only thing I have found I can do is to do a kill -9
 and start a new shell.

Does this lock-up happen if you leave the shell 'idle' for too long over
an ssh session?  There may be problems with stateful connection tracking
between your terminal and the remote shell :-/

___
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