Announcement

Collapse
No announcement yet.

Problem during oreon setup

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

  • Problem during oreon setup

    Hello

    This is the first time i am setting up Oreon. We are running Red Hat, RHEL3 server with Apache2, Nagios 2.x, PHP 5.x, and mySQL 4.x, this software is installed under /usr/local/<correct folder>.

    First question:
    What could be the problem when i get this error message?
    Component Status
    Configuration file
    Warning: fopen(../oreon.conf.php) [function.fopen]: failed to open stream: Permission denied in /usr/local/oreon/www/install/setup.php on line 728 CRITICAL
    oreon.conf.php Can't open file
    It ask for the file oreon.conf.php but that file dosent eaven exist. Only file I can find is installoreon.conf.php

    Second question:
    So when i install Oreon should i first create a folder called oreon like this /usr/local/oreon or could i just unpack the tar.gz anywhere and run install.sh and it copy the needed files into /usr/local/oreon?

    Third question:
    Becuse Apache 2 is installed by compiling it its config file is located at /usr/local/apache/conf/apache.conf not at /etc/httpd/conf or /etc/httpd/conf.d can i just copy the "directory instructions" from oreon.conf and put em in the correct apache.conf file?

    Is there anyone who made a more comprehensive install instruction? In that case i would be really greatful

  • #2
    your apache user don't have right to write in /usr/local/oreon/www/
    StatusMap Module - NDO Tools Module - ImportCSV Module - SNMP-UI Module - PDFReports Module
    Dons Paypal

    Comment


    • #3
      I'm having the same issue with oreon.conf.php.

      I searched my machine and the file doesn't exist. I checked the apache users rights to the /oreon/www/ and it has write permissions.

      **EDIT I should clarify, I get the error on Step 9. - Creating Database. "Configuraion file status= critical

      oreon.conf.php status=can't open file.

      Comment


      • #4
        oreon.conf.php is created during step 9
        StatusMap Module - NDO Tools Module - ImportCSV Module - SNMP-UI Module - PDFReports Module
        Dons Paypal

        Comment


        • #5
          Not sure what to do then...

          the apache user and group that the apache user belongs to both have read/write/execute permissions to the /www/ folder.

          Suggestions?

          Comment


          • #6
            PHP5 ?
            StatusMap Module - NDO Tools Module - ImportCSV Module - SNMP-UI Module - PDFReports Module
            Dons Paypal

            Comment


            • #7
              PHP 4.something

              I'm a nix n00b. I created a phpinfo() .php file, but I didn't see anything for version info. I tried phpversion() also, no dice.


              Are you suggesting to install PHP5?


              Thanks,
              John

              Comment


              • #8
                Ok, I'm an idiot, it was right in the top title:
                PHP Version 4.3.9

                Comment


                • #9
                  I granted Owner,group, and others all read/write/execute permissions for testing to see if it resolved my problem. No go.

                  Suggestions?

                  Comment


                  • #10
                    Lopo can you do a ls -l of your oreon dir and post it?

                    Comment


                    • #11
                      [[email protected] ~]# ls -l /usr/local/oreon/
                      total 48
                      drwxrwxr-x 5 apache apache 4096 May 5 12:00 filesGeneration
                      drwxrwxr-x 5 apache apache 4096 May 5 12:00 filesUpload
                      drwxrwxr-x 7 apache apache 4096 May 5 12:00 GPL_LIB
                      drwxrwxr-x 2 apache apache 4096 May 5 12:00 log
                      drwxrwxr-x 2 nagios nagcmd 4096 May 5 12:00 rrd
                      drwxrwxr-x 11 apache apache 4096 May 16 16:26 www


                      I've also included two screen shots of steps 4 & 9. Step 4 says everything is good to go and in step 9 it states the failure.

                      Thanks.
                      Attached Files

                      Comment


                      • #12
                        Is there a oreon.conf.php file in the www directory?

                        Comment


                        • #13
                          Nope.

                          Comment


                          • #14
                            You could try to blow it wide open chmod 777 on the dir and see if that works or have you tried that?

                            Comment


                            • #15
                              Tried that too.


                              I confused.

                              If it creates/writes this file during step 9 and fails, why is it confirming that the location is 'OK' in step 4??

                              Comment

                              Working...
                              X