Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

No apache found #3

Open
siathalysedI opened this issue Jun 5, 2014 · 4 comments
Open

No apache found #3

siathalysedI opened this issue Jun 5, 2014 · 4 comments

Comments

@siathalysedI
Copy link

I've got this error on manual installation.
default: 2014/06/05 19:43:49 Could not find repository on any of the indexed registries.
How do I solve this?

@EpocSquadron
Copy link
Owner

Is this during the provision step? I'm not entirely sure where that could have gone wrong. Any extra information would be helpful in debugging, such as: any other errors that are occuring, other output, other development environments such as MAMP that may be installed, etc..

@siathalysedI
Copy link
Author

I've solved this error by changing this line in provision-docker.sh

#REPOS=`find /home/core/sites/.coreos-devenv/containers/ -maxdepth 1 -type d -printf '%P '`
to this
REPOS="apache-php-dynamic mysql-standard"

Somehow, it couldn't execute the find command.

Later on I received this message:

==> default: Error: No such container: mysql-standard
==> default: 2014/06/11 19:26:10 Error: failed to remove one or more containers
==> default: Warning: '-name' is deprecated, it will be removed soon. See usage.
==> default: b51a211b2d65c5432a2aed8085629f557f9fea61b354ef031d0b50ea4d3b1aa9
==> default: :: Starting apache container...
==> default: Error: No such container: apache-php-dynamic
==> default: 2014/06/11 19:26:10 Error: failed to remove one or more containers
==> default: Warning: '-name' is deprecated, it will be removed soon. See usage.
==> default: Warning: '-link' is deprecated, it will be removed soon. See usage.

So I built the containers myself with the lines from the script

docker build -t epocsquadron/mysql-standard /home/core/sites/.coreos-devenv/containers/mysql-standard/
docker build -t epocsquadron/apache-php-dynamic /home/core/sites/.coreos-devenv/containers/apache-php-dynamic/

Later on I started them:

docker stop mysql-standard
docker rm mysql-standard
docker run -v /home/core/sites/.coreos-databases/mysql:/var/lib/mysql -p 3306:3306 -e USERNAME="remote" -e PASSWORD="blahblahblah" -d -name mysql-standard epocsquadron/mysql-standard
docker stop apache-php-dynamic
docker rm apache-php-dynamic
docker run -v /home/core/sites:/var/www -p 80:80 -p 443:443 -d -name apache-php-dynamic -link /mysql-standard:db epocsquadron/apache-php-dynamic

So i received new messages

Warning: '-name' is deprecated, it will be removed soon. See usage.

for the mysql container.

And

Warning: '-name' is deprecated, it will be removed soon. See usage.
Warning: '-link' is deprecated, it will be removed soon. See usage.

for the apache-php-dynamic container.

I can't connect mysql nor apache. I started them but got no shell.

@wnrosenberg
Copy link

I had this error on my first vagrant up.
And so I did a vagrant halt, and then another vagrant up.
And now vagrant can't SSH to the VM :( UPDATE: I had to vagrant destroy instead of halt.

@wnrosenberg
Copy link

FYI: So I commented out lines 14-19,22 in provision-docker.sh, to prompt the script to build the two containers.... and I get this output, riddled with errors.

