How to whitelist your IP at CPHulk

My IP got banned by CPHulk few times and it is really not a pleasant thing knowing that you need to access your server but you just can’t because CPHulk blacklisted your IP. Great way around it is to white list your IP address in front so you don’t end up in that situation. It’s quite easy, all you need to do is to login at SSH and execute this lines:

cd /scripts

Just don’t forge to replace with your IP address 🙂

Tags: cphulk, https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1824 SuGoTCR-W3OBBS8sJ96x22pLVznMcuduaOJcBm2go9nifT0ss7NSENU-_MElNVoj d44e1e384a3bd7af3804d1b3a381b2506bf604d7&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme

Mysqldump: Got error: 1016: Can’t open file (errno: 24) when using LOCK TABLES

Ok so today I had to dump 700mb mysql database. I have tried using standard syntax:

mysqldump -uUSER -pPASS db_name > dump.sql

But I have got the following error:
Mysqldump: Got error: 1016: Can’t open file: ‘./db_name/xxx.frm’ (errno: 24) when using LOCK TABLES

I’ve searched a bit and I have found that solution was to add parameter –lock-tables=false so the final working mysqldump command was like this

mysqldump -uUSER -pPASS db_name --lock-tables=false > dump.sql
Tags: 9MJ5, https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1822 DwWmJ_gKGKEzH7Ap_WLvGxhNV1wQxZmgpKioT83k8uSn-ETbl9gXB7w-mbdPiszU 3d6d9713072c417cbc916d20e97b41497ddb4bb7&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme, https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1827 d0fkJLGmfguYSCknFI8HMkEifYg-7goVB-EDsp2_jPBP_Ep5J3DzjmGIMiK8xbjI 34cb201397f4bf957038c3806e25a12e78a6af9d&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme