[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


Re: [CentOS] Is BIND In CentOS 5.0 Broken?

2007-07-02 Thread Ralph Angenendt
Jim Perrin wrote:
> On 7/1/07, Eduardo Dela Rosa <[EMAIL PROTECTED]> wrote:
>> Thanks for the quick reply, Jim; much appreciated :)
>
> No problem. This one has been getting asked quite a bit as you can imagine.

Added that one as an FAQ: 

Cheers,

Ralph


pgpYmqBB6w7gY.pgp
Description: PGP signature
___
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=50727&package_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


Re: [CentOS] Bacula in CentOS 5

2007-07-02 Thread Paul Heinlein

On Mon, 2 Jul 2007, Jordi Espasa Clofent wrote:


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?


Yeah, I back up a handful of CentOS 5 (x86_64) boxes with Bacula 
2.0.3. For my purposes, I rely on a home-brewed client-only rpm that 
installs a minimal set of binaries. The .spec isn't well tested, but 
I've included it below just in case it helps.


--
Paul Heinlein <> [EMAIL PROTECTED] <> http://www.madboa.com/

#
# rpm spec for bacula-fd
#
# ==

Summary: Bacula - The Network Backup Solution
Name: bacula-client
Version: 2.0.3
Release: 1%{?_distver:.%{_distver}}
Group: System Environment/Daemons
License: GPL v2
Packager: Paul Heinlein <[EMAIL PROTECTED]>
URL: http://www.bacula.org/
Source: http://prdownloads.sourceforge.net/bacula/bacula-2.0.3.tar.gz
BuildRequires: findutils, openssl-devel, sed
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
Bacula - It comes by night and sucks the vital essence from your
computers.

Bacula is a set of computer programs that permit you (or the system
administrator) to manage backup, recovery, and verification of
computer data across a network of computers of different kinds. In
technical terms, it is a network client/server based backup program.

This build includes just the Bacula client, bacula-fd, which will
only function when paired with a remote director and storage daemon.


%prep
%setup -q -n bacula-%{version}


%build
CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" CPPFLAGS="-I/usr/kerberos/include" \
./configure \
  --prefix=%{_prefix} \
  --mandir=%{_mandir} \
  --sysconfdir=%{_sysconfdir}/bacula \
  --with-working-dir=%{_localstatedir}/bacula \
  --with-scriptdir=%{_sysconfdir}/bacula \
  --enable-client-only \
  --with-openssl \
  --with-fd-group=bacula \
  --with-tcp-wrappers

make %{_smp_mflags}


%install
/bin/rm -rf "$RPM_BUILD_ROOT"
make DESTDIR=$RPM_BUILD_ROOT install
# get rid of some files not needed for client-only installations
for f in \
  bacula-ctl-dir bacula-ctl-sd \
  disk-changer dvd-handler \
  gconsole \
  mtx-changer \
  startmysql stopmysql
do
  /bin/rm -f ${RPM_BUILD_ROOT}%{_sysconfdir}/bacula/${f}
done
# ...and some man pages, too
for f in \
  bacula-console-gnome bacula-tray-monitor bacula-wxconsole bsmtp \
  bacula-dir bacula-sd bcopy bextract bls bscan btape dbcheck
do
  /bin/rm -f ${RPM_BUILD_ROOT}%{_mandir}/*/${f}.?.gz
done
# the stock fd start script will work just fine as an init script
# as long as we add a chkconfig header (right before the conveniently
# placed description: comment :-)
install -d $RPM_BUILD_ROOT%{_initrddir}
sed -e \
  's/^\(#[[:space:]]*description:.*\)$/# chkconfig: 2345 98 20\n\1/' \
  ${RPM_BUILD_ROOT}%{_sysconfdir}/bacula/bacula-ctl-fd \
  > ${RPM_BUILD_ROOT}%{_initrddir}/bacula-fd
# make everything in the examples directory non-executable to
# avoid unresolved dependencies
/usr/bin/find examples -type f | /usr/bin/xargs chmod a-x


%clean
/bin/rm -rf $RPM_BUILD_ROOT


%pre
# check for and copy /etc/bacula/console.conf to bconsole.conf
if [ -s %{_sysconfdir}/bacula/console.conf ]; then
  cp -p %{_sysconfdir}/bacula/console.conf %{_sysconfdir}/bacula/bconsole.conf
fi

%post
/sbin/chkconfig --add bacula-fd
/usr/sbin/groupadd -r bacula 2>/dev/null || :

%preun
if [ $1 = 0 ]; then
  /sbin/service bacula-fd stop > /dev/null 2>&1
  /sbin/chkconfig --del bacula-fd
fi


%files
%defattr(-,root,root)
%doc ChangeLog LICENSE README ReleaseNotes examples kernstodo projects
%attr(0755,root,root) %{_initrddir}/bacula-fd
%{_sbindir}/*
%dir %{_sysconfdir}/bacula
%{_sysconfdir}/bacula/bacula
%{_sysconfdir}/bacula/bacula-ctl-fd
%config(noreplace) %{_sysconfdir}/bacula/bacula-fd.conf
%{_sysconfdir}/bacula/bconsole
%config(noreplace) %{_sysconfdir}/bacula/bconsole.conf
%{_sysconfdir}/bacula/btraceback.*
%doc %{_mandir}/*/*
%dir %attr(0700,root,root) %{_localstatedir}/bacula

