Tag: Debian

hpacucli not detecting HP Smart Array Controller

In some cases hpacucli is not detecting the HP Smart Array Controller, in my case it was a HP P420 controller. => ctrl all show Error: No controllers detected. => You can solve this issue by loading the sg module: # modprobe sg You’ll see now that the controller is detected: => ctrl all show […]

MegaCli for Debian / Ubuntu

Unfortunately LSI and Dell doesn’t provide the MegaCli tool as source or .deb package, therefor it is not possible (by default) to install MegaCli on Debian servers. I managed to get MegaCli working on a Debian server. Download MegaCli from LSI: # cd ~ # wget “http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/8.00.46_Linux_MegaCLI.zip” Unpack the downloaded file: # unzip 8.00.46_Linux_MegaCLI.zip if […]

MySQL is not starting/working on Debian 6 + DirectAdmin

I just delivered a brand new server with Debian Squeeze + DirectAdmin, I have got no errors while installing DirectAdmin, but after the installation I noticed that mysql was not running. After some debugging I found the following error: 110530 22:59:40 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data /usr/local/mysql/bin/mysqld: error while loading shared libraries: […]

Upgrading Debian (Lenny) to Debian Squeeze

Debian Squeeze (stable) was released on February 6, 2011. 1. First update all packages which are currently installed # apt-get update # apt-get upgrade 2. Open /etc/apt/sources.list and replace all occurrences of lenny with squeeze 3. Update the apt repository # apt-get update 4. Upgrade apt, dpkg and aptitude #¬†apt-get install apt dpkg aptitude 5. […]