Ad Widget

Collapse

Newbe and a Fresh Install of Zabbix on CentOS6 Having a Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • asynakie
    Junior Member
    • Oct 2012
    • 15

    #1

    Newbe and a Fresh Install of Zabbix on CentOS6 Having a Problem

    Good afternoon all,

    I used the script fround on this website so install Zabbix on a fresh install of CentOS 6.3



    The only thing I changed in the script was turning off the check to see if SELinux was running as I couldn't get it to disable. I ran the script as root and it went though the whole install process fine. When I loaded up my web browser to localhost\zabbix I see the error page saying Zabbix is unavailable. The following four error messages are at the top. I took a look at zabbix.conf.php and it says my user is root and no pasword is set. I also ran mysql -u root and then show databases; and it lists the zabbix database there so I know it got created.

    Basically I want to get this up and running, but I'd also like to fix the username and password deal with it only being root and no password. I tried searching for each of these errors on line and fond some things that I tried above and a bunch others that go over my head. This is probably the second time I've ever used Linux so my knowledge is very limited. Thank you in advance for any help you can offer.

    PHP Code:
    include(/usr/local/share/zabbix/conf/zabbix.conf.php): failed to open streamPermission denied [include/classes/class.cconfigfile.php:52]

    include(): 
    Failed opening '/usr/local/share/zabbix/conf/zabbix.conf.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') [include/classes/class.cconfigfile.php:52]
        
    DB type is not set.

    Constant ZBX_PAGE_NO_MENU already defined [warning.php:29
  • linuxgurugamer
    Member
    • Oct 2010
    • 66

    #2
    Try a different script

    Take a look at this site:

    Linuxnotes.us

    This is a script that I wrote (and will be uploading a small update later this evening). I use this frequently, whenever I need to do a test install or full install

    Comment

    • asynakie
      Junior Member
      • Oct 2012
      • 15

      #3
      Originally posted by linuxgurugamer
      Take a look at this site:

      Linuxnotes.us

      This is a script that I wrote (and will be uploading a small update later this evening). I use this frequently, whenever I need to do a test install or full install
      Thank you, that's very helpful. I did figure out my problem beforehand though. The version of CentOS i had used already had MySQL installed but I forgot to configure it manually so when I ran the script, it set it up, but I had no idea what had permission to the database. I started fresh and configured MySQL first like I was supposed to, and made the appropriate changes to the script and it worked. :-)

      I'll be keeping your site bookmarked though, it looks very helpful!

      Comment

      Working...