Author: nsc

  • Horde5 webmail: sending mail via smtp.

    by

    in

    You can fix error: There was an error sending your message: sendmail: unknown error (127) by changing sending method to SMTP:

  • evolution-ews plugin install script for evolution 3.2.3 on ubuntu 12.04

    by

    in

    Made script for automatic evolution-ews plugin install. By default ubuntu 12.04 uses evolution 3.2.3 and there are no evolution-ews package in repository. Use evolution-ews plugin the same version as Your evolution mail client version.

  • Adding MS exchange compability with evolution-ews in ubuntu 12.04

    by

    in

    Ubuntu 12.04 has crappy support for bussiness solutions. You can check MS exchange mail, synchronize calendar in evolution with evolution-ews which is missing in default repository. Exchange has to have owa enabled. Also default client on Ubuntu precise is thunderbird, which doesn’t have ability to use system provided calendar. How silly is that? Didn’t want…

  • Ubuntu 12.04 Wireless unmanaged

    by

    in

    When installing Ubuntu, and during install You choose to use wlan0 interface. On first system boot wireless becomes unmanaged, and You can’t choose wireless AP. solution is to edit file /etc/network/interfaces There should be lines like auto wlan0 iface wlan0 inet dhcp wpa-ssid wifi-name wpa-psk wifi-key delete those lines and reboot computer. Network manager will…

  • how to: create openvpn centos 6.3 x64 with certificates

    how to: create openvpn centos 6.3 x64 with certificates

    by

    in

    Some parts of this tutorial are not working anymore. New version available here Default centos repositoryt doesn’t have openvpn package, so lets add epel repository first. I downloaded it from this mirror here. downloading repo: # wget http://mirror.duomenucentras.lt/epel/6/x86_64/epel-release-6-7.noarch.rpm and installing repo: # yum localinstall epel-release-6-7.noarch.rpm After that, You can install openvpn package: # yum install…

  • reset network interfaces on centos 6.3

    by

    in

    If You copy/clone Your machine, or change network card, on linux Your interfaces get names eth1, eth2, eth3 and so on. Before makeing changes just delete /etc/udev/rules.d/70-persistent-net.rules file. After first boot, network interfaces will be enumerated from zero again. rm /etc/udev/rules.d/70-persistent-net.rules

  • tune2fs, make free space to appear

    by

    in

    ext2 ant ext3 file systems has reserved 5% disk space in case of dissapeared free space, for system proccesses. That system wouldn’t crash and would keep going. For big filesystems those 5% are too much(with 1TB it would be 50G for system procceses), so we can tune a little bit. You can check how much…

  • [warn] [client 123.123.123.123] mod_fcgid: stderr: PHP Warning: POST Content-Length of 12430806 bytes exceeds the limit of 10485760 bytes in Unknown on line 0, referer: http://www.yoursite.tld/index.php?phpparams

    by

    in

    You can get this error if You are uploading file via post parameters, and it’s bigger than allowed size. [warn] [client 123.123.123.123] mod_fcgid: stderr: PHP Warning: POST Content-Length of 12430806 bytes exceeds the limit of 10485760 bytes in Unknown on line 0, referer: http://www.yoursite.tld/index.php?phpparams In php.ini file You should set bigger limits. post_max_size = 32M…

  • locale.Error: unsupported locale (Solved)

    by

    in

    # iotop Traceback (most recent call last): File “/usr/bin/iotop”, line 16, in main() File “/usr/lib/pymodules/python2.6/iotop/ui.py”, line 506, in main locale.setlocale(locale.LC_ALL, ”) File “/usr/lib/python2.6/locale.py”, line 513, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting Solution: # export LCC_ALL=C for making it permanent, You have to add it to .bashrc reference: http://www.quantumwise.com/support/faq/103-localeerror-unsupported-locale-setting?catid=24%3Aerror-messages

  • apache [warn] module ssl_module is already loaded, skipping (Solved)

    by

    in

    # httpd -t [Fri Jun 08 11:12:19 2012] [warn] module ssl_module is already loaded, skipping Syntax OK This happens, because ssl module is enabled in more than 1 place: # grep ssl_module -rI /etc/httpd/* conf/httpd.conf:LoadModule ssl_module /usr/lib64/httpd/modules/mod_ssl.so conf.d/ssl.conf:LoadModule ssl_module modules/mod_ssl.so we load all needed modules in one place – /etc/httpd/conf/httpd.conf. So we can safely comment…