Announcement

Collapse
No announcement yet.

Problem with centreon Session Expired.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with centreon Session Expired.

    Hi,

    I have installed centreon on CentOS 5.6 with mysql 5.5.9, php 5.3.5, nagios 3.2.3, ndoutils y nagios plugins, etc. All is running.

    I have installed centreon 2.2.1 console part with no errors and web part with no errors but when I click on finish install and login window appears, I write useradmin and password and it says Invalid User, ok. I go to mysql and a I see that my useradmin has not created. Ok, I login with user (contact) admin and password oreon but I receive a Session Expired. (disconnetc=2) and the login window żż??

    I have seen the centreon logs. No errors except in

    cat error-login-2011-06-28.log
    12:35|1|0|0|Contact 'admin' logout
    12:35|1|0|0|Contact 'admin' logout

    żż??

    Why logout, I have all requisites to run centreon and I dont have errors in the installation...

    Any suggestions?

  • #2
    I have this error in centACL.log

    cat centAcl.log

    <img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b><img src='./img/centreon.gif'><br/><b>Connection failed, please contact your administrator</b>
    żż??

    Comment


    • #3
      I have searched the problem and I have found this.

      The code flow is ok until it executes the insert of the session data (header.php) in the mysql database. The insert is not saved in the database and centreon logout the user because there is not session data in the table "session".

      Ok, why is not there any session data?

      There is a database connection because centreon searchs the user and password and, in the initial installation, centreon generated the database, tables, it inserts user admin with password oreon, etc.

      How can I do to login and insert data or repair the problem?

      Regards

      Comment


      • #4
        I have reinstalled all with all OK (green colours :-D).

        In web installation part I see this

        Writable Centreon Configuration File (centreon.conf.php) OK
        /usr/local/centreon/etc/
        Generate Centreon configuration file OK
        /usr/local/centreon/etc/centreon.conf.php
        Generate Centstorage configuration file OK
        /usr/local/centreon/etc//conf.pm

        The bold part is ok with 2 backslash?

        Comment


        • #5
          Nobody can help with this installation?

          I have compiled mysql, apache and php.

          Why centreon creates databases and default users but not my user admin and it doesnt insert nothing in the database after installation?

          Why all pre and requisites are OK in the shell and web installation but it doesnt run correctly?

          Regards

          Comment


          • #6
            I have exactly the same problem doe anyone know how to resolve this? Strangely enough admin have no problem.

            Comment

            Working...
            X