• 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: 501 user for wo apps?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 501 user for wo apps?


  • Subject: Re: 501 user for wo apps?
  • From: Jesse Tayler <email@hidden>
  • Date: Mon, 11 Apr 2011 16:03:38 -0400

Right, but now for some reason I'm running out of memory but I note monitor has increased memory settings? Or is this because I'm trying to use a "micro" instance of an amazon server?

the command line seems to run from the terminal, but I get this complaint in the WO app log:



callUnixProcess [/home/appserver/bin/imagesize.sh 64 jpg]
java.io.IOException: Cannot run program "/home/appserver/bin/imagesize.sh": java.io.IOException: error=12, Cannot allocate memory




here's monitor settings, includes proper memory no? unrelated?

-Xms128m -Xmx256m -DWOAllowsConcurrentRequestHandling=true


On Apr 11, 2011, at 2:59 PM, Pascal Robert wrote:

>
> Le 2011-04-11 à 14:47, Jesse Tayler a écrit :
>
>>
>> I'm launching a UNIX script to generate image thumbnails and troubleshooting with a new server setup.
>>
>> Unless I'm mistaken, the script is unable to launch due to permissions and WO seems to be running user 501 without a username.
>>
>> Now I can't recall if that's how it used to be, should I be running uid 501 with no account/username?
>
> Normally, the user who run wotaskd and Monitor (and your apps) is "appserver". I guess that user is not on your new server, and that since no other user have a ID of 501, it's running on the ID of the user coming from the .tar.gz of wotaskd and Monitor.
>
> So, you should create a "appserver" user and use 501 as the id for this user (or create the user and do a "chown -R appserver" on the directory where WO and your apps are).
>
>> I don't want a security disaster, but I do need to launch some scripts that require a decent shell env.
>>
>> Advice?
>>
>>
>> _______________________________________________
>> 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
>
>

 _______________________________________________
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

  • Follow-Ups:
    • Re: 501 user for wo apps?
      • From: Pascal Robert <email@hidden>
References: 
 >501 user for wo apps? (From: Jesse Tayler <email@hidden>)
 >Re: 501 user for wo apps? (From: Pascal Robert <email@hidden>)

  • Prev by Date: Re: ERCalendar usage
  • Next by Date: [MEETING] WO-NoVA is NEXT TUESDAY (4/19/2011)
  • Previous by thread: Re: 501 user for wo apps?
  • Next by thread: Re: 501 user for wo apps?
  • Index(es):
    • Date
    • Thread