ReadyNAS slow blinking blue light, can’t connect

We have an old (from 2005!) ReadyNAS1000
I wanted to be able to ssh to it, so I tried installing the SSH add-on. At first I chose the wrong version, then I found I need the ‘sparc’ version. It installed and told me to reboot. After that, the unit appeared temporarily in RAIDar with a solid blue dot and the message File System Check, 100%.

After about 5 minutes, it disappeared from RAIDar and couldn’t connect. The blue led is blinking slowly and the volume light is green.

I tried rebooting into “skip volume check” mode, but that produced the same result.

Based on some forum suggestions, I tried removing one drive (with the power off) and then it booted up OK, I am able to connect in RAIDar and I put the drive back in, it’s rebuilding now.

UPDATE: AFter the rebuild things seemed great, everything was working. So I tried rebooting and ended up with the same result: Slowly blinking blue light and no NAS available on RAIDar. Factory reset time??

UPDATE2: Success! Not sure if it even did anything, but I held in the reset button with a pen until all the green leds flashed once. That apparently reset the password (to admin netgear1) and after that it told me it detected an unclean shutdown and to do a reboot and volume check – after that it took about 10 or 15 minutes and came up green on RAIDar, hooray.

Posted in Uncategorized | 3 Comments

Chrome tabs turning into windows

Ever since a few days ago, my tabs keep turning into windows when I barely even touch them.
I searched around on google, and apparently i am not alone!

At least it’s not (yet?) happening on other computers around here.

Posted in Uncategorized | Leave a comment

ip addresses…. can’t take them with you?

remember a long time ago when cell phone numbers stayed with the company that issued them; to switch carriers you had to change your phone number, and inform everyone you know, what a pita!
Now ip addresses are still like that. If you want to switch carriers, you need to change your ip address and update all your DNS servers with the new info. When you have hundreds of domains using DNS servers belonging to a handful of registrars, that is a disincentive to changing carriers.
Why can’t we take our ip block with us, and have the new provider route it? Sure the routing tables would become a nightmare mess, but that’s gotta be great job security for someone somewhere…

Posted in Uncategorized | Leave a comment

3ware Error: The firmware is incompatible with BIOS

Solved!
I saw this new (for me) problem today
Waiting for 3ware Controller to Initialize… There is no response from the firmware
Please hit a key to continue. The firmware is incompatible with BIOS.
The machine is a 2.2 TB NAS with a Super Micro p8SCi motherboard.
I called 3ware tech support, and they said to reseat the card. I unplugged the riser card (since the machine is in a 2U case), raid card, and reseated them. Now it works fine. Phew!

I had tried rebooting, unplugging the power cord, and mucking with the BIOS settings to no avail.

Posted in Uncategorized | 1 Comment

Slave_IO_Running = No

We run MySQL replication through stunnel. After rebooting the slaves, sometimes replication won’t start and with SHOW SLAVE STATUS we see Slave_IO_Running = No.
To fix this, I found that I can simply stop and start stunnel and then replication started again!
/etc/init.d/stunnel4 stop
/etc/init.d/stunnel4 start
mysql
show slave status
Slave_IO_Running = Yes
Seconds_Behind_Master = decreasing / catching up…

Posted in Uncategorized | Leave a comment

How to test and disable TRACE requests in Apache

Some PCI compliance tests may fail due to “TRACE” being allowed on the web server.
To test whether your web server allows TRACE, do this:

telnet 127.0.0.1 80
TRACE / HTTP/1.0
Host: www.whatever.com
[CR] ( blank line with carriage return only)

Instead of ‘[CR]’, enter a blank line after the “Host: whatever” line. If your server outputs some information including the same ‘Host: whatever’ that you entered, you are “vulnerable”.

To disable this vulnerability, add this to the apache httpd.conf “Main server configuration” section:

# Disable Trace requests:
TraceEnable off

Then restart apache. The test above should return a document stating “405 Method Not Allowed” – you are now in compliance (for this test at least!)

Posted in Uncategorized | 1 Comment

While upgrading OpenSSL configure: error: … Error, SSL/TLS libraries were missing or unusable

I wanted to upgrade to the latest OpenSSL (1.0.1c) but after doing so, httpd would not install correctly and bombed with the error “configure: error: … Error, SSL/TLS libraries were missing or unusable”

I was able to correct this by following this suggestion by ‘enigma1’

precede the apache configure command with { env LDFLAGS=”-ldl” } like so:
env LDFLAGS=”-ldl” ./configure …………………….

Posted in Uncategorized | Leave a comment

VMWare: could not open the client device (CD-ROM)

I’m trying to connect my virtual to my local computer’s CD ROM but I keep seeing the error:

Could not open the client device “D:” It is being used by another virtual machine or some other program

Even though I know it’s not in use! Here is a solution

Right-click the VM -> Edit Settings -> CD/DVD Drive 1 -> Emulate IDE

Problem solved.

Posted in Uncategorized | 7 Comments

Install git on CentOS

I wanted to put git on one of my CentOS 5.5 servers. Following the links to download the source led to a web page advising to install with yum. But when I tried,

# yum install git
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.usc.edu
* extras: mirrors.usc.edu
* updates: mirrors.usc.edu
Setting up Install Process
No package git available.
Nothing to do

frustrating! Here’s the solution, add the webtatic repository first:
# Add the repository
rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm

# Install the latest version of git
yum install --enablerepo=webtatic git-all

a lot of dependencies were installed and updated. I didn’t need the workaround mentioned, but in case someone else might:
To work around Missing Dependency: perl(Git) errors:
yum install --enablerepo=webtatic --disableexcludes=main git-all

Posted in Uncategorized | Leave a comment

VMware: Server version unavailable at ‘https://MYHOST:443/sdk/vimService.wsdl’ at /usr/lib/perl5/5.10.0/VMware/VICommon.pm line 545

I’m trying to set up SNMP communities on my VM Hosts, so I downloaded and installed the vma (vSphere Management Assistant), and from there I added the hosts as targets. When I try to set up the community with “vicfg-snmp -c mycommunity” I see the subject error;
Server version unavailable at ‘https://MYHOST:443/sdk/vimService.wsdl’ at /usr/lib/perl5/5.10.0/VMware/VICommon.pm line 545

Here is one solution

vi /usr/bin/vicfg-snmp
insert as the very 2nd line of the program:
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;

that’s it, problem solved!

Update, this Phips guy says “You don’t need to edit anything.”

export PERL_LWP_SSL_VERIFY_HOSTNAME=0 in your shell.

Run VMware SDK command.

Posted in Uncategorized | Leave a comment