Re: [CentOS-es] instalar pear

2007-07-02 Thread Ing. Ernesto Pérez Estévez

Richard Lopez wrote:

Como instalo php-pear en Centos5 ???

Tengo instalado el php 5.1.6 pero no puedo ejecutar pear . Aparece :

-bash: pear: command not found

pon:

yum install php-pear

saludos!
epe

--
Ing. Ernesto Pérez Estévez
http://www.ecualinux.com
USA: +1 305 359 4495 / España: +34 91 7617884
Ecuador: +593 2 3412402 / + 593 9 9246504
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Instalación de Debian Xen

2007-07-02 Thread Ing. Ernesto Pérez Estévez

BLEYCK LINX wrote:

Saludos a todos, me podrian ayuda con alguna dirección web de donde pueda
instalar el Debian con el Xen, paa terner un SO Virtual, espero me puedan
ayudar.


Aquí te mando el script que uso para instalar debian como un domU en mi 
centos, no es la maravilla el instalador, pero si le dedicas un tiempo, 
te funcionará.


Debes instalar el debootstrap para que te funcione. Ah, el script 
funciona también para ubuntu.


Aquí puedes bajar el debootstrap (en rpm):
http://centos5.centos.ec/i386/repodata/repoview/debootstrap-0-0.3.3.1-8.1.html

Aquí va el script, usa lvm2 para crear los discos.

#!/bin/bash
# Script para instalar debian como un domU de centos5
# Hecho por Ernesto Pérez Estévez
# www.ecualinux.com - www.centos.ec
# version 0.0.0.1

# Falta ponerle una clave a root, aleatoria
# falta entrar por linea de comando la IP, mascara y network

[ -n $1 ]  [ -n $2 ]   [ -n $3 ]  [ -n $4 ]  [ -n $5 ] 
 [ -n $6 ]  [ -n $7 ]|| { echo usar: $0 vmname ip netmask 
gateway password hdsize ram; exit 1; }


[ -f /etc/xen/$1 ]  { echo la maquina virtual $1 existe, eliminela 
primero; exit 1;}


#desmontando dentro de /mnt por si acaso
umount /mnt/$1  /dev/null
umount /mnt  /dev/null

lvcreate dsk -n$1disk1 -L${6}G
lvcreate dsk -n$1swap -L${7}M
mkfs.ext3 -m0 /dev/dsk/$1disk1
mkswap /dev/dsk/$1swap

mkdir /mnt/$1
mount /dev/dsk/$1disk1 /mnt/$1

debootstrap --arch i386 sarge /mnt/$1/ http://ftp.us.debian.org/debian

#borrando /lib/tls
rm -Rf /mnt/$1/lib/tls

#copiando las librerias del kernel de xen
rm -Rf /mnt/$1/lib/modules/2.6*xen
cp -a /lib/modules/2.6*xen /mnt/$1/lib/modules

# Creando la maquina virtual hay que asignar la IP y la RAM
cat  /etc/xen/$1  EOF
kernel = /boot/vmlinuz-2.6-xen
memory = $7
name = $1
vif = [ 'vifname=$1 , mac=`/usr/sbin/macgen.sh`, ip=$2, bridge=xenbr0' ]
disk = [ 'phy:/dev/dsk/$1disk1,sdb1,w','phy:/dev/dsk/$1swap,sdb2,w' ]
root = /dev/sdb1 ro
EOF

#creando el fstab
cat  /mnt/$1/etc/fstab  EOF
/dev/sdb1 / ext3 errors=remount-ro,noatime 0 1
/dev/sdb2 swap  swap defaults  0 0
proc  /proc proc defaults  0 0
EOF

chroot /mnt/$1 mount -t proc none /proc
rsync -avq /root/xen/debian-dev/tty* /mnt/$1/dev/


cat  /mnt/$1/etc/hosts  EOF
127.0.0.1 localhost.localdomain localhost
$2$1.ecualinux.com   $1
EOF

cat  /mnt/$1/etc/network/interfaces  EOF
 # This file describes the network interfaces available on your system
 # and how to activate them. For more information, see interfaces(5).

 # The loopback network interface
 auto lo
 iface lo inet loopback

 # The primary network interface
 auto eth0
 iface eth0 inet static
address $2
netmask $3
gateway $4
EOF

#desactivando ipv6
echo alias ipv6 off  /mnt/$1/etc/modprobe.conf
echo alias net-pf-10 off  /mnt/$1/etc/modprobe.conf

#resolv.conf del dom0
cp /etc/resolv.conf /mnt/$1/etc/

#cambiando la clave a root
echo root:$5|chroot /mnt/$1 chpasswd

#activando la maquina automaticamente
ln -s /etc/xen/$1 /etc/xen/auto/

#finalizando
sync
chroot /mnt/$1 umount /proc  /dev/null
umount /mnt/$1/proc  /dev/null
umount /mnt/$1
rmdir /mnt/$1

echo recuerda entrar e instalar ssh: apt-get install ssh
exit 0

macgen.sh es así:
#!/bin/bash

THE_MAC=`python -c 'import random; r=random.randint; print 
00:16:3E:%02X:%02X:%02X % (r(0, 0x7f), r(0, 0xff), r(0, 0xff))'`

echo $THE_MAC

exit 0



saludos
epe
--
Ing. Ernesto Pérez Estévez
http://www.ecualinux.com
USA: +1 305 359 4495 / España: +34 91 7617884
Ecuador: +593 2 3412402 / + 593 9 9246504
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS] Bacula in CentOS 5

2007-07-02 Thread Jordi Espasa Clofent

Hi all,

I'm planning to use Bacula in production environment. I've seen the 
Bacula packages are not provided neither by any official repo nor any 
third popular repo (as rpmforge).


¿Anyone use bacula in CentOS 5?

--
Thanks,
Jordi Espasa Clofent

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Bacula in CentOS 5

2007-07-02 Thread Christopher Hartung

Hi Jordi,

why don't compile for your self? We did it using redhat 4. Works fine ;)

Jordi Espasa Clofent schrieb:

Hi all,

I'm planning to use Bacula in production environment. I've seen the 
Bacula packages are not provided neither by any official repo nor any 
third popular repo (as rpmforge).


¿Anyone use bacula in CentOS 5?



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Bacula in CentOS 5

2007-07-02 Thread Angel Marin
Jordi Espasa Clofent escribió:
 Hi all,
 
 I'm planning to use Bacula in production environment. I've seen the
 Bacula packages are not provided neither by any official repo nor any
 third popular repo (as rpmforge).
 
 ¿Anyone use bacula in CentOS 5?

There are contributed packages for rhel 4 and 5 on bacula's site that
you could use. I use them on a centos 4 box without issues.

http://sourceforge.net/project/showfiles.php?group_id=50727package_id=213714

-- 
Angel Marin
http://anmar.eu.org/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] howto X11 set verbositly level in xorg.conf file

2007-07-02 Thread Jerry Geis

All,

I am looking for how to set the verbosity level IN the xorg.conf file???
I have found how to do it when starting X11 on the command line. 
However, the machine is remote.


Jerry

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Both archs version rpm are installed during update?

2007-07-02 Thread Alexx
During last update packets pidgin and libpurple were updated while yum
update-ing

Is it a common and normal thing that both x86_64 and i386 arch rpms are
installed during update? This not the first time.


-- 
Cheers,
 Alexx  mailto:[EMAIL PROTECTED]

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[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.org/mailman/listinfo/centos


[CentOS] dumb sendmail question -- how to get outbound messages to use example.com instead of hostname?

2007-07-02 Thread Jeff Potter


Hi List,

I have a dumb sendmail question, and I'm wondering if anyone can  
point me in the right direction (besides sendmail list is two doors  
down on the left ;-).


One of our clients has a bunch of servers -- CentOS 5 -- that are on  
only a private network that's NATted to the outside world -- that is,  
those servers can initiate outbound connections fine, but don't have  
valid IPs / hostnames as far as the outside world is concerned.


The problem is the hostnames of these machines don't exist in real  
DNS anywhere, so when they try to send mail to the outside world,  
other mail servers are seeing an invalid domain in the from address  
and summarily rejecting the messages (which makes sense).


I need to figure out how to tell sendmail, when sending outbound  
messages, to use the domain name example.com, instead of  
subdomain.example.com. It would seem simple in /etc/mail/sendmail.mc:


MASQUERADE_AS(`example.com')dnl
LOCAL_DOMAIN(`example.com')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(masquerade_entire_domain)dnl
MASQUERADE_DOMAIN(betsy.example.com)dnl

(Followed by a make -C /etc/mail; service sendmail restart)

This doesn't seem to work. The odd thing is that, when I send a  
message out to an external address of mine, the bounce back to root  
*does* get through successfully -- the from address at that point is  
[EMAIL PROTECTED] so it allows it.


Thoughts? I'm thinking I'm missing something reay basic.

best,
Jeff

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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

2007-07-02 Thread Matt Hyclak
On Mon, Jul 02, 2007 at 11:04:32AM -0700, Rogelio Bastardo enlightened us:
 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, I'm not
 sure what to do on CentOS instead.
 
 Any advice?

The equivalent directory would be /var/www/html on CentOS.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Both archs version rpm are installed during update?

2007-07-02 Thread Akemi Yagi

On 7/2/07, Johnny Hughes [EMAIL PROTECTED] wrote:


You can add this to your .rpmmacros (create it if it does not exist in
your home directory):

%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}


And if you want this to be systemwide, add the line to /etc/rpm/macros
(create it if it does not exist).

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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


Re: [CentOS] dumb sendmail question -- how to get outbound messages to use example.com instead of hostname?

2007-07-02 Thread Stephen John Smoogen

On 7/2/07, Brent L. Bates [EMAIL PROTECTED] wrote:

 On our servers here are some sendmail.mc lines referring to our domain.
 May be they will help.  These are from our main server:

define(`confDOMAIN_NAME',vigyan.com)dnl
CLIENT_OPTIONS(`Family=inet,Addr=vigyan.com')dnl
define(`SMART_HOST',`vigyan.com')dnl
FEATURE(`smart_host_domain',`vigyan.com ')dnl

These are from our slave servers:

CLIENT_OPTIONS(`Family=inet,Addr=slave.vigyan.com')dnl
MASQUERADE_AS(vigyan.com)dnl
MASQUERADE_DOMAIN(vigyan.com)dnl
FEATURE(`allmasquerade')dnl
FEATURE(`masquerade_entire_domain')dnl
FEATURE(`masquerade_envelope')dnl
define(`SMART_HOST',`slave.vigyan.com')dnl
FEATURE(`smart_host_domain',`vigyan.com ')dnl



Make sure you have sendmail-cf RPM installed also. I normally do the
fixes by hand as in

DATE=$(date -Im)
yum install sendmail-cf
m4  /etc/mail/sendmail.mc  /etc/mail/sendmail.cf.${DATE}
diff /etc/mail/sendmail.cf /etc/mail/sendmail.cf.${DATE}
cp -b /etc/mail/sendmail.cf.${DATE} /etc/mail/sendmail.cf
service sendmail restart


--
Stephen J Smoogen. -- CSIRT/Linux System Administrator
How far that little candle throws his beams! So shines a good deed
in a naughty world. = Shakespeare. The Merchant of Venice
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] dumb sendmail question -- how to get outbound messages to use example.com instead of hostname?

2007-07-02 Thread Jeff Potter


Thanks, Brent -- I tried this, but still no dice. I didn't copy all  
of your directives, since there's no relay involved in our case, but  
I did make sure that the following 3 were enabled...


FEATURE(`allmasquerade')dnl
FEATURE(`masquerade_entire_domain')dnl
FEATURE(`masquerade_envelope')dnl

If sendmail doesn't have any sort of rewriting capability of  
messages, is there something somewhere outside of sendmail that I can  
set to get the envelope-from and from: line to change? (Besides  
changing the hostname...)


best,
Jeff___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] dumb sendmail question -- how to get outbound messages to use example.com instead of hostname?

2007-07-02 Thread Brent L. Bates
 Since you are using NAT, the important IP address and host name
associated with it is the one the outside world sees.  Does that IP address
have a host name the world sees and does that name then resolve to the same IP
address?

-- 

  Brent L. Bates (UNIX Sys. Admin.)
  M.S. 912  Phone:(757) 865-1400, x204
  NASA Langley Research CenterFAX:(757) 865-8177
  Hampton, Virginia  23681-0001
  Email: [EMAIL PROTECTED]  http://www.vigyan.com/~blbates/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Linux for zVM

2007-07-02 Thread Shahin.Suleiman
Hello folks,

 

I hope I am not on the wrong list.

 

I am looking to install Linux under zVM 5.1 and I can barely spell
LinUX.

 

How should I go about it and what Linux distributions can be used under
zVM?

 

 

Thanks.

 

 

Suleiman Shahin

Systems Programmer

Palm Coast Data

(386) 447 2552

 

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] custom SELinux?

2007-07-02 Thread Florin Andrei
I need to upgrade a server running an old Fedora version. The new OS 
will be CentOS 5 64bit.


I want to put /var/lib/cyrus and /var/spool/cyrus (all the variable 
files for the Cyrus IMAP server) on the same partition like /home - this 
way, all the user-related stuff, home pages and email, stays on one 
partition.


The problem is SELinux. On Fedora, I had to customize the SELinux 
attributes so that SELinux would grant the Cyrus processes access to the 
Cyrus stuff in /home
But, after doing a relabel of the whole disk, the custom attributes were 
wiped out.

I want to avoid that on CentOS 5.

So, I need to tell SELinux hey, this stuff under 
/home/foobar/spool/cyrus is just like /var/spool/cyrus, don't relabel it 
to something else. How do I achieve that?


--
Florin Andrei

http://florin.myip.org/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 5 32-bit vs 64-bit question

2007-07-02 Thread Scott Ehrlich
I'm trying to install a custom greeter into a newly installed 64-bit 
Centos 5 system.   I originally tried to modify Xsession to include xpop 
/path/to/text_to_dispay as the first executable line, but that didn't 
work.


Then I read about gdmconfig which led to gdmsetup which led to 
custom.conf.


Nothing, so far, is producing a custom banner prior to login.

Is this an issue with CentOS 5, an issue with the 64-bit version, or 
something else I need to learn?


Thanks.

Scott
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] good resources for making RPMs

2007-07-02 Thread Ray Van Dolson
On Tue, Jul 03, 2007 at 08:19:43AM +1200, Miskell, Craig wrote:
 
  Could anyone recommend some good resources I might go to for 
  making an RPM?
 http://www.rpm.org is good, particularly http://www.rpm.org/max-rpm/
 section II  RPM and Developers.
 
 Also try looking at some existing spec files to get a handle on the
 variety of things you can/should be doing.

Fedora has a pretty good document on the subject as well:

  http://docs.fedoraproject.org/drafts/rpm-guide-en/

Ray
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] good resources for making RPMs

2007-07-02 Thread Miskell, Craig

 Could anyone recommend some good resources I might go to for 
 making an RPM?
http://www.rpm.org is good, particularly http://www.rpm.org/max-rpm/
section II  RPM and Developers.

Also try looking at some existing spec files to get a handle on the
variety of things you can/should be doing.

HTH,
Craig
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] dumb sendmail question -- how to get outbound messages to use example.com instead of hostname?

2007-07-02 Thread Jeff Potter




 Since you are using NAT, the important IP address and host name
associated with it is the one the outside world sees.  Does that IP  
address
have a host name the world sees and does that name then resolve to  
the same IP

address?


Yup -- that's what I'm trying to get sendmail to use, but it's  
insisting on using the internal hostname, inclusive of the machine  
name. I.e., betsy.example.com is the actual hostname, at 10.x.x.x;  
all the 10.x.x.x machines have custom /etc/hosts that define  
betsy.example.com, etc., with their 10.x.x.x IPs. When it sends email  
to the outside world, I need to to send as example.com, dropping  
the betsy part.


Is this really that hard?

best,
Jeff___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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

2007-07-02 Thread John R Pierce

Rogelio Bastardo wrote:
I'm installing NagiosQL on CentOS 4.5 and am trying to follow these 
instructions


http://www.nagiosql.org/wiki/Documentation 
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, I'm 
not sure what to do on CentOS instead.




FWIW, I put Nagios in /home/nagios/html, and use an apache VirtualHost 
directive in a conf file in /etc/httpd/conf.d



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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

http://www.devshed.com/c/a/Apache/Configuring-and-Using-Virtual-Hosts-in-Apache/

thx, John!
___
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 Arne Pelka
 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)?

(a) /etc/httpd/conf/httpd.conf - should be apache as user and as group
(b) for the content of the current directory: ls -la

-Arne
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 5 32-bit vs 64-bit question

2007-07-02 Thread Scott Ehrlich

On Mon, 2 Jul 2007, Jim Perrin wrote:


On 7/2/07, Scott Ehrlich [EMAIL PROTECTED] wrote:


Nothing, so far, is producing a custom banner prior to login.

Is this an issue with CentOS 5, an issue with the 64-bit version, or
something else I need to learn?


Depends on where you want the banner. For display before anyone enters
any information, I create a custom gdm theme with the text in it. This
way the see it before they enter any info at all.

For click-through acceptance, you can use gdialog within gdm to make
people go through a yes/no acceptance type.

While it's for el3, it should work for el5 also. There are probably
easier ways to accomplish this, but hey...

http://kbase.redhat.com/faq/FAQ_79_8398.shtm


Hi Jim:

That was perfect!   gdialong --yesno my banner as the first line in 
Xsession works like a charm.


Now, onto PAM - /etc/pam.d/blah.conf claims in the header comments that 
the file is autogenerated and any edits will be lost.   So what is the 
proper way to make changes that WILL stick?


I'm new to the PAM world.

Thanks again.

Scott
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] SSL accelerators anyone?

2007-07-02 Thread Florin Andrei

Anybody using hardware SSL accelerators on CentOS?
The architecture that I'm looking at is CentOS 4 32 bit and Tomcat, and 
the motherboards can accept PCI Express cards. But I'm interested in any 
observations at all, even on different software and hardware versions - 
what works for you, what to stay away from, etc.


--
Florin Andrei

http://florin.myip.org/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Pam Stuff (was: Centos 5 32-bit vs 64-bit question)

2007-07-02 Thread Jim Perrin

On 7/2/07, Scott Ehrlich [EMAIL PROTECTED] wrote:


Now, onto PAM - /etc/pam.d/blah.conf claims in the header comments that
the file is autogenerated and any edits will be lost.   So what is the
proper way to make changes that WILL stick?


What changes are you looking to make? Most times the pam.d/foo files
are not where you want to set things.



I'm new to the PAM world.


It's a dark and sunless place.

--
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] where to find Single Server CD edition?

2007-07-02 Thread John R Pierce

Rogelio Bastardo wrote:
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 the 5 cd 
set, and/or (b) a DVD .torrent file.  I just want the ~200MB single 
server cd.


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/



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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 issue, right?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] where to find Single Server CD edition?

2007-07-02 Thread William Warren

actually just yum update

Rogelio Bastardo wrote:

probably nto built yet for 4.5, you can find them for 4.4...
http://mirror.stanford.edu/yum
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 issue, right?





___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


--
My Foundation verse:
Isa 54:17  No weapon that is formed against thee shall prosper; and 
every tongue that shall rise against thee in judgment thou shalt 
condemn. This is the heritage of the servants of the LORD, and their 
righteousness is of me, saith the LORD.


-- carpe ductum -- Grab the tape
CDTT (Certified Duct Tape Technician)

Linux user #322099
Machines:
206822
256638
276825
http://counter.li.org/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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. Since you say the file exists in that
location, and apache says it doesn't, it's most likely a permissions
error. Who currently owns those files.



 I suspect that it's a permissions issue, as index.php *does* exist in that
spot. Should I perhaps chown or chmod (using Apache?)


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.

--
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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 appropriate DirectoryIndex

directive line in your httpd.conf? [when you install php via an rpm
that may get done by default, but you'll want to check.]



Actually, I do have that setup

httpd.conf - DirectoryIndex index.html index.html.var index.php

And afterwards, I ran /etc/init.d/httpd reload
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kernel build warning

2007-07-02 Thread Akemi Yagi

On 7/2/07, Mark Hull-Richter [EMAIL PROTECTED] wrote:


 What does this mean:

 WARNING: autofs_kill_sb [fs/autofs/autofs.ko] undefined!
 WARNING:
/var/tmp/kernel-2.6.18-8.1.6.el5.nx-root/lib/modules/2.6.18-8.1.6.el5.nx/kernel/fs/autofs/autofs.ko
needs unknown symbol autofs_kill_sb

 It causes a similar warning when I install the kernel.  The only change I
made when I built this kernel was to add NTFS support (need it for various
reasons, including portable repairs...).


You must have changed something other than the NTFS option.  autofs is
supposedly OFF by default.  Instead, autofs4 is used in the CentOS
kernel.

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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/local/nagios/var/rw/nagios.cmd

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.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Both archs version rpm are installed during update?

2007-07-02 Thread Richard Chapman
I was interested to see that Firefox java and flash plugins aren't 
available in x86_64.
Does this explain why flash and/or java plugins aren't working on my 
Centos 5 x86_64 installation. If I go to (say) you-tube - it tells me I 
don't have the latest flash player - or don't have java enabled. If I 
follow their instructions on installing them - it tells me they are 
already installed.


Anyone else found this - and found a solution?

Thanks

Richard.



Johnny Hughes wrote:

Alexx wrote:
  

During last update packets pidgin and libpurple were updated while yum
update-ing

Is it a common and normal thing that both x86_64 and i386 arch rpms are
installed during update? This not the first time.



Sort of ...

If the i386 items were installed before, then yes, they will be updated.

The x86_64 tree has x86_64 and i386 rpms in it, this is by design (of
upstream).  I personally like the Debian approach for this (make them
totally separate distros and don't mix them).

There are some programs that are not available on x86_64 ... though in
CentOS-5 there are less of them.

Java and Flash plugins for mozilla/firefox are some.

You can add this to your .rpmmacros (create it if it does not exist in
your home directory):

%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}

Now you can use RPM to see which i[3,5,6]86 rpms are installed ... like
this:

rpm -qa | grep 'i[3,5,6]86'

If you have x86_64 rpms for all these, you can remove the i[3,5,6]86
versions if you want to.

The bottom line, you can have both without problem ... though I don't
normally do x86_64 on workstations.

Thanks,
Johnny Hughes

  



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
  

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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/nagiosQL (where the index.php file is located)


No, basically it means it should be owned by root, with permissions like 644.
so 'chown -R root:root /var/www/html/nagiosQL' then 'chmod -R 644
/var/www/html/nagiosQL'


 also, have you added index.php to the appropriate DirectoryIndex
 directive line in your httpd.conf? [when you install php via an rpm
 that may get done by default, but you'll want to check.]

Actually, I do have that setup


Yep. that gets set by default.




httpd.conf - DirectoryIndex index.html index.html.var index.php


No, you don't need to do this, as php gets included earlier in the
config, and is set up by the file /etc/httpd/conf.d/php.conf




--
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] dumb sendmail question -- how to get outbound messages to use example.com instead of hostname?

2007-07-02 Thread Richard Chapman

Hi Jeff

I am wrestling with the same problem. However I set the masquerading - 
it just wont do it. My theory is that the user root is a trusted 
user and is allowed to override outgoing email addresses. I think this 
is overriding the masquerading. I suspect that the masquerading will 
work for non-trusted users. Also - if I change roots from addresss to 
eliminate the host then both the from  and envelope sender are sent 
without the host. Let me know if you find a better solution.


Richard.


Jeff Potter wrote:




 Since you are using NAT, the important IP address and host name
associated with it is the one the outside world sees.  Does that IP 
address
have a host name the world sees and does that name then resolve to 
the same IP

address?


Yup -- that's what I'm trying to get sendmail to use, but it's 
insisting on using the internal hostname, inclusive of the machine 
name. I.e., betsy.example.com is the actual hostname, at 10.x.x.x; 
all the 10.x.x.x machines have custom /etc/hosts that define 
betsy.example.com, etc., with their 10.x.x.x IPs. When it sends email 
to the outside world, I need to to send as example.com, dropping the 
betsy part.


Is this really that hard?

best,
Jeff


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
  

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Both archs version rpm are installed during update?

2007-07-02 Thread Mark Hull-Richter

On 7/2/07, Richard Chapman [EMAIL PROTECTED] wrote:

I was interested to see that Firefox java and flash plugins aren't
available in x86_64.
Does this explain why flash and/or java plugins aren't working on my
Centos 5 x86_64 installation. If I go to (say) you-tube - it tells me I
don't have the latest flash player - or don't have java enabled. If I
follow their instructions on installing them - it tells me they are
already installed.

Anyone else found this - and found a solution?



Yes - use the i386 version of Firefox and the plugins will work.  I
use the i386 version of SeaMonkey as I had the same problems with the
x86_64 bit version, and they work fine.

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS on iPhone ?

2007-07-02 Thread Robert - eLists
Anyone get CentOS up and installed in a virt on their iPhone yet?

:-)

 - rh



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos