Hodžův blog

Archive for the 'Debian' Category

01 Kvě

HowTo: SSL/TLS required but absent on data channel (ProFTPD & LFTP)

echo „“ >> /etc/lftp.conf echo „set ftp:ssl-allow true“ >> /etc/lftp.conf echo „set ftp:ssl-force true“ >> /etc/lftp.conf echo „set ftp:ssl-protect-data true“ >> /etc/lftp.conf echo „set ftp:ssl-protect-list true“ >> /etc/lftp.conf

11 Bře

HowTo: Debian Jessie & Huawei E3131 Mobile Broadband

Before: # lsusb | grep -i huawei Bus 002 Device 007: ID 12d1:14fe Huawei Technologies Co., Ltd Fix it with command: usb_modeswitch -v 12d1 -p 14fe -J After: # lsusb | grep -i huawei Bus 008 Device 005: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard You can also create a udev rule: vi […]

04 Úno

HowTo: Update The Root Hints Data File for BIND Named Server on Debian GNU Linux

# wget –user=ftp –password=ftp ftp://ftp.rs.internic.net/domain/db.cache -O /etc/bind/db.root

16 Zář

Courier IMAP & POP3 – regenerate SSL certificates on Debian GNU Linux

# rm -f /etc/courier/imapd.pem # rm -f /etc/courier/pop3d.pem # vi /etc/courier/imapd.cnf # vi /etc/courier/pop3d.cnf # mkimapdcert # mkpop3dcert # /etc/init.d/courier-imap-ssl restart # /etc/init.d/courier-pop-ssl restart

14 Kvě

HowTo: Bind9 – disable IPv6 (couldn’t add command channel ::1#953: address not available)

Disable IPv6 in system # echo „net.ipv6.conf.all.disable_ipv6 = 1“ >> /etc/sysctl.conf # echo „net.ipv6.conf.default.disable_ipv6 = 1“ >> /etc/sysctl.conf # echo „net.ipv6.conf.lo.disable_ipv6 = 1“ >> /etc/sysctl.conf # /sbin/sysctl -p /etc/sysctl.conf

14 Kvě

HowTo: Debian & Ubuntu – Remove all unused kernels

sudo apt-get remove $(dpkg -l|egrep ‚^ii linux-(im|he)’|awk ‚{print $2}’|grep -v `uname -r`)

28 Dub

Ubuntu update && Qutim crashes every time

What console says: hodza@hodza-desktop:~$ qutim !!!!!!! ‚kde-plasma‘ ‚0x7f2c933977c0‘ ‚oxygen‘ (qutim:9554): GLib-GObject-WARNING **: cannot register existing type ‚GstObject‘ (qutim:9554): GLib-CRITICAL **: g_once_init_leave: assertion ‚result != 0‘ failed (qutim:9554): GLib-GObject-CRITICAL **: g_type_register_static: assertion ‚parent_type > 0‘ failed (qutim:9554): GLib-CRITICAL **: g_once_init_leave: assertion ‚result != 0‘ failed (qutim:9554): GLib-GObject-CRITICAL **: g_object_newv: assertion ‚G_TYPE_IS_OBJECT (object_type)‘ failed (qutim:9554): GStreamer-CRITICAL **: […]

29 Pro

HowTo fix Warning: Skipping the data of table mysql.event. Specify the –events option explicitly.

Try this workaround: mysqldump -uroot –events –ignore-table=mysql.event mysql

26 Lis

HowTo fix a mdadm problem auto-read-only or resync=PENDING

Mdadm problem after new install of Debian GNU Linux. root@n40l:~# cat /proc/mdstat Personalities : [raid1] [raid6] [raid5] [raid4] md3 : active (auto-read-only) raid5 sdc1[0] sde1[2] sdd1[1] 3907025920 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU] resync=PENDING md2 : active raid1 sda3[0] sdb3[2] 235885432 blocks super 1.2 [2/2] [UU] md1 : active (auto-read-only) […]

15 Bře

HowTo Install Latest Redmine on Debian 6 (Squeeze, Ruby-on-Rails, Apache2 Passenger)

This is a short .bash_history manual… First install fresh Debian Squueze from businesscard (when selecting packages uncheck ALL). Correct hostname: # vi /etc/hostname server.example.com

Hodžův blog is is proudly powered by Wordpress and the Magellan Theme