Ad Widget

Collapse

Login error in Zabbix Home Page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sivak
    Junior Member
    • Apr 2009
    • 3

    #1

    Login error in Zabbix Home Page

    Hi,

    I have insalled Zabbix 1.6.4 in Federo Linuix OS. And, it was running zabbix_server, zabbix_agend, httpd servers are fine. After displaying Login page when trying to login with Admin' and no password, It is giving following error: "ERROR: Login name or password is incorrect". I have followed following Installation steps and please help on me if I need to do anything to login here...

    1. yum install gcc automake autoconf libtool make
    2. # yum install php php-bcmath php-gd php-mysql httpd mysql mysql-server mysql-devel
    # yum install net-snmp net-snmp-utils net-snmp-devel net-snmp-libs curl-devel mak
    3. # wget http://dag.wieers.com/rpm/packages/f…l5.rf.i386.rpm
    # rpm -Uvh fping 2.4-1.b2.2.el5.rf.i386.rpm
    # chmod 7555 /usr/sbin/fping
    4. # yum install ntp
    5. /etc/init.d/ntpd start
    6. useradd zabbix
    7. wget http://downloads.sourceforge.net/zab…x-1.6.4.tar.gz
    tar -xzvf zabbix-1.4.5.tar.gz
    8. /etc/init.d/mysqld start mysqladmin -u root password
    9. mysql -u root -p
    mysql> CREATE DATABASE zabbix;
    mysql> GRANT DROP,INDEX,CREATE,SELECT,INSERT,UPDATE,ALTER,DELET E ON zabbix.* TO mysqluser@localhost IDENTIFIED BY ‘mysqlpass’;
    mysql> quit;
    10.cd zabbix-1.6.4
    # cat create/schema/mysql.sql | mysql -u mysqluser -p mysqlpass
    # cat create/data/data.sql | mysql -u mysqluser -p mysqlpass
    # cat create/data/images_mysql.sql | mysql -u mysqluser -p mysqlpass
    11. ./configure -enable-server -prefix=/usr/local/zabbix -with-mysql -with-net-snmp -with-libcurl
    # make install
    # make clean
    12. ./configure -enable-agent -prefix=/usr/local/zabbix make install
    13. # echo ‘zabbix_agent 10050/tcp’ >> /etc/services
    # echo ‘zabbix_trap 10051/tcp’ >> /etc/services
    14. # mkdir /etc/zabbix
    # cp misc/conf/zabbix_agentd.conf /etc/zabbix
    # cp misc/conf/zabbix_server.conf /etc/zabbix
    15. vi /etc/zabbix/zabbix_server.conf
    16. DBUser=mysqluser
    BPassword=mysqlpass
    DBSocket=/var/lib/mysql/mysql.sock
    FpingLocation=/usr/sbin/fping
    17. # vi /etc/zabbix/zabbix_agentd.conf
    Server=127.0.0.1,YourServerIP ---- Added my server IP
    Hostname=EnterAUniqueHostNameForEachAgent ----- Added myHostName
    18. # cp misc/init.d/redhat/zabbix_agentd_ctl /etc/init.d/zabbix_agentd
    # cp misc/init.d/redhat/zabbix_server_ctl /etc/init.d/zabbix_server
    19. In /etc/init.d/zabbix_agentd:
    BASEDIR=/usr/local/zabbix
    ZABBIX_AGENTD=$BASEDIR/sbin/zabbix_agentd
    20. In /etc/init.d/zabbix_server:
    BASEDIR=/usr/local/zabbix
    ZABBIX_SUCKERD=$BASEDIR/sbin/zabbix_server
    21. In /etc/init.d/zabbix_agentd
    /sbin/chkconfig: 345 95 95 # description: Zabbix Agentd
    22. In /etc/init.d/zabbix_server
    /sbin/chkconfig: 345 95 95 # description: Zabbix Server
    23. chkconfig –level 345 zabbix_server on ---- FAILED (this step is not working)
    # chkconfig –level 345 zabbix_agentd on ---- FAILED (this step is not working)
    # chkconfig –level 345 httpd on
    # chkconfig –level 345 mysqld on
    # /etc/init.d/iptables stop

    24. cp -r frontends/php /var/www/html/zabbix
    25. Edit /etc/php.ini
    max_execution_time = 300
    date.timezone = Asia/Calcutta

    26. # /etc/init.d/httpd start
    # chmod 777 /var/www/html/zabbix/conf

    27. /etc/init.d/zabbix_agentd start
    /etc/init.d/zabbix_server start
    28. hmod 755 /var/www/html/zabbix/conf

    Open Zabbix Login page but when tried with Login 'Admin' and no password, it is giving error.

    It's get failed on only Step No: 22 (first and second points). Please help on it.

    Remaining steps are working fine only...Please suggest me to go for further movement.

    Thanks,
    Siva.
  • MrKen
    Senior Member
    • Oct 2008
    • 652

    #2
    Try user: Admin
    Password: zabbix
    Disclaimer: All of the above is pure speculation.

    Comment

    • sivak
      Junior Member
      • Apr 2009
      • 3

      #3
      Hey...

      It get worked...have some database problem, that can be resovled now.

      Thanks,
      Siva.

      Comment

      Working...