Ad Widget

Collapse

Problemas with front-end - php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • primiparo
    Junior Member
    • Jan 2009
    • 28

    #1

    Problemas with front-end - php

    Hi Comunity !!

    When i try to see in dashboard - network - maps , i try to execute ping or tracerout from front-end and say me this :

    * socket_connect() [<a href='function.socket-connect'>function.socket-connect</a>]: unable to connect [13]: Permission denied[/var/www/html/zabbix/include/scripts.inc.php:76]
    * Cannot connect to ZABBIX server [localhost:10051] [Permission denied]

    The question is : wich must be the permisions of this directory...? they have root like the owner and -rw-r--r--
  • primiparo
    Junior Member
    • Jan 2009
    • 28

    #2
    Other problem with php.

    Hi,
    And this problem also:

    # date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Bogota' for 'COT/-5.0/no DST' instead[/var/www/html/zabbix/include/blocks.inc.php:404]

    in my php.ini i have

    [Date]
    ; Defines the default timezone used by the date functions
    date.timezone ='America/Bogota'

    then, i don`t understand what is bad...?
    i don`t know php to much...

    Comment

    • frbayart
      Junior Member
      • Aug 2009
      • 3

      #3
      * socket_connect() [<a href='function.socket-connect'>function.socket-connect</a>]: unable to connect [13]: Permission denied[/var/www/html/zabbix/include/scripts.inc.php:76]
      * Cannot connect to ZABBIX server [localhost:10051] [Permission denied]
      check the variables $ZBX_SERVER and $ZBX_SERVER_PORT in your zabbix.conf.php.

      For the date problem, add this line in your php.ini :
      date.timezone = Europe/Brussels
      (change it for the good time zone)

      Comment

      • v.rusinov
        Junior Member
        • Apr 2008
        • 22

        #4
        Are you running selinux?

        Comment

        • frbayart
          Junior Member
          • Aug 2009
          • 3

          #5
          me ? no.

          But with my installation (I have take the source and build a RPM) the zabbix.conf.php was broken so this 2 variables was not in. I suppose it's the same problem for him.

          Comment

          Working...