Loading

LOG: logger shutting down Error Postgresql (With Restart)

Login with postgres user
# su postgres

And then restart PostgreSQL
$ pg_ctl -D /usr/local/pgsql/data restart

Traceroute With Port Email

Sometime you must your internet provider for check what network support for email server:

# traceroute -n -T -p 25 gmail-smtp-in.l.google.com

BIND 9 Install / Named in Ubuntu

Bind is great DNS software. If you want to install follow this intruction:

  1. apt-get update
  2. apt-get upgrade
  3. apt-get install bind9
  4. /etc/init.d/apparmor teardown
  5. update-rc.d -f apparmor remove
  6. wget --user=ftp --password=ftp ftp://ftp.rs.internic.net/domain/db.cache -O /etc/bind/db.root
  7. Change/Add this line in /etc/bind/named.conf.option in option{}
    allow-query { any; };
    allow-recursion { any; };
    forwarders {
    8.8.8.8;

    8.8.4.4; 

    };
    dnssec-validation no;
  8. /etc/init.d/bind9 restart
  9. update-rc.d bind9 defaults

Done thank's

Nur Choliku Anwar

Count Error Form Validation Code Igniter

Hello every body see you again,

in this time i will explain how to Count Error Form Validation Code Igniter.

OK straight to the point:

  1. /system/libraries/Form_validation.php
    Change:
    protected $_error_array = array();
    To Be:
    public $_error_array = array();
  2. Last access this class:
    echo count($this->form_validation->_error_array);

FINISH :-)

KeyError: 'eth0' pada saat install Clear OS

Problems with installing? KeyError: 'eth0' ?
When I tried to install ClearOS on a certain computer I had a problem under the installation. It came with an error like "KeyError: 'eth0'" and then just stopped the installation.

The solution for this problem is to start the installation with a parameter. You type in the parameter when being in the first menu under the installation (the menu where you choose if you want to install, upgrade etc.). You need to be on the first option in the menu, then hit the "Tab"-key on your keyboard. Afterwards a command line is displayed. Add a space at the end of the line and then type biosdevname=0 and hit Enter.

The installation should proceed now without any errors.
Donate to me if you feel helped

Popular Posts

Category

Pages