Git Product home page Git Product logo

vagrant-lemtl's Introduction

Vagrant LEMTL v2.0.0 Vagrant v1.9.0 Virtual Box v5.1.10 Lucee v5.1.0.17

Vagrant LEMTL

Vagrant box with Linux, Nginx, MariaDB (or MySQL), Tomcat, and Lucee for local development with CFML and Java


Find this project useful? Show some love ๐Ÿ’ž and buy me a cup of cofee! โ˜•


Last Updated December 1, 2016

Prerequisites

NOTE: All version numbers used in this document are confirmed to work, and are current, as of the above last updated date

Required

It is assumed you have Virtual Box and Vagrant installed. If not, then grab the latest version of each at the links below:

Highly Recommended

Once Vagrant is installed, or if it already is, it's highly recommended that you install the following Vagrant plugins:


What's Included

  • Ubuntu Server v14.04.4 LTS (Trusty Tahr) 64bit
    • Make sure curl, wget, unzip, zip, iptables, debconf-utils, and software-properties-common are installed
    • Set vm timezone (configure in Vagrantfile)
    • NOTE: Tested and working with Ubuntu v12.04, v14.04, v14.10, v16.04 (configurable via Vagrantfile)
  • Nginx v1.11.5
    • Set up to serve all static content and reverse-proxy cfm/cfc/jsp requests to Tomcat
    • MariaDB v10.1.x or MySQL v5.7.x (defaults to MariaDB, configurable in Vagrantfile)
    • lower_case_table_names = 1 (disables case sensitivity)
    • bind-address set to 0.0.0.0 so database server can be accessed from the host machine directly (without ssh tunnel)
  • Tomcat v7.0.52 with Java (OpenJDK) v1.8.0_91
    • catalina.properties tweaks for improved performance
  • Lucee v5.1.0.17 (dev)
    • cfspreadsheet-lucee-5 pre-installed
      • Many thanks to Andrew Kretzer for his work updating cfspreadsheet-lucee for Lucee 5 compatibility
    • jsoup v1.9.2 included in Lucee server bundles directory
    • Tweaks to Lucee via server admin
      • Smart whitespace suppression
      • Preserve single quotes option enabled for dataase queries
      • Update provider set to Development Releases
      • Default cache (ehcache) setup so cacheGet/cachePut/etc work out of the box

Installation

The first time you clone the repo and bring the box up, it may take several minutes. If it doesn't explicitly fail/quit, then it is still working (the Linux updates, on first run, can take a while).

git clone https://github.com/mikesprague/vagrant-lemtl.git
cd vagrant-lemtl/vagrantroot && vagrant up

Once the Vagrant box finishes and is ready, you should see something like this in your terminal:

==> default: Vagrant-LEMTL-v2.0.0
==> default:
==> default: ===============================================================
==> default:
==> default: http://www.vagrant-lemtl.local (192.168.50.25)
==> default:
==> default: Lucee Server/Web Context Administrators
==> default:
==> default: http://www.vagrant-lemtl.local/lucee/admin/server.cfm
==> default: http://www.vagrant-lemtl.local/lucee/admin/web.cfm
==> default: Password (for each admin): password
==> default:
==> default:
==> default: Database Server Connection Info for External Connections
==> default: from Host Machine
==> default:
==> default: Server: db.vagrant-lemtl.local
==> default: Port: 3306
==> default: User: root
==> default: Password: password
==> default:
==> default: ===============================================================

Once you see that, you should be able to browse to http://www.vagrant-lemtl.local/ or http://192.168.50.25/ (it may take a few minutes the first time a page loads after bringing your box up, subsequent requests should be much faster).

NOTES

  • On Windows (host machines) you should run your terminal as an Administrator; you will also need to make sure your Hosts file isn't set to read-only if you want to take advantage of the hostname functionality. Alternatively, simply use the IP address anywhere you would use the hostname (connecting to database server, etc).

  • Git Large File Storage (Git LFS) enabled via the .gitattributes file for .jar and .lco files by default. This should not cause any issues if you do not have Git LFS installed/enabled. If you don't have Git LFS installed locally (or enabled on your GitHub account), it should just ignore the attributes. If there are any problems, please report them in the issue tracker.


References

The following two posts, written by Mark Drew, heavily influenced this project:

Help with Nginx config from the following blog post by Yuri Vorontsov:


License

The MIT License (MIT)

Copyright (c) 2015 Mike Sprague

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

vagrant-lemtl's People

Contributors

atadams avatar mikesprague avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vagrant-lemtl's Issues

Missing files in WEB-INF?

