Entropy.ch Discussion Forums Forum Index Entropy.ch Discussion Forums
Discussion forums about Mac OS X software development.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

4.3.0 ->4.3.2-7 fails

 
Post new topic   Reply to topic    Entropy.ch Discussion Forums Forum Index -> PHP on Mac OS X
View previous topic :: View next topic  
Author Message
mike whybark
Guest





PostPosted: Tue Aug 05, 2003 4:38    Post subject: 4.3.0 ->4.3.2-7 fails Reply with quote

console mesage:

Code:
2003-08-04 20:31:47.006 Installer[805] *** NSTimer ignoring exception 'NSGenericException' (reason 'The postflight script in php-4.3.2 failed. (code 1)') that raised during posting of timer with target 120f760 and selector 'taskCompleted:'


Instructions regarding the new-style dmg install state that it should be OK to simply run the installer.

Is this something to worry about? Do I need to uninstall?

Is my 4.3.0 install still out there?

10.2.6 Wallstreet 233mhz G3 / 284 mb ram / 20gb disk +/-
Back to top
mike whybark
Guest





PostPosted: Tue Aug 05, 2003 4:50    Post subject: 4.3.0 still up Reply with quote

apache restart shows 4.3.0 still active... phew!

searching for "4.3.0 upgrade" did yield some hits, but none that were informative, as far as I could see. Anybody got a thread bookmarked?
Back to top
Hungus
Master Wizard


Joined: 25 Jun 2003
Posts: 461
Location: Texas, USA

PostPosted: Tue Aug 05, 2003 4:53    Post subject: Reply with quote

server or client?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mike whybark
Guest





PostPosted: Tue Aug 05, 2003 5:07    Post subject: os x version / 4.3.0 -> 4.3.2-7 install problem Reply with quote

just vanilla jaguar, not server

it appears that both the old stuff and the new /usr/lib/php are present

found this:

http://www.entropy.ch/phpbb2/viewtopic.php?t=68

where Marc sez

Quote:
- Because of the previous point, users of the current module will need to disable the LoadModule and AddModule directives in their /etc/httpd/httpd.conf file and include this line instead, usually at the very bottom of the file:


Code:
Code:

Include /usr/local/php/httpd.conf.php


and I'm monkeying with it right now. Apache won't restart after the old mod calls are disabled because I have some old register_globals called under php_flag via server directives.



I do have at least one site I have to keep that implemented on.

More as I learn it, and thanks for looking in.[/b]
Back to top
liyanage
Site Admin


Joined: 22 May 2003
Posts: 1104
Location: Zurich, Switzerland

PostPosted: Tue Aug 05, 2003 7:03    Post subject: Reply with quote

Quote:
The postflight script in php-4.3.2 failed


This usually means that the script *did* install the PHP software sucessfully and completely, but it was unable to activate the module because Apache complained when the script executed "apachectl configtest".

You can do that in the Terminal to get more useful output: "sudo apachectl configtest". If that's OK *without* my include line, you can add the Include line, disable the old LoadModule and AddModule lines.

In your case, if you have any special PHP directives in your httpd.conf (that's what I understood from your post), you probably have to make sure that my Include line is *above* those special directives.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Hungus
Master Wizard


Joined: 25 Jun 2003
Posts: 461
Location: Texas, USA

PostPosted: Tue Aug 05, 2003 8:16    Post subject: Reply with quote

Marc, I am working with him offline err off board when we get it straightened out we will post the method and results.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mike whybark
Guest





PostPosted: Tue Aug 05, 2003 13:25    Post subject: whoops Reply with quote

right after my last post we had a power outage that just ended - it lasted overnight. No fried motherboards or crashed disks, though Smile

PHP is active, the sites that still need to have register_globals activated fail on that dependency, and apache's config test output choked only on that specific problem.

I am moving Marc's "Include" to just above my VirtualHost area in httpd.conf.

Apache restarts gracefully. Now to uncomment a register_globals flag.

Success!

So, is there any need to do a cleanup on the old install?

Thanks for your help!
Back to top
liyanage
Site Admin


Joined: 22 May 2003
Posts: 1104
Location: Zurich, Switzerland

PostPosted: Tue Aug 05, 2003 14:42    Post subject: Reply with quote

Probably only to save disk space... I never clean up my disk until I have to Smile
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
mike whybark
Guest





PostPosted: Fri Aug 08, 2003 7:02    Post subject: good thing I left it! Reply with quote

at about 10pm, the CPU pinned, and crashdump was overwhelmed with errors - I have good loags and will share if you'd like.

rolling back to 4.3.0 by swapping httpd.conf resolved the problem.

here's the start of the httpd error strings:

Code:

*** malloc[3206]: error for object 0x1ffd80: Incorrect checksum for freed object - object was probably modified after being freed; break at szone_error
*** malloc[3207]: error for object 0x1ffd80: Incorrect checksum for freed object - object was probably modified after being freed; break at szone_error
*** malloc[3208]: error for object 0x1ffd80: Incorrect checksum for freed object - object was probably modified after being freed; break at szone_error
dyld: /usr/sbin/httpd dead lock (dyld operation attempted in a thread already doing a dyld operation)
dyld: /usr/sbin/httpd dead lock (dyld operation attempted in a thread already doing a dyld operation)
dyld: /usr/sbin/httpd dead lock (dyld operation attempted in a thread already doing a dyld operation)
dyld: /usr/sbin/httpd dead lock (dyld operation attempted in a thread already doing a dyld operation)
dyld: /usr/sbin/httpd dead lock (dyld operation attempted in a thread already doing a dyld operation)
dyld: /usr/sbin/httpd dead lock (dyld operation attempted in a thread already doing a dyld operation)
[Thu Aug  7 22:08:53 2003] [notice] child pid 3206 exit signal Bus error (10)


I don't know if this is directly associated with 4.3.2r7 or if it's something else - i have a contract that i have to concentrate on but when I deliver I'll come back and provide crashdumps and so forth if Marc's interested.

Nice to know I'm getting smart about backing up in my old age Wink
Back to top
liyanage
Site Admin


Joined: 22 May 2003
Posts: 1104
Location: Zurich, Switzerland

PostPosted: Fri Aug 08, 2003 8:10    Post subject: Reply with quote

Hmm those are errors I've never seen. No idea what causes them.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Hungus
Master Wizard


Joined: 25 Jun 2003
Posts: 461
Location: Texas, USA

PostPosted: Sun Aug 10, 2003 0:32    Post subject: Reply with quote

of course dyld is the dynamic loader .. do you have any modules you have added to apache beyond apple's stock install and php? otherwise I think you just managed to get a corrupt php library.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mike whybark
Guest





PostPosted: Mon Aug 25, 2003 7:19    Post subject: errors never recurred Reply with quote

who knows what happened. In preparation for re-installing, I re-enabled the exsting install - and haven't had a problem since. Thanks to both of you.

What shall I try next? spamass-milter + Horde? or spamass-milter + Squirrelmail? Wink

Thanks again!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Entropy.ch Discussion Forums Forum Index -> PHP on Mac OS X All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group