Welcome! Log In Create A New Profile

Advanced

Re: nginx: [emerg] unknown directive "upload_pass" after dist-upgrade from Ubuntu 12.04 LTS to 14.04 LTS

Ben Johnson
August 21, 2014 10:36PM
On 8/21/2014 9:02 PM, Ben Johnson wrote:
> # nginx -V
> nginx version: nginx/1.6.0

I should add also that immediately after the upgrade from version 12.04
to 14.04 of my OS, this problem was present, and my nginx version was
1.4.6. The reason for which my current config (quoted above) shows 1.6.0
is that I followed these instructions when trying to build nginx with
every module I have needed in the past, in an effort to troubleshoot
this problem:

http://serverfault.com/questions/227480/installing-optional-nginx-modules-with-apt-get

What's puzzling me most is that I only ever remember having to install
the http://wiki.nginx.org/HttpUploadProgressModule in any "special way".
And by "special way", I think I simply switched from Ubuntu's
"nginx-core" to "nginx-extras" package when first I "got everything
working".

Is this module ( http://wiki.nginx.org/HttpUploadModule , to which the
"upload_pass" directive applies) built into the core of nginx? I ask
mostly because when I built nginx from source (the 1.6.0 version), the
"extras" config section mentions nothing of the module in question
(that's causing the fatal upon nginx start-up):

(from "nginx-1.6.0/debian/rules"):



# ...
extras_configure_flags := \
$(common_configure_flags) \
--with-http_addition_module \
--with-http_dav_module \
--with-http_flv_module \
--with-http_geoip_module \
--with-http_gzip_static_module \
--with-http_image_filter_module \
--with-http_mp4_module \
--with-http_perl_module \
--with-http_random_index_module \
--with-http_secure_link_module \
--with-http_spdy_module \
--with-http_sub_module \
--with-http_xslt_module \
--with-mail \
--with-mail_ssl_module \
--add-module=$(MODULESDIR)/headers-more-nginx-module \
--add-module=$(MODULESDIR)/nginx-auth-pam \
--add-module=$(MODULESDIR)/nginx-cache-purge \
--add-module=$(MODULESDIR)/nginx-dav-ext-module \
--add-module=$(MODULESDIR)/nginx-development-kit \
--add-module=$(MODULESDIR)/nginx-echo \
--add-module=$(MODULESDIR)/ngx-fancyindex \
--add-module=$(MODULESDIR)/nginx-http-push \
--add-module=$(MODULESDIR)/nginx-lua \
--add-module=$(MODULESDIR)/nginx-upload-progress \
--add-module=$(MODULESDIR)/nginx-upstream-fair \
--add-module=$(MODULESDIR)/ngx_http_substitutions_filter_module
# ...



I see the line for the "HttpUploadProgressModule", as described at
http://wiki.nginx.org/HttpUploadProgressModule , but this is a different
module, correct?

Thanks again for any assistance,

-Ben

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx: [emerg] unknown directive "upload_pass" after dist-upgrade from Ubuntu 12.04 LTS to 14.04 LTS

Ben Johnson August 21, 2014 09:04PM

Re: nginx: [emerg] unknown directive "upload_pass" after dist-upgrade from Ubuntu 12.04 LTS to 14.04 LTS

Ben Johnson August 21, 2014 10:36PM

Re: nginx: [emerg] unknown directive "upload_pass" after dist-upgrade from Ubuntu 12.04 LTS to 14.04 LTS

Valentin V. Bartenev August 22, 2014 03:08AM

Re: nginx: [emerg] unknown directive "upload_pass" after dist-upgrade from Ubuntu 12.04 LTS to 14.04 LTS

Ben Johnson August 22, 2014 05:56PM

Re: nginx: [emerg] unknown directive "upload_pass" after dist-upgrade from Ubuntu 12.04 LTS to 14.04 LTS

Valentin V. Bartenev August 22, 2014 07:14PM

Re: nginx: [emerg] unknown directive "upload_pass" after dist-upgrade from Ubuntu 12.04 LTS to 14.04 LTS

Ben Johnson December 13, 2014 07:00PM

Re: nginx: [emerg] unknown directive "upload_pass" after dist-upgrade from Ubuntu 12.04 LTS to 14.04 LTS

Valentin V. Bartenev December 13, 2014 07:12PM

Re: nginx: [emerg] unknown directive "upload_pass" after dist-upgrade from Ubuntu 12.04 LTS to 14.04 LTS

Ben Johnson December 15, 2014 07:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 226
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready