Re: Extract particular date snapshot from /var/db/portsnap?

2011-06-15 Thread Peter Vereshagin
You can't take no for an answer, freebsd-questions!
2011/06/15 08:51:22 +0100 RW rwmailli...@googlemail.com = To 
freebsd-questions@freebsd.org :
R  - From what I see in /var/db/portsnap/files/ it keeps every file it
R  had ever downloaded: they all have different times.
R 
R It doesn't, it's a snapshot. The timestamps just reflect the last time
R each particular object was updated.

Hmm... looks like only a current ports state is kept in those tars:

$ tar -ztf 
/var/db/portsnap/files/12312e0e54a707a22613b0394a976c9d2044e98728b51c592d6e9a42c989300c.gz
 
Makefile
distinfo
pkg-descr
pkg-plist

such a single '.gz' extension was a false hint to me those are diffs.
Thanks all.

73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB  12F8 0CE1 4AAC A0E2 6627)
--
http://vereshagin.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: some help still needed....

2011-06-15 Thread Damien Fleuriot
On 6/12/11 1:36 AM, Gary Kline wrote:
 On Sat, Jun 11, 2011 at 06:22:57PM -0500, Ryan Coleman wrote:
 Date: Sat, 11 Jun 2011 18:22:57 -0500
 From: Ryan Coleman edi...@d3photography.com
 Subject: Re: some help still needed
 To: Gary Kline kl...@thought.org
 Cc: FreeBSD Mailing List freebsd-questions@FreeBSD.ORG
 X-Mailer: iPad Mail (8J3)


 Always on php the latest.. So php5. 
 
 
   And, what's the easiest way to determine why # php segvs?
 


Sorry for the late response Gary.


First, I would ask myself:
- does it crash in CLI ?
- does it crash as an apache module ?
- does it crash as a PHP FCGI process ?

Second, I would ask myself:
- does it crash when I call a specific php page ?
- any page at all ?

Third, I would rebuild php with debug: cd /usr/ports/lang/php5  make
config

Tick DEBUG.

Of course you'll also want to rebuild your php5-extensions just to be safe.



When you next get a core dump, you should be able to load it in gdb and
see what module caused it to crash.
___
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


mailman-2.1.14_2 and _3, CGI wrapper Error

2011-06-15 Thread n dhert
Yesterday morning I upgraded mailman-2.1.14_1 to 2.1.14_2

Since then none of my mailings lists (that worked for years) works.
http://myserver.mysubdom.mydom/mailman/listinfo
(or any other mailman command) gives

Mailman CGI error!!!
The Mailman CGI wrapper encountered a fatal error.
This entry is being stored in your syslog:
Group mismatch error.  Mailman expected the CGI
wrapper script to be executed as group @CGI_GROUP@, but
the system's web server executed the CGI script as
group www.  Try tweaking the web server to run the
script as group @CGI_GROUP@, or re-run configure,
providing the command line option `--with-cgi-gid=www'.

I know there is an entry in /usr/ports/UPDATING
20110613:
  AFFECTS: users of mail/mailman with postfix
  AUTHOR: cr...@freebsd.org
  The mailman port has for some time specified the incorrect group when
  using with Postfix, as reported in ports/142000. The group for mailman
  is now nobody if compiled with Postfix. Be prepared to make appropriate
  adjustments if you have compensated for this bug in the past.
But I don't use postfix, I Use sendmail

I saw there today mailman-2.1.14_3, so I portupgraded to that version and
also did
# /usr/local/mailman/bin/mailmanctl stop
# /usr/local/mailman/bin/mailmanctl start

but this doesn't help.

Is there an error in de newest version?

Do I need to Try tweaking the web server to run the
script as group @CGI_GROUP@, or re-run configure,
providing the command line option `--with-cgi-gid=www'.
How should this be done? is this a change in Apache web server ?
and how exactly??
___
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: mailman-2.1.14_2 and _3, CGI wrapper Error

2011-06-15 Thread Bernt Hansson

2011-06-15 12:48, n dhert skrev:

Yesterday morning I upgraded mailman-2.1.14_1 to 2.1.14_2

Since then none of my mailings lists (that worked for years) works.
http://myserver.mysubdom.mydom/mailman/listinfo
(or any other mailman command) gives

