Starman(0.3007). Error at startup. #66

Closed
justnoxx opened this Issue Apr 2, 2013 · 12 comments

Comments

Projects
None yet
2 participants

justnoxx commented Apr 2, 2013

Plack version: 1.0020
Starman version: 0.3007
Perl version: v5.10.1
After Starman update(from 3.006 to 3.007) i've got error:
Error while loading development.pm: No such file or directory at (eval 7) line 4.
On 3.006 starman all works fine.
Starman starting comand:
/usr/local/bin/starman --user nginx --group nginx --error-log /var/log/starman/s_error.log --workers 5 -D -E development --pid /var/run/starman.pid -I/var/spool/app/lib --listen /var/run/starman.socket /var/spool/app/psgi/app.psgi >> /var/log/starman/starman.log
On another server without updates all fine.
Updated modules:
Starman
Plack
UPD: it seems, starman update OK. All works fine with Starman 0.3007 and Plack 1.0018.

justnoxx closed this Apr 2, 2013

justnoxx referenced this issue in plack/Plack Apr 2, 2013

Closed

Dependency Issues #392

miyagawa reopened this Apr 2, 2013

Owner

miyagawa commented Apr 2, 2013

if there's any difference it should rather be Plack 1.0020's change to the command line handling that affects starman executable as well. But you stated:

On 3.006 starman all works fine.

Are you sure?

There doesn't seem to be a change in Starman between 3.006 and 3.007 about it.

Can you try with Plack 1.0018 and 1.0021, and narrow down the options to see what is affecting it?

Owner

miyagawa commented Apr 2, 2013

@justnoxx Thank you for the report!

Fixed in Plack's git master. Can you test and see?

miyagawa closed this Apr 2, 2013

justnoxx commented Apr 2, 2013

@miyagawa, sure.
Starman was updated to 0.3007, and plack was updated to 1.20 from 1.18. After that i tried to reload application. Init script - http://perl-diver.blogspot.com/2010/09/rhelcentos-init-script-for-starman-web.html, OS - centos.
After reloading - Error while loading development.pm: No such file or directory at (eval 7) line 4.
This error looks like starman error, but it is not a starman trouble, because after that i tried to launch another application with command starman --port 8080 app.psgi, and all was fine(elementary PSGI application, example from http://search.cpan.org/~miyagawa/PSGI-1.101/PSGI.pod). Than i installed Starman 0.3006, same error after reloading, so it is plack. After that, to confirm it I installed plack 1.18, than reload, all works fine. Than i tried starman 0.3007, all was fine to, so, it may be plack trouble, not starman. I will try Plack 1.21 tomorrow.

Owner

miyagawa commented Apr 2, 2013

1.21 has no fix, 1.22 will. Can you try the git master now? I would like to make sure it's not broken again.

justnoxx commented Apr 2, 2013

10 minutes.

justnoxx commented Apr 2, 2013

uname -r
2.6.32-71.29.1.el6.x86_64

cpan -D Plack
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Tue, 02 Apr 2013 12:53:02 GMT

Plack

    (no description)
    M/MI/MIYAGAWA/Plack-1.0020.tar.gz
    /usr/local/share/perl5/Plack.pm
    Installed: 1.0021
    CPAN:      1.0020  up to date
    Tatsuhiko Miyagawa (MIYAGAWA)
    miyagawa@bulknews.net

cpan -D Starman
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Tue, 02 Apr 2013 12:53:02 GMT

Starman

    (no description)
    M/MI/MIYAGAWA/Starman-0.3007.tar.gz
    /usr/local/share/perl5/Starman.pm
    Installed: 0.3007
    CPAN:      0.3007  up to date
    Tatsuhiko Miyagawa (MIYAGAWA)
    miyagawa@bulknews.net

No errors at restart right now, all seems fine.

For installation test i created virtual machine with clean debian
Install log:
https://gist.github.com/justnoxx/5295368
No dependencies errors.

Result of cpan -D Plack

Plack

(no description)
M/MI/MIYAGAWA/Plack-1.0021.tar.gz
/usr/local/share/perl/5.10.1/Plack.pm
Installed: 1.0021
CPAN:      1.0021  up to date
Tatsuhiko Miyagawa (MIYAGAWA)
miyagawa@bulknews.net
Owner

miyagawa commented Apr 2, 2013

I'm confused. Did you install from git master? Use cpanm git://github.com/plack/Plack.git

Owner

miyagawa commented Apr 2, 2013

OK, looking at the log you installed from git manually.

Released 1.0022 to CPAN.

justnoxx commented Apr 2, 2013

git clone https://github.com/plack/Plack

perl MakeFile.pl
make
make test
make install
test log:
https://gist.github.com/justnoxx/5295533
If critical, i can create another virtual machine and try install again with cpanm from git.

git status
On branch master
nothing to commit (working directory clean)

justnoxx commented Apr 2, 2013

@miyagawa , installation from master branch with cpanm:
cpanm git://github.com/plack/Plack.git
Cloning git://github.com/plack/Plack.git ... OK
--> Working on git://github.com/plack/Plack.git
Configuring Plack-1.0022 ... OK
Building and testing Plack-1.0022 ... OK
Successfully installed Plack-1.0022
1 distribution installed
No errors.

Owner

miyagawa commented Apr 2, 2013

1.0022 is already released, you can get it from metacpan.

justnoxx commented Apr 2, 2013

Thanks =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment