in reply to Catalyst error

This is an issue which you'll typically hit when you run the test server as one user and then a production server (or the test server for that matter) as another user. You end up with session files owned by you and then production app wants to use www or nobody or whatever to overwrite them and can't.

The obvious ways to deal with it are to only run the dev server as the production user: sudo -u nobody ./script/*_server.pl -rr -d -p 3000 or to add something like this to your cache/session config:

__PACKAGE__->config( "Plugin::Session" => { store => "FastMmap", storage => __PACKAGE__->path_to("run/$>/session.dat"), ...

(Update: corrected sentence conjunction.)

Replies are listed 'Best First'.
Re^2: Catalyst error
by manne (Novice) on Dec 06, 2010 at 18:18 UTC
    Infact,there was a change of users when running the test servers which caused this error. Thankyou for the useful suggestion.