Ad Widget

Collapse

Fresh installation web gui generates Error: No Permissions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ll001
    Junior Member
    • Apr 2008
    • 1

    #1

    Fresh installation web gui generates Error: No Permissions

    My previous installation ox Zabbix (1.6.6) suddenly began displaying the "No Permissions" error for any access to the web gui when I changed the auth to http. I moved the directory, recompiled, re-installed, recreated a new database, and put a fresh copy of the gui into the web directory. Still no Joy, and the zabbix and http logs make no mention of this error.

    Cent OS 5.3, 2 GB of RAM. As I mentioned, this installation worked fine until I changed the auth to http. Doing a complete reinstall seems to have no affect at all.
  • igor
    ZABBIX Support Specialist
    • Mar 2009
    • 40

    #2
    If you got error "No permissions" in case if external HTTP authentification is enabled this mean that external HTTP authentification is enabled in the Zabbix, but NOT installed/configured itself.
    In order to resolve your problem you need to switch back to the Zabbix internal authentification. You can do it by changing the value of the field "authentification_type" in the table "config" from "2" back to "0" (internal Zabbix authentication). Or install external HTTP authentification (for example, Apache).

    Comment

    • cls
      Junior Member
      • Nov 2009
      • 5

      #3
      same problem

      First time user.

      The web interface setup.php displays "ERROR: No permissions!" no matter what.

      There is one row in the config table. Its authentication_type value is 0.

      All the other screens are completely empty. Complete reinstall has no effect.

      There is no diagnostic information in any log. The Apache log shows the php pages run successfully. There is lots of traffic in the postgresql log (after I turned up the debugging) but I don't know what any of it means.

      This is on SLES 10.1. I can connect to Postgresql as the zabbix user and alter rows, no database access problem.

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #4
        and which zabbix version do you have ?
        how was it installed ?
        Zabbix 3.0 Network Monitoring book

        Comment

        • cls
          Junior Member
          • Nov 2009
          • 5

          #5
          compiled zabbix-1.6.6 from source

          Wow, thanks for replying so fast!
          zabbix-1.6.6 installed from source. (I couldn't find an RPM for SLES 10 x86_64.)

          Code:
          tar xzf zabbix-1.6.6.tar.gz  &&  cd zabbix-1.6.6
          ./configure --enable-agent --enable-server --with-pgsql --with-libcurl
          make
          make install
          My colleagues who use Zabbix use MySQL, and I'm wondering if it's been tested with Postgresql 8.1. I'm considering rebuilding it for MySQL next. But I'd rather get some diagnostics than shoot in the dark like that.

          Comment

          • igor
            ZABBIX Support Specialist
            • Mar 2009
            • 40

            #6
            Hi!
            And what you can see in the zabbix_server.log log file (preferably with DebugLevel=4) ?
            Can you please send it to us by e-mail to our support ?
            We will try to check it on Monday.

            Comment

            • richlv
              Senior Member
              Zabbix Certified Trainer
              Zabbix Certified SpecialistZabbix Certified Professional
              • Oct 2005
              • 3112

              #7
              Originally posted by ll001
              I moved the directory, recompiled, re-installed, recreated a new database, and put a fresh copy of the gui into the web directory. Still no Joy, and the zabbix and http logs make no mention of this error.
              i suspect here might be two different problems.
              above, first. if you indeed created a new db, this most likely is misconfiguration - check frontend db credentials.

              cls, now your problem - are you also seeing it only when http auth is enabled ?
              Zabbix 3.0 Network Monitoring book

              Comment

              Working...