xfs_repair /dev/sda1
Author Archives: bentoslack
end_request i/o error dev fd0 sector 0
It seems, a floppy module is loaded.Just unload it: rmmod floppy
Google Chrome Cache Killer
Virtual mining
Just for tests, we assembled a “miner” with cheap hardware.Our configuration is consist of
-motherboard ASUSTeK P5KPL-CM
-cpu model name : Intel(R) Core(TM)2 Duo CPU E7300 @ 2.66GHz
-ram : 2x2048mb ddr2 800mhz
-gpu : gigabyte radeon r9 270(2048mb gddr5) costs 341 BGN with VAT included
-power supply : corsair cx600 costs 145 BGN with VAT included
The linux distribution which is used here i BAMT
change default gateway in freebsd
route flush
route add default 192.168.1.1
500 OOPS: vsftpd: refusing to run with writable root inside chroot()
During the setting up vsftpd(2.3.5-3) daemon in Debian Wheezy, I found the following error 500 OOPS: vsftpd: refusing to run with writable root inside chroot() when you try to open ftp connection to the server.This appears when chroot_local_user=YES option is enabled in /etc/vsftpd.conf
.Many people had the same problem.This is BUG which is already reported.We can fix this problem with additional patch.
vim /etc/apt/sources.list
add
deb http://ftp.cyconet.org/debian wheezy-updates main non-free contrib
apt-get update
aptitude install -t wheezy-updates debian-cyconet-archive-keyring vsftpd
vim /etc/vsftpd.conf
add
allow_writeable_chroot=YES
service vsftpd restart
root@debian:~# dpkg -l | grep vsftpd
ii vsftpd 2.3.5-10~update.1 i386 lightweight, efficient FTP server written for security
enable crontab logging in debian wheezy
vim /etc/rsyslog.conf
uncomment the following line
cron.* /var/log/cron.log
restart rsyslog service
service rsyslog restart
snmp Call “HostServiceSystem.Start” for object “serviceSystem” on ESXi “” failed.
During the snmp daemon enabling in vmware esxi 5.5.0 the following error appears.
We have to enable snmp service in /etc/vmware/snmp.xml , log through in ssh and
~ # vi /etc/vmware/snmp.xml
this is the default content
<config><snmpSettings><enable>false</enable><communities></communities><targets></targets></snmpSettings></config>
change
<enable>false</enable>
to
<enable>true</enable>
also we can add and snmp community
<communities>public</communities>
restart all the services
/sbin/services.sh restart
enable html support in dokuwiki
vi /var/www/vhosts/doku.yourdomain.com/conf/local.php
and add the following:
$conf['htmlok']=1;
restart ssh daemon in MacOSX
Stop ssh daemon
sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist
Start ssh daemon
sudo launchctl load /System/Library/LaunchDaemons/ssh.plist