[Swift-user] Re: installing swift
benc at hawaga.org.uk
Fri Apr 3 13:14:29 CDT 2009
Every user can share one swift installation, but your pwd needs to be
writable by the user - so run in ~ rather than in the Swift installation
On Fri, 3 Apr 2009, Marco Mambelli wrote:
> Hi Ben,
> the user owning the installation ran succesfully:
> Swift 0.8 (stripped) swift-r2448 cog-r2261
> RunID: 20090403-1305-k22hrieg
> Final status: Finished successfully:1
> Another user had permission problems:
> swift.log exists, it was created by the first user but it is writable also by
> this one (I tryed to append something to it).
> Which permission is looking for? does it need to be the owner? Group write is
> not sufficient?
> Should every user have its own swift installation?
> Below the java trace.
> [train02 at grid07 swift]$ swift first.swift
> log4j:ERROR setFile(null,true) call failed.
> java.io.FileNotFoundException: swift.log (Permission denied)
> at java.io.FileOutputStream.openAppend(Native Method)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
> at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
> at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
> at org.apache.log4j.Logger.getLogger(Logger.java:94)
> at org.globus.cog.karajan.Loader.<clinit>(Loader.java:43)
> Could not start execution.
> first.xml (Permission denied)
> On Thu, 2 Apr 2009, Ben Clifford wrote:
> > Yeah, that's quite out of date, it seems.
> > If you're installing on a machine with an OSG stack, get the version
> > without extra stuff (swift-0.8-stripped.tar.gz) from the download page.
> > Untar it, and put its bin/ directory on your system path.
> > The stripped version does not contain commands like grid-proxy-init, to
> > avoid conflict with real versions deployed elsewhere (i.e. in an OSG
> > install).
> > To test, go into the examples/swift/ directory, type:
> > swift first.swift
> > and check that a file hello.txt appears.
More information about the Swift-user