[Dancer-users] Deployment trouble
mauricemengel at gmail.com
Thu Jan 20 19:07:08 CET 2011
I have a problem with my dancer webapp deployment. I don't know where
to look anymore. I had the old version of my webapp deployed the same
way and it worked well. Now, I update it and it doesn't work any more.
Dancer is and was version 1.2003. I updated Plack to current version,
but no change. I had it in Apache using plack like described in
#SetEnv DANCER_ENVIRONMENT "production"
CustomLog /var/www/vhosts/mimo-project.eu/webapps/logs/access_log common
Allow from all
After update, I get a segmentation fault in
/var/logs/apache2/error.log (ubuntu) everytime I try to access webapp:
[Thu Jan 20 18:20:18 2011] [notice] child pid 32575 exit signal
Segmentation fault (11)
That's all I get (unless I switch to development environment, as above).
The strange thing is that I can run the webapp as standalone, both in
production and development environment. I can run it also thru plackup
Somethine else. I changed the httpd.conf file and tried both
production and development mode. Debug messages then go to
/var/logs/apache2/error.log although I explicitly specify
I checked my paths a hundred times. The ErrorLog file exists. I also
tried to make sure that the permissions work and tried with 777 just
to be sure. But why doesn't apache log the errors in the ErrorLog
which I gave it?
In development mode, I see that my dancer app fails during
initialization when it loads the sqlite db. Why would it do so only
when started from apache?
I hope you have an idea.
More information about the Dancer-users