So while installing Splunk DB connect I ran into an issue where it would return: "The specified JAVA_HOME is invalid: Unable to determine Java version: openjdk version "1.7.0_25" OpenJDK Runtime Environment (build 1.7.0_25-b15) OpenJDK 64-Bit Server VM (build 23.21-b01, mixed mode)"
We run OpenJDK in our shop, and to fix this I had to edit the init file for the Splunk DB Connect Plugin.
What I did was edit the file $SPLUNK_HOME/etc/apps/dbx/bin/spp/java/__init__.py Line 92:
m = re.search("java version \"?([^\s\"]+)\"?", output, flags=re.MULTILINE)
m = re.search("openjdk version \"?([^\s\"]+)\"?", output, flags=re.MULTILINE)
So, 2012 went by far too quickly. I think I definitely have reached a zen with my life and have started appreciating it even more every day. I have an amazing new job in Marina Del Rey, where I work with the best group of people I’ve ever met. I purchased my first new car in September 2012, choosing the 2013 Scion FR-S; I had been following it for a few years on the automotive blogs and it was definitely in a good price range. My girlfriend was supportive and the numbers made sense so I did it!
I’m definitely in love with my girlfriend Grace, we live together with our 2 cats and 1 year old Labrador. Happily, I might add 🙂 This year my goal is to lose weight, eat healthier, and all that cliche stuff. I definitely mean it this year though, I have an ambitious goal of 50 lbs to lose. If I type it online in a post like this then I figure I’m committed a bit more.
I think I’ll try and make this blog a little more technical, so in between short personal posts I’ll post things that might be helpful for the internets as I’m always learning and trying new things at work. Did I mention, I love my job?
Hello Everyone! It has been well over a year since I have posted to this blog, and for that I’m not sure if I want to apologize. We all know that people get so caught up in their own lives, that it can be sometimes difficult to keep up with others.
For the past year, I have been living in Austin TX working at HostGator as a Security Administrator. I have truly enjoyed working at HostGator, and have benefited from it more than I could have asked to. My last day at HostGator is on the 23rd (This Thursday), as I pursue other opportunities in my life. (More below.)
I am about to embark on one of the largest adventures so far in my life, as I have accepted a new position in Los Angeles, California working at Dreamhost as a Systems Administrator. I’m really excited about this, and I feel confident that I am ready to take on any challenges I may encounter.
I’ve also recently adopted a puppy, named JJ. He is a Lab/Retriever mix, and he’s a bundle of fun.
I’m sort of ready for the drive to LA, not entirely looking forward to the 20 hour drive, but we shall see how I do.
Recently, I answered a question on the website “Quora“, about how to “Estimate web hosting expenses for a project.” The answer I supplied was so detailed, I felt the need to re-write it for a blog post to share with the world.
Your hosting expenses all depend on what type of hosting you choose to use.
If you can, setup some Cloud Servers, in a highly redundant configuration using something along the lines of HAProxy, or any other solution you find appropriate.
You may be able to save money by offloading some of the traffic to a CDN (Images, CSS, File Downloads, Profile Pictures, etc)
If you decide to use Virtual Servers (“Cloud” Servers), ensure you perform all the optimizations you can, as best as you can. When it comes to virtual servers, thankfully have the ability to change the amount of RAM allocated to your server, which coincides with your CPU allocation, as well as your port speed ( A 256MB Cloud Server may have a 10Mbit Connection, whereas you should be able to get a Gigabit out of a 16 GB Cloud Server, in theory)
If you choose to use something like Cloud Sites, then your main factors are Bandwidth, and “Compute Cycles”, which I can’t get into legally (NDAs), but basically it’s how much CPU usage your site uses, based off of the traffic. You get the equivalent of what they say is a “2.8 GHZ Dual Core Server” (If I recall correctly) with Cloud Sites.
However, once again, I HIGHLY recommend setting up your own virtual servers. They are more cost effective, secure, and you can predict your usage easier (Avg. Bandwidth, CPU Usage, RAM, etc)
If you don’t control your servers, you leave your websites security, and performance in the hands of a team that has hundreds of thousands of other websites they’re also worrying about.
If you have questions, feel free to reach out to me! I specialize in this area, and through my company I can offer services setting/maintaining/consulting.
Today I decided to vote on a rather useless poll. There was a box on the right hand of Facebook asking me how far I’d travel for a McDonalds McRib sandwich. The options were:
Around the block
Up to 50 miles
Anywhere in the world
Obviously, I chose around the block, as I have never tried a McRib (There’s my disclaimer), but do not feel the need to travel any of the either distances for fast food. Then I noticed something right under the poll results that said “See how your friends voted.” What? When did this happen, or have I never noticed it? I quickly took to my privacy settings on Facebook and could not find anything pertaining to “Poll Results” and my privacy. What if I participate in a highly personal (Sure, maybe sponsored) poll on Facebook, and it’s my opinion and I may choose not to share it with my Facebook friends. I currently do not have that option, only the option to not participate at all in the poll.
Tread your privacy waters carefully Facebook…you’ve been doing decent so far in responding to the community as a whole on privacy issues, I just think this is a small bump in the road for you guys.