Trying to get this set up with no modifications, once the box comes up I get 500 errors trying to load pages. In the catalina.out log, there are a bunch of error messages of not being able to find files. One example from the logs:

Thu Mar 26 14:44:50 EDT 2015-825 write file:/var/www/sites/default/WEB-INF/lucee/context/templates/error/error-public.cfm
Thu Mar 26 14:44:50 EDT 2015-832 No such file or directory
java.io.IOException: No such file or directory

Really appreciate all the work you've done on this!

Lucee throwing 500 error

I've tried this a few times and each time I get the same result:

HTTP Status 500 -
type Exception report
message
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException
lucee.commons.io.log.log4j.Log4jUtil.getAppender(Unknown Source)
lucee.commons.io.log.LoggerAndSourceData.getLog(Unknown Source)
lucee.runtime.config.ConfigImpl.getLog(Unknown Source)
lucee.runtime.config.ConfigWebFactory.loadLoggers(Unknown Source)
lucee.runtime.config.ConfigWebFactory.load(Unknown Source)
lucee.runtime.config.ConfigWebFactory.newInstance(Unknown Source)
lucee.runtime.engine.CFMLEngineImpl.loadJSPFactory(Unknown Source)
lucee.runtime.engine.CFMLEngineImpl.addServletConfig(Unknown Source)
lucee.loader.engine.CFMLEngineFactory.getInstance(Unknown Source)
lucee.loader.servlet.CFMLServlet.init(Unknown Source)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
java.lang.Thread.run(Thread.java:745)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.52 (Ubuntu) logs.

Apache Tomcat/7.0.52 (Ubuntu)

I'm not sure exactly what the problem is. The box comes up okay with the normal update guest-extensions business.

I'm able to ssh to the box and look around.

I tried replacing the WEB-INF with a fresh download from the Lucee site with no change.

I've tried restart services and reinstalling tomcat with no change.

I tried putting the WEB-INF folder from another lucee project I'm working that I know works, and it does change the error message to:
Lucee [4.5.1.003] - Error (java.io.IOException)
Message No such file or directory
Cause java.io.IOException
Java Stacktrace
No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method):-2
at java.io.File.createNewFile(File.java:1006):1006
at lucee.commons.io.res.type.file.FileResource.getOutputStream(Unknown Source):-1
at lucee.commons.io.res.type.file.FileResource.getOutputStream(Unknown Source):-1
at lucee.commons.io.IOUtil.copy(Unknown Source):-1
at lucee.runtime.compiler.CFMLCompilerImpl.compile(Unknown Source):-1
at lucee.runtime.PageSourceImpl._compile(Unknown Source):-1
at lucee.runtime.PageSourceImpl.compile(Unknown Source):-1
at lucee.runtime.PageSourceImpl.loadPhysical(Unknown Source):-1
at lucee.runtime.PageSourceImpl.loadPage(Unknown Source):-1
at lucee.runtime.PageSourceImpl.loadPage(Unknown Source):-1
at lucee.runtime.PageContextImpl.doInclude(Unknown Source):-1
at lucee.runtime.PageContextImpl.doInclude(Unknown Source):-1
at lucee.runtime.PageContextImpl.handlePageException(Unknown Source):-1
at lucee.runtime.listener.ModernAppListener.onError(Unknown Source):-1
at lucee.runtime.PageContextImpl.execute(Unknown Source):-1
at lucee.runtime.PageContextImpl.execute(Unknown Source):-1
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(Unknown Source):-1
at lucee.loader.servlet.CFMLServlet.service(Unknown Source):-1
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727):727
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303):303
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208):208
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220):220
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122):122
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170):170
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98):98
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950):950
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116):116
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408):408
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040):1040
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607):607
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313):313
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145):1145
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615):615
at java.lang.Thread.run(Thread.java:745):745

I'm not sure if that is better or worse. At least it's a Lucee generated error. Static files are served fine.

I'm starting to think that this might be some sort of permissions issue.

Any ideas?

HTTP Status 404, LEMTL is not running

Hi,
i installed vagrant-lemtl on Windows 10 Server and after installation i can access the luccee admin or webroot. I get a 404 error message.

Here is my console output. any suggestions? Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'ubuntu/trusty64'... ==> default: Matching MAC address for NAT networking... ==> default: Checking if box 'ubuntu/trusty64' is up to date... ==> default: A newer version of the box 'ubuntu/trusty64' is available! You currently ==> default: have version '20170818.0.0'. The latest is version '20170914.0.0'. Run ==> default: vagrant box updateto update. ==> default: Setting the name of the VM: Vagrant-Lucee-v2.0.0 ==> default: Clearing any previously set forwarded ports... ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat default: Adapter 2: hostonly ==> default: Forwarding ports... default: 22 (guest) => 2222 (host) (adapter 1) ==> default: Running 'pre-boot' VM customizations... ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key default: default: Vagrant insecure key detected. Vagrant will automatically replace default: this with a newly generated keypair for better security. default: default: Inserting generated public key within guest... default: Removing insecure key from the guest if it's present... default: Key inserted! Disconnecting and reconnecting using new SSH key... ==> default: Machine booted and ready! ==> default: Checking for guest additions in VM... default: The guest additions on this VM do not match the installed version of default: VirtualBox! In most cases this is fine, but in rare cases it can default: prevent things such as shared folders from working properly. If you see default: shared folder errors, please make sure the guest additions within the default: virtual machine match the version of VirtualBox you have installed on default: your host and reload your VM. default: default: Guest Additions Version: 4.3.36 default: VirtualBox Version: 5.1 ==> default: [vagrant-hostsupdater] Checking for host entries ==> default: [vagrant-hostsupdater] Writing the following entries to (C:/Windows/system32/drivers/etc/hosts) ==> default: [vagrant-hostsupdater] 192.168.80.80 lucee.local # VAGRANT: 041bae3ab09b502421660429a695e835 (default) / 8518c0ec-6f1c-4d15-b4b5-03f56c13030b ==> default: [vagrant-hostsupdater] 192.168.80.80 www.lucee.local # VAGRANT: 041bae3ab09b502421660429a695e835 (default) / 8518c0ec-6f1c-4d15-b4b5-03f56c13030b ==> default: [vagrant-hostsupdater] 192.168.80.80 db.lucee.local # VAGRANT: 041bae3ab09b502421660429a695e835 (default) / 8518c0ec-6f1c-4d15-b4b5-03f56c13030b ==> default: [vagrant-hostsupdater] This operation requires administrative access. You may skip it by manually adding equivalent entries to the hosts file. ==> default: Setting hostname... ==> default: Configuring and enabling network interfaces... ==> default: Exporting NFS shared folders... ==> default: Preparing to edit nfs mounting file. [NFS] Status: halted [NFS] Start: started ==> default: Mounting NFS shared folders... ==> default: Mounting shared folders... default: /vagrant => C:/Users/UserHomeDir/Development/Lucee/vagrant-lemtl-master/vagrantroot ==> default: Running provisioner: shell... default: Running: C:/Users/UserHomeDir/AppData/Local/Temp/vagrant-shell20170919-5516-3gnfpx.sh ==> default: BEGIN Set VM timezone and perform some cleanup pre-install ... ==> default: Europe/Berlin ==> default: ==> default: Current default time zone: 'Europe/Berlin' ==> default: Local time is now: Tue Sep 19 22:33:05 CEST 2017. ==> default: Universal Time is now: Tue Sep 19 20:33:05 UTC 2017. ==> default: ... Doing a little housekeeping ... ==> default: dpkg-preconfigure: unable to re-open stdin: No such file or directory ==> default: dpkg-preconfigure: unable to re-open stdin: No such file or directory ==> default: Done. ==> default: Running depmod. ==> default: update-initramfs: deferring update (hook will be called later) ==> default: Examining /etc/kernel/postinst.d. ==> default: run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-132-generic /boot/vmlinuz-3.13.0-132-generic ==> default: run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-132-generic /boot/vmlinuz-3.13.0-132-generic ==> default: run-parts: executing /etc/kernel/postinst.d/initramfs-tools ==> default: 3.13.0-132-generic ==> default: /boot/vmlinuz-3.13.0-132-generic ==> default: update-initramfs: Generating /boot/initrd.img-3.13.0-132-generic ==> default: run-parts: executing /etc/kernel/postinst.d/update-notifier ==> default: 3.13.0-132-generic ==> default: /boot/vmlinuz-3.13.0-132-generic ==> default: run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-132-generic /boot/vmlinuz-3.13.0-132-generic ==> default: Generating grub configuration file ... ==> default: Found linux image: /boot/vmlinuz-3.13.0-132-generic ==> default: Found initrd image: /boot/initrd.img-3.13.0-132-generic ==> default: Found linux image: /boot/vmlinuz-3.13.0-129-generic ==> default: Found initrd image: /boot/initrd.img-3.13.0-129-generic ==> default: done ==> default: Examining /etc/kernel/header_postinst.d. ==> default: run-parts: executing /etc/kernel/header_postinst.d/dkms ==> default: 3.13.0-132-generic ==> default: /boot/vmlinuz-3.13.0-132-generic ==> default: ... END Set VM timezone and perform some cleanup pre-install. ==> default: ==> default: Running provisioner: shell... default: Running: C:/Users/UserHomeDir/AppData/Local/Temp/vagrant-shell20170919-5516-1oikt5w.sh ==> default: ================= START STEP-2-INSTALL-UTILITIES.SH 10:35:46 PM ================= ==> default: ==> default: BEGIN installing utilities ==> default: ... Installing miscellaneous/common utilities ... ==> default: dpkg-preconfigure: unable to re-open stdin: No such file or directory ==> default: gpg: keyring/tmp/tmps3j57r86/secring.gpg' created
==> default: gpg: keyring /tmp/tmps3j57r86/pubring.gpg' created ==> default: gpg: requesting key 86F44E2A from hkp server keyserver.ubuntu.com ==> default: gpg: /tmp/tmps3j57r86/trustdb.gpg: trustdb created ==> default: gpg: key 86F44E2A: public key "Launchpad OpenJDK builds (all archs)" imported ==> default: gpg: Total number processed: 1 ==> default: gpg: imported: 1 (RSA: 1) ==> default: dpkg-preconfigure: unable to re-open stdin: No such file or directory ==> default: /var/lib/dpkg/info/ca-certificates-java.postinst: line 53: java: command not found ==> default: /var/lib/dpkg/info/ca-certificates-java.postinst: line 66: java: command not found ==> default: /etc/ca-certificates/update.d/jks-keystore: 82: /etc/ca-certificates/update.d/jks-keystore: ==> default: java: not found ==> default: ... END installing utilities. ==> default: ==> default: ================= FINISH STEP-2-INSTALL-UTILITIES.SH 10:36:47 PM ================= ==> default: ==> default: Running provisioner: shell... default: Running: C:/Users/UserHomeDir/AppData/Local/Temp/vagrant-shell20170919-5516-gv5j2h.sh ==> default: ================= START STEP-3-INSTALL-TOMCAT.SH 10:36:47 PM ================= ==> default: ==> default: BEGIN setting up Tomcat ==> default: ... Installing Tomcat (grab a cup of coffee, this may take a few minutes) ... ==> default: dpkg-preconfigure: unable to re-open stdin: No such file or directory ==> default: ==> default: Creating config file /etc/default/tomcat7 with new version ==> default: Adding system user tomcat7' (UID 109) ...
==> default: Adding new user tomcat7' (UID 109) with group tomcat7' ...
==> default: Not creating home directory /usr/share/tomcat7'. ==> default: ==> default: Creating config file /etc/logrotate.d/tomcat7 with new version ==> default: * no JDK or JRE found - please set JAVA_HOME ==> default: invoke-rc.d: initscript tomcat7, action "start" failed. ==> default: ... Configuring Tomcat ... ==> default: ... END setting up Tomcat. ==> default: ==> default: ================= FINISH STEP-3-INSTALL-TOMCAT.SH 10:36:58 PM ================= ==> default: ==> default: Running provisioner: shell... default: Running: C:/Users/UserHomeDir/AppData/Local/Temp/vagrant-shell20170919-5516-1p6zvk6.sh ==> default: ================= START STEP-4-INSTALL-NGINX.SH 10:36:58 PM ================= ==> default: ==> default: BEGIN installing and configuring nginx ... ==> default: Applying nginx/development repo and updating packages ... ==> default: gpg: keyring /tmp/tmpxhkl47sa/secring.gpg' created
==> default: gpg: keyring `/tmp/tmpxhkl47sa/pubring.gpg' created
==> default: gpg: requesting key C300EE8C from hkp server keyserver.ubuntu.com
==> default: gpg: /tmp/tmpxhkl47sa/trustdb.gpg: trustdb created
==> default: gpg: key C300EE8C: public key "Launchpad Stable" imported
==> default: gpg: no ultimately trusted keys found
==> default: gpg: Total number processed: 1
==> default: gpg: imported: 1 (RSA: 1)
==> default: ... Installing nginx ...
==> default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> default: ... Configuring nginx ...
==> default: ... End installing and configuring nginx.
==> default:
==> default: ================= FINISH STEP-4-INSTALL-NGINX.SH 10:37:14 PM =================
==> default:
==> default: Running provisioner: shell...
default: Running: C:/Users/UserHomeDir/AppData/Local/Temp/vagrant-shell20170919-5516-37q722.sh
==> default: ================= START STEP-5-INSTALL-MARIADB.SH 10:37:14 PM =================
==> default:
==> default: BEGIN Database server setup ...
==> default: ... Importing key, adding MariaDB repo and updating ...
==> default: gpg: requesting key 1BB943DB from hkp server keyserver.ubuntu.com
==> default: gpg: key 1BB943DB: public key "MariaDB Package Signing Key [email protected]" imported
==> default: gpg: Total number processed: 1
==> default: gpg: imported: 1
==> default: ... Setting MariaDB root user password ...
==> default: ... Installing MariaDB Server ...
==> default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> default: * Stopping MariaDB database server mysqld
==> default: ...done.
==> default: 2017-09-19 22:38:14 140275569850304 [Note] /usr/sbin/mysqld (mysqld 10.1.26-MariaDB-1~trusty) starting as process 22218 ...
==> default: 2017-09-19 22:38:14 140275569850304 [Note] InnoDB: Using mutexes to ref count buffer pool pages
==> default: 2017-09-19 22:38:14 140275569850304 [Note] InnoDB: The InnoDB memory heap is disabled
==> default: 2017-09-19 22:38:14 140275569850304 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
==> default: 2017-09-19 22:38:14 140275569850304 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
==> default: 2017-09-19 22:38:14 140275569850304 [Note] InnoDB: Compressed tables use zlib 1.2.8
==> default: 2017-09-19 22:38:14 140275569850304 [Note] InnoDB: Using Linux native AIO
==> default: 2017-09-19 22:38:14 140275569850304 [Note] InnoDB: Using SSE crc32 instructions
==> default: 2017-09-19 22:38:14 140275569850304 [Note] InnoDB: Initializing buffer pool, size = 256.0M
==> default: 2017-09-19 22:38:14 140275569850304 [Note] InnoDB: Completed initialization of buffer pool
==> default: 2017-09-19 22:38:14 140275569850304 [Note] InnoDB: Highest supported file format is Barracuda.
==> default: 2017-09-19 22:38:14 140275569850304 [Note] InnoDB: 128 rollback segment(s) are active.
==> default: 2017-09-19 22:38:14 140275569850304 [Note] InnoDB: Waiting for purge to start
==> default: 2017-09-19 22:38:14 140275569850304 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.36-82.1 started; log sequence number 1616819
==> default: 2017-09-19 22:38:14 140275569850304 [Note] Plugin 'FEEDBACK' is disabled.
==> default: 2017-09-19 22:38:14 140274592380672 [Note] InnoDB: Dumping buffer pool(s) not yet started
==> default: * Starting MariaDB database server mysqld
==> default: ...done.
==> default: * Checking for corrupt, not cleanly closed and upgrade needing tables.
==> default: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
==> default: ... Setting up database and granting privileges ...
==> default: ... SQL file found, importing data (this may take a few minutes) ...
==> default: ... END Database server setup.
==> default:
==> default: ================= END STEP-5-INSTALL-MARIADB.SH 10:38:29 PM =================
==> default: Running provisioner: shell...
default: Running: C:/Users/UserHomeDir/AppData/Local/Temp/vagrant-shell20170919-5516-1go1b.sh
==> default:
==> default: Vagrant-Lucee-v2.0.0
==> default:
==> default: ========================================================================
==> default:
==> default: http://www.lucee.local (192.168.80.80)
==> default:
==> default: Lucee Server/Web Context Administrators
==> default:
==> default: http://www.lucee.local/lucee/admin/server.cfm
==> default: http://www.lucee.local/lucee/admin/web.cfm
==> default:
==> default: Password (for each admin): password
==> default:
==> default:
==> default: Database Server Connection Info for External Connections
==> default: from Host Machine
==> default:
==> default: Server: db.lucee.local
==> default: Port: 3306
==> default: User: root
==> default: Password: password
==> default:
==> default: ========================================================================

HTTP Status 404

Once I get the machine up I get the following message when I try to browse any of the urls. Any suggestions?

HTTP Status 404 -
type Status report
message
description The requested resource is not available.
Apache Tomcat/7.0.52 (Ubuntu)

I'm running:
On a Mac v 10.11.6
Vagrant 1.8.5
VirtualBox 5.0.25 (with the extension pack)

nginx log:
192.168.50.1 - - [04/Aug/2016:20:15:58 -0400] "GET /lucee/admin/server.cfm HTTP/1.1" 404 967 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36"
192.168.50.1 - - [04/Aug/2016:20:16:02 -0400] "GET / HTTP/1.1" 404 967 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36"
192.168.50.1 - - [04/Aug/2016:20:16:38 -0400] "GET / HTTP/1.1" 404 967 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.