Re: [CentOS] PHP question on CentOS

2007-07-03 Thread Rogelio Bastardo
> I do a "locate nagios.cmd", and it turns up nothing. I wasn't sure if the > /var/ part of the path meant that it had to do something with the fact that > my html files are in /var/www/html. This part depends on how you have nagios set up. The nagios.cmd file doesn't get created until nagios is

Re: [CentOS] PHP question on CentOS

2007-07-03 Thread Rogelio Bastardo
Given the last few emails it sounds like you're not overly familiar with linux. Adding nagios to that, and you're very truly jumping in at the deep end. If you survive this trial by fire you've chosen for yourself, you'll come out quite linux literate... or quite insane... Best of luck to you

Re: [CentOS] PHP question on CentOS

2007-07-02 Thread Jim Perrin
On 7/2/07, Rogelio Bastardo <[EMAIL PROTECTED]> wrote: # chown nagios.www /usr/local/nagios/var/rw/nagios.cmd Replace www with apache, and the /usr/local/foo with path to nagios.cmd # chmod 660 /usr/local/nagios/var/rw/nagios.cmd I do a "locate nagios.cmd", and it turns up nothing. I wasn'

Re: [CentOS] PHP question on CentOS

2007-07-02 Thread Jim Perrin
On 7/2/07, Rogelio Bastardo <[EMAIL PROTECTED]> wrote: > the files/directories should be readable by the user that your apache > process is running as, but not owned or writable by it. Okay, that's reasonable. So, does that mean (something like) the following? chmod 600 /var/www/html/nagiosQ

Re: [CentOS] PHP question on CentOS

2007-07-02 Thread Rogelio Bastardo
You'll need to make sure that apache can read (and possibly write) depending on what your needs are, to those files. chown and chmod are your friends here, yes. In the NagiosQL documentation, it says to do the following: # chown nagios.www /usr/local/nagios/var/rw/nagios.cmd # chmod 660 /usr

Re: [CentOS] PHP question on CentOS

2007-07-02 Thread Rogelio Bastardo
the files/directories should be readable by the user that your apache process is running as, but not owned or writable by it. So, does that mean (something like) the following? chmod 600 /var/www/html/nagiosQL (where the index.php file is located) also, have you added "index.php" to the app

Re: [CentOS] PHP question on CentOS

2007-07-02 Thread Rogelio Bastardo
I actually posted several of these details, but for whatever reason, they didn't show up in the email when it hit the listserv. 1. Do you have php installed? 2. Do you have php-mysql and the other likely php packages which may be required, installed. (rpm -qa php\*) [EMAIL PROTECTED] init.d

Re: [CentOS] PHP question on CentOS

2007-07-02 Thread Jim Perrin
On 7/2/07, Rogelio Bastardo <[EMAIL PROTECTED]> wrote: [Wed Jun 27 13:58:30 2007] [error] [client 10.200.200.54] File does not exist: /var/www/html/nagiosql [Wed Jun 27 14:04:51 2007] [error] [client 10.200.200.54] File does not exist: /var/www/html/nagiosql This is your problem right here. Si

Re: [CentOS] PHP question on CentOS

2007-07-02 Thread Jim Perrin
On 7/2/07, Rogelio Bastardo <[EMAIL PROTECTED]> wrote: I'm installing NagiosQL, and it's not displaying the http://mybox.com/nagiosql/index.php page, so I suspect that PHP isn't working correctly. Okay. Let's start small then. 1. Do you have php installed? 2. Do you have php-mysql and the othe

[CentOS] PHP question on CentOS

2007-07-02 Thread Rogelio Bastardo
I'm installing NagiosQL, and it's not displaying the http://mybox.com/nagiosql/index.php page, so I suspect that PHP isn't working correctly. " ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos