Author Archives: admin

Verizon Wireless Router default DNS Server trouble

A location we serve recently added Verizon Fios for broadband, with the Wifi Router MI424WR. The connection speed was fantastic but they were having problems connecting to specific websites. Reloading would bring up the page normally about 1 out of … Continue reading

Posted in Uncategorized | Leave a comment

httpd: apr_sockaddr_info_get() failed for HOSTNAME

After upgrading Apache, I was seeing the subject error. To fix it, I put the full hostname into the /etc/hosts file on the line that begins with 127.0.0.1 What I’m not sure of is why this only happens on some … Continue reading

Posted in Uncategorized | Leave a comment

Can’t connect to local MySQL server through socket

on a mysql server while trying to connect from command line, i just get: ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) I see that mysql is creating the socket in /var/lib/mysql/mysql.sock So to correct … Continue reading

Posted in Uncategorized | Leave a comment

Can’t kill a non-numeric process ID at /usr/local/share/perl/5.14.2/File/Pid.pm line 124

update the File/Pid.pm as per https://rt.cpan.org/Public/Bug/Display.html?id=18960 pico +122 /usr/local/share/perl/5.14.2/File/Pid.pm add ‘or return undef’ before the semicolon on the line with ‘my $pid = $self->_get_pid_from_file’ sub running { my $self = shift; my $pid = $self->_get_pid_from_file or return undef; return kill(0, … Continue reading

Posted in Uncategorized | 1 Comment

Can’t locate Net/FTP/File.pm

perl -MCPAN -e shell > install Net::FTP::File

Posted in Uncategorized | Leave a comment

ReadyNAS woes

After shutting the system off for a week’s vacation, the ReadyNAS 1000 was acting weird. Started giving an error about “the local security authority is internally inconsistent” and we couldn’t connect to the share from windows. I tried rebooting from … Continue reading

Posted in Uncategorized | Leave a comment

Trouble Setting up stunnel4 on Ubuntu

I installed stunnel4 (with apt-get) on a new ubuntu server 2013.08.23 16:38:23 LOG7[10589:140529841223424]: SSL alert (read): fatal: unknown CA 2013.08.23 16:38:23 LOG3[10589:140529841223424]: SSL_connect: 14094418: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca ultimately i copied over pem files from another server and set … Continue reading

Posted in Uncategorized | Leave a comment

Lock down wp-login.php by ip address

Sick of wordpress login getting slammed by bots and bringing the server to its knees. Most of the plugins and solutions out there seem way too complicated for our needs. So for now I am just putting some code into … Continue reading

Posted in Uncategorized | Leave a comment

mysql import stuck on /*!40000 ALTER TABLE `mytable` ENABLE KEYS */

I was importing a mysql database and it was taking forever. > show processlist showed Info for the query that was running over an hour: /*!40000 ALTER TABLE `mytable` ENABLE KEYS */ This post clued me in to the fact … Continue reading

Posted in Uncategorized | Leave a comment

mysql: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory

After installing MySQL on Ubuntu server, I was getting the subject error. I tried to download the file as per this page but after trying that, I still got the exact same error. What fixed it was going into /usr/lib … Continue reading

Posted in Uncategorized | Leave a comment