Re: WebObjects 5.4.1 & loss of data?
Re: WebObjects 5.4.1 & loss of data?
- Subject: Re: WebObjects 5.4.1 & loss of data?
- From: Juan Manuel Palacios <email@hidden>
- Date: Sat, 16 Feb 2008 04:07:47 -0430
One addition and a correction to my own post:
On Feb 16, 2008, at 3:36 AM, Juan Manuel Palacios wrote:
Here's an excerpt of my apache access log (I'm hosting the sandbox
for the new MacPorts website, among other personal things):
66.249.65.203 - - [12/Feb/2008:20:36:23 -0430] "GET /macports/
ports.php?by=library&substr=checkpassword-pam HTTP/1.1" 200 7124 "-"
"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.
html)"
As you can see, that returns 200, so everything is OK. Little less
than a half hour later:
66.249.65.203 - - [12/Feb/2008:21:03:43 -0430] "GET /macports/
ports.php?by=library&substr=seahorse HTTP/1.1" 404 216 "-" "Mozilla/
5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
My server starts returning 404, meaning the files are no longer
there.
According to my Apache access log, there were no requests what-so-
ever to my webserver between the last one that returns 200 and the
first one that starts returning 404.
And the correction:
Feb 12 21:02:45 MacBookPro Installer[2035]: run postupgrade
script for WebObjectsRuntime
Feb 12 21:02:45 MacBookPro /private/tmp/scripts.w0fI/./
postinstall[2088]: WebObjects 5.3 Installer: WebObjectsRuntime
Package Post Install script running: Tue Feb 12 21:02:45 VET 2008
<--- (why does it say WO 5.3?)
Feb 12 21:02:45 MacBookPro /private/tmp/scripts.w0fI/./
postinstall[2088]: -- State of the world: --
Feb 12 21:02:45 MacBookPro /private/tmp/scripts.w0fI/./
postinstall[2088]: NEXT_ROOT = /
Feb 12 21:02:45 MacBookPro /private/tmp/scripts.w0fI/./
postinstall[2088]: WO_DOCUMENT_ROOT = /Library/WebServer/Documents
Feb 12 21:02:45 MacBookPro /private/tmp/scripts.w0fI/./
postinstall[2088]: WO_ADAPTOR_DIR = /Library/WebServer/CGI-Executables
Feb 12 21:02:45 MacBookPro /private/tmp/scripts.w0fI/./
postinstall[2088]: WO_ADAPTOR_NAME = CGI
Feb 12 21:02:45 MacBookPro /private/tmp/scripts.w0fI/./
postinstall[2088]: Copying the contents of WODocumentRoot to /
Library/WebServer/Documents ...
That last line raised my eyebrows even more, so I extracted that
postinstall script from the package through pkgutil(1) and learned
that this copying of contents is done through ditto(1):
# Copy over the contents of WODocumentRoot into the chosen document
root
echo Copying the contents of WODocumentRoot to $WO_DOCUMENT_ROOT ...
/usr/bin/ditto "$wodocroot" "$WO_DOCUMENT_ROOT"
Now, ditto(1)'s man page says nothing about overwriting the source
directory,
I of course meant the *destination* directory, sorry for any confusion!
Thanks again in advance for any help! Regards,...
-jmpp
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden