MiniCodeMonkey / Vagrant-LAMP-Stack

A dead-simple LAMP stack without any bells and whistles for your basic Linux/Apache/MySQL/PHP install.
431 stars 173 forks source link

Won't Boot #11

Closed onato closed 10 years ago

onato commented 10 years ago

I get the following error when trying to vagrant up. Any ideas what is going wrong?

Generating chef JSON and uploading...
Running chef-solo...
stdin: is not a tty
[2013-11-15T08:21:34+00:00] INFO: *** Chef 10.14.2 ***
[2013-11-15T08:21:34+00:00] INFO: Setting the run_list to ["recipe[app::packages]", "recipe[app::web_server]", "recipe[app::vhost]", "recipe[memcached]", "recipe[app::db]", "recipe[postfix]"] from JSON
[2013-11-15T08:21:34+00:00] INFO: Run List is [recipe[app::packages], recipe[app::web_server], recipe[app::vhost], recipe[memcached], recipe[app::db], recipe[postfix]]
[2013-11-15T08:21:34+00:00] INFO: Run List expands to [app::packages, app::web_server, app::vhost, memcached, app::db, postfix]
[2013-11-15T08:21:34+00:00] INFO: Starting Chef Run for projectname.local
[2013-11-15T08:21:34+00:00] INFO: Running start handlers
[2013-11-15T08:21:34+00:00] INFO: Start handlers complete.
[2013-11-15T08:21:35+00:00] ERROR: Running exception handlers
[2013-11-15T08:21:35+00:00] ERROR: Exception handlers complete
[2013-11-15T08:21:35+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2013-11-15T08:21:35+00:00] FATAL: SyntaxError: compile error
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/postfix/metadata.rb:19: syntax error, unexpected ':', expecting $end
display_name: 'postfix/main',
             ^
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
MiniCodeMonkey commented 10 years ago

This have happened to numerous people.

I have created a ticket @ Opscode https://tickets.opscode.com/browse/COOK-3989

For now, you can temporarily disable postfix by removing it from the run list in your Vagrantfile and run "vagrant reload"

Mathias Hansen

On Fri, Nov 15, 2013 at 3:25 AM, Stephen Williams notifications@github.com wrote:

I get the following error when trying to vagrant up. Any ideas what is going wrong?

Generating chef JSON and uploading...
Running chef-solo...
stdin: is not a tty
[2013-11-15T08:21:34+00:00] INFO: *** Chef 10.14.2 ***
[2013-11-15T08:21:34+00:00] INFO: Setting the run_list to ["recipe[app::packages]", "recipe[app::web_server]", "recipe[app::vhost]", "recipe[memcached]", "recipe[app::db]", "recipe[postfix]"] from JSON
[2013-11-15T08:21:34+00:00] INFO: Run List is [recipe[app::packages], recipe[app::web_server], recipe[app::vhost], recipe[memcached], recipe[app::db], recipe[postfix]]
[2013-11-15T08:21:34+00:00] INFO: Run List expands to [app::packages, app::web_server, app::vhost, memcached, app::db, postfix]
[2013-11-15T08:21:34+00:00] INFO: Starting Chef Run for projectname.local
[2013-11-15T08:21:34+00:00] INFO: Running start handlers
[2013-11-15T08:21:34+00:00] INFO: Start handlers complete.
[2013-11-15T08:21:35+00:00] ERROR: Running exception handlers
[2013-11-15T08:21:35+00:00] ERROR: Exception handlers complete
[2013-11-15T08:21:35+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2013-11-15T08:21:35+00:00] FATAL: SyntaxError: compile error
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/postfix/metadata.rb:19: syntax error, unexpected ':', expecting $end
display_name: 'postfix/main',
             ^
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.

Reply to this email directly or view it on GitHub: https://github.com/MiniCodeMonkey/Vagrant-LAMP-Stack/issues/11

dkinzer commented 10 years ago

I'm seeing this same issue; using postfix v 3.0.2 fixes it for the time being.