This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I'm having a pretty odd problem: | |
root@shells01:~# postmap hash:/etc/postfix/sasl_passwd | |
postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied | |
I'm trying to follow http://docs.aws.amazon.com/ses/latest/DeveloperGuide/postfix.html to integrate with Amazon SES. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I'm having a pretty odd problem: | |
root@shells01:~# postmap hash:/etc/postfix/sasl_passwd | |
postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied | |
I'm trying to follow http://docs.aws.amazon.com/ses/latest/DeveloperGuide/postfix.html to integrate with Amazon SES. | |
Strace says that postmap is trying to open the target file as O_RDONLY just before failing because it is not found: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Justins-MacBook-Pro:hello justizin$ target/hello | |
10000 requests made thus far. Current means: | |
- Total: 100%, 938597.9242 | |
- Spawn: 70.285138%, 659694.849 | |
- Load request: 17.828483%, 167337.7759 | |
- Initialise response: 0.21832%, 2049.1455 | |
- Handle: 11.668058%, 109516.1538 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ journalctl -u fleet | |
-- Logs begin at Sun 2014-06-08 00:46:38 UTC, end at Tue 2014-06-10 21:03:13 UTC. -- | |
Jun 10 20:47:22 ip-10-168-217-193 systemd[1]: Stopping fleet... | |
Jun 10 20:47:22 ip-10-168-217-193 systemd[1]: fleet.service: main process exited, code=exited, status=2/INVALIDARGUMENT | |
Jun 10 20:47:22 ip-10-168-217-193 systemd[1]: Stopped fleet. | |
Jun 10 20:47:22 ip-10-168-217-193 systemd[1]: Unit fleet.service entered failed state. | |
-- Reboot -- | |
Jun 10 20:48:16 ip-10-168-217-193 systemd[1]: Starting fleet... | |
Jun 10 20:48:16 ip-10-168-217-193 systemd[1]: Started fleet. | |
Jun 10 20:48:17 ip-10-168-217-193 fleet[3028]: I0610 20:48:17.317611 03028 fleet.go:143] No provided or default config file found - proceeding without |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- list-units | |
$ fleetctl list-units | |
UNIT STATE LOAD ACTIVE SUB DESC MACHINE | |
hipmunk-frontend.service inactive - - - Hipmunk Frontend - | |
registry.service inactive - - - Hipmunk Docker Registry - | |
vulcan.service inactive - - - Vulcan - | |
-- journalctl -u registry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Justins-MacBook-Pro:coreos-vagrant justizin$ vagrant up | |
/Applications/Vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/which.rb:32: warning: Insecure world writable dir /Users in PATH, mode 040777 | |
Bringing machine 'core-01' up with 'virtualbox' provider... | |
[core-01] Box 'coreos-alpha' was not found. Fetching box from specified URL for | |
the provider 'virtualbox'. Note that if the URL does not have | |
a box for this provider, you should interrupt Vagrant now and add | |
the box yourself. Otherwise Vagrant will attempt to download the | |
full box prior to discovering this error. | |
Downloading box from URL: http://alpha.release.core-os.net/amd64-usr/current/coreos_production_vagrant.json | |
Extracting box...e: 0/s, Estimated time remaining: --:--:--) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
core@ip-10-168-98-63 ~ $ journalctl -u fleet | grep registry | |
Jun 02 18:45:35 ip-10-168-98-63 fleet[4923]: github.com/coreos/fleet/registry.watch(0xc210051c00, 0x26af, 0xc21004d6c0, 0xc2100a67c0, 0x16, ...) | |
Jun 02 18:45:35 ip-10-168-98-63 fleet[4923]: /build/amd64-usr/tmp/portage/app-admin/fleet-0.2.0/work/fleet-0.2.0/gopath/src/github.com/coreos/fleet/registry/event.go:71 +0x337 | |
Jun 02 18:45:35 ip-10-168-98-63 fleet[4923]: created by github.com/coreos/fleet/registry.(*EventStream).Stream | |
Jun 02 18:45:35 ip-10-168-98-63 fleet[4923]: /build/amd64-usr/tmp/portage/app-admin/fleet-0.2.0/work/fleet-0.2.0/gopath/src/github.com/coreos/fleet/registry/event.go:34 +0x655 | |
Jun 02 18:45:35 ip-10-168-98-63 fleet[4923]: github.com/coreos/fleet/registry.(*Registry).CreateJobOffer(0xc210000440, 0xc210209400) | |
Jun 02 18:45:35 ip-10-168-98-63 fleet[4923]: /build/amd64-usr/tmp/portage/app-admin/fleet-0.2.0/work/fleet-0.2.0/gopath/src/github.com/coreos/fleet/registry/offer.go:25 +0x17e | |
Jun 02 18:45:35 ip-10-168-98-63 fleet[4923]: g |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node.default[:ganglia][:grid_name] = 'hipmunk' | |
node.default[:ganglia][:version] = '3.6.0' | |
#node.default[:ganglia][:uri] = 'https://github.com/ganglia/monitor-core/archive/3.7.0.tar.gz' | |
node.default[:ganglia][:unicast] = true | |
node.default[:ganglia][:spoof_hostname] = true | |
node.default[:ganglia][:collector][:use_runit] = true | |
node.default[:ganglia][:clusterport] = { | |
# :ec2 => 18650, | |
:default => 18651, | |
:misc => 18651, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Cookbook Name:: hipmunk-graphs | |
# Recipe:: default | |
# | |
# Copyright (C) 2014 YOUR_NAME | |
# | |
# All rights reserved - Do Not Redistribute | |
# | |
include_recipe 'ganglia::gmond_collector' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Cookbook Name:: hipmunk-graphs | |
# Recipe:: default | |
# | |
# Copyright (C) 2014 Justin Alan Ryan | |
# | |
# All rights reserved - Do Not Redistribute | |
# | |
include_recipe 'apt' |