Ad Widget

Collapse

Dificults while instaling Zabbix.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • WilliamSG
    Member
    • Jun 2014
    • 41

    #1

    Dificults while instaling Zabbix.

    Hello guys, I'm new here, and I'm not an expert with Linux, unfortuney =(

    I decided to test Zabbix and increase my skills with linux... well, I got few problems while reading and running the manual, ocasionaly, by my limitations with Linux, but I googled and solved most part of the problems, but now i'm stucked in a new one...

    After install Mysql 5.5 and create the user, I try to run the scripts described here
    This line:
    shell> mysql -u<username> -p<password> zabbix < database/mysql/schema.sql re
    returns to me the message
    -bash: database/mysql/schema.sql: No such file or directory
    I think I know what it means, the file schema.sql does not exists, but why? and what I need to do to continue with installation?

    Thx, and sorry if its a noob question...
  • ingus.vilnis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2014
    • 908

    #2
    Hello and welcome!

    Why don't you install Zabbix the safest way as described here? https://www.zabbix.com/documentation..._from_packages

    If you take your first steps in Linux, don't try to do everything the hardest way.

    The line you quoted:
    1. did you run the command as written there or did you repladec <username> and <password> with current values?
    2. -bash: database/mysql/schema.sql: No such file or directory it is said quite clearly. Check the directories you are working in. Probably you have the source files in other directory.

    Best Regards,
    Ingus

    Comment

    • WilliamSG
      Member
      • Jun 2014
      • 41

      #3
      Originally posted by ingus.vilnis
      Hello and welcome!

      Why don't you install Zabbix the safest way as described here? https://www.zabbix.com/documentation..._from_packages

      2. -bash: database/mysql/schema.sql: No such file or directory it is said quite clearly. Check the directories you are working in. Probably you have the source files in other directory.

      Best Regards,
      Ingus
      Was that... I had discovered this after new tryes, but my post was waiting to be approved... well thx anyway, but now I've new problems... see the SS bellow



      ./configure isn't working, cause of this "make" isn't work too... I looked at the logs, but I didn't understanding anything

      About your suggestion, I'm trying to install zabbix from work, and I have few problems with company's proxy. cause of it I go by "source installation"

      Comment

      • Colttt
        Senior Member
        Zabbix Certified Specialist
        • Mar 2009
        • 878

        #4
        i think the best way is use the absolute path, and not the relative path

        example for the absolute path:
        /tmp/zabbix-2.2.3/database/mysql/schema.sql

        and use tab-completion to find the right path
        Debian-User

        Sorry for my bad english

        Comment

        • WilliamSG
          Member
          • Jun 2014
          • 41

          #5
          Originally posted by Colttt
          i think the best way is use the absolute path, and not the relative path

          example for the absolute path:
          /tmp/zabbix-2.2.3/database/mysql/schema.sql

          and use tab-completion to find the right path
          I found my mystake, but I have a new one >.<"

          Waiting my post to be approved.

          Comment

          • WilliamSG
            Member
            • Jun 2014
            • 41

            #6
            Hy guys, I will start over again... now using CentOS 6.5 and a host with full internet access.

            I'm following this manual to isntall LAMP. All packages installed worked fine now, but (Why everytime have a "but" ), during the manual, it tell's me to test the Apache and the "info.PHP", both didn't worked.

            I can ping my VM, I checked the "/etc/httpd/conf/httpd.conf" and it point's the default .php files to "/var/www/html", and, finaly, my info.php file is in the correct local. But I can't see my default web page and info page when i put the IP on browser.

            I know it's not a Zabbix problem, but, anyone can help me? Again, I think it's simple =/

            Comment

            • jvalenzani
              Member
              Zabbix Certified Specialist
              • Sep 2010
              • 53

              #7
              Are you sure the Apache service is running? Also remember that Linux is case sensitive. If your file is called info.PHP, you may access it at http://localhost/info.PHP. info.php (and other combinations) will not work.

              Comment

              • WilliamSG
                Member
                • Jun 2014
                • 41

                #8
                Originally posted by jvalenzani
                Are you sure the Apache service is running? Also remember that Linux is case sensitive. If your file is called info.PHP, you may access it at http://localhost/info.PHP. info.php (and other combinations) will not work.
                Thx for help, but wasn't it. Was a problem with Iptables. Now Zabbix is "working" I can access the web console. Has an alert message, but I don't remember now, and I'm not at work to check it.

                Maybe on monday!

                Thx for all!

                Comment

                Working...