I can not configure the python module through the official Nginx Unit documentation?
avpdnepr
nginx-forum at forum.nginx.org
Tue Mar 13 16:27:29 UTC 2018
Valentin V. Bartenev Wrote:
-------------------------------------------------------
> On Tuesday 13 March 2018 11:46:48 avpdnepr wrote:
> > 2018/03/13 12:10:37 [info] 2220#2220 "example_python" application
> started
> > 2018/03/13 12:10:37 [emerg] 2220#2220 Python failed to import module
> "wsgi"
> > 2018/03/13 12:10:37 [notice] 1625#1625 process 2220 exited with code
> 1
> > 2018/03/13 12:10:37 [warn] 1632#1632 failed to start application
> > "example_python"
> >
>
> This means that Python interpreter is unable to load your application.
> You should check that the path is correct and Unit application process
> have enough rights.
>
> wbr, Valentin V. Bartenev
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
root 1625 0.0 0.0 22632 2212 ? Ss 11:48 0:00 unit: main
[/usr/sbin/unitd --log /var/log/unit.log --pid /run/unit.pid]
nobody 1631 0.0 0.0 32744 2072 ? S 11:48 0:00 unit:
controller
nobody 1632 0.0 0.0 106736 2176 ? Sl 11:48 0:00 unit:
router
www-php 1633 0.0 0.3 129272 15056 ? S 11:48 0:00 unit:
"blogs" application
www-php 1634 0.0 0.3 129276 15112 ? S 11:48 0:00 unit:
"blogs" application
www-php 1635 0.0 0.3 129276 15112 ? S 11:48 0:00 unit:
"blogs" application
www-php 1636 0.0 0.3 129276 15112 ? S 11:48 0:00 unit:
"blogs" application
www-php 1637 0.0 0.3 129276 15116 ? S 11:48 0:00 unit:
"blogs" application
www-php 1638 0.0 0.3 129276 15112 ? S 11:48 0:00 unit:
"blogs" application
www-php 1639 0.0 0.3 129276 15116 ? S 11:48 0:00 unit:
"blogs" application
www-php 1640 0.0 0.3 129276 15112 ? S 11:48 0:00 unit:
"blogs" application
www-php 1641 0.0 0.3 129276 15116 ? S 11:48 0:00 unit:
"blogs" application
www-php 1642 0.0 0.3 129276 15120 ? S 11:48 0:00 unit:
"blogs" application
www-php 1643 0.0 0.3 129276 15120 ? S 11:48 0:00 unit:
"blogs" application
www-php 1644 0.0 0.3 129276 15120 ? S 11:48 0:00 unit:
"blogs" application
www-php 1645 0.0 0.3 129276 15120 ? S 11:48 0:00 unit:
"blogs" application
www-php 1646 0.0 0.3 129276 15116 ? S 11:48 0:00 unit:
"blogs" application
www-php 1647 0.0 0.3 129276 15116 ? S 11:48 0:00 unit:
"blogs" application
www-php 1648 0.0 0.3 129276 15116 ? S 11:48 0:00 unit:
"blogs" application
www-php 1649 0.0 0.3 129276 15116 ? S 11:48 0:00 unit:
"blogs" application
www-php 1650 0.0 0.3 129276 15116 ? S 11:48 0:00 unit:
"blogs" application
www-php 1651 0.0 0.3 129276 15116 ? S 11:48 0:00 unit:
"blogs" application
www-php 1652 0.0 0.3 129280 15116 ? S 11:48 0:00 unit:
"blogs" application
root 3910 0.0 0.0 12944 932 pts/0 S+ 16:24 0:00 grep
--color=auto unit
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,279020,279024#msg-279024
More information about the nginx
mailing list