Skip to main content

Posts

Mac OS X - rackspace-novaclient - UserWarning: Unknown distribution option: 'pbr'

Faulty install logs below. $ sudo pip install rackspace-novaclient --verbose Downloading/unpacking rackspace-novaclient   Running setup.py egg_info for package rackspace-novaclient     running egg_info     writing requirements to pip-egg-info/rackspace_novaclient.egg-info/requires.txt     writing pip-egg-info/rackspace_novaclient.egg-info/PKG-INFO     writing top-level names to pip-egg-info/rackspace_novaclient.egg-info/top_level.txt     writing dependency_links to pip-egg-info/rackspace_novaclient.egg-info/dependency_links.txt     warning: manifest_maker: standard file '-c' not found     reading manifest file 'pip-egg-info/rackspace_novaclient.egg-info/SOURCES.txt'     writing manifest file 'pip-egg-info/rackspace_novaclient.egg-info/SOURCES.txt' Downloading/unpacking python-novaclient (from rackspace-novaclient)   Running setup.py egg_info for package python-novaclient     /System/...

Eclipse AWS Toolkit error Missing requirement: IdentityManagement

Error when installing Eclipse AWS Toolkit: Cannot complete the install because one or more required items could not be found. Software currently installed: AWS Toolkit for Eclipse Core 2.0.1.v201305021159 (com.amazonaws.eclipse.core.feature.feature.group 2.0.1.v201305021159) Missing requirement: IdentityManagement 1.0.0.v201305021159 (com.amazonaws.eclipse.identitymanagement 1.0.0.v201305021159) requires 'bundle com.amazonaws.eclipse.ec2 1.1.0' but it could not be found Cannot satisfy dependency: From: AWS Toolkit for Eclipse Core 2.0.1.v201305021159 (com.amazonaws.eclipse.core.feature.feature.group 2.0.1.v201305021159) To: com.amazonaws.eclipse.identitymanagement [1.0.0.v201305021159] Resolution: Install EC2 Management first to get IdentityManagement.

Google Apps migration for Microsoft Exchange - ERROR: invalid source server or invalid user ids

The first few lines of the log file contain: 2011-07-22T18:20:41.166-07:00 910 E:Generic ExchangeMigration!GetOutlookExePath @ 24 ()> Failed with 0x80070002, last successful line = 17. 2011-07-22T18:20:41.166-07:00 910 E:Generic ExchangeMigration!GetOutlookVersion @ 255 ()> Failed with 0x80070002, last successful line = 247. 2011-07-22T18:20:41.166-07:00 910 E:Generic ExchangeMigration!GetOfficeRegistryBase @ 356 ()> Failed with 0x80070002, last successful line = 354. 2011-07-22T18:20:41.166-07:00 910 E:Generic ExchangeMigration!ResourceStrings::GetOutlookLanguage @ 89 ()> Failed with 0x80070002, last successful line = 76. Configuration: Exe name: C:\Program Files (x86)\Google\Google Apps Migration\ExchangeMigration.exe Install Microsoft Outlook (trial should also work).

Zenoss and splunk python issues

FIX: Add `unset PYTHONPATH` in splunk boot script (e.g. /etc/init.d/splunk) root@zenoss:/opt/splunk/bin# ./splunk start Splunk> Take the sh out of IT. Checking prerequisites... Checking http port [8000]: open Checking mgmt port [8089]: open Checking configuration... *** glibc detected *** python: free(): invalid pointer: 0x09c26100 *** ======= Backtrace: ========= /lib/tls/i686/nosegneg/libc.so.6(+0x6c321)[0xb76cf321] /lib/tls/i686/nosegneg/libc.so.6(+0x6db78)[0xb76d0b78] /lib/tls/i686/nosegneg/libc.so.6(cfree+0x6d)[0xb76d3c9d] python[0x80ae4d0] /usr/local/zenoss/python/lib/python2.6/site-packages/_xmlplus/parsers/pyexpat.so(+0x4a2f)[0xb6fc9a2f] /usr/local/zenoss/python/lib/python2.6/site-packages/_xmlplus/parsers/pyexpat.so(+0xb881)[0xb6fd0881] /usr/local/zenoss/python/lib/python2.6/site-packages/_xmlplus/parsers/pyexpat.so(+0xd348)[0xb6fd2348] /usr/local/zenoss/python/lib/python2.6/site-packages/_xmlplus/parsers/pyexpat.so(+0x118d7)[0xb6fd68d7] /usr/local/z...

Authorization error with API user knife initialization `knife configure -i`

Notice these errors. First error shows the API user of knife (root) failed to authenticate: # knife client list WARN: HTTP Request Returned 401 Unauthorized: Failed to authenticate! /usr/lib/ruby/1.8/net/http.rb:2101:in `error!': 401 "Unauthorized" (Net::HTTPServerException) from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/rest.rb:217:in `api_request' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/rest.rb:268:in `retriable_rest_request' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/rest.rb:198:in `api_request' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/rest.rb:101:in `get_rest' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/api_client.rb:185:in `list' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/knife/client_list.rb:35:in `run' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/application/knife.rb:115:in `run' from /usr/lib/ruby/gems/1.8/...

Wavecom WMOD2 manuals / AT commands

http://mirakulo.com/pub/wavecom-wmod2/ [ ] WMOD2Buserman.pdf 20-Jun-2010 16:27 164K [ ] X421Modem.zip 20-Jun-2010 16:28 578K [ ] XModem_dwl_v10.PDF 20-Jun-2010 16:28 599K [ ] atph2step3.pdf 20-Jun-2010 16:27 1.4M [ ] step3relnote7c.pdf 20-Jun-2010 16:28 58K

Docsis-server install in Ubuntu 8.04