==> default: Didn't find epocsquadron/apache-php-dynamic, building it ourselves...
==> default: Sending build context to Docker daemon 9.216 kB
==> default: Sending build context to Docker daemon
==> default: Step 0 : FROM ubuntu:12.10
==> default: Pulling repository ubuntu
==> default: Status: Downloaded newer image for ubuntu:12.10
==> default:  ---> c5881f11ded9
==> default: Step 1 : MAINTAINER Daniel Poulin
==> default:  ---> Running in ab50e1ca9528
==> default:  ---> e7a10103449a
==> default: Removing intermediate container ab50e1ca9528
==> default: Step 2 : RUN apt-get update
==> default:  ---> Running in f0c6a5fa6228
==> default: Ign http://archive.ubuntu.com quantal InRelease
==> default: Ign http://archive.ubuntu.com quantal-updates InRelease
==> default: Ign http://archive.ubuntu.com quantal-security InRelease
==> default: Ign http://archive.ubuntu.com quantal Release.gpg
==> default: Ign http://archive.ubuntu.com quantal-updates Release.gpg
==> default: Ign http://archive.ubuntu.com quantal-security Release.gpg
==> default: Ign http://archive.ubuntu.com quantal Release
==> default: Ign http://archive.ubuntu.com quantal-updates Release
==> default: Ign http://archive.ubuntu.com quantal-security Release
==> default: Ign http://archive.ubuntu.com quantal/main Sources/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal/restricted Sources/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal/universe Sources/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal/main amd64 Packages/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal/restricted amd64 Packages/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal/universe amd64 Packages/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-updates/main Sources/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-updates/restricted Sources/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-updates/universe Sources/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-updates/main amd64 Packages/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-updates/restricted amd64 Packages/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-updates/universe amd64 Packages/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-security/main Sources/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-security/restricted Sources/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-security/universe Sources/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-security/main amd64 Packages/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-security/restricted amd64 Packages/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-security/universe amd64 Packages/DiffIndex
==> default: Err http://archive.ubuntu.com quantal/main Sources
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal/restricted Sources
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal/universe Sources
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal/main amd64 Packages
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal/restricted amd64 Packages
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal/universe amd64 Packages
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-updates/main Sources
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-updates/restricted Sources
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-updates/universe Sources
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-updates/main amd64 Packages
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-updates/restricted amd64 Packages
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-updates/universe amd64 Packages
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-security/main Sources
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-security/restricted Sources
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-security/universe Sources
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-security/main amd64 Packages
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-security/restricted amd64 Packages
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-security/universe amd64 Packages
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: W
==> default: :
==> default: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/main/source/Sources  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default:
==> default:
==> default: W
==> default: :
==> default: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/restricted/source/Sources  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default:
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/universe/source/Sources  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/main/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/restricted/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-updates/main/source/Sources  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-updates/restricted/source/Sources  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-updates/universe/source/Sources  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-updates/main/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-updates/restricted/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-updates/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-security/main/source/Sources  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-security/restricted/source/Sources  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-security/universe/source/Sources  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-security/main/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-security/restricted/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-security/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: E: Some index files failed to download. They have been ignored, or old ones used instead.
==> default:
==> default: Didn't find epocsquadron/mysql-standard, building it ourselves...
==> default: 2015/01/05 17:20:31 The command [/bin/sh -c apt-get update] returned a non-zero code: 100
==> default: Sending build context to Docker daemon  5.12 kB
==> default: Sending build context to Docker daemon
==> default: Step 0 : FROM ubuntu:12.10
==> default:  ---> c5881f11ded9
==> default: Step 1 : MAINTAINER Daniel Poulin
==> default:  ---> Using cache
==> default:  ---> e7a10103449a
==> default: Step 2 : RUN apt-get update
==> default:  ---> Running in 3976fd6055bc
==> default: Ign http://archive.ubuntu.com quantal InRelease
==> default: Ign http://archive.ubuntu.com quantal-updates InRelease
==> default: Ign http://archive.ubuntu.com quantal-security InRelease
==> default: Ign http://archive.ubuntu.com quantal Release.gpg
==> default: Ign http://archive.ubuntu.com quantal-updates Release.gpg
==> default: Ign http://archive.ubuntu.com quantal-security Release.gpg
==> default: Ign http://archive.ubuntu.com quantal Release
==> default: Ign http://archive.ubuntu.com quantal-updates Release
==> default: Ign http://archive.ubuntu.com quantal-security Release
==> default: Ign http://archive.ubuntu.com quantal/main Sources/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal/restricted Sources/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal/universe Sources/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal/main amd64 Packages/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal/restricted amd64 Packages/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal/universe amd64 Packages/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-updates/main Sources/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-updates/restricted Sources/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-updates/universe Sources/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-updates/main amd64 Packages/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-updates/restricted amd64 Packages/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-updates/universe amd64 Packages/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-security/main Sources/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-security/restricted Sources/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-security/universe Sources/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-security/main amd64 Packages/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-security/restricted amd64 Packages/DiffIndex
==> default: Ign http://archive.ubuntu.com quantal-security/universe amd64 Packages/DiffIndex
==> default: Err http://archive.ubuntu.com quantal/main Sources
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal/restricted Sources
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal/universe Sources
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal/main amd64 Packages
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal/restricted amd64 Packages
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal/universe amd64 Packages
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-updates/main Sources
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-updates/restricted Sources
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-updates/universe Sources
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-updates/main amd64 Packages
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-updates/restricted amd64 Packages
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-updates/universe amd64 Packages
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-security/main Sources
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-security/restricted Sources
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-security/universe Sources
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-security/main amd64 Packages
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-security/restricted amd64 Packages
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: Err http://archive.ubuntu.com quantal-security/universe amd64 Packages
==> default:   404  Not Found [IP: 91.189.91.13 80]
==> default: W
==> default: :
==> default: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/main/source/Sources  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/restricted/source/Sources  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/universe/source/Sources  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/main/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/restricted/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-updates/main/source/Sources  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-updates/restricted/source/Sources  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-updates/universe/source/Sources  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-updates/main/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-updates/restricted/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-updates/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-security/main/source/Sources  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-security/restricted/source/Sources  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-security/universe/source/Sources  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-security/main/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-security/restricted/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-security/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]
==> default:
==> default: E: Some index files failed to download. They have been ignored, or old ones used instead.
==> default:
==> default: :: Starting mysql container...
==> default: 2015/01/05 17:20:33 The command [/bin/sh -c apt-get update] returned a non-zero code: 100
==> default: Error response from daemon: No such container: mysql-standard
==> default: 2015/01/05 17:20:33 Error: failed to remove one or more containers
==> default: Warning: '-name' is deprecated, it will be replaced by '--name' soon. See usage.
==> default: Unable to find image 'epocsquadron/mysql-standard' locally
==> default: Pulling repository epocsquadron/mysql-standard
==> default: Status: Downloaded newer image for epocsquadron/mysql-standard:latest
==> default: 266f42bbcaacf48129f2a33e806d8053482868fbc6f9c371bda3250f6455f764
==> default: :: Starting apache container...
==> default: Error response from daemon: No such container: apache-php-dynamic
==> default: 2015/01/05 17:21:30 Error: failed to remove one or more containers
==> default: Warning: '-name' is deprecated, it will be replaced by '--name' soon. See usage.
==> default: Warning: '-link' is deprecated, it will be replaced by '--link' soon. See usage.
==> default: Unable to find image 'epocsquadron/apache-php-dynamic' locally
==> default: Pulling repository epocsquadron/apache-php-dynamic
==> default: Status: Downloaded newer image for epocsquadron/apache-php-dynamic:latest
==> default: 46b6cfd26862ab24a8fddd2cbb4dd4b0d09bde7258cdb3ccbfa3d41046f6a371
==> default: 2015/01/05 17:22:11 Error response from daemon: Cannot start container 46b6cfd26862ab24a8fddd2cbb4dd4b0d09bde7258cdb3ccbfa3d41046f6a371: Cannot link to a non running container: /mysql-standard AS /apache-php-dynamic/db
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants