[CentOS] Directory index forbidden by rule: /var/www/html/

2007-10-09 Thread Rogelio Bastardo
I'm looking to troubleshoot this error when I run "tail /etc/httpd/logs/error_log" [Tue Oct 09 07:22:59 2007] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/html/ (I get this when I run Nagios' "./check_http -H 127.0.0.1".) All I did was install CentOS and then modify htt

[CentOS] forcing Y on yum upgrades

2007-10-09 Thread Rogelio Bastardo
I'd like to be able to do a "yum upgrade" without having to hit Y each time. While "yum install -y [program]}" seems to work, "yum -y upgrade" doesn't seem to. Is there a way to easily do this? ___ CentOS mailing list CentOS@centos.org http://lists.cento

[CentOS] searching for yum packages necessary for mail gateway

2007-09-23 Thread Rogelio Bastardo
I'm looking for the Red Hat equivalent of this Debian statement "apt-get –y install postfix mailscanner spamassassin bind9 clamav ssh webmin webmin-core logwatch libspf2-0 libmail-spf-query-perl" "yum search" can't find some of the packages. Is there some sort of online DB or something that I can

Re: [CentOS] question on "yum --enablerepo=centos "

2007-09-23 Thread Rogelio Bastardo
First off ... the php in CentOSPlus is part of the CentOS Web Stack ... if you use that php, you will need to use all the things that go with it from the Stack. See this page: http://wiki.centos.org/Repositories/CentOSPlus/CentOSWebStack Wow, this looks perfect. Thanks, Johnny! (I will give

[CentOS] question on "yum --enablerepo=centos "

2007-09-23 Thread Rogelio Bastardo
I'm installing Fruity for Nagios using the 4.4 Single Server CD and want to force upgrade PHP 4 to PHP 5 without having to upgrade everything on CentOSplus. In order to install Nagios, I have to first enable RPMforge. However, to use Fruity, I have to use PHP 5, which isn't included in the RP

[CentOS] chmod / chown settings on /var/www/html

2007-09-23 Thread Rogelio Bastardo
I'm setting up a new CentOS 4.4 server to work with Fruity (a frontend program that operates Nagios). For security purposes, what chmod and chown settings do you put on the /var/www/html folders? Also, can anyone recommend any good LAMP hardening guides? While I'm not planning on putting this into

Re: [CentOS] SFTP error (perhaps due not to using passive mode?)

2007-08-14 Thread Rogelio Bastardo
On 8/14/07, John R Pierce <[EMAIL PROTECTED]> wrote: > > passive vs active or port mode is strictly a old school FTP thing, it > has nothing to do with sftp which is part of the ssh protocol. > > are you running a ssh server on port 990? it normally runs on port 22. My problem actually turns ou

Re: [CentOS] SFTP error (perhaps due not to using passive mode?)

2007-08-14 Thread Rogelio Bastardo
> > Are you trying to use SFTP or FTPS? They're 2 completely different > protocols. SFTP piggybacks on top of SSH, and FTPS is FTP over SSL. That seems to be my problem -- I need FTP over SSL, no wonder the other end knows nothing of the incoming SSH connection. Thanks! _

Re: [CentOS] text installer used in Linux?

2007-08-14 Thread Rogelio Bastardo
> > My God it's like deja-vu: Sorry for asking the same question in two ways. I had originally thought of just trying to figure out everything manually, but then someone in my LUG suggested that I just take one of these other tools and then just mod it to suit my needs here. He said that a few

[CentOS] SFTP error (perhaps due not to using passive mode?)

2007-08-14 Thread Rogelio Bastardo
I'm getting a weird error when I try to sFTP on a CentOS box (which I don't have root access). when I run: sftp -oPort=990 [EMAIL PROTECTED] I get the following error, which I suspect is a result of not being in "passive mode" (which works when I use Filezilla on Windows) Connecting to host.dom

[CentOS] text installer used in Linux?

2007-08-09 Thread Rogelio Bastardo
Can someone tell me the name of the text installer used in distros like Debian / Ubuntu? I'd like to create one upon first time boot for a CentOS-based virtual application I'm making. So, after someone boots up, I'd like to have a little GUI thing ask them questions and then put those variables i

[CentOS] startup config scripts for CentOS

2007-08-07 Thread Rogelio Bastardo
On CentOS-based VM appliance I'm building, I would like to create a script that runs upon login that asks the user a series of questions that does (among other things) ask them to input their networking information (IP, mask, gate, DNS, etc). I'm hoping you guys might point me in the right directi

Re: [CentOS] CentOS 4 vs 5 for VMware?

2007-08-03 Thread Rogelio Bastardo
> VMware works fine under either 4 or 5, and both 4 and 5 run under VMware > on a Linux host, but is your question about CentOS as a host or guest > OS? Mostly as the host OS, but I will be running some guest CentOS sessions as well. ___ CentOS mailing l

[CentOS] CentOS 4 vs 5 for VMware?

2007-08-03 Thread Rogelio Bastardo
For stability reasons, I'm running CentOS 4 for VMware (it's the devil I know). Are there any compelling reasons to upgrade to CentOS 5 for it? I'm relatively new to the whole virtualisation scene and perhaps there are some updated packages that might be good for VMware? _

Re: [CentOS] how to export and import VMware servers

2007-08-02 Thread Rogelio Bastardo
> Also, check your permissions. Make sure that they are the same as they > were before, or that the current user is allowed to access them. I feel stupid b/c that was actually it. Thanks, Max! ___ CentOS mailing list CentOS@centos.org http://lists.cento

[CentOS] how to export and import VMware servers

2007-08-02 Thread Rogelio Bastardo
I recently build a CentOS-based VMware server (the free ver) and now need to move all of the virtual machines off my old Windows-based VMware server (also the free ver) to this next CentOS-based one. I have successfully FTP'd all of the files to the new CentOS box and have even opened the server i

[CentOS] Re: virtual hdd problems when CentOS is guest OS

2007-08-01 Thread Rogelio Bastardo
On 8/1/07, Rogelio Bastardo <[EMAIL PROTECTED]> wrote: > Interestingly, I can create virtual Debian boxes ok, but I can't > create virtual CentOS boxes. What might I be missing? As soon as I > boot to the iso, it says something about not being able to find the > drive. I

[CentOS] virtual hdd problems when CentOS is guest OS

2007-08-01 Thread Rogelio Bastardo
I recently installed VMware on CentOS 4.4 (using the single server CD). I installed VMware fine, and then installed the VMware-mui tools that allow me to use a Windows box to console to the server. From my Windows box, I can create VMs on the fly just fine. Interestingly, I can create virtual Deb

[CentOS] CentOS things to mod for VMware server

2007-08-01 Thread Rogelio Bastardo
I'd like to make a CentOS-based VMware server. Anything I should consider before doing so? (e.g. stuff to disable, kernel tweaks, etc) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] Re: Perl-related problem on rrdtool?

2007-07-30 Thread Rogelio Bastardo
On 7/30/07, Rogelio Bastardo <[EMAIL PROTECTED]> wrote: > On CentOS 4.5, I have Cacti and Nagios installed. I'm trying to > "glue" them together with a program called n2rdd but am having a > problem that I wondering is Perl-related. I feel stupid. I didn't h

[CentOS] Perl-related problem on rrdtool?

2007-07-30 Thread Rogelio Bastardo
On CentOS 4.5, I have Cacti and Nagios installed. I'm trying to "glue" them together with a program called n2rdd but am having a problem that I wondering is Perl-related. When I run "tail /var/log/nagios/rra/n2rrd.log", I see lots of this sort of thing: server01: Missing template for "server01"

[CentOS] yum upgrade perl question

2007-07-24 Thread Rogelio Bastardo
I'm looking to install n2rrd, which requires Perl 5.8.x (http://n2rrd.diglinks.com/cgi-bin/trac.cgi) I see that lots of Perl stuff is installed. Do I just need to yum upgrade perl-libwww-perl-5.78.5 to the latest? Here's what I have installed perl-wise: [EMAIL PROTECTED] nagios2cacti]# rpm -qa

[CentOS] seeing which IP is your DHCP server

2007-07-19 Thread Rogelio Bastardo
If I am on a CentOS box (or any other nix box, I guess), what is the easiest way to easily see the dhcp server? (Like in MS Windows, one can run "ipconfig /all" and see which IP is the DHCP server) ___ CentOS mailing list CentOS@centos.org http://lists.

[CentOS] username list?

2007-07-12 Thread Rogelio Bastardo
Where/how in CentOS can I get a nice list of all the usernames on the system? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] wireless resourches for RHEL3

2007-07-10 Thread Rogelio Bastardo
Does anybody have any good RHEL3 wireless (802.11) resources? I'm googling and haven't yet found anything good and am hoping someone here can point me in the right direction. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/li

[CentOS] ftp for implicit encryption?

2007-07-06 Thread Rogelio Bastardo
I am looking for a Linux-based command line program that will run implicit FTP encryption over port 990. Any recommendations? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] beginner resources for CentOS

2007-07-03 Thread Rogelio Bastardo
I'm looking for a good online (or even a good) "how to be a sysadmin" guide for beginners geared towards CentOS users. Does anyone have any suggestions? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

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] best way to upgrade php4 -> php5 on CentOS?

2007-07-03 Thread Rogelio Bastardo
To do this, you'd issue a command like 'yum --enablerepo centosplus install php php-pear' Thanks! I'm reading over all the details on the following URL: http://mirror.centos.org/centos/4/centosplus/Readme.txt This section was especially helpful: - php-5.x.x-x.cento

[CentOS] best way to upgrade php4 -> php5 on CentOS?

2007-07-03 Thread Rogelio Bastardo
What is the best way to upgrade PHP4 to PHP5 on CentOS? I see from "rpm -qa" that I'm running PHP-4.3.9. Should I uninstall this old PHP4 package and then reinstall PHP5? Or is there some cool yum upgrade thing I might run? This is a VMware virtual box for testing, so I'm more concerned about l

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] where to find Single Server CD edition?

2007-07-02 Thread Rogelio Bastardo
probably nto built yet for 4.5, you can find them for 4.4... http://mirror.stanford.edu/yum/pub/centos/4.4/isos/i386/ Very cool, thank you. For whatever reason, none of the mirrors I was using had that. I suspect that a simple "yum install update && yum install upgrade" fixes the 4.4 -> 4.5 i

[CentOS] where to find Single Server CD edition?

2007-07-02 Thread Rogelio Bastardo
I'm looking for the "Single Server CD" mentioned in this Linux article ( http://www.linux.com/articles/60825), but can seem to find it in the CentOS link provided there in the article. http://isoredirect.centos.org/centos/4/isos/i386/ All of the places serving the images have either, (a) all of t

[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

Re: [CentOS] apache user & and list chown properties questions

2007-07-02 Thread Rogelio Bastardo
(a) /etc/httpd/conf/httpd.conf - should be apache as user and as group (b) for the content of the current directory: ls -la Perfect, thank you! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] apache user & and list chown properties questions

2007-07-02 Thread Rogelio Bastardo
I am trying to chown certain directories and binaries for the Apache user. How can I (a) find out the user Apache is using, and (b) the current owner on a given (or group of) folder(s) / file(s)? Thanks ___ CentOS mailing list CentOS@centos.org http://

Re: [CentOS] CentOS version of /srv/www/htdocs ?

2007-07-02 Thread Rogelio Bastardo
FWIW, I put Nagios in /home/nagios/html, and use an apache VirtualHost directive in a conf file in /etc/httpd/conf.d Interesting. I don't know much about these virtual hosts, and will look more into it. I assume this is where I need to look? http://httpd.apache.org/docs/2.0/vhosts/ and ht

Re: [CentOS] CentOS version of /srv/www/htdocs ?

2007-07-02 Thread Rogelio Bastardo
The equivalent directory would be /var/www/html on CentOS. Perfect, thank you very much, Matt. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] CentOS version of /srv/www/htdocs ?

2007-07-02 Thread Rogelio Bastardo
I'm installing NagiosQL on CentOS 4.5 and am trying to follow these instructions http://www.nagiosql.org/wiki/Documentation "decompress the nagiosql-*.tar.gz to a directory accessible by your webserver (e.g. /srv/www/htdocs)" But since there is now /srv/www/htdocs folder on my installation,

[CentOS] good resources for making RPMs

2007-07-02 Thread Rogelio Bastardo
Could anyone recommend some good resources I might go to for making an RPM? (Ultimately, I'd like to make a dpkg. I hear alien is a good way to do that, but am open to any other ways of doing so.) ___ CentOS mailing list CentOS@centos.org http://lists

[CentOS] installing progs from source on CentOS

2007-07-01 Thread Rogelio Bastardo
I'd like to install NagiosQL on CentOS, but I don't see a yum package for it, so I'm going to download the source code. If I download it, where in CentOS's file system (i.e. in which directory) is the best place to untar, compile, and run it? (Sorry, I've been spoiled by packages!) __

[CentOS] disabling SELinux on CentOS: a good idea?

2007-06-29 Thread Rogelio Bastardo
I was banging my head against the wall trying to figure out why my Nagios install wasn't working on CentOS 4.5 (I'm used to Debian), and so I disabled SELinux and everything magically started working. Is this a good long term idea? Or is there a better way of doing things?