Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation fails on Ubuntu 18 #213

Open
phpguru opened this issue Feb 2, 2019 · 0 comments
Open

Installation fails on Ubuntu 18 #213

phpguru opened this issue Feb 2, 2019 · 0 comments

Comments

@phpguru
Copy link

phpguru commented Feb 2, 2019

After copying the module and pillar example

salt 'webserver' state.apply nginx

results in

          ID: is-nginx-module-modified-headers-more                                                                                                                                                                
    Function: cmd.run                                                                                                                                                                                              
        Name: m=$(find . \! -name "build.*" -newer /usr/sbin/nginx -print -quit); r=$?; if [ x$r != x0 ]; then echo "changed=yes comment='binary file does not exist or other find error'"; exit 0; fi; if [ x$m !=
 "x" ]; then echo "changed=yes comment='module source files are newer than binary'"; exit 0; fi; echo "changed=no comment='module source files are older than binary'"                                             
      Result: True                                                                                                                                                                                                 
     Comment: binary file does not exist or other find error                                                                                                                                                       
     Started: 11:26:56.102116                                                                                                                                                                                      
    Duration: 8.164 ms                                                                                                                                                                                             
     Changes:                                                                                                                                                                                                      
              ----------                                                                                                                                                                                           
              changed:                                                                                                                                                                                             
                  yes                                                                                                                                                                                              
              pid:                                                                                                                                                                                                 
                  10732                                                                                                                                                                                            
              retcode:                                                                                                                                                                                             
                  0                                                                                                                                                                                                
              stderr:                                                                                                                                                                                              
                  find: '/usr/sbin/nginx': No such file or directory                                                                                                                                               
              stdout:                                                                                                                                                                                              
                  changed=yes comment='binary file does not exist or other find error                                                                                                                              
----------                                                                                                                                                                                                         
          ID: nginx                                                                                                                                                                                                
    Function: cmd.wait                                                                                                                                                                                             
        Name: ( ./configure --conf-path=/etc/nginx/nginx.conf --sbin-path=/usr/sbin/nginx --user=www-data --group=www-data --prefix=/usr/local/nginx --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --http-client-body-temp-path=/tmp/body --http-proxy-temp-path=/tmp/proxy --http-fastcgi-temp-path=/tmp/fastcgi --http-uwsgi-temp-path=/tmp/temp_uwsgi --http-scgi-temp-path=/tmp/temp_scgi --add-module=/usr/local/src/nginx-modules/headers-more --with-debug --with-http_dav_module --with-http_stub_status_module --with-pcre --with-ipv6 && make -j2 && make install ) > /usr/local/src/nginx-1.6.2/build.out 2> /usr/local/src/nginx-1.6.2/build.err; r=$?; if [ x$r != x0 ]; then cat /usr/local/src/nginx-1.6.2/build.err 1>&2; exit $r; fi;
      Result: False                                                                                                                                                                                                
     Comment: Command "( ./configure --conf-path=/etc/nginx/nginx.conf --sbin-path=/usr/sbin/nginx --user=www-data --group=www-data --prefix=/usr/local/nginx --http-log-path=/var/log/nginx/access.log --error-log
-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --http-client-body-temp-path=/tmp/body --http-proxy-temp-path=/tmp/proxy --http-fastcgi-temp-path=/tmp/fastcgi --http
-uwsgi-temp-path=/tmp/temp_uwsgi --http-scgi-temp-path=/tmp/temp_scgi --add-module=/usr/local/src/nginx-modules/headers-more --with-debug --with-http_dav_module --with-http_stub_status_module --with-pcre --with-
ipv6 && make -j2 && make install ) > /usr/local/src/nginx-1.6.2/build.out 2> /usr/local/src/nginx-1.6.2/build.err; r=$?; if [ x$r != x0 ]; then cat /usr/local/src/nginx-1.6.2/build.err 1>&2; exit $r; fi;" run   
     Started: 11:26:56.114034                                                                                                                                                                                      
    Duration: 2996.018 ms                                                                                                                                                                                          
     Changes:                                                                                                                                                                                                      
              ----------                                                                                                                                                                                           
              pid:                                                                                                                                                                                                 
                  10734                                                                                                                                                                                            
              retcode:                                                                                                                                                                                             
                  1                                                                                                                                                                                                
              stderr:                                                                                                                                                                                              
              stdout:                                                                                                                                                                                              
----------                                                                                                                                                                                                         
          ID: nginx                                                                                                                                                                                                
    Function: service.running                                                                                                                                                                                      
      Result: False                                                                                                                                                                                                
     Comment: One or more requisite failed: nginx.upstart.nginx-logger-access, nginx.source.nginx, nginx.upstart.nginx-logger-error                                                                                
     Started: 11:26:59.111882                                                                                                                                                                                      
    Duration: 0.012 ms                                                                                                                                                                                             
     Changes:                                                                                                                                                                                                      
                                                                                                                                                                                                                   
Summary for audit01-prod.rxmg.network                                                                                                                                                                              
-------------                                                                                                                                                                                                      
Succeeded: 35 (changed=5)                                                                                                                                                                                          
Failed:     4                                                                                                                                                                                                      
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant