[Talk-cz] OsmHiCheck chybejici rozcestniky do osmap.cz

Marián Kyral mkyral na email.cz
Úterý Duben 19 20:30:42 UTC 2016



---------- Původní zpráva ----------
Od: Miroslav Suchý <miroslav na suchy.cz>
Komu: talk-cz na openstreetmap.org
Datum: 19. 4. 2016 22:22:56
Předmět: Re: [Talk-cz] OsmHiCheck chybejici rozcestniky do osmap.cz

"Dne 19.4.2016 v 19:50 Marián Kyral napsal(a):
> Ha. Jak se to správně zastavuje? Jsem teď spustil "vagrant provision",
> něco to udělalo a zase se to rozběhlo!

vagrant halt frontend
- spravne zastaveni, jakoby jenom vypne masinu, takze pristi "up" je
rychly
"



Tak  halt jsem udělal. Ale up sice byl "rychlý", ale httpd nenaběhl. Až po 
spuštění provision.




[22:26:39 marian na nbmkyral api (master)]$ vagrant halt frontend
==> frontend: Attempting graceful shutdown of VM...
[22:26:53 marian na nbmkyral api (master)]$ vagrant up frontend
Bringing machine 'frontend' up with 'virtualbox' provider...
==> frontend: Checking if box 'fedora/23-cloud-base' is up to date...
==> frontend: Clearing any previously set forwarded ports...
==> frontend: Clearing any previously set network interfaces...
==> frontend: Preparing network interfaces based on configuration...
    frontend: Adapter 1: nat
    frontend: Adapter 2: hostonly
==> frontend: Forwarding ports...
    frontend: 80 (guest) => 5000 (host) (adapter 1)
    frontend: 22 (guest) => 2222 (host) (adapter 1)
==> frontend: Booting VM...
==> frontend: Waiting for machine to boot. This may take a few minutes...
    frontend: SSH address: 127.0.0.1:2222
    frontend: SSH username: vagrant
    frontend: SSH auth method: private key
==> frontend: Machine booted and ready!
==> frontend: Checking for guest additions in VM...
    frontend: No guest additions were detected on the base box for this VM! 
Guest
    frontend: additions are required for forwarded ports, shared folders, 
host only
    frontend: networking, and more. If SSH fails on this machine, please 
install
    frontend: the guest additions and repackage the box to continue.
    frontend: 
    frontend: This is not an error message; everything may continue to work 
properly,
    frontend: in which case you may ignore this message.
==> frontend: Configuring and enabling network interfaces...
==> frontend: Rsyncing folder: /var/www/localhost/htdocs/api/ => /vagrant
==> frontend:   - Exclude: [".vagrant/", ".git/"]
==> frontend: Machine already provisioned. Run `vagrant provision` or use 
the `--provision`
==> frontend: flag to force provisioning. Provisioners marked to run always 
will still run.
==> frontend: Running provisioner: shell...
    frontend: Running: inline script
==> frontend: Running provisioner: shell...
    frontend: Running: inline script
==> frontend: Redirecting to /bin/systemctl start  httpd.service
==> frontend: Job for httpd.service failed because the control process 
exited with error code. See "systemctl status httpd.service" and "journalctl
-xe" for details.
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.




[22:28:34 marian na nbmkyral api (master)]$ vagrant provision frontend
==> frontend: Running provisioner: shell...
    frontend: Running: inline script
==> frontend: Last metadata expiration check performed 2:38:53 ago on Tue 
Apr 19 17:49:56 2016.
==> frontend: Package httpd-2.4.18-1.fc23.x86_64 is already installed, 
skipping.
==> frontend: Package mod_perl-2.0.9-1.fc23.x86_64 is already installed, 
skipping.
==> frontend: Package sqlite-3.8.11.1-1.fc23.x86_64 is already installed, 
skipping.
==> frontend: Package perl-JSON-2.90-5.fc23.noarch is already installed, 
skipping.
==> frontend: Package perl-DBI-1.633-6.fc23.x86_64 is already installed, 
skipping.
==> frontend: Package perl-Data-Dumper-2.158-347.fc23.x86_64 is already 
installed, skipping.
==> frontend: Package perl-DBD-SQLite-1.48-4.fc23.x86_64 is already 
installed, skipping.
==> frontend: Package perl-Image-ExifTool-10.10-1.fc23.noarch is already 
installed, skipping.
==> frontend: Package perl-App-cpanminus-1.7039-1.fc23.noarch is already 
installed, skipping.
==> frontend: Package perl-Exporter-Tiny-0.042-4.fc23.noarch is already 
installed, skipping.
==> frontend: Package perl-Class-Load-0.23-1.fc23.noarch is already 
installed, skipping.
==> frontend: Package perl-Test-Warn-0.30-5.fc23.noarch is already 
installed, skipping.
==> frontend: Package perl-Capture-Tiny-0.30-3.fc23.noarch is already 
installed, skipping.
==> frontend: Package perl-Sub-Uplevel-1:0.25-3.fc23.noarch is already 
installed, skipping.
==> frontend: Package perl-Moo-2.000001-3.fc23.noarch is already installed, 
skipping.
==> frontend: Package perl-Package-Stash-0.37-3.fc23.noarch is already 
installed, skipping.
==> frontend: Package perl-Devel-StackTrace-1:2.01-1.fc23.noarch is already 
installed, skipping.
==> frontend: Package perl-Test-Most-0.34-5.fc23.noarch is already 
installed, skipping.
==> frontend: Package perl-Type-Tiny-1.000005-4.fc23.noarch is already 
installed, skipping.
==> frontend: Package perl-HTML-Parser-3.71-11.fc23.x86_64 is already 
installed, skipping.
==> frontend: Package perl-HTML-Tagset-3.20-24.fc23.noarch is already 
installed, skipping.
==> frontend: Package perl-Socket6-0.25-7.fc23.x86_64 is already installed, 
skipping.
==> frontend: Package perl-Sys-Syslog-0.33-347.fc23.x86_64 is already 
installed, skipping.
==> frontend: Package perl-libwww-perl-6.15-1.fc23.noarch is already 
installed, skipping.
==> frontend: Dependencies resolved.
==> frontend: ==============================================================
==================
==> frontend:  Package             Arch           Version               
Repository       Size
==> frontend: ==============================================================
==================
==> frontend: Skipping packages with conflicts:
==> frontend: (add '--best --allowerasing' to command line to force their 
upgrade):
==> frontend:  sqlite              x86_64         3.11.0-3.fc23         
updates         485 k
==> frontend:  sqlite-libs         x86_64         3.11.0-3.fc23         
updates         449 k
==> frontend:
==> frontend: Transaction Summary
==> frontend: ==============================================================
==================
==> frontend: Nothing to do.
==> frontend: Complete!
==> frontend: Running provisioner: shell...
    frontend: Running: inline script
==> frontend: sudo
==> frontend: :
==> frontend: cpan: command not found
==> frontend: install is up to date. (0.01)
==> frontend: Geo::JSON is up to date. (0.007)
==> frontend: install is up to date. (0.01)
==> frontend: HTML::Entities is up to date. (3.69)
==> frontend: install is up to date. (0.01)
==> frontend: Net::Subnet is up to date. (1.03)
==> frontend: Running provisioner: shell...
    frontend: Running: inline script
==> frontend: /var/www/zapi/handler
==> frontend: /var/www/mapy/guidepost
==> frontend: Running provisioner: shell...
    frontend: Running: inline script
==> frontend: /vagrant/sqlite-create-schema.sql
==> frontend: Running provisioner: shell...
    frontend: Running: inline script
==> frontend: Running provisioner: shell...
    frontend: Running: inline script
==> frontend: Running provisioner: shell...
    frontend: Running: inline script
==> frontend: Redirecting to /bin/systemctl start  httpd.service
==> frontend: Running provisioner: shell...
    frontend: Running: inline script
==> frontend: #########################################################
==> frontend: ###   Your development instance of OSMCZ API          ###
==> frontend: ###   is now running at: http://localhost:5000        ###
==> frontend: #########################################################



Marián




"
vagrant destroy frontend
- smaze uplne vsechno, takze pristi "up" se musi uplne vsechno
nastavovat a spousti se ty provision scripty.

Mirek

_______________________________________________
Talk-cz mailing list
Talk-cz na openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-cz"
------------- další část ---------------
HTML příloha byla odstraněna...
URL: <https://lists.openstreetmap.org/pipermail/talk-cz/attachments/20160419/a094d905/attachment.html>


Další informace o konferenci talk-cz