Base guide is here http://users.accesscomm.ca/docsis_server/howto_1.html I installed docsis first so this package might have dependencies already installed from docsis. wget http://users.accesscomm.ca/docsis_server/docsis-server-current.tar.bz2 bunzip aptitude install m4 ./configure it will look for m4 see if m4 is installed `which m4` if not, aptitude install m4 if already installed, mod configure script to do the m4 check correctly: look for this line, if test "x$ac_is_gnu_m4" = "xGNU"; then change it to: if test "x$ac_is_gnu_m4" = "xm4"; then run ./configure again if you get this error: checking for mysql_config... /usr/libexec/mysql_config configure: error: You need at least mysql 4.0.0, get it at http://www.mysql.com aptitude install mysql-client mysql-server libmysqlclient15-dev run ./configure again make make install verify root@tds-stg-dhcp02:~/docsis_server-3.5# ls /usr/local/sbin/ Count_IPs Delete_Old_Leases FindIP ListMessa...

docsis source code install in Ubuntu 8.04

wget http://downloads.sourceforge.net/project/docsis/docsis/docsis-0.9.5/docsis-0.9.5.tar.gz?use_mirror=nchc untar goto docsis-0.9.5 dir aptitude install m4 bison libsnmp-base libsnmp15 snmpd libsnmp-dev flex ./configure it will look for m4 see if m4 is installed `which m4` if not, aptitude install m4 if already installed, mod configure script to do the m4 check correctly: look for this line, if test "x$ac_is_gnu_m4" = "xGNU"; then change it to: if test "x$ac_is_gnu_m4" = "xm4"; then run ./configure again it will look for bison, aptitude install bison and run ./configure again `make` make sure you install flex or you will get an error from sed about a file not being found if you get an error about floor: undefined reference to `floor' goto root@tds-stg-dhcp02:~/docsis-0.9.5# vim src/Makefile look for this line: LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ and add the math funct...

UUID conflict and iclassify

If you noticed that iclassify node is overwritten when updating facts using icagent, this is because icagent UUID is conflicting. At first, I thought it's VMware's BIOS UUID. Download and install a fresh copy of iclassify (with icagent), and run to initialize a fresh icagent UUID. You might encounter: agent.rb:26:in `initialize': undefined method `random_create' for UUID:Class (NoMethodError) Fix: use uuidtools (1.0.3)

iClassify sv errors

Problem: 5000: false: warning: /etc/sv/mongrel-iclassify-5000: unable to open supervise/status: file does not exist 5001: false: warning: /etc/sv/mongrel-iclassify-5001: unable to open supervise/ok: file does not exist 5002: false: warning: /etc/sv/mongrel-iclassify-5002: unable to open supervise/ok: file does not exist 5003: false: warning: /etc/sv/mongrel-iclassify-5003: unable to open supervise/ok: file does not exist 5004: false: warning: /etc/sv/mongrel-iclassify-5004: unable to open supervise/ok: file does not exist Fix: I am not sure if this is the correct combination: aptitude install svtools Reboot machine.

Ebay scammer

+639056538210 09056538210 Gene Paminiano Claiming to be his wife: Ramona Carmen Paminiano City States savings account# 011-22-001124-3 TIP: Do not push with the transaction without hearing the seller/buyer's voice on the phone. Record the conversation for publicity purposes.

Zenoss: monitor free VMWare ESXi version

We confirmed that the free ESXi version does not allow SNMP gets, only traps. The original script was taken from here: http://communities.vmware.com/docs/DOC-7170 Modified script: http://mirakulo.com/pub/esxi/check_esx_wbmem.py We added Fan and power supply, hinted from this page: http://www.stephenjc.com/2009/01/whatsup-vmware-esxi-monitor-these.html Use this guide to add the Data source: http://www.zenoss.com/community/docs/howtos/create-modify-nagios-templates Added as template under: /Devices /Server /VMWare /ESXi /Templates /esxi-monitor /check_esx_wbmem Name: check_esx_wbmem Source Type: Command Enable true Use SSH false Component: blank Event class: /VMWare/ESXi Severity: Error Cycle time: 60 Parser: auto Command template: /usr/local/zenoss/python/bin/python /opt/zenoss/libexec/check_esx_wbmem.py https://${dev/manageIp}:5989 root passwd To bind this template to ESXi nodes, go to the device: Example: /Devices /Server /VMWare /ESXi /esxi-01.prod.corp.org then to its temp...

Auto-update putty session list in mRemote

> Steps to repro: > > 1) Create a connection with Protocol set to SSH2. > 2) Browse Putty session list. (Ooops. I want to use a session in the list) > 3) Create the session under Putty > 4) Go back to mRemote and browse Putty session list. > > Session list still does not have the newly created session. The author suggested: start putty by going to Tools - Options - Advanced - Launch PuTTY solves the problem.

Ubuntu on Intel D945GCLF (with Intel Atom)

The rig: D945GCLF board Intel Atom @ 1.6GHZ w/HT It looks like it's a linux kernel bug: http://www.gossamer-threads.com/lists/linux/kernel/982159 The ethernet controller is: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev ff) does not seem to work in any of the Ubuntu versions. Fix: recompile the kernel with patch You can download my patched packages here (currently uploading, let me know if something is missing): http://mirakulo.com/pub/linux-image-2.6.24-21-patched/ NOTE: I got the .udeb packages because of this warning: dpkg-gencontrol: warning: deb package with udeb specific field Kernel-Version or you can do the following steps if you don't trust me: apt-get source linux-source-2.6.24 apt-get build-dep linux-source-2.6.24 aptitude install install devscripts build-essential fakeroot cd linux-2.6.24/ Get this patch: http://bugzilla.kernel.org/attachment.cgi?id=17604&action=view patch -p 1 debuild -us -uc -b Install the kernel that...