Mailman CGI error!!!
The Mailman CGI wrapper encountered a fatal error.
This entry is being stored in your syslog:
Group mismatch error.  Mailman expected the CGI
wrapper script to be executed as group @CGI_GROUP@, but
the system's web server executed the CGI script as
group www.  Try tweaking the web server to run the
script as group @CGI_GROUP@, or re-run configure,
providing the command line option `--with-cgi-gid=www'.

I know there is an entry in /usr/ports/UPDATING
20110613:
   AFFECTS: users of mail/mailman with postfix
   AUTHOR: cr...@freebsd.org
   The mailman port has for some time specified the incorrect group when
   using with Postfix, as reported in ports/142000. The group for mailman
   is now nobody if compiled with Postfix. Be prepared to make appropriate
   adjustments if you have compensated for this bug in the past.
But I don't use postfix, I Use sendmail

I saw there today mailman-2.1.14_3, so I portupgraded to that version and
also did
# /usr/local/mailman/bin/mailmanctl stop
# /usr/local/mailman/bin/mailmanctl start

but this doesn't help.


Have you tried /etc/mail/make restart to restart sendmail?
___
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: 'About FreeBSD' international

2011-06-15 Thread Robert Watson


This might well be an instance of a link-farming scam against high-pagerank 
web sites, in which web pages are passed through Google Translate and then 
your return link then boosts ad revenues for the target site.


(We get a lot of these e-mails at cl.cam.ac.uk due to high page rank -- the 
names on the e-mails vary, but the text is otherwise the same -- googling the 
phone number is enlightening :-) )


Robert N M Watson
Computer Laboratory
University of Cambridge

On Wed, 15 Jun 2011, Alyona Lompar wrote:


Hi!

I'm willing to translate page located at http://www.freebsd.org/about.html to 
the Belorussian language (my mother tongue). What I'm asking for is your 
written permission, so you don't mind after I'll post the translation to my 
blog. The translation is intended only for web, no print copies planned.


Visitors of your website, who come from Minsk (Belorussia) will be the ones, 
who will read this blogpost, that's the only way to spread them, no 
additional instruments we can use. Every translation we ever do does not 
costs a penny for the webpage, which is translated. All we ask is to link 
back in whatever way you feel confident about it.


You can leave a voice message and I will call you back, if you prefer a call 
instead of emails. Do you prefer email or IM for contact (if any questions 
regarding the translation arise)? What instant messaging client (if any) do 
you use? AIM, MSN, Skype?

Thank you!

Sincerely,
Alyona Lompar
+(360) 488-0303

---
This e-mail, including attachments, may include confidential and/or 
proprietary information, and may be used only by the person or entity to 
which it is addressed. If the reader of this e-mail is not the intended 
recipient or his or her authorized agent, the reader is hereby notified that 
any dissemination, distribution or copying of this e-mail is prohibited. If 
you have received this e-mail in error, please notify the sender by replying 
to this message and delete this e-mail immediately.



___
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: Extract particular date snapshot from /var/db/portsnap?

2011-06-15 Thread RW
On Wed, 15 Jun 2011 12:44:30 +0400
Peter Vereshagin pe...@vereshagin.org wrote:

 You can't take no for an answer, freebsd-questions!
 2011/06/15 08:51:22 +0100 RW rwmailli...@googlemail.com = To
 freebsd-questions@freebsd.org :
 R  - From what I see in /var/db/portsnap/files/ it keeps every file
 R  it had ever downloaded: they all have different times.
 R 
 R It doesn't, it's a snapshot. The timestamps just reflect the last
 R time each particular object was updated.
 
 Hmm... looks like only a current ports state is kept in those tars:
 
 $ tar
 -ztf 
 /var/db/portsnap/files/12312e0e54a707a22613b0394a976c9d2044e98728b51c592d6e9a42c989300c.gz
 Makefile distinfo
 pkg-descr
 pkg-plist
 
 such a single '.gz' extension was a false hint to me those are diffs.

It does download diffs, but it applies them to the snapshot, and then
discards them.




___
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: mailman-2.1.14_2 and _3, CGI wrapper Error

2011-06-15 Thread Mike Bristow
On Wed, Jun 15, 2011 at 12:48:01PM +0200, n dhert wrote:
 Yesterday morning I upgraded mailman-2.1.14_1 to 2.1.14_2
 
 Since then none of my mailings lists (that worked for years) works.
 http://myserver.mysubdom.mydom/mailman/listinfo
 (or any other mailman command) gives

To fix, do:

cd /usr/ports/mail/mailman
make configure
vi work/mailman-2.1.14/src/Makefile
# search for @CGI_GROUP@ and replace with www
# search for @MAIL_GROUP@ and replace with the right thing (probably mailman;
# but will depend on your MTA)
# save and exit from vi
make
/usr/local/etc/rc.d/mailman stop
make deinstall
make install
/usr/local/etc/rc.d/mailman start

(I should raise a PR, but haven't had time to look at the solution,
and I prefer to raise PRs with a patch)

-- 
Mike Bristow  m...@urgle.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


'About FreeBSD' international

2011-06-15 Thread Alyona Lompar

Hi!

I'm willing to translate page located at 
http://www.freebsd.org/about.html to the Belorussian language (my mother 
tongue). What I'm asking for is your written permission, so you don't 
mind after I'll post the translation to my blog. The translation is 
intended only for web, no print copies planned.


Visitors of your website, who come from Minsk (Belorussia) will be the 
ones, who will read this blogpost, that's the only way to spread them, 
no additional instruments we can use. Every translation we ever do does 
not costs a penny for the webpage, which is translated. All we ask is to 
link back in whatever way you feel confident about it.


You can leave a voice message and I will call you back, if you prefer a 
call instead of emails. Do you prefer email or IM for contact (if any 
questions regarding the translation arise)? What instant messaging 
client (if any) do you use? AIM, MSN, Skype?

Thank you!

Sincerely,
Alyona Lompar
+(360) 488-0303

---
This e-mail, including attachments, may include confidential and/or 
proprietary information, and may be used only by the person or entity to 
which it is addressed. If the reader of this e-mail is not the intended 
recipient or his or her authorized agent, the reader is hereby notified 
that any dissemination, distribution or copying of this e-mail is 
prohibited. If you have received this e-mail in error, please notify the 
sender by replying to this message and delete this e-mail immediately.

___
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: mysql_connect error

2011-06-15 Thread Glenn McCalley


- Original Message - 
From: Michael Powell nightre...@hotmail.com

To: freebsd-questions@freebsd.org
Sent: Wednesday, June 15, 2011 1:30 AM
Subject: Re: mysql_connect error



Rodrigo Gonzalez wrote:


On Tuesday, June 14, 2011 09:46:17 AM Glenn McCalley wrote:

Seen other people have this problem but cannot get their resolutions to
work for me.

Fatal error: Call to oundefined function mysql_connect() in etc., etc.

This began happening after an upgrade to php5 using the portmaster
program. phpinfo page does -not- show the mysql_connect function
anywhere. phpinfo page is at www9.bnetmd.net/index.php if you have the
desire to look.


It looks good, where are you getting the error? in a web page or using
cli?


Type php -v at a command prompt. It should return something like this:

testbed# php -v
PHP 5.3.6 with Suhosin-Patch (cli) (built: Mar 31 2011 11:08:23)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
   with XCache v1.3.2-rc1, Copyright (c) 2005-2011, by mOo

If it does not, go to the php-extensions port, run make config and check 
the

box which builds the CLI version. It is in addition to all the other
extensions so it won't interfere with them.  The CGI build option  is also
more commonly required when using FastCGI.

I'm basing this on the report that mysql_connect works OK in a web page 
but

is failing when run at CLI. If I am misunderstanding something please
excuse.

-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


Mike, your understanding is correct - works in a web page but fails from 
cli.  php -v output below:


www9# php -v
PHP 5.2.17 with SUhosin-Patch 0.9.7 (cli) (built: ar 13 2011 17:46:12)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies

This is FreeBSD, in my ports the Build CLI verson option appears in the 
config for the php5 port itself, not the extensions.  It is, however, 
checked along with Build CGI version. 



___
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


Another PHP5 problem

2011-06-15 Thread Jack L. Stone
I just finished some major upgrades/updates to a server, including
php5-5.3.6 and apache2.

Now I keep getting Segmentation faults and core dumps whenever apache2
rolls over its logs and does a restart. Here's the error. Does nyone have
an idea of what's happening to cause this?:

PHP 5.3.6 with Suhosin-Patch (cli) (built: Jun  4 2011 18:04:14) 
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
with the ionCube PHP Loader v3.3.16, Copyright (c) 2002-2010, by
ionCube Ltd.
Segmentation fault (core dumped)

Thanks for any hints

Jack

(^_^)
Happy trails,
Jack L. Stone

System Admin
Sage-american
___
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: Another PHP5 problem

2011-06-15 Thread Mark Felder
On Wed, 15 Jun 2011 09:04:01 -0500, Jack L. Stone  
ja...@sage-american.com wrote:



with the ionCube PHP Loader v3.3.16, Copyright (c) 2002-2010, by
ionCube Ltd.


ionCube causes all kinds of neat things like this. Disable it and I bet it  
won't happen.



Regards,


Mark
___
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: Another PHP5 problem

2011-06-15 Thread Matthew Seaman
On 15/06/2011 15:04, Jack L. Stone wrote:
 PHP 5.3.6 with Suhosin-Patch (cli) (built: Jun  4 2011 18:04:14) 
 Copyright (c) 1997-2011 The PHP Group
 Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
 with the ionCube PHP Loader v3.3.16, Copyright (c) 2002-2010, by
 ionCube Ltd.
 Segmentation fault (core dumped)

Check the mailing list archives for very many discussions on the effect
of having the extensions listed in ${PREFIX}/etc/php/extensions.ini
in the wrong order.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


SATA SDD cards

2011-06-15 Thread Rob
Has anyone tried using an SATA SSD card (SATA add-on card that is a SSD 
drive) in FreeBSD?  I was looking at an OCZ RevoDrive and was wondering 
if anyone had tried using one of those specifically, or any SATA SSD 
card in general.


Rob
___
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: SATA SDD cards

2011-06-15 Thread Robert Simmons
On Wed, Jun 15, 2011 at 11:00 AM, Rob li...@midsummerdream.org wrote:
 Has anyone tried using an SATA SSD card (SATA add-on card that is a SSD
 drive) in FreeBSD?  I was looking at an OCZ RevoDrive and was wondering if
 anyone had tried using one of those specifically, or any SATA SSD card in
 general.

I have not used a SATA SSD card, however, I might steer you away from
OCZ.  I have a regular SSD drive made by them.  When I was
partitioning the drive, I wanted to make sure that the partitions were
aligned with the NAND cell size to maximize the performance of the
drive.  As you may know already the NAND cell size roughly translates
to the sector size in HDDs.  On many HDDs the sector size is 512
bytes, but on some newer drives it is 4K, so partitions need to start
on 4K boundaries to be aligned properly.  So, the same sort of thing
is needed with SSD drives, but they are not all 4K, some are 1K, some
are 8K etc. So, I delved deep into OCZs information about my drive
online and I was not able to find information about the NAND cell
size.  I eventually called OCZ, and after a bit of back and forth the
tech I was talked to went and asked his manager then came back and
told me that he is not allowed to give out that information.  He did
tell me that he was told starting the partition at LBA 64 will make
sure that the drive is aligned.

This information helps in one sense, but since there are new options
in gpart(8) in CURRENT that allow you to set the sector size to
automatically align partitions properly this information does not help
in the long run.

Buy from a company that doesn't keep their drive specs a mystery.
___
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


system upgrade introduced oddball apache error...

2011-06-15 Thread William Bulley
Running FreeBSD 8.2-STABLE #0: Thu Jun  9 09:25:05 EDT 2011 on i386 and
rebuilt all my ports from source shortly after the upgrade.  Got weird
error when I tried to start apache2 (using % apachectl -t first):

   [Mon Jun 13 10:16:15 2011] [error] syntax error at (eval 21) line 1, near 
require Apache2::Const -\n
   [Mon Jun 13 10:16:15 2011] [error] Can't load Perl module Apache2::Const 
-compile = ':common' for server localhost:80, exiting...

The Perl module in question is present here:

   freebsd% ls -l /usr/local/lib/perl5/site_perl/5.14.0/mach/Apache2/Const.pm
   -r--r--r--  1 root  wheel  25924 Jun 10 17:08 
/usr/local/lib/perl5/site_perl/5.14.0/mach/Apache2/Const.pm

The only reference to it is in an Apache config include file:

   PerlModule Apache2::Const -compile = ':common'

I have these ports:

   perl-5.14.0
   apache-2.2.19
   ap22-mod_perl2-2.0.5,3

In the /usr/local/etc/apache22/httpd.conf file, there is this line:

   LoadModule perl_module libexec/apache22/mod_perl.so

but the httpd.conf file was unchanged from before the upgrade.

Neither of these two commands gave any output at all:

   freebsd% perl -e 'use Apache2::Const qw( :common );
   freebsd% perl -M'Apache2::Const -compile = qw(:common)' -e 1;

This command gave one line of output:

   freebsd% perl -MApache2::Const -e 'print $Apache2::Const::VERSION, \n';
   2.05

This problem did not occur before the upgrade when I was running:

   perl-5.12.3
   apache-2.2.17_1
   ap22-mod_perl2-2.0.4_2,3

I don't know how to debug this problem.  No log files in /var/log were
changed by running the apachectl(8) command and there have been no new
lines added to /var/log/httpd-error.log since I rebooted and shut down
apache2 on June 9th as part of the upgrade.  Any and all ideas welcome.

Regards,

web...

--
William Bulley Email: w...@umich.edu

72 characters width template -|
___
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: versions of software

2011-06-15 Thread spidey

Good morning.

I have never used Freebsd.  For that matter, I have not used Linux since 
the early 1990s (1993 to be exact)  Anyway...
BTW - I have  your logo on my xwindows on the Linux box I am trying to 
setup.  I think it's great.


I have a need to use sendmail and DNS bind. Can someone tell me which 
versions of sendmail and DNS Bind are in the current Ubuntu 10??   In  
your opinion, are they  going to be  hard to install.  I was going to 
use (Linux) Redhat but, could not figure out where the files were not to 
mention, I see there are some security issues with the version I have 
and updating looks like it would be hard as trying to pull teeth from 
Godzilla when he's got tooth ache and motheras flying around his head 
while smacking him in the head with a wing.  In other words.. on a 
bad day it looks hard.


That being said, I have a Dell 2650  dual 3200s, with 6 gig of memory 
and 36gig hard drive space.  I only need it for a test and was wondering 
how this would work under Freebsd.  If someone could let me know, I 
would really appreciate it.


 Thanks much for  your time

Andre
___
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: Another PHP5 problem

2011-06-15 Thread T. Hakmi
 

 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of 
 Jack L. Stone
 Sent: June 15, 2011 10:04 AM
 To: freebsd-questions@freebsd.org
 Subject: Another PHP5 problem
 
 I just finished some major upgrades/updates to a server, including
 php5-5.3.6 and apache2.
 
 Now I keep getting Segmentation faults and core dumps 
 whenever apache2 rolls over its logs and does a restart. 
 Here's the error. Does nyone have an idea of what's happening 
 to cause this?:
 
 PHP 5.3.6 with Suhosin-Patch (cli) (built: Jun  4 2011 
 18:04:14) Copyright (c) 1997-2011 The PHP Group Zend Engine 
 v2.3.0, Copyright (c) 1998-2011 Zend Technologies
 with the ionCube PHP Loader v3.3.16, Copyright (c) 
 2002-2010, by ionCube Ltd.
 Segmentation fault (core dumped)
 
 Thanks for any hints
 
 Jack

I would recommend that you recompile php/apache with the minimal necessary 
options. I've seen many issues in the past when combining multiple 
modules/extensions together.

T.

___
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: versions of software

2011-06-15 Thread Chuck Swiger
On Jun 15, 2011, at 8:20 AM, spidey wrote:
 Can someone tell me which versions of sendmail and DNS Bind are in the 
 current Ubuntu 10??

Sure, but you're asking on the wrong mailing list: FreeBSD isn't Ubuntu.

[ Reply-to: set appropriately. ]

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


8.1 broken inter-jail IP communication

2011-06-15 Thread markham breitbach
Good Day,

I am encountering an occassional problem under FreeBSD 8.1 where two jails on 
the same
server cannot reach each other after a reboot.

The Jails are running a mail server and ldap server, respectively and each has 
it's own IP
address.

The problem manifests itself after a reboot of the server.  After both jails 
have started
the mail server is unable to communicate with the ldap server.  From inside the 
jail, a
host unreachable is returned when trying to connect to the ldap server.

I have tried clearing the arp-cache and route-cache from the host and 
restarting both
jails, but the problem persists. The arp table from the host server (outside 
the jail)
shows an (incomplete) entry for the mail server when this is happening. 

I was able to ping the mail IP address from the host server and the incomplete 
entry
disappeared and, as expected, there was no longer an arp entry for the mail 
server and
communications between the two jails was restored.

Unfortunately I have had difficulty recreating this scenario in a test 
environment and it
only pops up occasionally in the field.  And while this workaround is suitable, 
it is a
bit of a PITA and I would like to know if this problem can be resolved.

So, I am wondering if anyone has some insights into what might be at the root 
of this
problem and what might be useful data to collect when this problem is happening 
to help
pin down the source of it.  Unfortunately, when service fails, I don't have a 
lot of time
to poke around at things as I need to do whatever I can to get it back up a 
quickly as
possible, although I am continuing to try and recreate this scenario in a test 
environment.

Best Regards,

Markham Breitbach
___
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: Another PHP5 problem

2011-06-15 Thread Jack L. Stone
At 03:33 PM 6/15/2011 +0100, Matthew Seaman wrote:
On 15/06/2011 15:04, Jack L. Stone wrote:
 PHP 5.3.6 with Suhosin-Patch (cli) (built: Jun  4 2011 18:04:14) 
 Copyright (c) 1997-2011 The PHP Group
 Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
 with the ionCube PHP Loader v3.3.16, Copyright (c) 2002-2010, by
 ionCube Ltd.
 Segmentation fault (core dumped)

Check the mailing list archives for very many discussions on the effect
of having the extensions listed in ${PREFIX}/etc/php/extensions.ini
in the wrong order.

   Cheers,

   Matthew

Matthew:

Thanks for that suggestion but couldn't find the numerous discussions about
the wrong order of extensions. Using google I did find one post and a list
that poster used. I tried following his list with the sames ones I had plus
some 6-7 he didn't have. Still get the core dump.

Can you suggest the key word to search in the list archives. I used php5
extensions and php5 core dump which brought up some discussions which
didn't include the order discussions though.

I cannot do without ioncube as another post mentioned.

Thanks to all and any other ideas.

Jack

(^_^)
Happy trails,
Jack L. Stone

System Admin
Sage-american
___
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: Another PHP5 problem

2011-06-15 Thread Mark Felder
On Wed, 15 Jun 2011 13:40:15 -0500, Jack L. Stone  
ja...@sage-american.com wrote:



I cannot do without ioncube as another post mentioned.


I understand your need for ioncube, but replicate the problem to another  
non-production system and remove ioncube to see whether or not it is the  
cause. This is something we had to do and ultimately we told the only  
customer using ioncube they couldn't use it on our infrastructure anymore  
because it was a proprietary extension that causes issues. Again, before  
digging too deeply I strongly urge you repeat the test with ioncube  
extension disabled so you can rule that out immediately or else you'll be  
running around in circles for ages trying to figure out what the cause  
is.



It's unfortunate that people think they need to obfuscate their code and  
use these silly workarounds.



Regards,


Mark
___
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: Another PHP5 problem

2011-06-15 Thread Jack L. Stone
At 01:50 PM 6/15/2011 -0500, Mark Felder wrote:
On Wed, 15 Jun 2011 13:40:15 -0500, Jack L. Stone  
ja...@sage-american.com wrote:

 I cannot do without ioncube as another post mentioned.

I understand your need for ioncube, but replicate the problem to another  
non-production system and remove ioncube to see whether or not it is the  
cause. This is something we had to do and ultimately we told the only  
customer using ioncube they couldn't use it on our infrastructure anymore  
because it was a proprietary extension that causes issues. Again, before  
digging too deeply I strongly urge you repeat the test with ioncube  
extension disabled so you can rule that out immediately or else you'll be  
running around in circles for ages trying to figure out what the cause  
is.


It's unfortunate that people think they need to obfuscate their code and  
use these silly workarounds.


Regards,


Mark
 I cannot do without ioncube as another post mentioned.

I understand your need for ioncube, but replicate the problem to another  
non-production system and remove ioncube to see whether or not it is the  
cause. This is something we had to do and ultimately we told the only  
customer using ioncube they couldn't use it on our infrastructure anymore  
because it was a proprietary extension that causes issues. Again, before  
digging too deeply I strongly urge you repeat the test with ioncube  
extension disabled so you can rule that out immediately or else you'll be  
running around in circles for ages trying to figure out what the cause  
is.


It's unfortunate that people think they need to obfuscate their code and  
use these silly workarounds.


Regards,


Mark

Mark:
Thanks for the suggestion. I tried a disable of the ioncube and still get
the php seg fault/core dump.

This one is maddening...

Jack

(^_^)
Happy trails,
Jack L. Stone

System Admin
Sage-american
___
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: Another PHP5 problem

2011-06-15 Thread Matthew Seaman
On 15/06/2011 19:40, Jack L. Stone wrote:
 Thanks for that suggestion but couldn't find the numerous discussions about
 the wrong order of extensions. Using google I did find one post and a list
 that poster used. I tried following his list with the sames ones I had plus
 some 6-7 he didn't have. Still get the core dump.

Google for 'FreeBSD extensions.ini'

Plenty of results there.  However, to cut a long story short, some
extensions needed to be loaded after certain other ones.  The best way
to work out a good load order is simply by trial and error -- most
ordering permutations will actually work fine, with relatively few
blowing up.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re: Another PHP5 problem

2011-06-15 Thread Ryan Coleman
So I've seen that you haven't had a lot of success with this... can you post 
your extensions.ini file contents?

--
Ryan

On Jun 15, 2011, at 9:04 AM, Jack L. Stone wrote:

 I just finished some major upgrades/updates to a server, including
 php5-5.3.6 and apache2.
 
 Now I keep getting Segmentation faults and core dumps whenever apache2
 rolls over its logs and does a restart. Here's the error. Does nyone have
 an idea of what's happening to cause this?:
 
 PHP 5.3.6 with Suhosin-Patch (cli) (built: Jun  4 2011 18:04:14) 
 Copyright (c) 1997-2011 The PHP Group
 Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
with the ionCube PHP Loader v3.3.16, Copyright (c) 2002-2010, by
 ionCube Ltd.
 Segmentation fault (core dumped)
 
 Thanks for any hints
 
 Jack
 
 (^_^)
 Happy trails,
 Jack L. Stone
 
 System Admin
 Sage-american
 ___
 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


how do i fsck my server?

2011-06-15 Thread Gary Kline
can anybody clue me in on why fsck on my server [yes, of course as root]
seem to refuse to WRITE?  we had a power out locally and i caught my UPS at
the last second.  i powered off my server to save the battery, etc, and 
a few minutes ago when i ran 

# fsck -y /var

there were unresolved inconsistancies that fsck was not allowed to resolve.
i tried to boot single use but the server (Dell 530) panicked.  so finally,
after deliberately crashing the box three times, fsck_ufs ran.  i was able to
ping outside.  

is there any way of scripting fsck *every* time i reboot this box?  i just
want to make abs certain that the filesystems are clean.  ---didn't fscking
used to be easier?

tia,

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.98a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org
 ethic 
___
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 do i fsck my server?

2011-06-15 Thread Mike Tancsa
On 6/15/2011 3:50 PM, Gary Kline wrote:
 
 is there any way of scripting fsck *every* time i reboot this box?  i just
 want to make abs certain that the filesystems are clean.  ---didn't fscking
 used to be easier?

Just override the defaults in /etc/rc.conf

fsck_y_enable=YES

and if you are paranoid,

background_fsck=NO



0(cage)# grep -i fsck /etc/defaults/rc.conf
fsck_y_enable=NO  # Set to YES to do fsck -y if the initial preen
fails.
fsck_y_flags= # Additional flags for fsck -y
background_fsck=YES   # Attempt to run fsck in the background where
possible.
background_fsck_delay=60 # Time to wait (seconds) before starting the
fsck.
0(cage)#

---Mike

-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.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: how do i fsck my server?

2011-06-15 Thread Chuck Swiger
On Jun 15, 2011, at 12:50 PM, Gary Kline wrote:
 can anybody clue me in on why fsck on my server [yes, of course as root]
 seem to refuse to WRITE?

Bad sectors on the hard drive are a somewhat common cause of this.

  we had a power out locally and i caught my UPS at
 the last second.  i powered off my server to save the battery, etc, and 
 a few minutes ago when i ran 
 
 # fsck -y /var
 
 there were unresolved inconsistancies that fsck was not allowed to resolve.

Was /var mounted already?  You shouldn't be running fsck on a live filesystem; 
boot single user or from a FreeBSD CD, and run fsck that way.

 i tried to boot single use but the server (Dell 530) panicked.  so finally,
 after deliberately crashing the box three times, fsck_ufs ran.  i was able to
 ping outside.  
 
 is there any way of scripting fsck *every* time i reboot this box?  i just
 want to make abs certain that the filesystems are clean.  ---didn't fscking
 used to be easier?

You can set fsck_y_enable=YES in /etc/rc.conf, but it shouldn't be necessary. 
 The system can figure out for itself whether it shutdown cleanly or whether a 
fsck is necessary.

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: Another PHP5 problem

2011-06-15 Thread Jack L. Stone
At 02:50 PM 6/15/2011 -0500, Ryan Coleman wrote:
So I've seen that you haven't had a lot of success with this... can you
post your extensions.ini file contents?

--
Ryan

Here are my extensions after doing some shuffling according to ideas on
google:

extension=session.so
extension=simplexml.so
extension=ctype.so
extension=apc.so
extension=ftp.so
extension=mbstring.so
extension=tokenizer.so
extension=filter.so
extension=mcrypt.so
extension=xmlwriter.so
extension=gd.so
extension=iconv.so
extension=zlib.so
extension=curl.so
extension=bz2.so
extension=pdf.so
extension=openssl.so
extension=dom.so
extension=hash.so
extension=xmlreader.so
extension=sqlite.so
extension=pdo.so
extension=mysql.so
extension=sockets.so
extension=xml.so
extension=sqlite3.so
extension=json.so
extension=zip.so
extension=posix.so
extension=snmp.so

Jack

(^_^)
Happy trails,
Jack L. Stone

System Admin
Sage-american
___
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: Another PHP5 problem

2011-06-15 Thread Ryan Coleman
And these were all built from the ports, yes?

On Jun 15, 2011, at 3:06 PM, Jack L. Stone wrote:

 At 02:50 PM 6/15/2011 -0500, Ryan Coleman wrote:
 So I've seen that you haven't had a lot of success with this... can you post 
 your extensions.ini file contents?
 
 --
 Ryan
 
 Here are my extensions after doing some shuffling according to ideas on
 google:
 
 extension=session.so
 extension=simplexml.so
 extension=ctype.so
 extension=apc.so
 extension=ftp.so
 extension=mbstring.so
 extension=tokenizer.so
 extension=filter.so
 extension=mcrypt.so
 extension=xmlwriter.so
 extension=gd.so
 extension=iconv.so
 extension=zlib.so
 extension=curl.so
 extension=bz2.so
 extension=pdf.so
 extension=openssl.so
 extension=dom.so
 extension=hash.so
 extension=xmlreader.so
 extension=sqlite.so
 extension=pdo.so
 extension=mysql.so
 extension=sockets.so
 extension=xml.so
 extension=sqlite3.so
 extension=json.so
 extension=zip.so
 extension=posix.so
 extension=snmp.so
 
 Jack
 
 (^_^)
 Happy trails,
 Jack L. Stone
 
 System Admin
 Sage-american
 ___
 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


free sco unix

2011-06-15 Thread Thomas Hansen
one of my mates teacher says that unix is free and your system running 
like UnixWare / SCO UNIX and  and that unix is free



Do your BSD kernel run the same unix kernel as unixware
___
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: Another PHP5 problem

2011-06-15 Thread Jack L. Stone
At 03:21 PM 6/15/2011 -0500, Ryan Coleman wrote:
And these were all built from the ports, yes?


Yes, all built from ports.

(^_^)
Happy trails,
Jack L. Stone

System Admin
Sage-american
___
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: Another PHP5 problem

2011-06-15 Thread Ryan Coleman
My solution for these issues is usually pretty easy:
Disable all extensions (with a ; before the line) and then re-enable batches 
until it dies on you and then go through line-by-line to see which one did it.

Should take about 5 minutes, tops, to run through the entire list.


On Jun 15, 2011, at 3:59 PM, Jack L. Stone wrote:

 At 03:21 PM 6/15/2011 -0500, Ryan Coleman wrote:
 And these were all built from the ports, yes?
 
 
 Yes, all built from ports.
 
 (^_^)
 Happy trails,
 Jack L. Stone
 
 System Admin
 Sage-american
 ___
 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: free sco unix

2011-06-15 Thread Chris Brennan
* Thomas Hansen t...@danskdatacenter.dk [2011-06-15 22:34:23 +0200]:

 one of my mates teacher says that unix is free and your system running 
 like UnixWare / SCO UNIX and  and that unix is free
 
 
 Do your BSD kernel run the same unix kernel as unixware

FreeBSD is a UNIX-like clone, which is indeed free, whereas UNIX is 
still the proprietary property of ATT/Bell Labs.

To read more on freebsd, you can go to http://www.freebsd.org as well as 
http://en.wikipedia.org/wiki/FreeBSD, that should give you sufficient 
information to move further.

You might want to at least go read 
http://en.wikipedia.org/wiki/SCO_OpenServer to figure out where SCO UNIT 
stands which is not ATT/Bell Labs UNIX nor is it FreeBSD.


-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)

___
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: free sco unix

2011-06-15 Thread Matthew Seaman
On 15/06/2011 21:34, Thomas Hansen wrote:
 one of my mates teacher says that unix is free and your system running
 like UnixWare / SCO UNIX and  and that unix is free

Some Unix is free (the best sorts), others are most certainly not free
at all.

FreeBSD is pretty much the opposite end of the Unix spectrum to UnixWare
/ SCO -- so, yes there is plenty in common like the flat namespace, the
concept of 'everything is a stream of bytes', many of the standard
applications.  Many things are completely different --
ps(1) and df(1) for example are quite different between pure-bred *BSD
(like FreeBSD) and pedigree SysV (like SCO).

Aside: Linux is not unix (the clue is in the name) -- except by the duck
test.  It walks like a duck and quacks like a duck... but it's a whole
different breed of waterfowl entirely, and has origins independent of
the primordial Unix systems.  Even so, it does provide a pretty complete
emulation of a fairly middle of the road BSD--SysV hybrid.

 Do your BSD kernel run the same unix kernel as unixware

No.  Absolutely not.   Way back in the 1980's there were some common
ancestral systems from which each has inherited bits of code[*], but
development has been quite separate for the last 30 years or so.

Cheers,

Matthew

[*] Well, there has always been some cross fertilization, even after the
development tracks split apart.  Lookup the history of the ATT vs.
Regents of the University of California lawsuit and how that all came to
an end.

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



signature.asc
Description: OpenPGP digital signature


Re: Another PHP5 problem

2011-06-15 Thread Jack L. Stone
At 04:04 PM 6/15/2011 -0500, Ryan Coleman wrote:
My solution for these issues is usually pretty easy:
Disable all extensions (with a ; before the line) and then re-enable
batches until it dies on you and then go through line-by-line to see which
one did it.

Should take about 5 minutes, tops, to run through the entire list.


Sounds like a reasonable approach.

Thanks,

(^_^)
Happy trails,
Jack L. Stone

System Admin
Sage-american
___
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 do i fsck my server?

2011-06-15 Thread Bill Tillman






From: Chuck Swiger cswi...@mac.com
To: Gary Kline kl...@thought.org
Cc: FreeBSD Mailing List freebsd-questions@FreeBSD.ORG
Sent: Wed, June 15, 2011 4:04:23 PM
Subject: Re: how do i fsck my server?

On Jun 15, 2011, at 12:50 PM, Gary Kline wrote:
 can anybody clue me in on why fsck on my server [yes, of course as root]
 seem to refuse to WRITE?

Bad sectors on the hard drive are a somewhat common cause of this.

  we had a power out locally and i caught my UPS at
 the last second.  i powered off my server to save the battery, etc, and 
 a few minutes ago when i ran 
 
 # fsck -y /var
 
 there were unresolved inconsistancies that fsck was not allowed to resolve.

Was /var mounted already?  You shouldn't be running fsck on a live filesystem; 
boot single user or from a FreeBSD CD, and run fsck that way.

 i tried to boot single use but the server (Dell 530) panicked.  so finally,
 after deliberately crashing the box three times, fsck_ufs ran.  i was able to
 ping outside.  
 
 is there any way of scripting fsck *every* time i reboot this box?  i just
 want to make abs certain that the filesystems are clean.  ---didn't fscking
 used to be easier?

You can set fsck_y_enable=YES in /etc/rc.conf, but it shouldn't be 
necessary.  
The system can figure out for itself whether it shutdown cleanly or whether a 
fsck is necessary.

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


I hate to be a pain here but this answer completely misses something very 
important about a reboot after a crash with FreeBSD. 


The system can figure out for itself whether it shutdown cleanly or whether 
fsck is necessary.

With no disrespect meant, this is like telling someone that in case of a fire 
it's not a good idea to use the elevators. The correct reply to this IMHO 
should 
have been HELL YES, your server will check for a clean exit on every reboot. 
It 
will count to 60 seconds and then if the last shutdown was not clean it will 
start running fsck all by itself and this will tie up your system's resources 
for quite a while depending on the size of your hard drive(s). And this time 
can 
be quite lengthy. I have two 750 GB hard drives in my server and it crashed a 
couple of times in the recent past. It made running almost anything on it slow 
as can be while the fsck process run automatically cleaned up the mess. And it 
takes the better part of an hour for this process to complete.
___
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: Another PHP5 problem

2011-06-15 Thread Jack L. Stone
At 04:04 PM 6/15/2011 -0500, Ryan Coleman wrote:
My solution for these issues is usually pretty easy:
Disable all extensions (with a ; before the line) and then re-enable
batches until it dies on you and then go through line-by-line to see which
one did it.

Should take about 5 minutes, tops, to run through the entire list.



Was wondering if it appeared an extension might be missing that would be
expected? Have quite a few php scripts. What about the gettext one? I went
with the defaults plus a couple I knew was needed like mysql and FTP.

Jack

(^_^)
Happy trails,
Jack L. Stone

System Admin
Sage-american
___
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: Another PHP5 problem

2011-06-15 Thread Ryan Coleman
That wouldn't likely cause a segfault, but you could use your apache logs to 
see if there's something in the last file before the segfault occurs... but 
that could be a wild goose chase.


On Jun 15, 2011, at 5:57 PM, Jack L. Stone wrote:

 At 04:04 PM 6/15/2011 -0500, Ryan Coleman wrote:
 My solution for these issues is usually pretty easy:
 Disable all extensions (with a ; before the line) and then re-enable
 batches until it dies on you and then go through line-by-line to see which
 one did it.
 
 Should take about 5 minutes, tops, to run through the entire list.
 
 
 
 Was wondering if it appeared an extension might be missing that would be
 expected? Have quite a few php scripts. What about the gettext one? I went
 with the defaults plus a couple I knew was needed like mysql and FTP.
 
 Jack
 
 (^_^)
 Happy trails,
 Jack L. Stone
 
 System Admin
 Sage-american
 ___
 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: Another PHP5 problem

2011-06-15 Thread Jack L. Stone
At 06:35 PM 6/15/2011 -0500, Ryan Coleman wrote:
That wouldn't likely cause a segfault, but you could use your apache logs
to see if there's something in the last file before the segfault occurs...
but that could be a wild goose chase.


On Jun 15, 2011, at 5:57 PM, Jack L. Stone wrote:

 At 04:04 PM 6/15/2011 -0500, Ryan Coleman wrote:
 My solution for these issues is usually pretty easy:
 Disable all extensions (with a ; before the line) and then re-enable
 batches until it dies on you and then go through line-by-line to see which
 one did it.
 
 Should take about 5 minutes, tops, to run through the entire list.
 

Ryan:

Found it! 2 extensions were the problem:
# extension=sqlite3.so
# extension=pdo_sqlite.so

Don't even know why they got in there (except I checked the boxes in
make config)

Thanks for the great idea!

Jack

(^_^)
Happy trails,
Jack L. Stone

System Admin
Sage-american
___
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: Another PHP5 problem

2011-06-15 Thread Gary Kline
On Wed, Jun 15, 2011 at 03:33:08PM +0100, Matthew Seaman wrote:
 Date: Wed, 15 Jun 2011 15:33:08 +0100
 From: Matthew Seaman m.sea...@infracaninophile.co.uk
 Subject: Re: Another PHP5 problem
 To: freebsd-questions@freebsd.org
 
 On 15/06/2011 15:04, Jack L. Stone wrote:
  PHP 5.3.6 with Suhosin-Patch (cli) (built: Jun  4 2011 18:04:14) 
  Copyright (c) 1997-2011 The PHP Group
  Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
  with the ionCube PHP Loader v3.3.16, Copyright (c) 2002-2010, by
  ionCube Ltd.
  Segmentation fault (core dumped)
 
 Check the mailing list archives for very many discussions on the effect
 of having the extensions listed in ${PREFIX}/etc/php/extensions.ini
 in the wrong order.
 
   Cheers,
 
   Matthew
 


This (fixing the extensions.ini list) was what worked for me...
...after endless hunting around.

gary


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



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 8.51a release of Jottings: http://jottings.thought.org

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


Fwd: free sco unix

2011-06-15 Thread Chris Brennan
-- Forwarded message --

From: Chris Brennan xa...@xaerolimit.net
Date: Wed, Jun 15, 2011 at 9:06 PM
Subject: Re: free sco unix
To: Thomas Hansen t...@danskdatacenter.dk

'y' and 't' are too close in mutt :(


* Thomas Hansen t...@danskdatacenter.dk [2011-06-16 00:07:11 +0200]:

This was off-list, redirecting back.

 but does freeBSD and unixware use the same core/kernel

1) Don't top post. Bad form and not list policy. See signature for why.

2) No, The UNIX Core/Kernel is propritary, see my last e-mail

3) Obey Reply-to: headers. Adjust your headers to properly reply to the
list and not individually.

--
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)

___
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: Another PHP5 problem

2011-06-15 Thread Ryan Coleman
I have very few uses for sqlite3 but I still have them. And PDO? Never seen 
anything run it.

Just because it is on by default 
1) doesn't mean it's good for you and
2) the port connected to it is functioning properly.

On Jun 15, 2011, at 7:18 PM, Jack L. Stone wrote:

 At 06:35 PM 6/15/2011 -0500, Ryan Coleman wrote:
 That wouldn't likely cause a segfault, but you could use your apache logs
 to see if there's something in the last file before the segfault occurs...
 but that could be a wild goose chase.
 
 
 On Jun 15, 2011, at 5:57 PM, Jack L. Stone wrote:
 
 At 04:04 PM 6/15/2011 -0500, Ryan Coleman wrote:
 My solution for these issues is usually pretty easy:
 Disable all extensions (with a ; before the line) and then re-enable
 batches until it dies on you and then go through line-by-line to see which
 one did it.
 
 Should take about 5 minutes, tops, to run through the entire list.
 
 
 Ryan:
 
 Found it! 2 extensions were the problem:
 # extension=sqlite3.so
 # extension=pdo_sqlite.so
 
 Don't even know why they got in there (except I checked the boxes in
 make config)
 
 Thanks for the great idea!
 
 Jack
 
 (^_^)
 Happy trails,
 Jack L. Stone
 
 System Admin
 Sage-american
 ___
 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: Another PHP5 problem

2011-06-15 Thread Jack L. Stone
At 08:14 PM 6/15/2011 -0500, Ryan Coleman wrote:
I have very few uses for sqlite3 but I still have them. And PDO? Never
seen anything run it.

Just because it is on by default 
1) doesn't mean it's good for you and
2) the port connected to it is functioning properly.

Wierd! Told extensions to build without:
extension=sqlite3.so
extension=sqlite.so
extension=pdo_sqlite.so

But, built them anyway. Ran make config and then also checked the options
file and it showed the WITHOUTS_ okay, but they were built anyway. Still
have to comment out those sqlites.

(^_^)
Happy trails,
Jack L. Stone

System Admin
Sage-american
___
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