###
### eof
###___
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 Johnny Hughes
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



signature.asc
Description: OpenPGP digital signature
___
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] dumb sendmail question -- how to get outbound messages to use "example.com" instead of hostname?

2007-07-02 Thread Brent L. Bates
 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

 Good luck.
___
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, I'm not
sure what to do on CentOS instead.

Any advice?
___
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] custom SELinux?

2007-07-02 Thread Jim Perrin

On 7/2/07, Florin Andrei <[EMAIL PROTECTED]> wrote:


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?


Re-write the policies.
 keeping this stuff in /home is bad. leave it in
/var/ where it belongs 



--
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] Centos 5 32-bit vs 64-bit question

2007-07-02 Thread Jim Perrin

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


--
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] 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] custom SELinux?

2007-07-02 Thread Daniel de Kok
On Mon, 2007-07-02 at 12:16 -0700, Florin Andrei wrote:
> 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?

Add it to the local file contexts for your policy. The "semanage" tool
provides a handy interface to do this. The manual page has some useful
examples.

-- Daniel

___
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] Linux for zVM

2007-07-02 Thread Tim Meanor
http://www.linuxvm.org has lots of details on Linux on s390.  On the  
left side of the page, under "Community", click on "Linux-S390  
Listserv" and sign up for the Linux on S390 mailing list (sign-up  
form is all the way at the bottom).  Those are 2 excellent resources  
for getting started with Linux on s390.


-Tim



On Jul 2, 2007, at 2:42 PM, Shahin.Suleiman wrote:


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 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 Chris Boyd


On Jul 2, 2007, at 12:43 PM, Jeff Potter wrote:

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:


You can set the host name other people see with something like
define(`confDOMAIN_NAME', `your.server_name.com')

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


Re: [CentOS] Linux for zVM

2007-07-02 Thread Steve Searle
Around 07:42pm on Monday, July 02, 2007 (UK time), Shahin.Suleiman scrawled:

> I hope I am not on the wrong list.

I think you are.

> 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?

http://www.vm.ibm.com/linux/ might be a good place to start - or follow
the other link that show up when googling zvm and linux.

Steve

-- 
 
 Play Champions - my free football predictions game at:
http://www.stevesearle.com/champs/about.html

 21:55:29 up 7 days,  1:35,  0 users,  load average: 0.21, 0.13, 0.04


pgpsgZnmgGPgJ.pgp
Description: PGP signature
___
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 



"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] dumb sendmail question -- how to get outbound messages to use "example.com" instead of hostname?

2007-07-02 Thread Steve Searle
Around 09:59pm on Monday, July 02, 2007 (UK time), Jeff Potter scrawled:

> 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.

Are you talking about what appears on the "from" header line.  Id so,
these instuctions:
http://www.stevesearle.com/tech/centos5.0.svr.html#sendmail explain how
I set it up to work for me, showing mail as comming from
[EMAIL PROTECTED], where the IP address that stevesearle.com resolves
to is really a box hosted by my ISP, not on my local network.

Can you check that you have sendmail-cf installed (yum list installed
sendmail-cf) as I think that may be your problem.

Steve

-- 
 
 Play Champions - my free football predictions game at:
http://www.stevesearle.com/champs/about.html

 22:10:55 up 7 days,  1:50,  0 users,  load average: 0.08, 0.06, 0.07


pgpicchhA6epk.pgp
Description: PGP signature
___
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


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


[CentOS] Kernel build warning

2007-07-02 Thread Mark Hull-Richter
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...).

Thanks,

mhr

___
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] dumb sendmail question -- how to get outbound messages to use "example.com" instead of hostname? SOLVED

2007-07-02 Thread Jeff Potter




Are you talking about what appears on the "from" header line.  If so,
these instuctions:
http://www.stevesearle.com/tech/centos5.0.svr.html#sendmail explain  
how


Ah.

One needs to comment out the "EXPOSED_USER" variable -- i.e., make it  
look like:

dnl # EXPOSED_USER(`root')dnl

Thanks, guys! I think I'd have banged my head on this one for a long  
while, because it would work for all users *except* root, and I was  
testing it as root (and actually need it to work for root, too).


best,
Jeff
___
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] Pam Stuff (was: 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:


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 want to change a value in /etc/pam.d/system-auth

What is the best way to do so?

Thanks again.

Scott





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


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


Re: [CentOS] SSL accelerators anyone?

2007-07-02 Thread Matt Shields

I used the Redline's at my last job.  They were really good.  Besides
ssl acceleration, they also did load balancing.

-matt

On 7/2/07, Florin Andrei <[EMAIL PROTECTED]> wrote:

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 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] 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] 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 other likely php packages which may
be required, installed. (rpm -qa php\*)
3. Have you looked in your logs to see WHY it's not working?  (what
error messages are being generated)
4. Is selinux affecting your page loads? Do you have selinux
enabled/disabled/permissive?



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


[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 the 5 cd set,
and/or (b) a DVD .torrent file.  I just want the ~200MB single server cd.
___
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
/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] where to find Single Server CD edition?

2007-07-02 Thread John R Pierce

Rogelio Bastardo wrote:


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?


just `yum update`, actually...


___
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

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]# rpm -qa php*
php-mysql-4.3.9-3.22.5
php-pgsql-4.3.9-3.22.5
php-odbc-4.3.9-3.22.5
php-pear-4.3.9-3.22.5
php-imap-4.3.9-3.22.5
php-4.3.9-3.22.5
php-ldap-4.3.9-3.22.5
[EMAIL PROTECTED] init.d]#




3. Have you looked in your logs to see WHY it's not working?  (what
error messages are being generated)



[EMAIL PROTECTED] logs]# tail error_log
[Wed Jun 27 13:57:49 2007] [notice] Digest: generating secret for digest
authentication ...
[Wed Jun 27 13:57:49 2007] [notice] Digest: done
[Wed Jun 27 13:57:49 2007] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Wed Jun 27 13:57:49 2007] [notice] LDAP: SSL support unavailable
[Wed Jun 27 13:57:49 2007] [notice] mod_python: Creating 4 session mutexes
based on 256 max processes and 0 max threads.
[Wed Jun 27 13:57:49 2007] [notice] Apache/2.0.52 (CentOS) configured --
resuming normal operations
[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
[Wed Jun 27 14:05:01 2007] [error] [client 10.200.200.54] File does not
exist: /var/www/html/nagiosql
[Wed Jun 27 14:21:19 2007] [error] [client 10.200.200.54] File does not
exist: /var/www/html/nagiosql


4. Is selinux affecting your page loads? Do you have selinux

enabled/disabled/permissive?



I actually disabled it (I found that it was enabled by the person who
previously installed it).

I suspect that it's a permissions issue, as index.php *does* exist in that
spot. Should I perhaps chown or chmod (using Apache?)
___
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] 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'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 actually running. It's the file
which houses commands issued from the web front-end to nagios.

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

:-P


--
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] Pam Stuff (was: 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:


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've never run/visited authconf and won't be able to until work tomorrow. 
Anything special I should know about it?  I ask because it is the file 
mentioned in the comments of /etc/pam.d/system-auth as the magic behind 
creating the system-auth file, and I plan to modify system-auth.


Thanks in advance.

Scott
___
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


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

2007-07-02 Thread Dan Anderson

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

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.


You are correct. Root is exposed by default:

"There are always users that need to be "exposed" -- that is, their
internal site name should be displayed instead of the masquerade name.
Root is an example (which has been "exposed" by default prior to 8.10).
You can add users to this list using

EXPOSED_USER(`usernames')"

from http://www.sendmail.org/doc/sendmail-current/cf/README

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