Re: [CentOS] yum update

2010-11-02 Thread John R Pierce
On 11/02/10 9:58 PM, Ritika Garg wrote:
> Does the file /var/log/yum.log store the information of the last 7 
> days because I did some updates on 27October which are not there in 
> the file.


kinda depends on your log rotating policies.

# ls -l /var/log




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


Re: [CentOS] yum update

2010-11-02 Thread Ritika Garg
Does the file /var/log/yum.log store the information of the last 7 days
because I did some updates on 27October which are not there in the file.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Building Samba RPM packages for RHEL/CentOS 5 - Needed corrections to the .spec file

2010-11-02 Thread Miguel Medalha
I just built from source the Samba 3.5.6 RPM packages for CentOS 
5.x/RHEL5.x.

I found some glitches in the included samba.spec file and I thought 
someone else might benefit from my recent experience. The spec file for 
RHEL/CentOS resides, on the sources tree, under 
"samba-3.5.6\packaging\RHEL\".


1 - The process initially fails due to a dependency problem: missing 
"keyutils-devel". Change the respective entry on line 31 
(BuildRequires:) to "keyutils-libs-devel" (yum install this file from 
the repositories if needed).

2 - Although it is called by the packaging process, the "umount.cifs" 
file is not compiled and therefore cannot be found in sources3/bin at 
the moment of packaging. Therefore, the RPM build process fails. Either 
comment the references to the file from lines 237, 396 and 414, if you 
don't need this function, or add the following to the ./configure 
command, starting on line 137:

 --with-cifsumount

The default for this parameter is "no", and therefore it is not included 
in the "configure" process as is.

3 - The RPM build process finally fails because some files, which were 
compiled and copied to the temporary tree, are not called by the 
packaging process. The following lines must be included on the spec 
file, under "Files section":

/usr/share/locale/de/LC_MESSAGES/net.mo

%{_includedir}/wbc_async.h

%{_mandir}/man5/pam_winbind.conf.5.gz

I suggest you include them close to related lines (same paths) for the 
sake of clarity.


After these corrections the build of the RPM packages went on with no 
errors and was successful. All the packages installed correctly afterward.

I hope these tips will be useful to someone.


PS - The sources for Samba 3.5.6 are here:
http://www.samba.org/

Before building, you might be interested in patching the sources with 
the patch provided by Volker Lendecke to improve compliance with Windows 
ACLs. The patch is here, thanks to Volker:

http://samba.org/~jra/samba-3-5-x-acl-jumbo-patch.tgz

patch -b -p1 < jumbo-patch-3-5-6.diff

After applying the patch and modifying the .spec file you can proceed to 
the building process. cd to 
"/usr/src/redhat/SOURCES/samba-3.5.6/packaging/RHEL" and execute the 
"makerpms.sh" script there.

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


Re: [CentOS] Pptp vpn server

2010-11-02 Thread mattias
Yes but there is no good webmin module for openvpn?
To create a server
And i only have dynamic ips from my  isp

-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
Behalf Of Jeffrey Gipson
Sent: Wednesday, November 03, 2010 1:42 AM
To: CentOS mailing list
Subject: Re: [CentOS] Pptp vpn server


Sorry to redirect, but have you considered OpenVPN?  If you are only
connecting Win/Mac/Linux/Unix VPN Clients, I find it easy, secure and
robust.

As to PPTP, I'm afraid I cannot help (never needed it/never did it).

On Nov 2, 2010, at 7:39 PM, mattias wrote:

> How to setup a vpn server on centos?
> I can't find the pptpd in any repo
> 
> ___
> CentOS mailing list
> CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

--
-
 Jeffrey A. Gipson (RHCE)
 BrainCloud Technologies
 T. (512) 827-8750
-
 (via Mail.app)

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


Re: [CentOS] Pptp vpn server

2010-11-02 Thread Jeffrey Gipson
Sorry to redirect, but have you considered OpenVPN?  If you are only connecting 
Win/Mac/Linux/Unix VPN Clients, I find it easy, secure and robust.

As to PPTP, I’m afraid I cannot help (never needed it/never did it).

On Nov 2, 2010, at 7:39 PM, mattias wrote:

> How to setup a vpn server on centos?
> I can't find the pptpd in any repo
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

--
—
 Jeffrey A. Gipson (RHCE)
 BrainCloud Technologies
 T. (512) 827-8750
—
 (via Mail.app)
<>   <>


smime.p7s
Description: S/MIME cryptographic signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Pptp vpn server

2010-11-02 Thread mattias
How to setup a vpn server on centos?
I can't find the pptpd in any repo

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


[CentOS] openldap fails to authenticate

2010-11-02 Thread Tim Dunphy
I am attempting to setup an LDAP server under CentOS 5.4.


However I  am unable to search my ldap directory even tho I am
supplying the proper credentials for the Manager account:


[r...@ldap openldap]# ldapsearch -x -h ldap -D
'cn=Manager,dc=example,dc=net' -W -b 'dc=example,dc=net'
Enter LDAP Password:
ldap_bind: Invalid credentials (49)

Anonymous searches do work however:

ldapsearch -x -h ldap -b "dc=example,dc=net" -s sub "objectclass=*"

[r...@ldap openldap]# ldapsearch -x -h ldap -b "dc=example,dc=net" -s
sub "objectclass=*"
# extended LDIF
#
# LDAPv3
# base  with scope subtree
# filter: objectclass=*
# requesting: ALL
#

# search result
search: 2
result: 32 No such object


I am currently attempting to use the actual word 'secret' to
authenticate the Manager account:

databasebdb
suffix  "dc=example,dc=net"
rootdn  "cn=Manager,dc=example,dc=net"
# Cleartext passwords, especially for the rootdn, should
# be avoided.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
 rootpwsecret
# rootpw {CRYPT}secret


And I am getting error 49's in my openldap logs with loglevel set to 296

/var/log/openldap.log

Nov  2 15:45:58 ldap slapd[3522]: slapd starting
Nov  2 15:46:14 ldap slapd[3522]: conn=0 fd=11 ACCEPT from
IP=127.0.0.1:44552 (IP=0.0.0.0:389)
Nov  2 15:46:14 ldap slapd[3522]: conn=0 op=0 BIND
dn="cn=Manager,dc=example,dc=net" method=128
Nov  2 15:46:14 ldap slapd[3522]: conn=0 op=0 RESULT tag=97 err=49 text=
Nov  2 15:46:14 ldap slapd[3522]: conn=0 fd=11 closed (connection lost)


this is how I have configured my ldap.conf

BASEdc=example,dc=net
HOSTlocalhost
URI ldap://ldap.example.net

and for some reason slapd is listening on port 3774 even tho I haven't
told it to:

[r...@ldap network-scripts]# netstat -tulnp | grep 389
tcp0  0 0.0.0.0:389 0.0.0.0:*
 LISTEN  3774/slapd
[r...@ldap network-scripts]# netstat -tulnp | grep slapd
tcp0  0 0.0.0.0:389 0.0.0.0:*
 LISTEN  3774/slapd

I haven't specified port 3774 _anywhere_ in my ldap config:


[r...@ldap network-scripts]# grep 3774 /etc/ldap


thanks in advance for your help







-- 
Here's my RSA Public key:
gpg --keyserver pgp.mit.edu --recv-keys 5A4873A9

Share and enjoy!!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] projects.centos.org down again

2010-11-02 Thread Glenn Eychaner
> Garry Dale wrote:
>> There is an open bug report from 2009-09-21 with a similar summary [1]. 
>> Since bug 3858 was never closed, I've updated the notes.
> 
> Per updates to bug tracker, the projects.centos.org site is back online.
> 
> Should bug 3858 [1] now be closed, or is it acting as a placeholder for 
> events such as this?  Just curious...


Well, projects.centos.org was up briefly over the weekend, but appears (from my 
end) to be down again, same symptoms; HTTP connections just hang.  Next time 
I'll download the LiveCD instructions I'm looking for to a static file!

-G.
--
Glenn Eychaner (geycha...@lco.cl)
Telescope Systems Programmer, Las Campanas Observatory



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


[CentOS] CentOS-announce Digest, Vol 69, Issue 1

2010-11-02 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
centos-annou...@centos.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-requ...@centos.org

You can reach the person managing the list at
centos-announce-ow...@centos.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of CentOS-announce digest..."


Today's Topics:

   1. CESA-2010:0812 Moderate CentOS 4 i386 thunderbird - security
  update (Tru Huynh)
   2. CESA-2010:0812 Moderate CentOS 4 x86_64 thunderbird -
  security update (Tru Huynh)
   3. CESA-2010:0811 Important CentOS 5 i386 cups Update (Tru Huynh)
   4. CESA-2010:0811 Important CentOS 5 x86_64 cups Update (Tru Huynh)
   5. CESA-2010:0812 Moderate CentOS 5 i386 thunderbird Update
  (Tru Huynh)
   6. CESA-2010:0812 Moderate CentOS 5 x86_64   thunderbird Update
  (Tru Huynh)
   7. CESA-2010:0819 Moderate CentOS 5 i386 pam Update (Tru Huynh)
   8. CESA-2010:0819 Moderate CentOS 5 x86_64 pam Update (Tru Huynh)


--

Message: 1
Date: Mon, 1 Nov 2010 22:24:26 +0100
From: Tru Huynh 
Subject: [CentOS-announce] CESA-2010:0812 Moderate CentOS 4 i386
thunderbird - security update
To: centos-annou...@centos.org
Message-ID: <20101101212426.ga17...@sillage.bis.pasteur.fr>
Content-Type: text/plain; charset="us-ascii"

CentOS Errata and Security Advisory CESA-2010:0812

thunderbird security update for CentOS 4 i386:
https://rhn.redhat.com/errata/RHSA-2010-0812.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

i386:
updates/i386/RPMS/thunderbird-1.5.0.12-33.el4.centos.i386.rpm

source:
updates/SRPMS/thunderbird-1.5.0.12-33.el4.centos.src.rpm

You may update your CentOS-4 i386 installations by running the command:

yum update thunderbird

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20101101/c8fa907f/attachment-0001.bin
 

--

Message: 2
Date: Mon, 1 Nov 2010 22:25:22 +0100
From: Tru Huynh 
Subject: [CentOS-announce] CESA-2010:0812 Moderate CentOS 4 x86_64
thunderbird - security update
To: centos-annou...@centos.org
Message-ID: <20101101212522.gb17...@sillage.bis.pasteur.fr>
Content-Type: text/plain; charset="us-ascii"

CentOS Errata and Security Advisory CESA-2010:0812

thunderbird security update for CentOS 4 x86_64:
https://rhn.redhat.com/errata/RHSA-2010-0812.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

x86_64:
updates/x86_64/RPMS/thunderbird-1.5.0.12-33.el4.centos.x86_64.rpm

source:
updates/SRPMS/thunderbird-1.5.0.12-33.el4.centos.src.rpm

You may update your CentOS-4 x86_64 installations by running the command:

yum update thunderbird

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20101101/92c8f271/attachment-0001.bin
 

--

Message: 3
Date: Mon, 1 Nov 2010 22:28:39 +0100
From: Tru Huynh 
Subject: [CentOS-announce] CESA-2010:0811 Important CentOS 5 i386 cups
Update
To: centos-annou...@centos.org
Message-ID: <20101101212839.gc17...@sillage.bis.pasteur.fr>
Content-Type: text/plain; charset="us-ascii"

CentOS Errata and Security Advisory 2010:0811 Important

Upstream details at : https://rhn.redhat.com/errata/RHSA-2010-0811.html

The following updated files have been uploaded and are currently
syncing to the mirrors: ( md5sum Filename )


i386:
e52a2f7954481790235faa68313ec322 cups-1.3.7-18.el5_5.8.i386.rpm
fa67fb88a5c0ed214285e53a91e879d2 cups-devel-1.3.7-18.el5_5.8.i386.rpm
b15e2c5730aba4b0ebbced7598802257 cups-libs-1.3.7-18.el5_5.8.i386.rpm
2eed4f3d07a900e97934638ed18c4669 cups-lpd-1.3.7-18.el5_5.8.i386.rpm

source:
85b3f25aaed74a5f6dce0289ced5c27c cups-1.3.7-18.el5_5.8.src.rpm

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20101101/9c209fb8/attachment-0001.bin
 


Re: [CentOS] Best supported motherboard

2010-11-02 Thread Basil Kurian
I always prefer Intel products. Does anyone got any  experience on any of
these boards ?



On 1 November 2010 23:05, Robert Heller  wrote:

> At Mon, 1 Nov 2010 11:51:49 -0500 CentOS mailing list 
> wrote:
>
> >
> >
> >
> > ---Executing: recode
> > Well it depends on what you want in your new board, workstation vs
> > serverI just built 2 machines based on this boardMSI 785G-E53 AM3
> > 785G...with amd quad coresone is acting as a server and centos 5.5
> > loaded up just fine with no issues, running KVM with a couple of
> VM'sI
> > would look at the 1055T or 1090T CPU which have 6 cores and would
> probably
> > give you better performance if you want to run 4 or 5 vm's.the one
> thing
> > that I did was use a pata DVD burner...since I have heard of issues with
> the
> > sata versions and centosI prefer amd to Intel since I'm always on a
> very
> > limited budget...;)
>
> I have a SATA DVD burner: Optiarc  Model: DVD RW AD-7241S and it works
> just fine under CentOS 5.5 on a AMD Sempron(tm) Processor LE-1300 system
> (ASRock K10N78 motherboard).  I did have to add the 'irqpoll' kernel
> parameter to get the SATA ports to work.
>
> >
> > On Mon, Nov 1, 2010 at 11:24 AM, Basil Kurian 
> wrote:
> >
> > > Which among these three motherboard is the best supported in Linux
> > > (Centos/Ubuntu) ?
> > >
> > >
> > > Intel® Desktop Board DH55HC [
> http://ark.intel.com/Product.aspx?id=42409 ]
> > >
> > > Intel® Desktop Board DP55WG [
> http://ark.intel.com/Product.aspx?id=40078 ]
> > >
> > > Intel® Desktop Board DP55KG [
> > >
> http://www.intel.com/products/desktop/motherboards/DP55KG/DP55KG-overview.htm
> ]
> > >
> > >
> > >
> > > Also which will be a good processor , for using in a desktop PC to run
> 4 or
> > > 5   Virtual machines concurrently on VirtualBox or VMWare ESX server ?
> > >
> > >
> > > Intel® Xeon® Processor X3460 [
> http://ark.intel.com/Product.aspx?id=42931]
> > > or
> > > Intel® CoreTM i7-870S [ http://ark.intel.com/Product.aspx?id=48498 ]
> > >
> > >
> > >
> > > --
> > > Regards
> > >
> > > Basil Kurian
> > > http://basil.co.nr
> > > RSA Public key : gpg --keyserver pgp.mit.edu --recv-keys 41005549
> > >
> > >
> > > ___
> > > CentOS mailing list
> > > CentOS@centos.org
> > > http://lists.centos.org/mailman/listinfo/centos
> > >
> > >
> > MIME-Version: 1.0
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
> >
>
> --
> Robert Heller -- 978-544-6933 / hel...@deepsoft.com
> Deepwoods Software-- http://www.deepsoft.com/
> ()  ascii ribbon campaign -- against html e-mail
> /\  www.asciiribbon.org   -- against proprietary attachments
>
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>


-- 
Regards

Basil Kurian
http://basil.co.nr
RSA Public key : gpg --keyserver pgp.mit.edu --recv-keys 41005549
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] problem sending/recieving mails

2010-11-02 Thread Benjamin Donnachie
On 2 Nov 2010, at 11:12, "ma...@linuxmail.org"  wrote:

> Thanks, i will do that when i visit the site coz its a remote site.

Can you ping it?  What results do you get from traceroute? And using
the mail service ports?

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


Re: [CentOS] problem sending/recieving mails

2010-11-02 Thread maina



-Original Message-
From: Simon Billis 
To: 'CentOS mailing list' 
Sent: Tue, Nov 2, 2010 2:04 pm
Subject: Re: [CentOS] problem sending/recieving mails


Hi,
>
> I ave setup a CentOS server to act as LAN gateway and also as a
> transparent proxy server but all client "passing through" that server
> are enable to send or recieve mails.
>
> The mail server is host on the same LAN running mdaemon, both servers
> are on private IP block(192.168.0.0/24). Am using cisco router to do
> port forwading for mailserver(25,110,143) ports.
>
> If i eliminate CentOS box and direct traffic direct to cisco router
> everything works.
>
> My question is why is it when i use CentOS box as LAN gateway clients
> are unable to send/receive mails? I ave done nating on that box.
>
> Centos 5.5 full updated.

Can you provide an ascii art picture of your network setup please with 
IP
addresses (private ones are fine to show, you can hide the public ones 
:-)),
and also the routing table on the Centos Box

Thanks

S.


Thanks, i will do that when i visit the site coz its a remote site.

___
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] problem sending/recieving mails

2010-11-02 Thread Simon Billis
Hi,
> 
> I ave setup a CentOS server to act as LAN gateway and also as a
> transparent proxy server but all client "passing through" that server
> are enable to send or recieve mails.
> 
> The mail server is host on the same LAN running mdaemon, both servers
> are on private IP block(192.168.0.0/24). Am using cisco router to do
> port forwading for mailserver(25,110,143) ports.
> 
> If i eliminate CentOS box and direct traffic direct to cisco router
> everything works.
> 
> My question is why is it when i use CentOS box as LAN gateway clients
> are unable to send/receive mails? I ave done nating on that box.
> 
> Centos 5.5 full updated.

Can you provide an ascii art picture of your network setup please with IP
addresses (private ones are fine to show, you can hide the public ones :-)),
and also the routing table on the Centos Box

Thanks

S.

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


[CentOS] problem sending/recieving mails

2010-11-02 Thread maina
Hi all,

I ave setup a CentOS server to act as LAN gateway and also as a 
transparent proxy server but all client "passing through" that server 
are enable to send or recieve mails.

The mail server is host on the same LAN running mdaemon, both servers 
are on private IP block(192.168.0.0/24). Am using cisco router to do 
port forwading for mailserver(25,110,143) ports.

If i eliminate CentOS box and direct traffic direct to cisco router 
everything works.

My question is why is it when i use CentOS box as LAN gateway clients 
are unable to send/receive mails? I ave done nating on that box.

Centos 5.5 full updated.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] graphics error

2010-11-02 Thread Ritika Garg
When I was running an application then on pressing a key the following
message came:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  42 (X_SetInputFocus)
  Serial number of failed request:  7345
  Current serial number in output stream:  7347

It seems to be something related to graphics, but can't understand. After
the above error came the application got terminated.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos