Line 166 was
require './Config.pl' i also tried require '/var/www/myapp/Config.pl' In my configuration for ubic service i have provided CWD path as /var/www/myapp
but ubic service status says not running
The same code runs fine if i use plackup without Starman as server.
I ran this command from /var/www/myapp/ but if i do with with --server argument it gives the same error of @INCplackup -D -r --host 10.1.1.5 --port 8080 --user perl --access-log /va +r/log/psgi/access.log --max-requests 1000 --error-log /var/log/psgi/e +rror.log --app myapp.psgi
plackup -D -r --host 10.1.1.5 --port 8080 --user perl --access-log /va +r/log/psgi/access.log --max-requests 1000 --error-log /var/log/psgi/e +rror.log --server Starman --app myapp.psgi
In reply to Re^2: Change cgi script to PSGI app
by mohan2monks
in thread Change cgi script to PSGI app
by mohan2monks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |