Forum: Ruby on Rails Lighttpd/rails deployment error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
1ed4bbef573bfc014d32356d53103ca2?d=identicon&s=25 phil swenson (Guest)
on 2005-12-22 23:05

I have been trying to get Lighttpd working.... we have been using
webrick, but want to move to a production quality web server.  I
followed the instructions found here :
http://brainspl.at/pages/rails_stack


We are developing on windows and deploying to Fedora Linux.  We're using
rails 1.0.  The build actually happens on the windows box and using ant
transfers the code to the Linux box.  If I manually copy the code from
the Windows box to the deployment box, Lighttpd works fine.  However if
I use the ant task deploy it (which just SCPs the code), it fails.  Here
is the error I get when I run ruby script/server:

=> Booting lighttpd (use 'script/server webrick' to force WEBrick)
Rails Error: Unable to access log file. Please ensure that
script/../config/../log/development.log exists and is chmod 0666. The
log level has been raised to WARN and the output directed to STDERR
until the problem is fixed.
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach (requires absolute paths in
config/lighttpd.conf)
=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)
2005-12-22 17:02:34: (mod_accesslog.c.512) opening access-log failed:
Permission denied log/lighttpd.access.log
2005-12-22 17:02:34: (server.c.670) Configuration of plugins failed.
Going down.

Any ideas?
A52b0e1c5d982f2512a03c5dbfd033d6?d=identicon&s=25 Dick Davies (Guest)
on 2005-12-23 11:12
(Received via mailing list)
On 22/12/05, phil swenson <phil.swenson@gmail.com> wrote:

This is your error. Do what it says.

> Rails Error: Unable to access log file. Please ensure that
> script/../config/../log/development.log exists and is chmod 0666.

> 2005-12-22 17:02:34: (mod_accesslog.c.512) opening access-log failed:
> Permission denied log/lighttpd.access.log




--
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/
This topic is locked and can not be replied to.