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

Unpack downloaded Apache httpd sources is failing due to the tar -xvf failure in play run #100

Open
sathiyarajanm opened this issue Jul 2, 2018 · 2 comments

Comments

@sathiyarajanm
Copy link

I am getting the following error in the httpd installation

fatal: [localhost]: FAILED! => {"changed": false, "msg": "path /usr/src/httpd-2.4.33/ does not exist", "path": "/usr/src/httpd-2.4.33/", "state": "absent"}
to retry, use: --limit @/home/vagrant/devops/lamponsteroids/playbooks/example-playbook.retry

I suspect the above issue is happening at the time of extract a tar of httpd-2.4.33.

once I fixed that issue with tar -xvf manually then i got

failed: [localhost] (item=apr-1.6.3) => {"changed": false, "item": "apr-1.6.3", "msg": "path /usr/src/httpd-2.4.33/srclib/apr-1.6.3/ does not exist", "path": "/usr/src/
httpd-2.4.33/srclib/apr-1.6.3/", "state": "absent"}
failed: [localhost] (item=apr-util-1.6.1) => {"changed": false, "item": "apr-util-1.6.1", "msg": "path /usr/src/httpd-2.4.33/srclib/apr-util-1.6.1/ does not exist", "pa
th": "/usr/src/httpd-2.4.33/srclib/apr-util-1.6.1/", "state": "absent"}

I have fixed it with
cp -r ../../usr/src

Then I got apr-1.6.3 error

failed: [localhost] (item=apr-1.6.3) => {"changed": false, "item": "apr-1.6.3", "msg": "path /usr/src/httpd-2.4.33/srclib/apr-1.6.3/ does not exist", "path": "/usr/src/
httpd-2.4.33/srclib/apr-1.6.3/", "state": "absent"}
failed: [localhost] (item=apr-util-1.6.1) => {"changed": false, "gid": 0, "group": "root", "item": "apr-util-1.6.1", "mode": "0755", "msg": "chown failed: failed to loo
k up user developer", "owner": "root", "path": "/usr/src/httpd-2.4.33/srclib/apr-util-1.6.1/", "secontext": "unconfined_u:object_r:usr_t:s0", "size": 4096, "state": "di
rectory", "uid": 0}

@aquinotgr00
Copy link

have you found any fix ?
i face the same issue

@sathiyarajanm
Copy link
Author

@aquinotgr00 No I just skipped the play and run the ansible.
I have referred some other samples.

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

2 participants