I’ve struggled to improve Samba (SMB) performance between my Mac Pro (Late 2013) running OS X Yosemite 10.10.2 and my CentOS 6.6 Linux server. The server has a large ZFS share with all my backups and archives as well as various KVM instances running off SSDs. My Mac Pro absolutely must access that ZFS share reliably and it would be nice if my two Mac Books were able to as well. I have a lot of experience with SMB and I’ve never had much trouble working with Linux servers and Windows clients. On OS X however I’ve never had any luck, the connectivity is slow, buggy and generally unreliable.
Tonight I decided to install Netatalk, latest version on my CentOS server from source code. Below is the documentation of the procedure I followed and any outcome I was able to document.
Posted in Linux Guides, OS X
Tagged afp, afpd, apple filing protocol, centos, linux, mac, netatalk, nfs, os x, osx, samba, san, smb, storage, yosemite, zfs
The 1990s truly launched us into information age as we know it today. The world saw the internet reach critical mass, it’s entrepreneurs, investors and the virtual gold rush known as the dot-com bubble. The internet was told to have unfathomable wealth for those who could attain it. Unfortunately few entrepreneurs understood the internet and how it can be monetized.
This leads us to today. A world where being disconnected from the internet is seen as a human rights violation. A truly remarkable market is before us. A market with real tangible fortunes being made. So what does this have to do with the humble sales rep?
Working on updating some ServerTech CDU firmware today I found that they wouldn’t connect to my fresh new FTP server. I checked my firewall, I checked my server log, and saw that they weren’t authenticating correctly:
Aug 16 16:24:56 bouncer vsftpd: pam_unix(vsftpd:auth):
authentication failure; logname= uid=0 euid=0 tty=ftp
ruser=ftpupdate rhost=10.40.2.31 user=ftpupdate
A few months ago we all saw the dramatic boom in NTP reflection attacks. These attacks exceeded DNS reflection that was so common before it. At the time I was personally experiencing consistent 10 to 40+ Gbps attacks. After a while they started to die down in frequency and volume. I still see many NTP reflection attacks, but in the last week I observed a large influx of SNMP based reflection attacks. It’s not the first time I’ve seen SNMP reflection in the wild, I see a few SNMP attacks every couple of months. Personally I’ve expected SNMP attacks to increase due to the large payloads generated by poorly secured SNMP daemons. Continue reading
Posted in Network Security
Tagged amplification attack, ddos, denial of service, dns reflection, drdos, forged packet, ntp reflection, reflection attack, snmp reflection, spoofed packet, stateless protocol, udp stateless
Hey guys, not a long post today, but thought I’d throw out an easy little tip. I was installing some KVM guests on a CentOS 6.5 storage server and needed a VNC client for my OS X desktop. Found something neat that some of you may already know, but if not, it’s pretty cool. Continue reading
So this isn’t really the normal theme for my articles. However I’ve reloaded the OS on my MacBook Pro the other day, because my factory hard drive died within 8 months of buying the MacBook. I replaced it with a 256GB Samsung 840 Pro SSD and reloaded the OS via net-install (Apple+R on boot.)
About 3-4 days later iTunes decided to open itself over and over every 20 minutes to remind me to accept it’s license agreement. I don’t use iTunes and have no need to accept the agreement, furthermore I don’t like that it pops up again immediately after I hit decline, then again 20 minutes later. Plus it runs in the background and wastes resources while trying to coax you into using it.
Posted in OS X
Tagged apple, chflags, disable itunes, disable itunes forever, disable itunes permanently, itunes, itunes agreement, itunes sucks, iTunes.app, macbook, macbook pro, macintosh, mbp, os x, osx, simmutable
I see this topic come up a lot with users who migrate to one of our servers or to their own setup with cPanel and suPHP. The user or their customers will install a PHP script such as wordpress, concrete5, etc… Upon testing their installation they will get 500 ISE (Internal Server Error) in their web browser, served from Apache. Many less experienced users freak out and think something is wrong with the server. The reality is that permissions or file ownership is the cause of the error in the VAST majority of cases. Continue reading
Posted in Bash One-Liners, cPanel Guides, Linux Guides
Tagged 500 error, 500 internal server error, 500 ise, cPanel, internal server error, lamp, linux ownership, linux permissions, php 500 error, php error, php suexec, suexec, suphp, world writable
So you’ve probably not made the switch to InnoDB or XtraDB yet, shame on you! But tonight your server crashed, ran out of disk space or otherwise corrupted all of your active tables across various databases. Ouch! How are we going to fix this one?
Many admins try using the myisamchk tool from shell in an attempt to repair the MYI files. This may or may not work. I generally don’t recommend it as a primary means to a repair, especially if you are going to continue running mysqld and attempting to use the crashed tables. Continue reading
Posted in Bash One-Liners, Linux Guides, MySQL
Tagged corrupt myisam, corrupt table, database corruption, myisam, mysql, repair all tables, repair myisam table, repair mysql, repair table
I recently had an issue where we lost the password for IPMI to a brand new Supermicro server. The server was running Windows 2008 STD. Not wanting to mess around rebooting the box to a livecd I had to find a solution to reset the password. This could be very useful for those of you buying a used Supermicro server or if someone fat fingers a password or logs it incorrectly into your management system. Continue reading
Posted in Server Hardware
Tagged default ipmi password, ipmi, ipmi password, ipmi password reset, ipmicfg, ipmicfg-windows, ipmicfg-windows.exe, ipmitool, supermicro, supermicro default ipmi password, windows ipmi