- download MacPython 2.7 for 10.6 (64bit goodness), older versions are 32bits packages.
- download Setuptools (easy_install) egg for python 2.7
- download MySql 64bit for OSX 10.6 mysql-5.1.53-osx10.6-x86_64.dmg
This file contains hidden or 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
cd / | |
curl -k http://pkgsrc.joyent.com/packages/SmartOS/bootstrap/bootstrap-2015Q2-x86_64.tar.gz | gzcat | tar -xf - | |
pkg_admin rebuild | |
pkgin -y up | |
pkgin in python27 |
This file contains hidden or 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
#!/bin/sh | |
# get and install joyent pkgsrc repo | |
mkdir -p /content/{distfiles,packages} | |
cd /content | |
git clone git://github.com/joyent/pkgsrc.git | |
cd pkgsrc | |
git checkout joyent/release/2014Q4 | |
# edit mk.conf |
This file contains hidden or 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
{ | |
"brand": "joyent", | |
"image_uuid": "b67492c2-055c-11e5-85d8-8b039ac981ec", #base-64-lts | |
"alias": "blackdot", | |
"hostname": "blackdot", | |
"max_physical_memory": 1700, | |
"quota": 200, | |
"resolvers": ["8.8.8.8", "192.168.178.1"], | |
"nics": [ | |
{ |
This file contains hidden or 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
[smartos-zones] | |
192.168.178.25 | |
# modify python path | |
[smartos-zones:vars] | |
ansible_python_interpreter = /opt/local/bin/python | |
# ansible command | |
# ansible -i ./inventory all -m ping -u root |
We have also seen skiplist corruption in seen databases. I don't have a recovery tool, but I have been able to manually recover seen db's to the point of corruption so that at least most of the users mails are in the correct 'read' state. Typically, you will see errors like:
DBERROR: skiplist recovery /usr/local/imap/user/k/kdelaney.seen: 0D2C should be ADD or DELETE
If you truncate the file at this point, it should fix the problem, and the users mail read state will be valid upto the point of corruption.