Created
January 9, 2018 22:06
-
-
Save anonymous/2b0a607a42ff8be8b66e1593ef3c38d7 to your computer and use it in GitHub Desktop.
cant tell whats wrong with this hash check.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DEBUG ] Reading configuration from /etc/salt/minion | |
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf' | |
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf | |
[DEBUG ] Configuration file path: /etc/salt/minion | |
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged. | |
[DEBUG ] Reading configuration from /etc/salt/minion | |
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf' | |
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf | |
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain. | |
[DEBUG ] Connecting to master. Attempt 1 of 1 | |
[DEBUG ] Initializing new AsyncAuth for ('/etc/salt/pki/minion', 'OTAPVMXXXX', 'tcp://10.180.34.132:4506') | |
[DEBUG ] Generated random reconnect delay between '1000ms' and '11000ms' (5311) | |
[DEBUG ] Setting zmq_reconnect_ivl to '5311ms' | |
[DEBUG ] Setting zmq_reconnect_ivl_max to '11000ms' | |
[DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'OTAPVMXXXX', 'tcp://10.180.34.132:4506', 'clear') | |
[DEBUG ] Decrypting the current master AES key | |
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem | |
[DEBUG ] SaltEvent PUB socket URI: /var/run/salt/minion/minion_event_4ae5f30661_pub.ipc | |
[DEBUG ] SaltEvent PULL socket URI: /var/run/salt/minion/minion_event_4ae5f30661_pull.ipc | |
[DEBUG ] Initializing new IPCClient for path: /var/run/salt/minion/minion_event_4ae5f30661_pull.ipc | |
[DEBUG ] Sending event: tag = salt/auth/creds; data = {'_stamp': '2018-01-09T22:03:42.027883', 'creds': {'publish_port': 4505, 'aes': 'a9NYqGw+/7GHlu6QWtfsOEW+six+Mx0Ppnais7K8zq0NqRhjy91mUoAo+nOQZfEdp+9Lo2N2srE=', 'master_uri': 'tcp://10.180.34.132:4506'}, 'key': ('/etc/salt/pki/minion', 'OTAPVMXXXX', 'tcp://10.180.34.132:4506')} | |
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem | |
[DEBUG ] Determining pillar cache | |
[DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'OTAPVMXXXX', 'tcp://10.180.34.132:4506', 'aes') | |
[DEBUG ] Initializing new AsyncAuth for ('/etc/salt/pki/minion', 'OTAPVMXXXX', 'tcp://10.180.34.132:4506') | |
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem | |
[DEBUG ] LazyLoaded jinja.render | |
[DEBUG ] LazyLoaded yaml.render | |
[DEBUG ] LazyLoaded state.sls | |
[DEBUG ] LazyLoaded saltutil.is_running | |
[DEBUG ] LazyLoaded grains.get | |
[DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'OTAPVMXXXX', 'tcp://10.180.34.132:4506', 'aes') | |
[DEBUG ] Initializing new AsyncAuth for ('/etc/salt/pki/minion', 'OTAPVMXXXX', 'tcp://10.180.34.132:4506') | |
[INFO ] Loading fresh modules for state activity | |
[DEBUG ] LazyLoaded jinja.render | |
[DEBUG ] LazyLoaded yaml.render | |
[DEBUG ] In saltenv 'base', looking at rel_path 'apache/mod_jk.sls' to resolve 'salt://apache/mod_jk.sls' | |
[DEBUG ] In saltenv 'base', ** considering ** path '/var/cache/salt/minion/files/base/apache/mod_jk.sls' to resolve 'salt://apache/mod_jk.sls' | |
[DEBUG ] compile template: /var/cache/salt/minion/files/base/apache/mod_jk.sls | |
[DEBUG ] Jinja search path: ['/var/cache/salt/minion/files/base'] | |
[DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'OTAPVMXXXX', 'tcp://10.180.34.132:4506', 'aes') | |
[DEBUG ] Initializing new AsyncAuth for ('/etc/salt/pki/minion', 'OTAPVMXXXX', 'tcp://10.180.34.132:4506') | |
[DEBUG ] In saltenv 'base', looking at rel_path 'apache/map.jinja' to resolve 'salt://apache/map.jinja' | |
[DEBUG ] In saltenv 'base', ** considering ** path '/var/cache/salt/minion/files/base/apache/map.jinja' to resolve 'salt://apache/map.jinja' | |
[DEBUG ] In saltenv 'base', looking at rel_path 'apache/osfingermap.yaml' to resolve 'salt://apache/osfingermap.yaml' | |
[DEBUG ] In saltenv 'base', ** considering ** path '/var/cache/salt/minion/files/base/apache/osfingermap.yaml' to resolve 'salt://apache/osfingermap.yaml' | |
[DEBUG ] In saltenv 'base', looking at rel_path 'apache/modsecurity.yaml' to resolve 'salt://apache/modsecurity.yaml' | |
[DEBUG ] In saltenv 'base', ** considering ** path '/var/cache/salt/minion/files/base/apache/modsecurity.yaml' to resolve 'salt://apache/modsecurity.yaml' | |
[DEBUG ] LazyLoaded grains.filter_by | |
[DEBUG ] LazyLoaded pillar.get | |
[PROFILE ] Time (in seconds) to render '/var/cache/salt/minion/files/base/apache/mod_jk.sls' using 'jinja' renderer: 0.318505048752 | |
[DEBUG ] Rendered data from file: /var/cache/salt/minion/files/base/apache/mod_jk.sls: | |
include: | |
- apache | |
# Download mod_jk installation media & verify MD5 | |
mod_jk_download: | |
file.managed: | |
- name: /usr/lib64/httpd/modules/mod_jk.so | |
- source: http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.31/x86_64/mod_jk-1.2.31-httpd-2.2.x.so | |
- source_hash: 1f43c9bd5985493aa5f5941980f20a41 | |
- user: root | |
- group: root | |
- mode: 755 | |
# Render config file to apache aux conf directory | |
mod_jk_config: | |
file.managed: | |
- name: /etc/httpd/conf.d/mod_jk.conf | |
- source: salt://apache/files/RedHat/mod_jk.conf.jinja | |
- mode: 644 | |
- template: jinja | |
- require: | |
- pkg: apache | |
- watch_in: | |
- module: apache-restart | |
- context: | |
mod_jk: {'version': '1.2.31', 'log_level': 'info', 'shm_file': '/var/log/httpd/mod_jk.shm', 'workers_file': '/etc/httpd/conf/workers.properties', 'log_file': '/var/log/httpd/mod_jk.log'} | |
# Render WorkerFile to wherever it should go. | |
mod_jk_workersfile: | |
file.managed: | |
- name: /etc/httpd/conf/workers.properties | |
- source: salt://apache/files/RedHat/workers.properties.jinja | |
- mode: 644 | |
- template: jinja | |
- require: | |
- pkg: apache | |
- watch_in: | |
- module: apache-restart | |
- context: | |
mod_jk: {'version': '1.2.31', 'log_level': 'info', 'shm_file': '/var/log/httpd/mod_jk.shm', 'workers_file': '/etc/httpd/conf/workers.properties', 'log_file': '/var/log/httpd/mod_jk.log'} | |
[DEBUG ] LazyLoaded config.get | |
[DEBUG ] Results of YAML rendering: | |
OrderedDict([('include', ['apache']), ('mod_jk_download', OrderedDict([('file.managed', [OrderedDict([('name', '/usr/lib64/httpd/modules/mod_jk.so')]), OrderedDict([('source', 'http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.31/x86_64/mod_jk-1.2.31-httpd-2.2.x.so')]), OrderedDict([('source_hash', '1f43c9bd5985493aa5f5941980f20a41')]), OrderedDict([('user', 'root')]), OrderedDict([('group', 'root')]), OrderedDict([('mode', 755)])])])), ('mod_jk_config', OrderedDict([('file.managed', [OrderedDict([('name', '/etc/httpd/conf.d/mod_jk.conf')]), OrderedDict([('source', 'salt://apache/files/RedHat/mod_jk.conf.jinja')]), OrderedDict([('mode', 644)]), OrderedDict([('template', 'jinja')]), OrderedDict([('require', [OrderedDict([('pkg', 'apache')])])]), OrderedDict([('watch_in', [OrderedDict([('module', 'apache-restart')])])]), OrderedDict([('context', OrderedDict([('mod_jk', OrderedDict([('version', '1.2.31'), ('log_level', 'info'), ('shm_file', '/var/log/httpd/mod_jk.shm'), ('workers_file', '/etc/httpd/conf/workers.properties'), ('log_file', '/var/log/httpd/mod_jk.log')]))]))])])])), ('mod_jk_workersfile', OrderedDict([('file.managed', [OrderedDict([('name', '/etc/httpd/conf/workers.properties')]), OrderedDict([('source', 'salt://apache/files/RedHat/workers.properties.jinja')]), OrderedDict([('mode', 644)]), OrderedDict([('template', 'jinja')]), OrderedDict([('require', [OrderedDict([('pkg', 'apache')])])]), OrderedDict([('watch_in', [OrderedDict([('module', 'apache-restart')])])]), OrderedDict([('context', OrderedDict([('mod_jk', OrderedDict([('version', '1.2.31'), ('log_level', 'info'), ('shm_file', '/var/log/httpd/mod_jk.shm'), ('workers_file', '/etc/httpd/conf/workers.properties'), ('log_file', '/var/log/httpd/mod_jk.log')]))]))])])]))]) | |
[PROFILE ] Time (in seconds) to render '/var/cache/salt/minion/files/base/apache/mod_jk.sls' using 'yaml' renderer: 0.0353100299835 | |
[DEBUG ] Could not find file 'salt://apache.sls' in saltenv 'base' | |
[DEBUG ] In saltenv 'base', looking at rel_path 'apache/init.sls' to resolve 'salt://apache/init.sls' | |
[DEBUG ] In saltenv 'base', ** considering ** path '/var/cache/salt/minion/files/base/apache/init.sls' to resolve 'salt://apache/init.sls' | |
[DEBUG ] compile template: /var/cache/salt/minion/files/base/apache/init.sls | |
[DEBUG ] Jinja search path: ['/var/cache/salt/minion/files/base'] | |
[DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'OTAPVMXXXX', 'tcp://10.180.34.132:4506', 'aes') | |
[DEBUG ] Initializing new AsyncAuth for ('/etc/salt/pki/minion', 'OTAPVMXXXX', 'tcp://10.180.34.132:4506') | |
[DEBUG ] In saltenv 'base', looking at rel_path 'apache/map.jinja' to resolve 'salt://apache/map.jinja' | |
[DEBUG ] In saltenv 'base', ** considering ** path '/var/cache/salt/minion/files/base/apache/map.jinja' to resolve 'salt://apache/map.jinja' | |
[DEBUG ] In saltenv 'base', looking at rel_path 'apache/osfingermap.yaml' to resolve 'salt://apache/osfingermap.yaml' | |
[DEBUG ] In saltenv 'base', ** considering ** path '/var/cache/salt/minion/files/base/apache/osfingermap.yaml' to resolve 'salt://apache/osfingermap.yaml' | |
[DEBUG ] In saltenv 'base', looking at rel_path 'apache/modsecurity.yaml' to resolve 'salt://apache/modsecurity.yaml' | |
[DEBUG ] In saltenv 'base', ** considering ** path '/var/cache/salt/minion/files/base/apache/modsecurity.yaml' to resolve 'salt://apache/modsecurity.yaml' | |
[PROFILE ] Time (in seconds) to render '/var/cache/salt/minion/files/base/apache/init.sls' using 'jinja' renderer: 0.28649187088 | |
[DEBUG ] Rendered data from file: /var/cache/salt/minion/files/base/apache/init.sls: | |
apache: | |
pkg.installed: | |
- name: httpd | |
group.present: | |
- name: apache | |
- system: True | |
user.present: | |
- name: apache | |
- gid: apache | |
- system: True | |
service.running: | |
- name: httpd | |
- enable: True | |
# The following states are inert by default and can be used by other states to | |
# trigger a restart or reload as needed. | |
apache-reload: | |
module.wait: | |
- name: service.reload | |
- m_name: httpd | |
apache-restart: | |
module.wait: | |
- name: service.restart | |
- m_name: httpd | |
[DEBUG ] Results of YAML rendering: | |
OrderedDict([('apache', OrderedDict([('pkg.installed', [OrderedDict([('name', 'httpd')])]), ('group.present', [OrderedDict([('name', 'apache')]), OrderedDict([('system', True)])]), ('user.present', [OrderedDict([('name', 'apache')]), OrderedDict([('gid', 'apache')]), OrderedDict([('system', True)])]), ('service.running', [OrderedDict([('name', 'httpd')]), OrderedDict([('enable', True)])])])), ('apache-reload', OrderedDict([('module.wait', [OrderedDict([('name', 'service.reload')]), OrderedDict([('m_name', 'httpd')])])])), ('apache-restart', OrderedDict([('module.wait', [OrderedDict([('name', 'service.restart')]), OrderedDict([('m_name', 'httpd')])])]))]) | |
[PROFILE ] Time (in seconds) to render '/var/cache/salt/minion/files/base/apache/init.sls' using 'yaml' renderer: 0.0155198574066 | |
[DEBUG ] LazyLoaded pkg.install | |
[DEBUG ] LazyLoaded pkg.installed | |
[DEBUG ] LazyLoaded boto.assign_funcs | |
[DEBUG ] Failed to import utils mako: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1412, in _load_module | |
mod = imp.load_module(mod_namespace, fn_, fpath, desc) | |
File "/usr/lib/python2.7/dist-packages/salt/utils/mako.py", line 12, in <module> | |
from mako.lookup import TemplateCollection, TemplateLookup # pylint: disable=import-error,3rd-party-module-not-gated | |
File "/usr/lib/python2.7/dist-packages/salt/utils/mako.py", line 12, in <module> | |
from mako.lookup import TemplateCollection, TemplateLookup # pylint: disable=import-error,3rd-party-module-not-gated | |
ImportError: No module named lookup | |
[DEBUG ] Failed to import utils raetevent: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1412, in _load_module | |
mod = imp.load_module(mod_namespace, fn_, fpath, desc) | |
File "/usr/lib/python2.7/dist-packages/salt/utils/raetevent.py", line 24, in <module> | |
from raet import raeting, nacling | |
ImportError: No module named raet | |
[DEBUG ] Failed to import utils raetlane: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1412, in _load_module | |
mod = imp.load_module(mod_namespace, fn_, fpath, desc) | |
File "/usr/lib/python2.7/dist-packages/salt/utils/raetlane.py", line 63, in <module> | |
from raet import raeting, nacling | |
ImportError: No module named raet | |
[DEBUG ] Could not LazyLoad boto3.assign_funcs: 'boto3' __virtual__ returned False | |
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.boto_elbv2. Module will not be loaded: 'boto3.assign_funcs' | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1673, in process_virtual | |
virtual = getattr(mod, virtual_func)() | |
File "/usr/lib/python2.7/dist-packages/salt/modules/boto_elbv2.py", line 71, in __virtual__ | |
__utils__['boto3.assign_funcs'](__name__, 'elbv2') | |
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1114, in __getitem__ | |
func = super(LazyLoader, self).__getitem__(item) | |
File "/usr/lib/python2.7/dist-packages/salt/utils/lazy.py", line 101, in __getitem__ | |
raise KeyError(key) | |
KeyError: 'boto3.assign_funcs' | |
[WARNING ] salt.loaded.int.module.boto_elbv2.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'boto_elbv2', please fix this. | |
[DEBUG ] LazyLoaded boto3.assign_funcs | |
[DEBUG ] Error loading module.boto_iot: __init__ failed | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1465, in _load_module | |
module_init(self.opts) | |
File "/usr/lib/python2.7/dist-packages/salt/modules/boto_iot.py", line 109, in __init__ | |
__utils__['boto3.assign_funcs'](__name__, 'iot') | |
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1114, in __getitem__ | |
func = super(LazyLoader, self).__getitem__(item) | |
File "/usr/lib/python2.7/dist-packages/salt/utils/lazy.py", line 98, in __getitem__ | |
return self._dict[key] | |
KeyError: 'boto3.assign_funcs' | |
[DEBUG ] LazyLoaded boto3.assign_funcs | |
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.boto_kinesis. Module will not be loaded: 'boto3.assign_funcs' | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1673, in process_virtual | |
virtual = getattr(mod, virtual_func)() | |
File "/usr/lib/python2.7/dist-packages/salt/modules/boto_kinesis.py", line 76, in __virtual__ | |
__utils__['boto3.assign_funcs'](__name__, 'kinesis') | |
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1114, in __getitem__ | |
func = super(LazyLoader, self).__getitem__(item) | |
File "/usr/lib/python2.7/dist-packages/salt/utils/lazy.py", line 98, in __getitem__ | |
return self._dict[key] | |
KeyError: 'boto3.assign_funcs' | |
[WARNING ] salt.loaded.int.module.boto_kinesis.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'boto_kinesis', please fix this. | |
[DEBUG ] LazyLoaded boto3.assign_funcs | |
[DEBUG ] Error loading module.boto_lambda: __init__ failed | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1465, in _load_module | |
module_init(self.opts) | |
File "/usr/lib/python2.7/dist-packages/salt/modules/boto_lambda.py", line 149, in __init__ | |
__utils__['boto3.assign_funcs'](__name__, 'lambda') | |
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1114, in __getitem__ | |
func = super(LazyLoader, self).__getitem__(item) | |
File "/usr/lib/python2.7/dist-packages/salt/utils/lazy.py", line 98, in __getitem__ | |
return self._dict[key] | |
KeyError: 'boto3.assign_funcs' | |
[DEBUG ] LazyLoaded boto3.assign_funcs | |
[DEBUG ] Error loading module.boto_rds: __init__ failed | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1465, in _load_module | |
module_init(self.opts) | |
File "/usr/lib/python2.7/dist-packages/salt/modules/boto_rds.py", line 144, in __init__ | |
__utils__['boto3.assign_funcs'](__name__, 'rds') | |
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1114, in __getitem__ | |
func = super(LazyLoader, self).__getitem__(item) | |
File "/usr/lib/python2.7/dist-packages/salt/utils/lazy.py", line 98, in __getitem__ | |
return self._dict[key] | |
KeyError: 'boto3.assign_funcs' | |
[DEBUG ] LazyLoaded boto3.assign_funcs | |
[DEBUG ] Error loading module.boto_s3_bucket: __init__ failed | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1465, in _load_module | |
module_init(self.opts) | |
File "/usr/lib/python2.7/dist-packages/salt/modules/boto_s3_bucket.py", line 107, in __init__ | |
__utils__['boto3.assign_funcs'](__name__, 's3') | |
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1114, in __getitem__ | |
func = super(LazyLoader, self).__getitem__(item) | |
File "/usr/lib/python2.7/dist-packages/salt/utils/lazy.py", line 98, in __getitem__ | |
return self._dict[key] | |
KeyError: 'boto3.assign_funcs' | |
[DEBUG ] LazyLoaded boto3.assign_funcs | |
[DEBUG ] Error loading module.boto_vpc: __init__ failed | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1465, in _load_module | |
module_init(self.opts) | |
File "/usr/lib/python2.7/dist-packages/salt/modules/boto_vpc.py", line 206, in __init__ | |
__utils__['boto3.assign_funcs'](__name__, 'ec2', | |
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1114, in __getitem__ | |
func = super(LazyLoader, self).__getitem__(item) | |
File "/usr/lib/python2.7/dist-packages/salt/utils/lazy.py", line 98, in __getitem__ | |
return self._dict[key] | |
KeyError: 'boto3.assign_funcs' | |
[DEBUG ] SMBIOS: neither dmidecode nor smbios found! | |
[DEBUG ] Module DSC: Only available on Windows systems | |
[DEBUG ] Module PSGet: Only available on Windows systems | |
[DEBUG ] Could not LazyLoad pkg.ex_mod_init: 'pkg.ex_mod_init' is not available. | |
[INFO ] Running state [httpd] at time 17:03:47.396031 | |
[INFO ] Executing state pkg.installed for [httpd] | |
[INFO ] Executing command ['rpm', '-qa', '--queryformat', '%{NAME}_|-%{EPOCH}_|-%{VERSION}_|-%{RELEASE}_|-%{ARCH}_|-(none)'] in directory '/root' | |
[INFO ] All specified packages are already installed | |
[INFO ] Completed state [httpd] at time 17:03:48.410094 duration_in_ms=1014.063 | |
[DEBUG ] LazyLoaded group.present | |
[INFO ] Running state [apache] at time 17:03:48.410928 | |
[INFO ] Executing state group.present for [apache] | |
[INFO ] Group apache is present and up to date | |
[INFO ] Completed state [apache] at time 17:03:48.425120 duration_in_ms=14.191 | |
[DEBUG ] LazyLoaded user.present | |
[INFO ] Running state [apache] at time 17:03:48.426209 | |
[INFO ] Executing state user.present for [apache] | |
[INFO ] User apache is present and up to date | |
[INFO ] Completed state [apache] at time 17:03:48.427998 duration_in_ms=1.788 | |
[DEBUG ] LazyLoaded service.running | |
[INFO ] Running state [httpd] at time 17:03:48.428779 | |
[INFO ] Executing state service.running for [httpd] | |
[INFO ] Executing command '/sbin/service httpd status' in directory '/root' | |
[DEBUG ] output: httpd is stopped | |
[INFO ] Executing command '/sbin/chkconfig --list httpd' in directory '/root' | |
[DEBUG ] stdout: httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
[INFO ] Executing command '/sbin/runlevel' in directory '/root' | |
[DEBUG ] output: N 3 | |
[INFO ] Executing command '/sbin/service httpd start' in directory '/root' | |
[ERROR ] Command '/sbin/service httpd start' failed with return code: 1 | |
[ERROR ] output: Starting httpd: httpd: Syntax error on line 425 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf.d/mod_jk.conf: Cannot load /etc/httpd/modules/mod_jk.so into server: /etc/httpd/modules/mod_jk.so: cannot open shared object file: No such file or directory | |
[FAILED] | |
[INFO ] Executing command '/sbin/chkconfig --list httpd' in directory '/root' | |
[DEBUG ] stdout: httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
[INFO ] Executing command '/sbin/runlevel' in directory '/root' | |
[DEBUG ] output: N 3 | |
[ERROR ] Service httpd is already enabled, and is dead | |
[INFO ] Completed state [httpd] at time 17:03:48.570828 duration_in_ms=142.049 | |
[DEBUG ] LazyLoaded module.wait | |
[INFO ] Running state [service.reload] at time 17:03:48.572052 | |
[INFO ] Executing state module.wait for [service.reload] | |
[INFO ] No changes made for service.reload | |
[INFO ] Completed state [service.reload] at time 17:03:48.582135 duration_in_ms=10.083 | |
[DEBUG ] LazyLoaded file.managed | |
[INFO ] Running state [/etc/httpd/conf.d/mod_jk.conf] at time 17:03:48.585869 | |
[INFO ] Executing state file.managed for [/etc/httpd/conf.d/mod_jk.conf] | |
[DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'OTAPVMXXXX', 'tcp://10.180.34.132:4506', 'aes') | |
[DEBUG ] Initializing new AsyncAuth for ('/etc/salt/pki/minion', 'OTAPVMXXXX', 'tcp://10.180.34.132:4506') | |
[DEBUG ] In saltenv 'base', looking at rel_path 'apache/files/RedHat/mod_jk.conf.jinja' to resolve 'salt://apache/files/RedHat/mod_jk.conf.jinja' | |
[DEBUG ] In saltenv 'base', ** considering ** path '/var/cache/salt/minion/files/base/apache/files/RedHat/mod_jk.conf.jinja' to resolve 'salt://apache/files/RedHat/mod_jk.conf.jinja' | |
[DEBUG ] Jinja search path: ['/var/cache/salt/minion/files/base'] | |
[INFO ] File /etc/httpd/conf.d/mod_jk.conf is in the correct state | |
[INFO ] Completed state [/etc/httpd/conf.d/mod_jk.conf] at time 17:03:48.718639 duration_in_ms=132.77 | |
[INFO ] Running state [/etc/httpd/conf/workers.properties] at time 17:03:48.719069 | |
[INFO ] Executing state file.managed for [/etc/httpd/conf/workers.properties] | |
[DEBUG ] In saltenv 'base', looking at rel_path 'apache/files/RedHat/workers.properties.jinja' to resolve 'salt://apache/files/RedHat/workers.properties.jinja' | |
[DEBUG ] In saltenv 'base', ** considering ** path '/var/cache/salt/minion/files/base/apache/files/RedHat/workers.properties.jinja' to resolve 'salt://apache/files/RedHat/workers.properties.jinja' | |
[DEBUG ] Jinja search path: ['/var/cache/salt/minion/files/base'] | |
[INFO ] File /etc/httpd/conf/workers.properties is in the correct state | |
[INFO ] Completed state [/etc/httpd/conf/workers.properties] at time 17:03:48.813050 duration_in_ms=93.98 | |
[INFO ] Running state [service.restart] at time 17:03:48.813646 | |
[INFO ] Executing state module.wait for [service.restart] | |
[INFO ] No changes made for service.restart | |
[INFO ] Completed state [service.restart] at time 17:03:48.814406 duration_in_ms=0.76 | |
[INFO ] Running state [/usr/lib64/httpd/modules/mod_jk.so] at time 17:03:48.815075 | |
[INFO ] Executing state file.managed for [/usr/lib64/httpd/modules/mod_jk.so] | |
[DEBUG ] Requesting URL http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.31/x86_64/mod_jk-1.2.31-httpd-2.2.x.so using GET method | |
[ERROR ] File changed: | |
New file | |
[DEBUG ] Refreshing modules... | |
[INFO ] Loading fresh modules for state activity | |
[DEBUG ] LazyLoaded jinja.render | |
[DEBUG ] LazyLoaded yaml.render | |
[DEBUG ] LazyLoaded saltutil.refresh_modules | |
[DEBUG ] LazyLoaded event.fire | |
[DEBUG ] SaltEvent PUB socket URI: /var/run/salt/minion/minion_event_4ae5f30661_pub.ipc | |
[DEBUG ] SaltEvent PULL socket URI: /var/run/salt/minion/minion_event_4ae5f30661_pull.ipc | |
[DEBUG ] Initializing new IPCClient for path: /var/run/salt/minion/minion_event_4ae5f30661_pull.ipc | |
[DEBUG ] Sending event: tag = module_refresh; data = {'_stamp': '2018-01-09T22:03:49.426179'} | |
[INFO ] Completed state [/usr/lib64/httpd/modules/mod_jk.so] at time 17:03:49.437591 duration_in_ms=622.515 | |
[DEBUG ] File /var/cache/salt/minion/accumulator/140318086460176 does not exist, no need to cleanup. | |
[DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'OTAPVMXXXX', 'tcp://10.180.34.132:4506', 'aes') | |
[DEBUG ] Initializing new AsyncAuth for ('/etc/salt/pki/minion', 'OTAPVMXXXX', 'tcp://10.180.34.132:4506') | |
[DEBUG ] LazyLoaded highstate.output | |
[DEBUG ] LazyLoaded nested.output | |
local: | |
---------- | |
ID: apache | |
Function: pkg.installed | |
Name: httpd | |
Result: True | |
Comment: All specified packages are already installed | |
Started: 17:03:47.396031 | |
Duration: 1014.063 ms | |
Changes: | |
---------- | |
ID: apache | |
Function: group.present | |
Result: True | |
Comment: Group apache is present and up to date | |
Started: 17:03:48.410929 | |
Duration: 14.191 ms | |
Changes: | |
---------- | |
ID: apache | |
Function: user.present | |
Result: True | |
Comment: User apache is present and up to date | |
Started: 17:03:48.426210 | |
Duration: 1.788 ms | |
Changes: | |
---------- | |
ID: apache | |
Function: service.running | |
Name: httpd | |
Result: False | |
Comment: Service httpd is already enabled, and is dead | |
Started: 17:03:48.428779 | |
Duration: 142.049 ms | |
Changes: | |
---------- | |
ID: apache-reload | |
Function: module.wait | |
Name: service.reload | |
Result: True | |
Comment: | |
Started: 17:03:48.572052 | |
Duration: 10.083 ms | |
Changes: | |
---------- | |
ID: mod_jk_config | |
Function: file.managed | |
Name: /etc/httpd/conf.d/mod_jk.conf | |
Result: True | |
Comment: File /etc/httpd/conf.d/mod_jk.conf is in the correct state | |
Started: 17:03:48.585869 | |
Duration: 132.77 ms | |
Changes: | |
---------- | |
ID: mod_jk_workersfile | |
Function: file.managed | |
Name: /etc/httpd/conf/workers.properties | |
Result: True | |
Comment: File /etc/httpd/conf/workers.properties is in the correct state | |
Started: 17:03:48.719070 | |
Duration: 93.98 ms | |
Changes: | |
---------- | |
ID: apache-restart | |
Function: module.wait | |
Name: service.restart | |
Result: True | |
Comment: | |
Started: 17:03:48.813646 | |
Duration: 0.76 ms | |
Changes: | |
---------- | |
ID: mod_jk_download | |
Function: file.managed | |
Name: /usr/lib64/httpd/modules/mod_jk.so | |
Result: False | |
Comment: Specified md5 checksum for /usr/lib64/httpd/modules/mod_jk.so (1f43c9bd5985493aa5f5941980f20a41) does not match actual checksum (d41d8cd98f00b204e9800998ecf8427e) | |
Started: 17:03:48.815076 | |
Duration: 622.515 ms | |
Changes: | |
---------- | |
diff: | |
New file | |
Summary for local | |
------------ | |
Succeeded: 7 (changed=1) | |
Failed: 2 | |
------------ | |
Total states run: 9 | |
Total run time: 2.032 s | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment