• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [OT] Update Pulled?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] Update Pulled?


  • Subject: Re: [OT] Update Pulled?
  • From: Giorgio Valoti <email@hidden>
  • Date: Thu, 18 Mar 2004 10:45:20 +0100

On 18/mar/04, at 07:32, Rob Lockstone wrote:

Did anyone else notice that Apple appears to have pulled the Panther Server update, which included the WO 5.2.3 update along with updated MySQL and JBoss (I believe)?

Yeah, I think it's because of the WO startup item issue. From a mail posted on Omni's WO admin list:

Hello All,

A quick peek in the ApplicationsServerUpdate.pkg shows where the problem is.

Inside the package is a script called: WODeployment.post_script

This script is the one causing all the problems. As you can see from the script that it deletes the /System/Library/StartupItems directory all together

--SNIP--
...

startupdir="${NEXT_ROOT}System/Library/StartupItems/WebObjects"

...

if [ -d "${startupdir}" ]; then
    # Remove existing startup directory
    echo Removing existing $startupdir
    /bin/rm -rf "${startupdir}"
fi
--SNIP--

It then goes about trying to create a new directory and startup files.

--SNIP--
# Create the wotaskd startup script
echo Creating $startupdir

/bin/mkdir "${startupdir}"

cp -f "$1/Contents/Resources/WebObjects" "${startupscript}"
chmod a+x "${startupscript}"

# Create the WebObjects startup plist
echo Creating $startupplist
cp -f "$1/Contents/Resources/StartupParameters.plist" "${startupplist}"

echo "WebObjects 5.2.2 Installer: Deployment Post Install script completed:" `date`
--SNIP--


The problem is that the files that it needs to copy into the new StartupItems/WebObjects folder do not exist in the package. A quick look at the install log file confirms this fact:

--SNIP--
Mar 17 08:14:17 localhost softwareupdate: + echo Creating /System/Library/StartupItems/WebObjects
Mar 17 08:14:17 localhost softwareupdate: Creating /System/Library/StartupItems/WebObjects
Mar 17 08:14:17 localhost softwareupdate: + /bin/mkdir /System/Library/StartupItems/WebObjects
Mar 17 08:14:17 localhost softwareupdate: + cp -f /tmp/0/TemporaryItems/com.apple.SoftwareUpdate/ ApplicationsServerUpdate.pkg/Contents/Resources/WebObjects /System/Library/StartupItems/WebObjects/WebObjects
Mar 17 08:14:17 localhost softwareupdate: cp:
Mar 17 08:14:17 localhost softwareupdate: /tmp/0/TemporaryItems/com.apple.SoftwareUpdate/ ApplicationsServerUpdate.pkg/Contents/Resources/WebObjects: No such file or directory
Mar 17 08:14:17 localhost softwareupdate: + chmod a+x /System/Library/StartupItems/WebObjects/WebObjects
Mar 17 08:14:17 localhost softwareupdate: chmod:
Mar 17 08:14:17 localhost softwareupdate: /System/Library/StartupItems/WebObjects/WebObjects: No such file or directory
Mar 17 08:14:17 localhost softwareupdate: + echo Creating /System/Library/StartupItems/WebObjects/StartupParameters.plist
Mar 17 08:14:17 localhost softwareupdate: Creating /System/Library/StartupItems/WebObjects/StartupParameters.plist
Mar 17 08:14:17 localhost softwareupdate: + cp -f /tmp/0/TemporaryItems/com.apple.SoftwareUpdate/ ApplicationsServerUpdate.pkg/Contents/Resources/ StartupParameters.plist /System/Library/StartupItems/WebObjects/StartupParameters.plist
Mar 17 08:14:17 localhost softwareupdate: cp: /tmp/0/TemporaryItems/com.apple.SoftwareUpdate/ ApplicationsServerUpdate.pkg/Contents/Resources/ StartupParameters.plist: No such file or directory
--SNIP--


I contacted Apple to let them know about the problem and they said that they would get back with me sometime tomorrow. I hope you all have a good back from which to pull the files from. Otherwise good luck!!



-- Giorgio Valoti -------------- _______________________________________________ webobjects-dev mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev Do not post admin requests to the list. They will be ignored.


References: 
 >[OT] Update Pulled? (From: Rob Lockstone <email@hidden>)

  • Prev by Date: Re: NULL matching my displaygroup...
  • Next by Date: Problem running a Java Client in Xcode and Project Builder.
  • Previous by thread: [OT] Update Pulled?
  • Next by thread: Problem running a Java Client in Xcode and Project Builder.
  • Index(es):
    • Date
    • Thread