Tag Archives: server

Rackspace: Exit Rescue Mode

The Rackspace documentation says on exiting rescue server mode: Once you are done troubleshooting your system, you can exit Rescue Mode by clicking the link labeled Exit Rescue Mode in the Rackspace Cloud Control Panel under your Server Details page. I couldn’t seem to find the link. The solution? Visit the list of servers. Click the server name to go to the details page. And the most important key? Wait. It may take a few seconds (~10) before the “Exist Rescue Mode” box pops up with an option to quit recovery mode and reboot into normal server operations.

Posted in Server Admin, Tech Tips | Tagged , | Leave a comment

chef knife setup

For more info you can visit the knife configuration page on opscode % knife –help Usage: knife sub-command (options) -s, –server-url URL Chef Server URL -k, –key KEY API Client Key –[no-]color Use colored output, defaults to enabled -c, –config CONFIG The configuration file to use –defaults Accept default values for all questions -d, –disable-editing Do not open EDITOR, just accept the data as is -e, –editor EDITOR Set the editor to use for interactive commands -E, –environment ENVIRONMENT Set the Chef environment -F, –format FORMAT Which format to use for output -u, –user USER API Client Username –print-after Show the data after a destructive operation -V, –verbose More verbose output. Use twice for max verbosity -v, –version Show chef version -y, –yes Say yes to all prompts for confirmation -h, –help Show this message

Posted in Tech Tips | Tagged , , , | Leave a comment

ec2 server create syntax (man page)

This is the knife create syntax page. I was trying to launch an instance of Chef with the “knife create” command that chef’s knife provides. The documentation page gives this example for how to launch a web server on Amazon’s EC2 server, but without much explanation of the terms: knife ec2 server create -r “role[webserver]” -I ami-2d4aa444 –flavor m1.small -G www,default -x ubuntu -N server01 After doing some searching I just ended up digging into the code and found this information quite helpful, and so I am sharing it: -f FLAVOR ( or –flavor FLAVOR ) The flavor of server (m1.small, m1.medium, etc) default: m1.small -I IMAGE ( or –image IMAGE ) The AMI for the server -G X,Y,Z ( or –groups X,Y,Z ) The security groups for this server default: “default” -Z ZONE ( or –availability-zone ZONE ) The Availability Zone default: us-east-1b -N NAME ( or –node-name NAME ) The Chef node name for your new node -S KEY ( or –ssh-key KEY ) The AWS SSH key id -x USERNAME ( or –ssh-user USERNAME ) The ssh username default: root -P PASSWORD ( or –ssh-password PASSWORD ) The ssh password -i IDENTITY_FILE ( or –identity-file IDENTITY_FILE ) The SSH identity file used for authentication –prerelease Install the pre-release chef gems –bootstrap-version VERSION The version of Chef to install -d DISTRO ( or –distro DISTRO ) Bootstrap a distro using a template default: ubuntu10.04-gems –template-file TEMPLATE Full path to location of template to use –ebs-size SIZE The size of … Continue reading

Posted in Linux, Server Admin, Server Administration, Tech Tips, Web Development | Tagged , , , , , , | Leave a comment

Adobe Illustrator Could Not Find The Linked File [Solved]

I’ve written an app for OS X that will take an Adobe Illustrator file with broken links / liked files, and run through those trying to relink them automatically. Instructions Open the Adobe Illustrator (.ai) file with Illustrator. This application has been confirmed to work with Illustrator versions CS3, CS4, CS5, and CS6, and Adobe Creative Cloud Choose “Ignore” or “Ignore / Apply to All” to the messages about the missing files when the document is opening. Those are typically something like “Could not find the linked file / Choose Replace to select another file or Ignore to leave the link unchanged.” Run the Fix Linked Files App that you downloaded / installed. You will be prompted for a directory to search (recursively) for the missing linked files. By default this is set to three levels up from where the Adobe Illustrator file with the missing linked files is located. Please note: If you choose the root folder ( / ) or a folder with many files in it, it may take some time for the system to search for the linked files. I would suggest choosing the most restrictive path possible to start with. After the app has completed, any linked files found will be updated (and will show up normally) in Adobe Illustrator. Save the AI file and the linked files will continue your workflow with all the linked resources now fixed! Next time you open this file all of the resources will remain fixed and you will … Continue reading

Posted in Mac, Software, Tech Tips | Tagged , , , , , , , , , , , , , | 31 Comments