Re: [CentOS] Help, PHP/Mysql connections are so slow.

2008-06-09 Thread Pro Green European
Now I've also tried running a MySQL server on the webserver, and setting for 
example phpmyadmin to connect to localhost does not change any kind of 
behaviour. PHP/Mysql connections are still very slow.


/PGE


--- On Mon, 6/9/08, Pro Green European <[EMAIL PROTECTED]> wrote:
From: Pro Green European <[EMAIL PROTECTED]>
Subject: [CentOS] Help, PHP/Mysql connections are so slow.
To: centos@centos.org
Date: Monday, June 9, 2008, 9:42 AM

Hi.

I've got a new Centos 5.1 x86-64 server that uses PHP to
communicate with MySQL5. On this server, PHP/Mysql connections are dead
slow and unresponsive. It takes sometimes up to a minute to list tables
in phpmyadmin for example.

I've verified on the server that the
issue has to be PHP/Mysql related. If I use a CGI based Mysql admin
tool, communication is fast and there are no delays.

The server is Xeon based and has 4GB of RAM.

SElinux is enabled, and ModSecurity for Apache too. Disabling these two does 
not help.

SElinux allows Apache to network connect.

Some php.ini settings:
===
safe_mode = On
max_execution_time = 60
max_input_time = 60
memory_limit = 128M
open_basedir is active, and there are no conflicts.
disable_functions also contain several functions in order to secure server.
allow_fopen_url is disabled
===

Could there be a bug somewhere that is causing this slowness for PHP/Mysql 
connections.

Feedback and tips for solving this problem will be greatly appreciated :)


Regards,
/PGE (aka mysteron)

---
Link to forum
 post:

http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14575&start=0#forumpost50376

---
Answer I've recieved and answered:

Q: Sounds like the server is trying to do a reverse DNS lookup and timing
out after a minute plus. Is DNS set up on the server correctly?

A: Yes, DNS is working correctly. I tried with the IP address of the
database server instead of its DNS name, but there is no difference,
PHP/Mysql connections are still dead slow.

---




  ___
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


[CentOS] GFS slow on centos4.5

2008-06-09 Thread whoami i
HI,


My setup


Two node Cluster[only to create shared gfs file system] with manual fencing
running on centos 4 update 5 for oracle apps.

 Shared gfs partiton are mounted on both the node[active-active]

 Whenever i type df -h command it will take some delay to print my shared
gfs partiton,it is happening even if i continiosly typing df -h command.
Shared GFS file system storage is from IBM STORAGE.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help, PHP/Mysql connections are so slow.

2008-06-09 Thread Bent Terp
> communicate with MySQL5. On this server, PHP/Mysql connections are dead
> slow and unresponsive. It takes sometimes up to a minute to list tables
> in phpmyadmin for example.

Have you tried other protocols? Is it really only http transfers that are slow?

Have you tried pinging 100 times and see if you get dropped packets?

Are there any errors from the netcards showing up in log files?

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


Re: [CentOS] Compact Flash..

2008-06-09 Thread Ryan Nichols

Michel van Deventer wrote:

Hi,

On Sun, 2008-06-08 at 16:38 -0500, Ryan Nichols wrote:
  
Ok.. Im curious.. Can I install CentOS on a compact flash card, then 
have the MySQL on another drive? to have the compact flash like read 
only for the OS to boot from, then do the swap, mysql,etc from the other 
drive?  How hard would this be to do?


Yes, you can (of course). My backupserver boots from CF (only kernel
+initrd) and then continues from harddrive.

I do not have a howto here but if you search google, you'll probably
find a lot of them.

Regards,

Michel


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

  
I have searched google, and all i get is more and more confused... Maybe 
I need to not go this route.  I was trying to get the CF as the system 
drive and keep the database on a seperate drive incase either failed.. 
seemed like it made sense at the time..


Ryan Nichols

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


Re: [CentOS] new install of 5.1 with KVM-over-IP - can'tinstallwith GUI - need assistance

2008-06-09 Thread Alon
Hi Bill,

Thankfully, our servers are already setup in the noc.
We have a need for a new install once a week.
While I appreciate the help on the automation and the partitioning,. we are 
deviating from the problem I'm reporting:

How to bypass the VGA prob and use the GUI install while using a KVM setup.

Should I escalate this issue to the RedHat bugzilla?
If an older version of CentOS/RH was able to skipp that prob successfully,. 
CentOS 5.x should have that capability, or at least allow to pass a parameter 
of 'novgaprob' or something like that.

Thanks, 

-Sup.
 
  - Original Message - 
  From: William L. Maltby 
  To: CentOS mailing list 
  Sent: Monday, June 09, 2008 5:33 AM
  Subject: Re: [CentOS] new install of 5.1 with KVM-over-IP - can'tinstallwith 
GUI - need assistance


  On Mon, 2008-06-09 at 00:50 +0300, Alon wrote:
  > Hi Fabian,
  >  
  > I can't use kickstart as I have diff configs for each server.
  > The servers are rented out to my clients as dedicated servers.
  > Each client has his own needs, so not much that I can do about this.
  > Also, different servers with different hardware (diff size HDs), so
  > just the partitioning by itself must be done manually.

  Maybe this one task can be automated. When I was working on RAS for a
  NAS, we had to be able to handle different HD configurations and sizes.
  In the install/recovery image I generated on CD (this was several years
  past), we used sfdisk to automatically partition the HDs. Using a fixed
  "root" partition size, we calculated the rest of the disk as a % of
  available for each desired partition. Worked great.

  >  

  HTH
  -- 
  Bill

  ___
  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] Change from gnome to KDE desktop

2008-06-09 Thread Kai Schaetzl
Mark Weaver wrote on Sun, 08 Jun 2008 12:30:46 -0400:

> unless there's a space issue on the machine you're talking about why not 
> install the KDE group, run switchdesk in a terminal, set your default 
> desktop to KDE and not even worry about removing Gnome. There are some 
> dependency issues you'll run into when you attempt to remove Gnome.

Thanks, I wasn't aware about switchdesk. Using that worked fine.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] new install of 5.1 with KVM-over-IP - can'tinstallwith GUI - need assistance

2008-06-09 Thread mkn0014

Alon wrote:

Should I escalate this issue to the RedHat bugzilla?

Yes do so.


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


[CentOS] Slow gfs performance

2008-06-09 Thread lingu
HI,

 Sorry for repeating same mail ,while composing that mail i mistakenly typed
the send button.I am facing problem with my gfs and below is the  running
setup.

My setup


Two node Cluster[only to create shared gfs file system] with manual fencing
running on centos 4 update 5 for oracle apps.

 Shared gfs partition are mounted on both the node[active-active]

 Whenever i type df -h command it will take some delay to print my shared
gfs partition,it is happening even if i continuously typing df -h command .
Shared GFS file system storage is from IBM STORAGE.I don't know what
parameter to be fine tuned,bcoz  of that may be i feel my  oracle apps is
also very slow.

In syslog i am getting following error continuously in one of the node

less /var/log/messages

test2 kernel: 493 [RAIDarray.mpp]AHA-SN01:1:0:10 Cmnd failed-retry the same
path. vcmnd SN 7147770 pdev H2:C0:
T0:L10 0x00/0x00/0x00 0x0002 mpp_status:2

 Any one help me to get rid of this slow gfs performance.

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


Re: [CentOS] Help, PHP/Mysql connections are so slow.

2008-06-09 Thread Pro Green European
Hi.

> Have you tried other protocols? Is it really only http
> transfers that are slow?

Yes. Ftp works perfectly, and regular http with cgi/perl connections to the 
same database server works perfectly. Also rendering of standard HTML works as 
it should. It is only when a scripted site uses PHP/Mysql the connection to the 
server takes forever.

> Have you tried pinging 100 times and see if you get dropped
> packets?

0% packet loss

> Are there any errors from the netcards showing up in log
> files?

None.

I am really baffeled with this problem. I have no idea what to do next. Have 
enabled server-status in Apache and when the scripted site is being access the 
cpu load is around 2.5%.


Regards,
/mysteron


--- On Mon, 6/9/08, Bent Terp <[EMAIL PROTECTED]> wrote:

> From: Bent Terp <[EMAIL PROTECTED]>
> Subject: Re: [CentOS] Help, PHP/Mysql connections are so slow.
> To: "CentOS mailing list" 
> Date: Monday, June 9, 2008, 10:42 AM
> > communicate with MySQL5. On this server, PHP/Mysql
> connections are dead
> > slow and unresponsive. It takes sometimes up to a
> minute to list tables
> > in phpmyadmin for example.
> 
> Have you tried other protocols? Is it really only http
> transfers that are slow?
> 
> Have you tried pinging 100 times and see if you get dropped
> packets?
> 
> Are there any errors from the netcards showing up in log
> files?
> 
> BR Bent
> ___
> 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] sendmail and spam

2008-06-09 Thread Peter Farrell
I agree with previous poster RE: Postini, we have clients that use the
service and it's fantastic.

I use Postfix / Amavisd - Clam-AV / SpamAssassin + SARE rulesets (with
DCC, Pyzor, Razor) locally and ater the initial setup it's excellent.

I've also done just Postfix / Amavisd - Clam-AV / SpamAssassin + SARE
and used Greylisting for other clients as well and that's been
unbelievable. Greylisting as a method to reduce spam is the heat!

In both of the above setups are spread across 3 machines in a
multi-tiered architecture. Use your DMZ to pre-filter, with Postgrey,
header checks, body checks, then allow to next hop where you can
spam-check, virus check, then allow to local intranet mail server for
local delivery / IMAP.

But if you want to farm it out - use Postini.

-Peter



2008/6/8 Jason Pyeron <[EMAIL PROTECTED]>:
>
>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
>> Behalf Of Frank Cox
>> Sent: Sunday, June 08, 2008 4:04 PM
>> To: CentOS mailing list
>> Subject: Re: [CentOS] sendmail and spam
>>
>> On Sun, 08 Jun 2008 15:39:31 -0400
>> Mark Weaver <[EMAIL PROTECTED]> wrote:
>>
>> > I.e. if a business in Pennsylvania only does business in the lower 48
>> > there isn't any need to accept port 25 traffic from Asia, Europe, Latin
>> > America, etc...
>
> We have foreign language emails from foreign countries, so this and other
> assumptions about content are a big no-no.
>
>>
>> Until "something comes up" and your users and/or customers are sunk.
>>
>
> Ditto.
>
> We are using Postini. It is a spam filtering service from Google at 3$ per
> email address (aliases are free) per year. We have no load they are
> promising the API will be re-enabled in the upcoming weeks.
>
> We have only had 2 messages with a false positive and one with a false
> negative. Mail volume is around 10,000 messages per day. Latency is next to
> zero.
>
> Sorry for the advert, but its what we are using.
>
> Jason
>
>
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> -   -
> - Jason Pyeron  PD Inc. http://www.pdinc.us -
> - Principal Consultant  10 West 24th Street #100-
> - +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
> -   -
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information. If you
> have received it in error, purge the message from your system and
> notify the sender immediately.  Any other use of the email by you
> is prohibited.
>
> ___
> 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


[CentOS] Re: DMA mode

2008-06-09 Thread Tom G. Christensen

David Mackintosh wrote:

On Tue, Jun 03, 2008 at 10:17:14AM +0200, Tom G. Christensen wrote:
 
Google suggests booting with ide0=noprobe ide1=noprobe to make sure the 
ata-piix driver is used.
If you don't want to reinstall then make sure initrd contains the 
ata-piix driver and that references to /dev/hd* are replaced with 
/dev/sd* in fstab etc.


Hi Tom,

I can also confirm that this works, thank you for the assistance.

Can I ask what you used as your google query?  I think I missed
something obvious.

Well I don't remember the exact query I did however I just now searched 
for "DL140 Linux SATA" and the third hit is to a thread on the HP ITRC 
forums with the suggested fix.


-tgc

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


Re: [CentOS] Compact Flash..

2008-06-09 Thread John R Pierce

Ryan Nichols wrote:
I was trying to get the CF as the system drive and keep the database 
on a seperate drive incase either failed.. seemed like it made sense 
at the time..


if the CF fails, it won't boot.  if the HD fails, you've lost your 
database.not sure what the gain is here.




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


Re: [CentOS] Compact Flash..

2008-06-09 Thread Peter Farrell
It's easy. Look - you can get an IDE -to- CF adapter for about a fiver.
Get a 4 or 8 GB CF card and install it on IDE 01.

That's your main drive.

Set up your other drives in what ever config is necessary. Solo,
Software RAID, whatever.

Do your install. Either use the partition editor, or boot into Knoppix
and run gparted to format your other drives.
After install - edit that FSTAB to make sure everything is in order.
For example, on one of the other drives you could set a
mount point as '/data'.

Configure MySQL.
*database can be anywhere, NFS share or other FS. It doesn't matter as
long as you configure my.cnf to tell MySQL where to look.
Here is one of my production machine's my.cnf using databases from a
/data partition (which is on a RAID FS).
Although MySQL is installed at /usr/local - the databases are all on /data.
Read you man pages and have a noodle through the MySQL website for
declaring options for my.cnf

=

[client]
port=3306
socket=/tmp/mysql.sock

[mysqld]
log-bin=example-bin
server-id=4
port=3306
socket=/tmp/mysql.sock
query_cache_size = 200M
set-variable = key_buffer_size=512M
set-variable = max_allowed_packet=2M
set-variable = max_binlog_size=20M
set-variable = record_buffer=200K
set-variable = net_buffer=100K
set-variable = max_connections=1000
set-variable = thread_cache_size=20
set-variable = thread_stack=128K
innodb_data_file_path = data/mysql/innodb/datafile01:1M
innodb_data_home_dir = /
set-variable = innodb_mirrored_log_groups=1
innodb_log_group_home_dir = /data/mysql/innodb/
set-variable = innodb_log_files_in_group=3
set-variable = innodb_log_file_size=10M
set-variable = innodb_log_buffer_size=8M
innodb_flush_log_at_trx_commit=1
innodb_log_arch_dir = /data/mysql/innodb/
innodb_log_archive=0
set-variable = innodb_buffer_pool_size=128M
set-variable = innodb_additional_mem_pool_size=20M
set-variable = innodb_file_io_threads=4
set-variable = innodb_lock_wait_timeout=50
default-table-type = innodb
log-slow-queries = /data/mysql/slow-queries.log
ft_min_word_len=3
set-variable = wait_timeout=604800

[mysqldump]
quick

=

-Peter





2008/6/9 Ryan Nichols <[EMAIL PROTECTED]>:
> Michel van Deventer wrote:
>
> Hi,
>
> On Sun, 2008-06-08 at 16:38 -0500, Ryan Nichols wrote:
>
>
> Ok.. Im curious.. Can I install CentOS on a compact flash card, then
> have the MySQL on another drive? to have the compact flash like read
> only for the OS to boot from, then do the swap, mysql,etc from the other
> drive?  How hard would this be to do?
>
>
> Yes, you can (of course). My backupserver boots from CF (only kernel
> +initrd) and then continues from harddrive.
>
> I do not have a howto here but if you search google, you'll probably
> find a lot of them.
>
>   Regards,
>
>   Michel
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
>
> I have searched google, and all i get is more and more confused... Maybe I
> need to not go this route.  I was trying to get the CF as the system drive
> and keep the database on a seperate drive incase either failed.. seemed like
> it made sense at the time..
>
> Ryan Nichols
>
>
> ___
> 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] Help, PHP/Mysql connections are so slow.

2008-06-09 Thread Peter Farrell
If it's a table listing check your MySQL settings. How have you set up
my.cnf? What does your slow query log tell you?
Have you logged into your MySQL server from another machine and ran
queries from there? Have you enabled verbose logging for PHP and
Apache? Are you tailing all 3 while you run the query from phpadmin?
One of them will say something interesting.

I think your issue smells like something in how you compiled PHP  or a
setting in php.ini itself.

Put a  test.php in the doc-root and see what it tells you it's using.
(re; mysql & the php version & the location of the php.ini)
I've done installs where I had conflicting libs from both PHP and
MySQL. Also I get stupid locations for php.ini all the time and have
to manaully move that file to the correct location.

[EMAIL PROTECTED] htdocs]# cat test.php



I generally compile everything when I do a similar install - and give
explicit declarations to where the apxs is for PHP as well as the root
mysql libraries. Check that everything is where you think it is.

*from recent installation of vtiger: (for example)

APACHE 2

--prefix=/data/CRM/apache2 --with-mpm=prefork --enable-ssl
--enable-setenvif --enable-proxy --enable-proxy-http --enable-so
--disable-charset-lite --disable-include --disable-env
--disable-status --disable-autoindex --disable-asis
--disable-negotiation --disable-actions --disable-userdir
--disable-alias
make
make install

PHP 5.2.5

--prefix=/data/CRM/php-5.2.5 --with-zlib-dir=/data/CRM/src/rrdbuild/lb
--with-gd --with-png-dir=/data/CRM/src/rrdbuild/lb
--with-freetype-dir=/data/CRM/src/rrdbuild/lb
--with-jpeg-dir=/data/CRM/src/rrdbuild/lb
--with-imap=/data/CRM/src/rrdbuild/lb
--with-mysql=/usr/local/include/mysql
--with-apxs2=/data/CRM/apache2/bin/apxs
make
make test
make install

=

XCACHE (this is the PHP accelerator we're using)

*you'll have to force it to see the non-standard install locations we're using.
===
Make a build directory:
mkdir xcache-build
cd src/xcache-build/
phpize --clean && phpize
env CPPFLAGS="-I/data/CRM/php-5.2.5/include
-I/data/CRM/apache2/include" LDFLAGS="-L/data/CRM/php-5.2.5/lib
-I/data/CRM/apache2/lib" CFLAGS="-O3 -fPIC" ../xcache-1.2.2/configure
--prefix=/data/CRM/ --enable-xcache
make
make install

*You must re-install each time you upgrade or re-compile PHP
make distclean && phpize --clean && phpize
(now continue w/ original instructions)


Locate a php.ini and copy it to /data/CRM/php-5.2.5/lib/php.ini
Append the xcache options to this file:
cd ../xcache-1.2.2
cat xcache.ini >> /etc/php.ini

Edit the php.ini to comply with the vtiger installation notes:

;Your php.ini must configured with the following parameters:

;* safe_mode = Off
;* display_errors = On*this is stupid. Turn it off
after you tweak vtiger to how you like it.
;* file_uploads = On
;* register_globals = Off
;* max_execution_time = 600
;* output_buffering= On
;* memory_limit = 32M *is 128 by default - ignore
;* error_reporting = E_WARNING & ~E_NOTICE
;* allow_call_time_reference = On
;* log_errors = Off*again, stupid - ignore
;* short_open_tag= On*again, why the code is a bit
crap in vtiger that we'd need to enable this.
;* extension=php_gd2.dll*ignore - it's for windows
;* extension=php_imap.dll*ignore - it's for windows
;* extension=php_mysql.dll*ignore - it's for windows
;* extension=php_mysqli.dll*ignore - it's for windows

===


-Peter







2008/6/9 Pro Green European <[EMAIL PROTECTED]>:
> Hi.
>
>> Have you tried other protocols? Is it really only http
>> transfers that are slow?
>
> Yes. Ftp works perfectly, and regular http with cgi/perl connections to the 
> same database server works perfectly. Also rendering of standard HTML works 
> as it should. It is only when a scripted site uses PHP/Mysql the connection 
> to the server takes forever.
>
>> Have you tried pinging 100 times and see if you get dropped
>> packets?
>
> 0% packet loss
>
>> Are there any errors from the netcards showing up in log
>> files?
>
> None.
>
> I am really baffeled with this problem. I have no idea what to do next. Have 
> enabled server-status in Apache and when the scripted site is being access 
> the cpu load is around 2.5%.
>
>
> Regards,
> /mysteron
>
>
> --- On Mon, 6/9/08, Bent Terp <[EMAIL PROTECTED]> wrote:
>
>> From: Bent Terp <[EMAIL PROTECTED]>
>> Subject: Re: [CentOS] Help, PHP/Mysql connections are so slow.
>> To: "CentOS mailing list" 
>> Date: Monday, June 9, 2008, 10:42 AM
>> > communicate with MySQL5. On this server, PHP/Mysql
>> connections are dead
>> > slow and unresponsive. It takes sometimes up to a
>> minute to list tables
>> > in phpmyadmin for example.
>>
>> Have you tried other protocols? Is 

Re: [CentOS] Compact Flash..

2008-06-09 Thread Ryan Nichols

John R Pierce wrote:

Ryan Nichols wrote:
I was trying to get the CF as the system drive and keep the database 
on a seperate drive incase either failed.. seemed like it made sense 
at the time..


if the CF fails, it won't boot.  if the HD fails, you've lost your 
database.not sure what the gain is here.




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

CF Fails, i can re inject it into a new CF card and away I go.  yes if 
the HD fails ive lost the database, but its a monitoring box, toss a new 
one in , reboot the box and away we go.


Ryan Nichols

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


[CentOS] Re: Network problems on new CentOS 5 install on P35, ICH9R mobo

2008-06-09 Thread Tom G. Christensen

Juan C. Valido wrote:

On Tue, 2008-06-03 at 23:49 +0100, Ned Slider wrote:

Dick Roth wrote:

Juan C. Valido wrote:

On Tue, 2008-06-03 at 06:09 -0400, Dick Roth wrote:
Had to replace dying cpu and mobo, so also replaced IDE with new SATA 
drive.  Installed from latest ISO onto SATA and can't get networking 
to lease an IP address from my ISP (Comcast).  The network utility 
always comes up with a private address (192.168.0.2) instead of 
Comcast IP.


To add to confusion, if I boot into old IDE drive, I get proper 
network connection to internet, but lose my swap!


Particulars:

mobo=Gigabyte P35-DS3R
SATA Controller=AHCI
PATA Controller=JMicron 20360
new drive=ATA WDC WD1600AAJS-2
old drive=WDC WD400JB-00JJA0
DVD-RW=Pioneer DVR-112D (PATA)
NICs=eth0=Realtek RTL-8029(AS) (DHCP)
  eth1=Realtek RTL-8029(AS) (Static)


Has anyone seen this?  Will 5.2 help with this situation?  Been 
working on this for days!




If it helps any, I tried installing 5,1 on a P35-DS3L and I believe I
had issues with the network card, loaded RHEL 5.2 desktop and everything
worked so maybe 5.2 will work for you.

Thanks for the info, Juan.  I'll just hold tight until 5.2 comes down 
the pike.


Dick


Release notes list the following Realtek drivers added, but I don't see 
yours mentions:


http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.2/html/Release_Notes/x86/ar01s01.html

Network driver r8169 updated to add support for the following devices:

   RTL8169sb/8110sb
   RTL8169sc/8110sc
   RTL8168b/8111b
   RTL8101e
   RTL8100e


I don't know maybe it's not listed but it's compatible, I know that it
works. Same thing with OSX86, it works 

>
Updating the r8169 driver will not solve a driver issue with the RTL8029 
chip.
The RTL8029 is an old NE2000 clone chip (must be atleast 10 years old by 
now). It was common on cheap 10Mbit PCI cards and is supported by the 
ne2k-pci driver for many years (and the plain ne2k driver before PCI 
support was split out).


-tgc

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


Re: [CentOS] Help, PHP/Mysql connections are so slow.

2008-06-09 Thread Lorenzo Martínez Rodríguez


Maybe if you trust DNS resolution names to make the connection to the 
Database servers could be a problem. Did you try to use IP addresses 
directly in the code?


Regards,


Peter Farrell escribió:

If it's a table listing check your MySQL settings. How have you set up
my.cnf? What does your slow query log tell you?
Have you logged into your MySQL server from another machine and ran
queries from there? Have you enabled verbose logging for PHP and
Apache? Are you tailing all 3 while you run the query from phpadmin?
One of them will say something interesting.

I think your issue smells like something in how you compiled PHP  or a
setting in php.ini itself.

Put a  test.php in the doc-root and see what it tells you it's using.
(re; mysql & the php version & the location of the php.ini)
I've done installs where I had conflicting libs from both PHP and
MySQL. Also I get stupid locations for php.ini all the time and have
to manaully move that file to the correct location.

[EMAIL PROTECTED] htdocs]# cat test.php



I generally compile everything when I do a similar install - and give
explicit declarations to where the apxs is for PHP as well as the root
mysql libraries. Check that everything is where you think it is.

*from recent installation of vtiger: (for example)

APACHE 2

--prefix=/data/CRM/apache2 --with-mpm=prefork --enable-ssl
--enable-setenvif --enable-proxy --enable-proxy-http --enable-so
--disable-charset-lite --disable-include --disable-env
--disable-status --disable-autoindex --disable-asis
--disable-negotiation --disable-actions --disable-userdir
--disable-alias
make
make install

PHP 5.2.5

--prefix=/data/CRM/php-5.2.5 --with-zlib-dir=/data/CRM/src/rrdbuild/lb
--with-gd --with-png-dir=/data/CRM/src/rrdbuild/lb
--with-freetype-dir=/data/CRM/src/rrdbuild/lb
--with-jpeg-dir=/data/CRM/src/rrdbuild/lb
--with-imap=/data/CRM/src/rrdbuild/lb
--with-mysql=/usr/local/include/mysql
--with-apxs2=/data/CRM/apache2/bin/apxs
make
make test
make install

=

XCACHE (this is the PHP accelerator we're using)

*you'll have to force it to see the non-standard install locations we're using.
===
Make a build directory:
mkdir xcache-build
cd src/xcache-build/
phpize --clean && phpize
env CPPFLAGS="-I/data/CRM/php-5.2.5/include
-I/data/CRM/apache2/include" LDFLAGS="-L/data/CRM/php-5.2.5/lib
-I/data/CRM/apache2/lib" CFLAGS="-O3 -fPIC" ../xcache-1.2.2/configure
--prefix=/data/CRM/ --enable-xcache
make
make install

*You must re-install each time you upgrade or re-compile PHP
make distclean && phpize --clean && phpize
(now continue w/ original instructions)


Locate a php.ini and copy it to /data/CRM/php-5.2.5/lib/php.ini
Append the xcache options to this file:
cd ../xcache-1.2.2
cat xcache.ini >> /etc/php.ini

Edit the php.ini to comply with the vtiger installation notes:

;Your php.ini must configured with the following parameters:

;* safe_mode = Off
;* display_errors = On*this is stupid. Turn it off
after you tweak vtiger to how you like it.
;* file_uploads = On
;* register_globals = Off
;* max_execution_time = 600
;* output_buffering= On
;* memory_limit = 32M *is 128 by default - ignore
;* error_reporting = E_WARNING & ~E_NOTICE
;* allow_call_time_reference = On
;* log_errors = Off*again, stupid - ignore
;* short_open_tag= On*again, why the code is a bit
crap in vtiger that we'd need to enable this.
;* extension=php_gd2.dll*ignore - it's for windows
;* extension=php_imap.dll*ignore - it's for windows
;* extension=php_mysql.dll*ignore - it's for windows
;* extension=php_mysqli.dll*ignore - it's for windows

===


-Peter







2008/6/9 Pro Green European <[EMAIL PROTECTED]>:
  

Hi.



Have you tried other protocols? Is it really only http
transfers that are slow?
  

Yes. Ftp works perfectly, and regular http with cgi/perl connections to the 
same database server works perfectly. Also rendering of standard HTML works as 
it should. It is only when a scripted site uses PHP/Mysql the connection to the 
server takes forever.



Have you tried pinging 100 times and see if you get dropped
packets?
  

0% packet loss



Are there any errors from the netcards showing up in log
files?
  

None.

I am really baffeled with this problem. I have no idea what to do next. Have 
enabled server-status in Apache and when the scripted site is being access the 
cpu load is around 2.5%.


Regards,
/mysteron


--- On Mon, 6/9/08, Bent Terp <[EMAIL PROTECTED]> wrote:



From: Bent Terp <[EMAIL PROTECTED]>
Subject: Re: [CentOS] Help, PHP/Mysql connections are so slow.
To: "CentOS mailing list" 
Date: Monday, June 9, 2008, 10:42 AM
  

communicate with MySQL5. On this server, 

Re: [CentOS] Compact Flash..

2008-06-09 Thread Peter Farrell
 I generally will do one of two things in addition to my normal backups.

1. run a cron that exports the database, then gzip it - I rsync that
off to another machine.
2. I replicate the database to other machines in the same tier.

I agree about the CF failure as well. No biggie. I would copy it's
partition somewhere else once a week for a potential restore of just
such a failure.

-Peter


2008/6/9 Ryan Nichols <[EMAIL PROTECTED]>:
> John R Pierce wrote:
>>
>> Ryan Nichols wrote:
>>>
>>> I was trying to get the CF as the system drive and keep the database on a
>>> seperate drive incase either failed.. seemed like it made sense at the
>>> time..
>>
>> if the CF fails, it won't boot.  if the HD fails, you've lost your
>> database.not sure what the gain is here.
>>
>>
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
> CF Fails, i can re inject it into a new CF card and away I go.  yes if the
> HD fails ive lost the database, but its a monitoring box, toss a new one in
> , reboot the box and away we go.
>
> Ryan Nichols
>
> ___
> 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] Help, PHP/Mysql connections are so slow.

2008-06-09 Thread Pro Green European
The query log on the database server tells me that there are around 20-30 
seconds between each data request from the webserver to the database server. 
Accessing the same database from another server, Apache/CGI/Mysql or even 
through the mysql command line is fast, and there are no 20-30 sec delays.

Apache & PHP are the default x86-64 rpm packages that comes with CentOS 5.1:

httpd-devel-2.2.3-11.el5_1.centos.3
httpd-2.2.3-11.el5_1.centos.3
httpd-manual-2.2.3-11.el5_1.centos.3
httpd-devel-2.2.3-11.el5_1.centos.3

php-mbstring-5.1.6-15.el5
php-ldap-5.1.6-15.el5
php-cli-5.1.6-15.el5
php-gd-5.1.6-15.el5
php-common-5.1.6-15.el5
php-5.1.6-15.el5
php-pdo-5.1.6-15.el5
php-mysql-5.1.6-15.el5
php-pear-1.4.9-4

The php.ini file is located in the /etc/ folder.

I also have the same identical site accessing the same database on the same 
mysql server, running on a CentOS4 server without any problem. Reason for 
switching server is that I need PHP5 support, and as the CentOS4 based server 
is a production server, I cannot compile PHP5 from source and use that on the 
server. I have It is a mystery ;)

I'm starting to wonder if this is a broken hardware issue...


Regards,
/mysteron

--- On Mon, 6/9/08, Peter Farrell <[EMAIL PROTECTED]> wrote:

> From: Peter Farrell <[EMAIL PROTECTED]>
> Subject: Re: [CentOS] Help, PHP/Mysql connections are so slow.
> To: "CentOS mailing list" 
> Date: Monday, June 9, 2008, 1:03 PM
> If it's a table listing check your MySQL settings. How
> have you set up
> my.cnf? What does your slow query log tell you?
> Have you logged into your MySQL server from another machine
> and ran
> queries from there? Have you enabled verbose logging for
> PHP and
> Apache? Are you tailing all 3 while you run the query from
> phpadmin?
> One of them will say something interesting.
> 
> I think your issue smells like something in how you
> compiled PHP  or a
> setting in php.ini itself.
> 
> Put a  test.php in the doc-root and see what it tells you
> it's using.
> (re; mysql & the php version & the location of the
> php.ini)
> I've done installs where I had conflicting libs from
> both PHP and
> MySQL. Also I get stupid locations for php.ini all the time
> and have
> to manaully move that file to the correct location.
> 
> [EMAIL PROTECTED] htdocs]# cat test.php
>  phpinfo();
> ?>
>  var_dump($GLOBALS['_PHPA']);
> ?>
> 
> I generally compile everything when I do a similar install
> - and give
> explicit declarations to where the apxs is for PHP as well
> as the root
> mysql libraries. Check that everything is where you think
> it is.
> 
> *from recent installation of vtiger: (for example)
> 
> APACHE 2
> 
> --prefix=/data/CRM/apache2 --with-mpm=prefork --enable-ssl
> --enable-setenvif --enable-proxy --enable-proxy-http
> --enable-so
> --disable-charset-lite --disable-include --disable-env
> --disable-status --disable-autoindex --disable-asis
> --disable-negotiation --disable-actions --disable-userdir
> --disable-alias
> make
> make install
> 
> PHP 5.2.5
> 
> --prefix=/data/CRM/php-5.2.5
> --with-zlib-dir=/data/CRM/src/rrdbuild/lb
> --with-gd --with-png-dir=/data/CRM/src/rrdbuild/lb
> --with-freetype-dir=/data/CRM/src/rrdbuild/lb
> --with-jpeg-dir=/data/CRM/src/rrdbuild/lb
> --with-imap=/data/CRM/src/rrdbuild/lb
> --with-mysql=/usr/local/include/mysql
> --with-apxs2=/data/CRM/apache2/bin/apxs
> make
> make test
> make install
> 
> =
> 
> XCACHE (this is the PHP accelerator we're using)
> 
> *you'll have to force it to see the non-standard
> install locations we're using.
> ===
> Make a build directory:
> mkdir xcache-build
> cd src/xcache-build/
> phpize --clean && phpize
> env CPPFLAGS="-I/data/CRM/php-5.2.5/include
> -I/data/CRM/apache2/include"
> LDFLAGS="-L/data/CRM/php-5.2.5/lib
> -I/data/CRM/apache2/lib" CFLAGS="-O3 -fPIC"
> ../xcache-1.2.2/configure
> --prefix=/data/CRM/ --enable-xcache
> make
> make install
> 
> *You must re-install each time you upgrade or re-compile
> PHP
> make distclean && phpize --clean && phpize
> (now continue w/ original instructions)
> 
> 
> Locate a php.ini and copy it to
> /data/CRM/php-5.2.5/lib/php.ini
> Append the xcache options to this file:
> cd ../xcache-1.2.2
> cat xcache.ini >> /etc/php.ini
> 
> Edit the php.ini to comply with the vtiger installation
> notes:
> 
> ;Your php.ini must configured with the following
> parameters:
> 
> ;* safe_mode = Off
> ;* display_errors = On*this is stupid. Turn
> it off
> after you tweak vtiger to how you like it.
> ;* file_uploads = On
> ;* register_globals = Off
> ;* max_execution_time = 600
> ;* output_buffering= On
> ;* memory_limit = 32M *is 128 by default -
> ignore
> ;* error_reporting = E_WARNING & ~E_NOTICE
> ;* allow_call_time_reference = On
> ;* log_errors = Off*again, stupid -
> ignore
> ;* short_open_tag= On 

[CentOS] syslog - python

2008-06-09 Thread David Hláčik
Hello , i want all my log messages from python to have in /var/log/python

Now they are in /var/log/messages:

Jun  9 12:10:51 sx1 kernel: klogd 1.4.1, log source = /proc/kmsg started.
Jun  9 12:11:01 sx1 python: MM_MEMBERS [it] Nothing to do.
Jun  9 12:11:02 sx1 python: MM_MEMBERS [research] Nothing to do.
Jun  9 12:12:01 sx1 python: MM_MEMBERS [it] Nothing to do.
Jun  9 12:12:01 sx1 python: MM_MEMBERS [research] Nothing to do.

So i have added to the end of the syslog.conf


# Python
python.*/var/log/python

and restarted syslog,

then i have created /var/log/python and for sure addedd u+rw, g +rw,
o+rw permissions

But, nothing, /var/log/python is empty

What am i doing wrong? (Centos 5.1)

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


Re: [CentOS] Compact Flash..

2008-06-09 Thread Tom Brown




CF Fails, i can re inject it into a new CF card and away I go.  yes if 
the HD fails ive lost the database, but its a monitoring box, toss a 
new one in , reboot the box and away we go.




but as either cant operate without the other you have just doubled your 
chances of an outage rather than reduced it


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


[CentOS] RE

2008-06-09 Thread Pro Green European
> Maybe if you trust DNS resolution names to make the connection to the 
> Database servers could be a problem. Did you try to use IP addresses 
> directly in the code?
> 

Yes, I have tried that too, no difference. I've even tried running MySQL with a 
database populated with identical data on localhost (even tried 127.0.0.1), but 
there is no difference in performance. Delays in the connection to the db 
server is still around 20-30 seconds.

So, the problem has to be with either the php-mysql module, PHP itself, MySQL 
or then it may be hardware related.


Thx,
/mysteron


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


Re: [CentOS] syslog - python

2008-06-09 Thread centos
man syslog.conf will explain ;)

auth, authpriv, cron, daemon, kern, lpr, mail, mark, news, security (same as 
auth), syslog, user, uucp and local0 through local7 are the supported 
facilyties.. python(.*) is not ;)

Good luck.

Cheers,

Bart

- Original Message -
From: "David Hláčik" <[EMAIL PROTECTED]>
To: "CentOS mailing list" 
Sent: Monday, June 9, 2008 12:14:26 PM GMT +01:00 Amsterdam / Berlin / Bern / 
Rome / Stockholm / Vienna
Subject: [CentOS] syslog - python

Hello , i want all my log messages from python to have in /var/log/python

Now they are in /var/log/messages:

Jun  9 12:10:51 sx1 kernel: klogd 1.4.1, log source = /proc/kmsg started.
Jun  9 12:11:01 sx1 python: MM_MEMBERS [it] Nothing to do.
Jun  9 12:11:02 sx1 python: MM_MEMBERS [research] Nothing to do.
Jun  9 12:12:01 sx1 python: MM_MEMBERS [it] Nothing to do.
Jun  9 12:12:01 sx1 python: MM_MEMBERS [research] Nothing to do.

So i have added to the end of the syslog.conf


# Python
python.*/var/log/python

and restarted syslog,

then i have created /var/log/python and for sure addedd u+rw, g +rw,
o+rw permissions

But, nothing, /var/log/python is empty

What am i doing wrong? (Centos 5.1)

Thanks
___
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] Help, PHP/Mysql connections are so slow.

2008-06-09 Thread Peter Farrell
If the database is on a different server.
and the CLI access to mysql is normal.
and other php / apache instances can access the database;

then it has to be either
a problem with apache <--> php communication
or a problem with php <--> mysql communication.

Write  a test query in php and execute at the command line on this
server and see what output you get.

I think the previous poster that recommended the DNS investigation
might have been on to something as well.
That 20-30 seconds could be name failure resolution, etc. Worth
looking at. In your phpadmin are you giving the FQDN or the IP
address?
I've many times forgotten to add a new default route w/ multi-homed machines.
The DNS explanation would make sense as well if nothing (as you say)
is being logged as errors in any of your log files.
The delay could be purely DNS related.

Check your httpd:
ldd /path/to/httpd
for the libs compiled with httpd.

# httpd -l
for the moduled compiled into httpd.

cat your httpd.conf and double check your php5 module is included as well.

Really take a minute as well to check your php options.

# php -i

And double check your PATHS and MYSQL_HOME and MYSQL_BIN.

With linux it's always something bitty like this that can screw you up.

-Peter




2008/6/9 Pro Green European <[EMAIL PROTECTED]>:
> The query log on the database server tells me that there are around 20-30 
> seconds between each data request from the webserver to the database server. 
> Accessing the same database from another server, Apache/CGI/Mysql or even 
> through the mysql command line is fast, and there are no 20-30 sec delays.
>
> Apache & PHP are the default x86-64 rpm packages that comes with CentOS 5.1:
>
> httpd-devel-2.2.3-11.el5_1.centos.3
> httpd-2.2.3-11.el5_1.centos.3
> httpd-manual-2.2.3-11.el5_1.centos.3
> httpd-devel-2.2.3-11.el5_1.centos.3
>
> php-mbstring-5.1.6-15.el5
> php-ldap-5.1.6-15.el5
> php-cli-5.1.6-15.el5
> php-gd-5.1.6-15.el5
> php-common-5.1.6-15.el5
> php-5.1.6-15.el5
> php-pdo-5.1.6-15.el5
> php-mysql-5.1.6-15.el5
> php-pear-1.4.9-4
>
> The php.ini file is located in the /etc/ folder.
>
> I also have the same identical site accessing the same database on the same 
> mysql server, running on a CentOS4 server without any problem. Reason for 
> switching server is that I need PHP5 support, and as the CentOS4 based server 
> is a production server, I cannot compile PHP5 from source and use that on the 
> server. I have It is a mystery ;)
>
> I'm starting to wonder if this is a broken hardware issue...
>
>
> Regards,
> /mysteron
>
> --- On Mon, 6/9/08, Peter Farrell <[EMAIL PROTECTED]> wrote:
>
>> From: Peter Farrell <[EMAIL PROTECTED]>
>> Subject: Re: [CentOS] Help, PHP/Mysql connections are so slow.
>> To: "CentOS mailing list" 
>> Date: Monday, June 9, 2008, 1:03 PM
>> If it's a table listing check your MySQL settings. How
>> have you set up
>> my.cnf? What does your slow query log tell you?
>> Have you logged into your MySQL server from another machine
>> and ran
>> queries from there? Have you enabled verbose logging for
>> PHP and
>> Apache? Are you tailing all 3 while you run the query from
>> phpadmin?
>> One of them will say something interesting.
>>
>> I think your issue smells like something in how you
>> compiled PHP  or a
>> setting in php.ini itself.
>>
>> Put a  test.php in the doc-root and see what it tells you
>> it's using.
>> (re; mysql & the php version & the location of the
>> php.ini)
>> I've done installs where I had conflicting libs from
>> both PHP and
>> MySQL. Also I get stupid locations for php.ini all the time
>> and have
>> to manaully move that file to the correct location.
>>
>> [EMAIL PROTECTED] htdocs]# cat test.php
>> > phpinfo();
>> ?>
>> > var_dump($GLOBALS['_PHPA']);
>> ?>
>>
>> I generally compile everything when I do a similar install
>> - and give
>> explicit declarations to where the apxs is for PHP as well
>> as the root
>> mysql libraries. Check that everything is where you think
>> it is.
>>
>> *from recent installation of vtiger: (for example)
>>
>> APACHE 2
>> 
>> --prefix=/data/CRM/apache2 --with-mpm=prefork --enable-ssl
>> --enable-setenvif --enable-proxy --enable-proxy-http
>> --enable-so
>> --disable-charset-lite --disable-include --disable-env
>> --disable-status --disable-autoindex --disable-asis
>> --disable-negotiation --disable-actions --disable-userdir
>> --disable-alias
>> make
>> make install
>>
>> PHP 5.2.5
>> 
>> --prefix=/data/CRM/php-5.2.5
>> --with-zlib-dir=/data/CRM/src/rrdbuild/lb
>> --with-gd --with-png-dir=/data/CRM/src/rrdbuild/lb
>> --with-freetype-dir=/data/CRM/src/rrdbuild/lb
>> --with-jpeg-dir=/data/CRM/src/rrdbuild/lb
>> --with-imap=/data/CRM/src/rrdbuild/lb
>> --with-mysql=/usr/local/include/mysql
>> --with-apxs2=/data/CRM/apache2/bin/apxs
>> make
>> make test
>> make install
>>
>> =
>>
>> XCACHE (this is the PHP accelerator we're using)
>>
>> *y

Re: [CentOS] Help, PHP/Mysql connections are so slow.

2008-06-09 Thread Bent Terp
> Yes. Ftp works perfectly, and regular http with cgi/perl connections to the 
> same database server works perfectly. Also rendering of standard HTML works 
> as it should. It is only when a scripted site uses PHP/Mysql the connection 
> to the server takes forever.

What happens if you include a largish file in php? Is that also slow?

Have you tried MySQL without php? Ie a mysql dump'n'reload on the command line?

What's your memory status? (free -m) Swapping is painful
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help, PHP/Mysql connections are so slow.

2008-06-09 Thread Bent Terp
On Mon, Jun 9, 2008 at 1:05 PM, Bent Terp <[EMAIL PROTECTED]> wrote:
>> Yes. Ftp works perfectly, and regular http with cgi/perl connections to the 
>> same database server works perfectly. Also rendering of standard HTML works 
>> as it should. It is only when a scripted site uses PHP/Mysql the connection 
>> to the server takes forever.
>
> What happens if you include a largish file in php? Is that also slow?
>
> Have you tried MySQL without php? Ie a mysql dump'n'reload on the command 
> line?


Ah well you already tried these sorry
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RE-export nfs mounted share

2008-06-09 Thread James Pearson

whoami i wrote:

Hi

Is there any way to re-export an nfs mounted directory?  I am having three
servers runnning on centos4.5 and i am trying to implement  nfs share in an
below manner [bcoz there is no alternative way for me to setup nfs share]

HOST A--->>>EXPORTS /prod/data --->>>HOST B

HOST B >>MOUNTED -->>> /prod/data-UNDER---/PROD1  [working fine]

HOST B EXPORTS /PROD1 --HOST C

HOST C ->>TRY MOUNTING ->>>RESULT IN BELOW ERROR

BUT WHEN I TRY TO MOUNT THE ALREADY MOUNTED NFS SHARE IN  "HOST C " I AM
GETTING BELOW ERROR.

#MOUNT ERROR##
mount: 10.65.64.30:/PROD1 failed, reason given by server: Permission denied
##

Can anyone suggest me the way to work out aboVE scenario.


Note: I find no -r(-re-export) option in rpc.mountd


AFAIK, it is not possible to (re-)export NFS mounted file systems using 
the kernel NFS server.


It might be possible to do this by running a userland NFS server (on 
"host b"), although I've never done this and I believe there are known 
issues with doing this.


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


Re: [CentOS] syslog - python

2008-06-09 Thread David Hláčik
Thanks a lot,

so how can i relalize it? :)

D.

On Mon, Jun 9, 2008 at 1:01 PM,  <[EMAIL PROTECTED]> wrote:
> man syslog.conf will explain ;)
>
> auth, authpriv, cron, daemon, kern, lpr, mail, mark, news, security (same as 
> auth), syslog, user, uucp and local0 through local7 are the supported 
> facilyties.. python(.*) is not ;)
>
> Good luck.
>
> Cheers,
>
> Bart
>
> - Original Message -
> From: "David Hláčik" <[EMAIL PROTECTED]>
> To: "CentOS mailing list" 
> Sent: Monday, June 9, 2008 12:14:26 PM GMT +01:00 Amsterdam / Berlin / Bern / 
> Rome / Stockholm / Vienna
> Subject: [CentOS] syslog - python
>
> Hello , i want all my log messages from python to have in /var/log/python
>
> Now they are in /var/log/messages:
>
> Jun  9 12:10:51 sx1 kernel: klogd 1.4.1, log source = /proc/kmsg started.
> Jun  9 12:11:01 sx1 python: MM_MEMBERS [it] Nothing to do.
> Jun  9 12:11:02 sx1 python: MM_MEMBERS [research] Nothing to do.
> Jun  9 12:12:01 sx1 python: MM_MEMBERS [it] Nothing to do.
> Jun  9 12:12:01 sx1 python: MM_MEMBERS [research] Nothing to do.
>
> So i have added to the end of the syslog.conf
>
>
> # Python
> python.*/var/log/python
>
> and restarted syslog,
>
> then i have created /var/log/python and for sure addedd u+rw, g +rw,
> o+rw permissions
>
> But, nothing, /var/log/python is empty
>
> What am i doing wrong? (Centos 5.1)
>
> Thanks
> ___
> 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
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help, PHP/Mysql connections are so slow.

2008-06-09 Thread Pro Green European
Hi.

Yes, I have tried that too, no difference. I've even tried running MySQL with a 
database populated with identical data on localhost (even tried 127.0.0.1), but 
there is no difference in performance. Delays in the connection to the db 
server is still around 20-30 seconds.

So, the problem has to be with either the php-mysql module, PHP itself, MySQL 
or then it may be hardware related.


Thx,
/mysteron



--- On Mon, 6/9/08, Lorenzo Martínez Rodríguez <[EMAIL PROTECTED]> wrote:

> From: Lorenzo Martínez Rodríguez <[EMAIL PROTECTED]>
> Subject: Re: [CentOS] Help, PHP/Mysql connections are so slow.
> To: "CentOS mailing list" 
> Date: Monday, June 9, 2008, 1:30 PM
> Maybe if you trust DNS resolution names to make the
> connection to the 
> Database servers could be a problem. Did you try to use IP
> addresses 
> directly in the code?
> 
> Regards,
> 
> 
> Peter Farrell escribió:
> > If it's a table listing check your MySQL settings.
> How have you set up
> > my.cnf? What does your slow query log tell you?
> > Have you logged into your MySQL server from another
> machine and ran
> > queries from there? Have you enabled verbose logging
> for PHP and
> > Apache? Are you tailing all 3 while you run the query
> from phpadmin?
> > One of them will say something interesting.
> >
> > I think your issue smells like something in how you
> compiled PHP  or a
> > setting in php.ini itself.
> >
> > Put a  test.php in the doc-root and see what it tells
> you it's using.
> > (re; mysql & the php version & the location of
> the php.ini)
> > I've done installs where I had conflicting libs
> from both PHP and
> > MySQL. Also I get stupid locations for php.ini all the
> time and have
> > to manaully move that file to the correct location.
> >
> > [EMAIL PROTECTED] htdocs]# cat test.php
> >  > phpinfo();
> > ?>
> >  > var_dump($GLOBALS['_PHPA']);
> > ?>
> >




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


Re: [CentOS] syslog - python

2008-06-09 Thread Kai Schaetzl
David Hláèik wrote on Mon, 9 Jun 2008 13:12:13 +0200:

> so how can i relalize it? :)

Probably not at all. You would have to redirect .err or .warn for a 
facility, but this would redirect all other input to that channel as well.
You can change facilities for some applications, but I don't know if 
Python allows this.
What you could do, is extract all python stuff from the messages log 
regularly. I don't have a recommendation for such a program.
If your purpose is to get rid of the python messages in messages that 
would still not achieve this ...

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] Help, PHP/Mysql connections are so slow.

2008-06-09 Thread Kai Schaetzl
Pro Green European wrote on Mon, 9 Jun 2008 03:37:33 -0700 (PDT):

> I also have the same identical site accessing the same database on
> the same mysql server, running on a CentOS4 server without any problem.

How did you move the database? You moved from PHP4 to 5 and from MySQL4 to 
5. You *have* to expect problems.

> I'm starting to wonder if this is a broken hardware issue...

I think what you have not done yet, is test a simple PHP page with a 
simple SQL query to a *different* simple, new database with just a few 
data.

BTW: the mysqladmin list of connections can show the current connection 
status of queries, the statement etc. and thus help in debugging. The same 
list can be obtained from within PHPMyadmin.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] wpa_supplicant and machine freezes

2008-06-09 Thread Johnny Hughes

Timothy Kesten wrote:

Hi Folks,

I'd like to install my USB-WLAN-Stick Netgear WG111v3.
Ndiswrapper works correct after installing Kernel-Modules from atrpm

ndiswrapper-kmdl-2.6.18-53.1.19.el5.centos.plus-1.52-16.el5.i686.rpm.

But by calling wpa_supplicant  with

wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf -d

machine freezes.

My wpa_supplicant.conf:

ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
network={
ssid="MyNet"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
#psk="MyPSK"
psk=9050ec6fe020b1738fce16c93c33b3809b9e62d5e6bf955518076eb2d7263
}



Nothing about that file stands out as wrong to me.

I have not used the ndiswrapper from atrpms, so I can't comment on that.

Have you tried NetworkManager?

https://fedoraproject.org/wiki/Tools/NetworkManager

We will have a newer version of Network Manager and wpa_supplicant in 
the soon to be released CentOS-5.2 (as well as more hardware supported 
in the 5.2 kernel), so maybe that will help.



With this configuration it works correct with Sidux (a debian clone).

But with CentOS 5.1 ???

No hints in /var/log/messages or dmesg available.

Has somebody an advice/ a solution for me?
More information needed?




signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] TFP inside firewall

2008-06-09 Thread lingu
Hi,

I have a setup where the tftp server is inside the firewall.

Now the issue is tftp client send request on dynamic udp port. Can anyone
give some idea, how i can bind the fixed port for client udp requests ?
Otherwise i hope, it is not a solution that i will open all port related to
UDP in the firewall.

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


[CentOS] Cluster RPM Installation Failed

2008-06-09 Thread Balaji

Dear All,

I am new Itanium server Installation and I have installed all the 
CentOS4.4 ia64 CDs and I have try to install cluster

suite package and i am getting the following error messages like

warning: ccs-1.0.7-0.x86_64.rpm: V3 DSA signature: NOKEY, key ID 443e1821
error: Failed dependencies:
   libc.so.6()(64bit) is needed by ccs-1.0.7-0.x86_64
   libc.so.6(GLIBC_2.2.5)(64bit) is needed by ccs-1.0.7-0.x86_64
   libc.so.6(GLIBC_2.3)(64bit) is needed by ccs-1.0.7-0.x86_64
   libdl.so.2(GLIBC_2.2.5)(64bit) is needed by ccs-1.0.7-0.x86_64
   libm.so.6()(64bit) is needed by ccs-1.0.7-0.x86_64
   libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by ccs-1.0.7-0.x86_64

Can some one throw light on this.

Regards
-S.Balaji  

  
 
___

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


Re: [CentOS] Slow gfs performance

2008-06-09 Thread James Thompson
You don't mention it but I assume you are running on Fiber Channel not iSCSI? I 
am running GFS using CentOS 5.1 from two servers using iSCSI. I have Device 
Mapper Multipath setup so that makes my performance characteristics a little 
different but I have tuned the servers with the following commands:

gfs_tool settune  demotes_secs 600
gfs_tool settune  scand_secs 10
gfs_tool settune  statfs_slots 128

The first two I have set until 5.2 drops which will contain an additional GFS 
tuning parameter, glock_purge. Update 5 of CentOS 4 may already have the 
glock_purge parameter available. Run the command 'gfs_tool gettune 
' and see if glock_purge is listed. It should be set to zero by 
default.

If it is there you can refer to this brief write up on tuning with glock_purge 
since you will not want to use the demote_secs and scand_secs settings I am 
using: 
http://open-sharedroot.org/Members/marc/blog/blog-on-gfs/glock-trimming-patch/?searchterm=glocks

Also, as a further note, your particular usage scenario will dictate what 
tunings are appropriate. I am not familiar with Oracle's usage of I/O but will 
both servers be accessing the same data on disk (particularly with regards to 
writing) at the same time?


-James Thompson  


- Original Message -
From: "lingu" <[EMAIL PROTECTED]>
To: centos@centos.org
Sent: Monday, June 9, 2008 4:54:44 AM GMT -05:00 US/Canada Eastern
Subject: [CentOS] Slow gfs performance


HI, 

 Sorry for repeating same mail ,while composing that mail i mistakenly typed 
the send button.I am facing problem with my gfs and below is the  running 
setup. 

My setup 


Two node Cluster[only to create shared gfs file system] with manual fencing 
running on centos 4 update 5 for oracle apps. 

 Shared gfs partition are mounted on both the node[active-active] 

 Whenever i type df -h command it will take some delay to print my shared gfs 
partition,it is happening even if i continuously typing df -h command . Shared 
GFS file system storage is from IBM STORAGE.I don't know what parameter to be 
fine tuned,bcoz  of that may be i feel my  oracle apps is also very slow. 

In syslog i am getting following error continuously in one of the node 

less /var/log/messages 

test2 kernel: 493 [RAIDarray.mpp]AHA-SN01:1:0:10 Cmnd failed-retry the same 
path. vcmnd SN 7147770 pdev H2:C0: 
T0:L10 0x00/0x00/0x00 0x0002 mpp_status:2 

 Any one help me to get rid of this slow gfs performance. 

Regards 
lingu 



___
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] Cluster RPM Installation Failed

2008-06-09 Thread Karanbir Singh

Balaji wrote:
I am new Itanium server Installation and I have installed all the 
CentOS4.4 ia64 CDs and I have try to install cluster

suite package and i am getting the following error messages like

warning: ccs-1.0.7-0.x86_64.rpm: V3 DSA signature: NOKEY, key ID 443e1821


You might want to read up on the differences in ia64 and x86_64

--
Karanbir Singh : http://www.karan.org/  : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Compact Flash..

2008-06-09 Thread mkn0014

Tom Brown wrote:




CF Fails, i can re inject it into a new CF card and away I go.  yes 
if the HD fails ive lost the database, but its a monitoring box, toss 
a new one in , reboot the box and away we go.




but as either cant operate without the other you have just doubled 
your chances of an outage rather than reduced it


You have lowered the MTTR but gained a higher MTTF and that was maybee 
your goal?


KISS principle rules, http://en.wikipedia.org/wiki/KISS_principle.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] syslog - python

2008-06-09 Thread centos
Try syslog-ng...

It has much better filtering facilities..

Cheers,

Bart

- Original Message -
From: "Kai Schaetzl" <[EMAIL PROTECTED]>
To: centos@centos.org
Sent: Monday, June 9, 2008 1:51:40 PM GMT +01:00 Amsterdam / Berlin / Bern / 
Rome / Stockholm / Vienna
Subject: Re: [CentOS] syslog - python

David Hláèik wrote on Mon, 9 Jun 2008 13:12:13 +0200:

> so how can i relalize it? :)

Probably not at all. You would have to redirect .err or .warn for a 
facility, but this would redirect all other input to that channel as well.
You can change facilities for some applications, but I don't know if 
Python allows this.
What you could do, is extract all python stuff from the messages log 
regularly. I don't have a recommendation for such a program.
If your purpose is to get rid of the python messages in messages that 
would still not achieve this ...

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
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] syslog - python

2008-06-09 Thread Jim Perrin
2008/6/9 David Hláčik <[EMAIL PROTECTED]>:
> Thanks a lot,
>
> so how can i relalize it? :)

Doesn't help you now, but rsyslog has the ability to filter by regular
expression in addition to the usual log facilities, and rsyslog will
be in 5.2 when it gets released. So if you can wait until 5.2 comes
out, you'll be able to filter the way you want.


-- 
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] Re: really dumb question about APC UPS

2008-06-09 Thread John

"Jamie Lists" <[EMAIL PROTECTED]> schreef in 
bericht news:[EMAIL PROTECTED]
> We have about 4 servers connected to an APC UPS. The UPS only has one
> UPS connection. So my question is, in a power outage how do i get all
> my servers to safely shutdown? Do i run a USB hub? Do i write a script
> on the one machine connected to turn off all the other machines? I'm
> confused.
>
If the UPS is not equipted with a network management card, then you can only 
connect the UPS to one server.
This does not mean that you can manage only one server! The UPS software let 
you run custom scripts on (shutdown) events.

Create ssh key-pair on second server, and create a rs(s)h script to logon 
with the just created ssh keys to the second server where it runs a 
(shutdown) script. This can also be done for the third fourth and so on. You 
of course run different scripts on different events

John







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


Re: [CentOS] syslog - python

2008-06-09 Thread Jim Perrin
On Mon, Jun 9, 2008 at 8:18 AM,  <[EMAIL PROTECTED]> wrote:
> Try syslog-ng...
>
> It has much better filtering facilities..

Not to disparage syslog-ng, but you may want to check out rsyslog.
It'll very likely be the default in centos6, and is currently the
default in fedora. You can check the fedora reasoning here ->
http://fedoraproject.org/wiki/Releases/FeatureRsyslog

-- 
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] Change from gnome to KDE desktop

2008-06-09 Thread Kai Schaetzl
Mark Weaver wrote on Sun, 08 Jun 2008 12:30:46 -0400:

> There are some 
> dependency issues you'll run into when you attempt to remove Gnome.

And weird ones, to that. If I try to remove Gnome Desktop Environment this 
results in a second dependency check that then wants to remove many 
libraries that KDE relies on and then to remove KDE as well. So, if one 
wants to get *really* rid of Gnome one should indeed first uninstall 
Gnome.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] syslog - python

2008-06-09 Thread Tim Verhoeven
On Mon, Jun 9, 2008 at 2:29 PM, Jim Perrin <[EMAIL PROTECTED]> wrote:
> On Mon, Jun 9, 2008 at 8:18 AM,  <[EMAIL PROTECTED]> wrote:
>> Try syslog-ng...
>
> Not to disparage syslog-ng, but you may want to check out rsyslog.
> It'll very likely be the default in centos6, and is currently the
> default in fedora. You can check the fedora reasoning here ->
> http://fedoraproject.org/wiki/Releases/FeatureRsyslog

As a sneak preview I can already tell you that CentOS 5.2 already will
have rsyslog instead of the old plain syslog.

Regards,
Tim

-- 
Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83

Hoping the problem magically goes away by ignoring it is the
"microsoft approach to programming" and should never be allowed.
(Linus Torvalds)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] syslog - python

2008-06-09 Thread Jim Perrin
On Mon, Jun 9, 2008 at 8:31 AM, Tim Verhoeven
<[EMAIL PROTECTED]> wrote:

> As a sneak preview I can already tell you that CentOS 5.2 already will
> have rsyslog instead of the old plain syslog.


I know it's in 5.2, I just didn't realize it was replacing syslog
already. Thanks for the heads up :-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] RE-export nfs mounted share

2008-06-09 Thread Bent Terp
> below manner [bcoz there is no alternative way for me to setup nfs share]

Why not? Firewalling/routing is not a problem just use fixed ports on
host A, and have host B forward requests. I've done that with nfs
servers hiding on an internal subnet.

AFAIK, you can NOT re-export nfs mounts, it's not working and it's not
supposed to.

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


[CentOS] Regd: Linux Boot-Up Front-end show details and hide details configuration files

2008-06-09 Thread Balaji

Dear All,

  During CentOS Boot-Up user can See all of the standard messages 
within this front-end by clicking on the 'show details' link.
  and hide the standard messages within this front-end by clicking on 
the 'hide details' link.


  I need to implement my own software like this, so i need yours help
  I tried to google-out and i can't find out the show details and hide 
details configuration files

  Please, do the needful.

Regards
-S.Balaji
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help, PHP/Mysql connections are so slow.

2008-06-09 Thread Erek Dyskant

On Mon, 2008-06-09 at 04:28 -0700, Pro Green European wrote:
> Delays in the connection to the db server is still around 20-30
> seconds.
> 

It sounds like the MySQL server is configured to do reverse DNS lookups
on incoming connections, and those DNS lookups are timing out.  For
small systems (a few web servers and a db server) I tend to add the web
servers to the system's hosts file, so the mysql server doesn't have to
do a DNS lookup for every connection.

Have you checked that the nameservers in resolv.conf on the MySQL server
are reachable?

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


Re: [CentOS] Hardening CentOS by removing "hacker" tools

2008-06-09 Thread Ray Leventhal

Filipe Brandenburger wrote:

On Fri, Jun 6, 2008 at 10:09 PM, Jim Wildman <[EMAIL PROTECTED]> wrote:
  

Better, google for "tiny centos" and build a new box with the minimum on it.



Hmmm, that looks exactly like what I'm looking for! I'm actually
trying to find someone who has already done the tough work and could
give me some tips on what to expect on that path. I'll see what Google
has to offer and if I find something useful I'll post it here.

Thanks!
Filipe
___
  
Applying apf (http://rfxnetworks.com/apf.php) as a front end for 
iptables enables a sweet setup for RAB (Reactive Address Blocking).
I liked it a lot starting back when I was using  FC1...I know the 
project is still around and I have it running on my CentOS5.1 box as 
well.  There's no rpm of which I'm aware, but it's a simple install.  
Makes iptables very easy to manage.


YMMV,
-R
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Chroot'ed SSH

2008-06-09 Thread Alain Terriault

easy way to get sshd ver.5 installed on centos5
http://fs12.vsb.cz/hrb33/el5/hrb-ssh/stable/SRPMS/
rpmbuild --rebuild openssh-5.0p1-1.el5.hrb.src.rpm
worked for me .. but honestly, has excited has I was, I do not find 
chroot to be that useful .. if I remember correctly, the chroot 
directory has to be owned by root and was not possible with my setup.


alternative
"scponly" from from the EPEL Repositories 
(http://download.fedora.redhat.com/pub/epel/5/x86_64/)

will give your users secure file transfers access without a terminal

my favorite
"rssh" rssh is a restricted shell for use with OpenSSH, allowing only 
scp and/or sftp. For example, if you have a server which you only want 
to allow users to copy files off of via scp, without providing shell 
access, you can use rssh to do that.


hope this help
alain

Filipe Brandenburger wrote:

Hi,

Is anyone chrooting users that connect through SSH?

I looked for it on Google and I basically saw several methods:
- OpenSSH 5 supports ChrootDirectory (FC9 apparently has RPMs that
probably could be rebuilt under CentOS 5)
- There seem to be several patches for OpenSSH 4.x to do the chroot,
the most popular seems to be http://chrootssh.sf.net/
- There appears to be a pam_chroot
- There are solutions based on setting the user's shell to a
script/binary that does the chroot

By quickly looking at yum list, it doesn't seem like neither RHEL nor
CentOS directly support any of those, at least I didn't find any RPMs
for any of those.

If anyone is doing it, I would like to know what were your experiences
and if you would recommend doing it or not.

I'm specially interested in anything that doesn't involve replacing
the OpenSSH that comes with CentOS, after all, that's what CentOS is
all about, if you start replacing the pieces, what's the point...

Thanks a lot!
Filipe
___
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


[CentOS] sendmail not sending after reboot

2008-06-09 Thread Ray Leventhal

HI folks,

I've an up-to-date CentOS 5.x box on a small intranet (<20 users).

We did a reboot over the weekend and all appears well except that 
clients on the LAN can no longer send email.  Just hangs/times out.  No 
clear identifiers in the /var/log/maillog or /var/log/messages.


We're not setup for ESMTP as it's a closed network and I'm really hoping 
for a kickstart as to where to look to get this going.


In case it helps, my sendmail.cf file is below.

Thanks in advance.
-R

divert(-1)dnl
dnl #
dnl # This is the sendmail macro config file for m4. If you make changes to
dnl # /etc/mail/sendmail.mc, you will need to regenerate the
dnl # /etc/mail/sendmail.cf file by confirming that the sendmail-cf 
package is

dnl # installed and then performing a
dnl #
dnl # make -C /etc/mail
dnl #
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for linux')dnl
OSTYPE(`linux')dnl
dnl #
dnl # Do not advertize sendmail version.
dnl #
dnl define(`confSMTP_LOGIN_MSG', `$j Sendmail; $b')dnl
dnl #
dnl # default logging level is 9, you might want to set it higher to
dnl # debug the configuration
dnl #
dnl define(`confLOG_LEVEL', `9')dnl
dnl #
dnl # Uncomment and edit the following line if your outgoing mail needs to
dnl # be sent out through an external mail server:
dnl #
dnl # define(`SMART_HOST', `smtp.your.provider')dnl
dnl #
define(`confDEF_USER_ID', ``8:12'')dnl
dnl define(`confAUTO_REBUILD')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTRY_NULL_MX_LIST', `True')dnl
define(`confDONT_PROBE_INTERFACES', `True')dnl
define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl
define(`ALIAS_FILE', `/etc/aliases')dnl
define(`STATUS_FILE', `/var/log/mail/statistics')dnl
define(`UUCP_MAILER_MAX', `200')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confAUTH_OPTIONS', `A')dnl
dnl #
dnl # The following allows relaying if the user authenticates, and disallows
dnl # plaintext authentication (PLAIN/LOGIN) on non-TLS links
dnl #
dnl define(`confAUTH_OPTIONS', `A p')dnl
dnl #
dnl # PLAIN is the preferred plaintext authentication method and used by
dnl # Mozilla Mail and Evolution, though Outlook Express and other MUAs do
dnl # use LOGIN. Other mechanisms should be used if the connection is not
dnl # guaranteed secure.
dnl # Please remember that saslauthd needs to be running for AUTH.
dnl #
dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 
LOGIN PLAIN')dnl

dnl #
dnl # Rudimentary information on creating certificates for sendmail TLS:
dnl # cd /usr/share/ssl/certs; make sendmail.pem
dnl # Complete usage:
dnl # make -C /usr/share/ssl/certs usage
dnl #
dnl define(`confCACERT_PATH', `/etc/pki/tls/certs')dnl
dnl define(`confCACERT', `/etc/pki/tls/certs/ca-bundle.crt')dnl
dnl define(`confSERVER_CERT', `/etc/pki/tls/certs/sendmail.pem')dnl
dnl define(`confSERVER_KEY', `/etc/pki/tls/certs/sendmail.pem')dnl
dnl #
dnl # This allows sendmail to use a keyfile that is shared with OpenLDAP's
dnl # slapd, which requires the file to be readble by group ldap
dnl #
dnl define(`confDONT_BLAME_SENDMAIL', `groupreadablekeyfile')dnl
dnl #
dnl define(`confTO_QUEUEWARN', `4h')dnl
dnl define(`confTO_QUEUERETURN', `5d')dnl
dnl define(`confQUEUE_LA', `12')dnl
dnl define(`confREFUSE_LA', `18')dnl
define(`confTO_IDENT', `0')dnl
dnl FEATURE(delay_checks)dnl
FEATURE(`no_default_msa', `dnl')dnl
FEATURE(`smrsh', `/usr/sbin/smrsh')dnl
FEATURE(`mailertable', `hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable.db')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
dnl #
dnl # The following limits the number of processes sendmail can fork to 
accept
dnl # incoming messages or process its message queues to 20.) sendmail 
refuses
dnl # to accept connections once it has reached its quota of child 
processes.

dnl #
dnl define(`confMAX_DAEMON_CHILDREN', `20')dnl
dnl #
dnl # Limits the number of new connections per second. This caps the 
overhead

dnl # incurred due to forking new sendmail processes. May be useful against
dnl # DoS attacks or barrages of spam. (As mentioned below, a per-IP 
address
dnl # limit would be useful but is not available as an option at this 
writing.)

dnl #
dnl define(`confCONNECTION_RATE_THROTTLE', `3')dnl
dnl #
dnl # The -t option will retry delivery if e.g. the user runs over his 
quota.

dnl #
FEATURE(local_procmail, `', `procmail -t -Y -a $h -d $u')dnl
FEATURE(`access_db', `hash -T -o /etc/mail/access.db')dnl
FEATURE(`blacklist_recipients')dnl
EXPOSED_USER(`root')dnl
dnl #
dnl # For using Cyrus-IMAPd as POP3/IMAP server through LMTP delivery 
uncomment
dnl # the following 2 definitions and activate below in the MAILER 
section the

dnl # cyrusv2 mailer.
dnl #
dnl define(`confLOCAL_MAILER', `cyrusv2')dnl
dnl define(`CYRUSV2_MAILER_ARGS', `FIL

Re: [CentOS] sendmail not sending after reboot

2008-06-09 Thread Ray Leventhal

Ray Leventhal wrote:

HI folks,

I've an up-to-date CentOS 5.x box on a small intranet (<20 users).

We did a reboot over the weekend and all appears well except that 
clients on the LAN can no longer send email.  Just hangs/times out.  
No clear identifiers in the /var/log/maillog or /var/log/messages.


We're not setup for ESMTP as it's a closed network and I'm really 
hoping for a kickstart as to where to look to get this going.


In case it helps, my sendmail.cf file is below.

Thanks in advance.
-R


I should add that sendmail is definitely running :).  I can telnet to 
the box on port 25 and get a reply, and  "service sendmail status" 
returns 'running' with at least one pid.

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


[CentOS] Clustersuite package installation failed in Itanium server

2008-06-09 Thread Balaji

Dear All,

  I am new in Itanium server Installation and I have installed all the 
CentOS4.4 ia64 CDs and
I have try to install clustersuite packages and i am getting the 
following error messages like

error: %post(package name here) scriptlet failed, exit status 255 and
error: %pre(package name here) scriptlet failed, exit status 255 problem

Cluster Suite RPMS are
ccs-1.0.7-0.i686.rpm
ccs-devel-1.0.7-0.i686.rpm
cman-1.0.11-0.i686.rpm
cman-devel-1.0.11-0.i686.rpm
cman-kernel-2.6.9-45.4.centos4.i686.rpm
cman-kernel-hugemem-2.6.9-45.4.centos4.i686.rpm
cman-kernel-smp-2.6.9-45.4.centos4.i686.rpm
cman-kernheaders-2.6.9-45.4.centos4.i686.rpm
dlm-1.0.1-1.i686.rpm
dlm-devel-1.0.1-1.i686.rpm
dlm-kernel-2.6.9-42.12.centos4.i686.rpm
dlm-kernel-hugemem-2.6.9-42.12.centos4.i686.rpm
dlm-kernel-smp-2.6.9-42.12.centos4.i686.rpm
dlm-kernheaders-2.6.9-42.12.centos4.i686.rpm
fence-1.32.25-1.i686.rpm
gulm-1.0.8-0.i686.rpm
gulm-devel-1.0.8-0.i686.rpm
iddev-2.0.0-3.i686.rpm
iddev-devel-2.0.0-3.i686.rpm
ipvsadm-1.24-6.i386.rpm
kernel-hugemem-2.6.9-42.EL.i686.rpm
kernel-smp-2.6.9-42.EL.i686.rpm
magma-1.0.6-0.i686.rpm
magma-devel-1.0.6-0.i686.rpm
magma-plugins-1.0.9-0.i386.rpm
perl-Net-Telnet-3.03-3.noarch.rpm
piranha-0.8.2-1.i386.rpm
rgmanager-1.9.54-1.i386.rpm
system-config-cluster-1.0.25-1.0.noarch.rpm

We are not sure why this is happening. Can some one throw light on this.

Regards
-S.Balaji
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] sendmail not sending after reboot

2008-06-09 Thread lingu
HI,


  Check the below things on your server.


1) diskspace

2) mailq

3) netstat -ntlp |grep :25 |grep tcp

4) telnet on  port 25 from server as well as from client

5) ps auxxww |grep sendmail

you should get output like below###
root   794  0.0  0.0  4320  648 pts/2S+   13:13   0:00 grep sendmail
root 21186  0.0  0.2 10876 2156 ?Ss   May23   0:00 sendmail:
accepting connections
smmsp21195  0.0  0.1  8192 1636 ?Ss   May23   0:00 sendmail:
Queue [EMAIL PROTECTED]:00:00 for /var/spool/clientmqueue


5) check maillog properly definitely it will throw some  messages

6) check /var/log/messages .



  Check  the maillog otherwise increase the sendmail loglevel in the
sendmail.mc file to 10 and restart sendmail.





Line to be changed in sendmail.mc to increase log level.

dnl define(`confLOG_LEVEL', `9')dnl



Regards
lingu

On Mon, Jun 9, 2008 at 6:33 PM, Ray Leventhal <[EMAIL PROTECTED]> wrote:

> HI folks,
>
> I've an up-to-date CentOS 5.x box on a small intranet (<20 users).
>
> We did a reboot over the weekend and all appears well except that clients
> on the LAN can no longer send email.  Just hangs/times out.  No clear
> identifiers in the /var/log/maillog or /var/log/messages.
>
> We're not setup for ESMTP as it's a closed network and I'm really hoping
> for a kickstart as to where to look to get this going.
>
> In case it helps, my sendmail.cf file is below.
>
> Thanks in advance.
> -R
>
> divert(-1)dnl
> dnl #
> dnl # This is the sendmail macro config file for m4. If you make changes to
> dnl # /etc/mail/sendmail.mc, you will need to regenerate the
> dnl # /etc/mail/sendmail.cf file by confirming that the sendmail-cf
> package is
> dnl # installed and then performing a
> dnl #
> dnl # make -C /etc/mail
> dnl #
> include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
> VERSIONID(`setup for linux')dnl
> OSTYPE(`linux')dnl
> dnl #
> dnl # Do not advertize sendmail version.
> dnl #
> dnl define(`confSMTP_LOGIN_MSG', `$j Sendmail; $b')dnl
> dnl #
> dnl # default logging level is 9, you might want to set it higher to
> dnl # debug the configuration
> dnl #
> dnl define(`confLOG_LEVEL', `9')dnl
> dnl #
> dnl # Uncomment and edit the following line if your outgoing mail needs to
> dnl # be sent out through an external mail server:
> dnl #
> dnl # define(`SMART_HOST', `smtp.your.provider')dnl
> dnl #
> define(`confDEF_USER_ID', ``8:12'')dnl
> dnl define(`confAUTO_REBUILD')dnl
> define(`confTO_CONNECT', `1m')dnl
> define(`confTRY_NULL_MX_LIST', `True')dnl
> define(`confDONT_PROBE_INTERFACES', `True')dnl
> define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl
> define(`ALIAS_FILE', `/etc/aliases')dnl
> define(`STATUS_FILE', `/var/log/mail/statistics')dnl
> define(`UUCP_MAILER_MAX', `200')dnl
> define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
> define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
> define(`confAUTH_OPTIONS', `A')dnl
> dnl #
> dnl # The following allows relaying if the user authenticates, and
> disallows
> dnl # plaintext authentication (PLAIN/LOGIN) on non-TLS links
> dnl #
> dnl define(`confAUTH_OPTIONS', `A p')dnl
> dnl #
> dnl # PLAIN is the preferred plaintext authentication method and used by
> dnl # Mozilla Mail and Evolution, though Outlook Express and other MUAs do
> dnl # use LOGIN. Other mechanisms should be used if the connection is not
> dnl # guaranteed secure.
> dnl # Please remember that saslauthd needs to be running for AUTH.
> dnl #
> dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
> dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5
> LOGIN PLAIN')dnl
> dnl #
> dnl # Rudimentary information on creating certificates for sendmail TLS:
> dnl # cd /usr/share/ssl/certs; make sendmail.pem
> dnl # Complete usage:
> dnl # make -C /usr/share/ssl/certs usage
> dnl #
> dnl define(`confCACERT_PATH', `/etc/pki/tls/certs')dnl
> dnl define(`confCACERT', `/etc/pki/tls/certs/ca-bundle.crt')dnl
> dnl define(`confSERVER_CERT', `/etc/pki/tls/certs/sendmail.pem')dnl
> dnl define(`confSERVER_KEY', `/etc/pki/tls/certs/sendmail.pem')dnl
> dnl #
> dnl # This allows sendmail to use a keyfile that is shared with OpenLDAP's
> dnl # slapd, which requires the file to be readble by group ldap
> dnl #
> dnl define(`confDONT_BLAME_SENDMAIL', `groupreadablekeyfile')dnl
> dnl #
> dnl define(`confTO_QUEUEWARN', `4h')dnl
> dnl define(`confTO_QUEUERETURN', `5d')dnl
> dnl define(`confQUEUE_LA', `12')dnl
> dnl define(`confREFUSE_LA', `18')dnl
> define(`confTO_IDENT', `0')dnl
> dnl FEATURE(delay_checks)dnl
> FEATURE(`no_default_msa', `dnl')dnl
> FEATURE(`smrsh', `/usr/sbin/smrsh')dnl
> FEATURE(`mailertable', `hash -o /etc/mail/mailertable.db')dnl
> FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable.db')dnl
> FEATURE(redirect)dnl
> FEATURE(always_add_domain)dnl
> FEATURE(use_cw_file)dnl
> FEATURE(

Re: [CentOS] OT: really dumb question about APC UPS

2008-06-09 Thread Peter Farrell
Agreed:

"If you use the apcupsd software you can create a network (UPS) server
and clients which will automatically shutdown on a signal from the
server. But make sure you connect your network switch to the ups as
well ;) You then only have to connect 1 machine to the ups which will
act as a server for the other three."

You want to use the apcupsd package. Connect the one machine via
serial port / usb to the UPS.
That's your new APC server - running a master apcupd daemon.

Now set up the same daemon on the other host and they will communicate
to the APC master host to get the status of the APC unit itself. At a
user defined threshold, like '10% battery left' you can configure
shutdown events. You can space these out so you bring down your
superfluous machines (dev env) then the webservers, the app servers
and the database servers, with your intranet samba / apache as last on
the list for example. You can configure it to cascade all the machines
how ever you like.

http://www.apcupsd.org/

For example a host:
--
[EMAIL PROTECTED] peter]$ cat /etc/apcupsd/apcupsd.conf
## apcupsd.conf v1.1 ##
#
#  for apcupsd release 3.10.15 (04 August 2004) - redhat
#
# "apcupsd" POSIX config file
#
# = General configuration parameters 
UPSCABLE ether
UPSTYPE  net
DEVICE neptune.example.com:3551
LOCKFILE /var/lock
ONBATTERYDELAY 6
BATTERYLEVEL 5
MINUTES 3
TIMEOUT 0
ANNOY 300
ANNOYDELAY 60
NOLOGON disable
KILLDELAY 0
NETSERVER on
NISIP 0.0.0.0
NISPORT 3551
EVENTSFILE /var/log/apcupsd.events
EVENTSFILEMAX 10
UPSCLASS standalone
UPSMODE disable
STATTIME 0
STATFILE /var/log/apcupsd.status
LOGSTATS off
DATATIME 0


And the master: (connected via serial port to APC)
-
[EMAIL PROTECTED] peter]$ cat /etc/apcupsd/apcupsd.conf | egrep -v '^#'
UPSCABLE smart
UPSTYPE smartups
DEVICE /dev/ttyS0
LOCKFILE /var/lock
ONBATTERYDELAY 6
BATTERYLEVEL 5
MINUTES 3
TIMEOUT 0
ANNOY 300
ANNOYDELAY 60
NOLOGON disable
KILLDELAY 0
NETSERVER on
NISIP 0.0.0.0
NISPORT 3551
EVENTSFILE /var/log/apcupsd.events
EVENTSFILEMAX 10
UPSCLASS standalone
UPSMODE disable
STATTIME 0
STATFILE /var/log/apcupsd.status
LOGSTATS off
DATATIME 0

-Peter




2008/6/8 Jamie Lists <[EMAIL PROTECTED]>:
> We have about 4 servers connected to an APC UPS. The UPS only has one
> UPS connection. So my question is, in a power outage how do i get all
> my servers to safely shutdown? Do i run a USB hub? Do i write a script
> on the one machine connected to turn off all the other machines? I'm
> confused.
>
> Jamie
> ___
> 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] sendmail not sending after reboot

2008-06-09 Thread Ray Leventhal

Ray Leventhal wrote:

HI folks,

I've an up-to-date CentOS 5.x box on a small intranet (<20 users).

We did a reboot over the weekend and all appears well except that 
clients on the LAN can no longer send email.  Just hangs/times out.  
No clear identifiers in the /var/log/maillog or /var/log/messages.

inserted update:
It does appear there's something in /var/log/maillog.  I found this 
entry, repeated a few times for users (now that they're here and using 
the system).


Jun  9 09:10:49 gungho sendmail[13074]: m59D9b47013074: lost input 
channel from [172.16.0.155] to smtp after mail


We're not setup for ESMTP as it's a closed network and I'm really 
hoping for a kickstart as to where to look to get this going.


In case it helps, my sendmail.cf file is below.

Thanks in advance.
-R



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


[CentOS] Re: RE-export nfs mounted share

2008-06-09 Thread David G. Miller

"whoami i" <[EMAIL PROTECTED]> wrote:


Hi Barry,

 First of all thanx for your reply but i already used the options
crossmnt,fsid=0 in my exports file still i am not able to re-export it.


Regards
lingu

On Fri, May 30, 2008 at 5:30 PM, <[EMAIL PROTECTED]> wrote:

  

> Send CentOS mailing list submissions to
>centos@centos.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>http://lists.centos.org/mailman/listinfo/centos
> or, via email, send a message with subject or body 'help' to
>[EMAIL PROTECTED]
>
> You can reach the person managing the list at
>[EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of CentOS digest..."
>
>
> Today's Topics:
>
>   1. CentOS-announce Digest, Vol 39, Issue 13
>  ([EMAIL PROTECTED])
>   2. Re: Low-memory Centos5? (Anne Wilson)
>   3. Re: Low-memory Centos5? (Wojtek Pilorz)
I think we just found another argument as to why top-posting is a bad 
idea...  You can easily miss the fact that you included the whole digest 
and not just the message you're actually replying to.


Cheers,
Dave

--
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce

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


Re: [CentOS] Help, PHP/Mysql connections are so slow.

2008-06-09 Thread Pro Green European
Thank you for all your time and replies :)

I solved the problem by switching to RHEL 5.2 x86_64 on the same server. Now 
PHP/Mysql is working properly.

Strange thing though, every setting is identical to that of the CentOS 5.1 
x86_64 install.


Regards,
/mysteron


--- On Mon, 6/9/08, Kai Schaetzl <[EMAIL PROTECTED]> wrote:

> From: Kai Schaetzl <[EMAIL PROTECTED]>
> Subject: Re: [CentOS] Help, PHP/Mysql connections are so slow.
> To: centos@centos.org
> Date: Monday, June 9, 2008, 2:51 PM
> Pro Green European wrote on Mon, 9 Jun 2008 03:37:33 -0700
> (PDT):
> 
> > I also have the same identical site accessing the same
> database on
> > the same mysql server, running on a CentOS4 server
> without any problem.
> 
> How did you move the database? You moved from PHP4 to 5 and
> from MySQL4 to 
> 5. You *have* to expect problems.
> 
> > I'm starting to wonder if this is a broken
> hardware issue...
> 
> I think what you have not done yet, is test a simple PHP
> page with a 
> simple SQL query to a *different* simple, new database with
> just a few 
> data.
> 
> BTW: the mysqladmin list of connections can show the
> current connection 
> status of queries, the statement etc. and thus help in
> debugging. The same 
> list can be obtained from within PHPMyadmin.
> 
> Kai
> 
> -- 
> Kai Schätzl, Berlin, Germany
> Get your web at Conactive Internet Services:
> http://www.conactive.com
> 
> 
> 
> ___
> 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] sendmail not sending after reboot

2008-06-09 Thread Ray Leventhal

lingu wrote:
Hi lingu,
Thanks for your reply.

  Check the below things on your server.

1) diskspace

df -h shows 253GB free on the LVM which holds mail


2) mailq

mailq says 'mailqueue is empty'


3) netstat -ntlp |grep :25 |grep tcp

# netstat -ntlp|grep :25|grep tcp
tcp0  0 0.0.0.0:25  
0.0.0.0:*   LISTEN  12861/sendmail: acc


4) telnet on  port 25 from server as well as from client

connects with the following, from either server or lan client:
220 gungho.prvnet ESMTP Sendmail 8.13.8/8.13.8; Mon, 9 Jun 2008 09:27:59 
-0400




5) ps auxxww |grep sendmail
###

# ps auxwww|grep sendmail
root 12861  0.0  0.2   8960  1920 ?Ss   08:42   0:00 
sendmail: accepting connections
smmsp12869  0.0  0.1   8012  1484 ?Ss   08:42   0:00 
sendmail: Queue [EMAIL PROTECTED]:00:00 for /var/spool/clientmqueue
root 13249  0.0  0.0   3892   688 pts/2S+   09:28   0:00 grep 
sendmail




5) check maillog properly definitely it will throw some  messages

The only interesting thing here is:
Jun  9 09:10:49 gungho sendmail[13074]: m59D9b47013074: lost input 
channel from [172.16.0.155] to smtp after mail


6) check /var/log/messages .

nothing unusual in the messages file. 



  Check  the maillog otherwise increase the sendmail loglevel in the 
sendmail.mc  file to 10 and restart sendmail.


Line to be changed in sendmail.mc  to increase log 
level.


dnl define(`confLOG_LEVEL', `9')dnl

done.  I'll re-check logs now as well.


Regards
lingu

Thanks for your suggestions.  I'll reply with status shortly
-Ray
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help, PHP/Mysql connections are so slow.

2008-06-09 Thread Max Hetrick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pro Green European wrote:
> Thank you for all your time and replies :)
> 
> I solved the problem by switching to RHEL 5.2 x86_64 on the same server. Now 
> PHP/Mysql is working properly.
> 
> Strange thing though, every setting is identical to that of the CentOS 5.1 
> x86_64 install.


I recall reading something about there being a bug with InnoDB and
causing 20-30 second queries with mysql 5.0.22. The solution, I think,
was to upgrade to at least MySQL 5.0.30.

What version is RHEL 5.2 running?

I believe this is the bug:



Regards,
Max




- --
# find . "*imbecile" -exec sed -ie "s/stupidity/commonsense/g" '{}' \;
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFITTNvIXSX/6LmsXkRAoaSAJ9Hc4nWUbee4+dl/JZY900k/Lr3LQCgmrqo
xbfNxQAPRNVblX6apgMdu5U=
=R9MY
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] iptables starting while disabled

2008-06-09 Thread Joseph L. Casale
I have a xen machine that has iptables turned off, and after a reboot it 
started behaving
badly during times when network IO rose to anything other than almost nil. 
Since I know
iptables makes xen unstable without some additional config and since its 
isolated I just
have is disabled. As a result it was the last place I looked and spent the 
better half of the
day chasing my tail.

Somehow it gets turned on after a reboot, how can I deduce what is activating 
it?

Thanks!
jlc

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


Re: [CentOS] sendmail not sending after reboot

2008-06-09 Thread Ray Leventhal

no change in connection to the mail server.  clients connect, but time out.

increase in the log level produced lines like this in /var/log/maillog:
Jun  9 09:28:51 gungho sendmail[13243]: m59DRxV2013243: gungho 
[172.16.0.106] did not issue MAIL/EXPN/VRFY/ETRN during connection to smtp


172.16.0.106 is the server address

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


Re: [CentOS] new install of 5.1 with KVM-over-IP - can'tinstallwithGUI - need assistance

2008-06-09 Thread Alon
ISSUE RESOLVED:

Thanks for jpegNY  (CentOS forums) the issue has been resolved:

Upon boot, the parameter to pass is:

boot:  linux graphical

Thats it.
It start the xserver and bypasses the check.

Thanks for the help on this.
HTH someone else down the road.

-Sup.
  - Original Message - 
  From: mkn0014 
  To: CentOS mailing list 
  Sent: Monday, June 09, 2008 11:47 AM
  Subject: Re: [CentOS] new install of 5.1 with KVM-over-IP - 
can'tinstallwithGUI - need assistance


  Alon wrote:
  > Should I escalate this issue to the RedHat bugzilla?
  Yes do so.


  /Mats
  ___
  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] Clustersuite package installation failed in Itanium server

2008-06-09 Thread Michael Simpson
On 6/9/08, Balaji <[EMAIL PROTECTED]> wrote:
> Dear All,
>
>  I am new in Itanium server Installation and I have installed all the
> CentOS4.4 ia64 CDs and
> I have try to install clustersuite packages and i am getting the following
> error messages like
> error: %post(package name here) scriptlet failed, exit status 255 and
> error: %pre(package name here) scriptlet failed, exit status 255 problem
>
> Cluster Suite RPMS are
> ccs-1.0.7-0.i686.rpm
> ccs-devel-1.0.7-0.i686.rpm
> cman-1.0.11-0.i686.rpm
> cman-devel-1.0.11-0.i686.rpm
> cman-kernel-2.6.9-45.4.centos4.i686.rpm
> cman-kernel-hugemem-2.6.9-45.4.centos4.i686.rpm
> cman-kernel-smp-2.6.9-45.4.centos4.i686.rpm
> cman-kernheaders-2.6.9-45.4.centos4.i686.rpm
> dlm-1.0.1-1.i686.rpm
> dlm-devel-1.0.1-1.i686.rpm
> dlm-kernel-2.6.9-42.12.centos4.i686.rpm
> dlm-kernel-hugemem-2.6.9-42.12.centos4.i686.rpm
> dlm-kernel-smp-2.6.9-42.12.centos4.i686.rpm
> dlm-kernheaders-2.6.9-42.12.centos4.i686.rpm
> fence-1.32.25-1.i686.rpm
> gulm-1.0.8-0.i686.rpm
> gulm-devel-1.0.8-0.i686.rpm
> iddev-2.0.0-3.i686.rpm
> iddev-devel-2.0.0-3.i686.rpm
> ipvsadm-1.24-6.i386.rpm
> kernel-hugemem-2.6.9-42.EL.i686.rpm
> kernel-smp-2.6.9-42.EL.i686.rpm
> magma-1.0.6-0.i686.rpm
> magma-devel-1.0.6-0.i686.rpm
> magma-plugins-1.0.9-0.i386.rpm
> perl-Net-Telnet-3.03-3.noarch.rpm
> piranha-0.8.2-1.i386.rpm
> rgmanager-1.9.54-1.i386.rpm
> system-config-cluster-1.0.25-1.0.noarch.rpm
>
> We are not sure why this is happening. Can some one throw light on this.
>
> Regards
> -S.Balaji

As stated by Karanbir your processor requires rpms that end in
ia64.rpm not i686.rpm or i386.rpm or x86_64.rpm though noarch.rpm is
acceptable.

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


Re: [CentOS] iptables starting while disabled

2008-06-09 Thread Peter Farrell
I'm not sure as it relates specifically to XEN - but I would have a
look through the /etc/rc.d
directory. If it's not being turned on there, 'egrep -i iptables'
/etc/init.d/* and see if it's in any startup script there.
Slim chance they may be something in rc.local as well.

-Peter

2008/6/9 Joseph L. Casale <[EMAIL PROTECTED]>:
> I have a xen machine that has iptables turned off, and after a reboot it 
> started behaving
> badly during times when network IO rose to anything other than almost nil. 
> Since I know
> iptables makes xen unstable without some additional config and since its 
> isolated I just
> have is disabled. As a result it was the last place I looked and spent the 
> better half of the
> day chasing my tail.
>
> Somehow it gets turned on after a reboot, how can I deduce what is activating 
> it?
>
> Thanks!
> jlc
>
> ___
> 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] Dell 1950 Perc 6/i with centos 4.5

2008-06-09 Thread Steve Moccio
Jeff,

I cant thank you enough. I not only did this for the kernel but
I did this for the pxeboot's jumpstart installation of 4.5.

Thanks again for taking the time to respond.





 On Sat, 7 Jun 2008, Jeff Collins ([EMAIL PROTECTED])
wrote:



I had a somewhat similar problem with a Dell 2600 running Centos
4.4. I found that 4.6 no longer
had the megaraid driver for my card, so I:Here is a detailed
description of what I did, and
perhaps this may be of help if you adapt it to your
situation.==
This
is a brief description of how to set up the 4.6 kernel so that
it will boot on list.The
reason that the stock CentOS 4.6 kernel will not boot on list is
that LSI and Dell madethe
decision to remove support for the PERC/LSI controller adapter
shipped with the PowerEdge2600
from the 4.6 kernel. The new megaraid subsystem supports the
PERC/LSIcontrollers shipped with
the newer PowerEdge 2900 models. The stock 4.5 and 4.6
kernelswill not boot on an older
2600.The 4.4 kernel is called 2.6.9-42.EL or 2.6.9-42.ELsmp in
the symmetric
multiprocessor version.The 4.6 kernel that first shipped is
called 2.6.9-67. The current
topof tree is 2.6.9-67.0.15 as of May 13 2008). When we compare
the megaraid_sas.cdrivers
(for example), we see that a lot of generic support has been
taken out of the newerversion,
compared with the driver from 4.4 (2.6.9-42.EL).For a full scan
of the differences
between all source files in the megaraid directory,
seenewdifftxt in this directory.So what we have to do is take
out a top of tree 4.6 kernel, wipe out all the code in
themegaraid directory, put back all the old megaraid code, then
build a kernel. To get theold
source kernel, use www.rpmfind.org to search for the proper
kernel:kernel-2.6.9-42.EL.src.rpm.
The current top of tree source magically appears
in/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9 when we
performyum install kernel* and follow
the instructions to build a custom kernel.This is not trivial,
but all the instructions are
athttp://wiki.centos.org/HowTos/Custom_KernelThe basic steps I
took were slightly
different:---1)
Download the stock 4.4 kernel
source using rpmfind2) Build the stock 4.4 kernel, install, and
test boot it to validate the
process.3) Save off the megaraid directory code which is
probably
in/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/drivers/scsi/megaraid4.
Change the name of the
prior kernel to something like/usr/src/redhat/BUILD.old, etcSo
you get [EMAIL PROTECTED] scsi]#
ls /usr/src/redhat/BUILD  BUILD.old  RPMS  SOURCES  SOURCES.old 
SPECS  SPECS.old  SRPMS5. Download the top of tree kernel
sources for the version we
are on (Centos 4)6. Blast the contents
of/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/drivers/scsi/megaraidand
replace with the old
megaraid code you saved.7. Build and test the kernel (The
instructions tell us to use rpmbuild
to create a full rpmpackage, but I took the shortcut of just
making a stock kernel from the top
of theBUILD/kernel-2.6.9/linux-2.6.9 directory. The steps area.
make oldconfigb.
make menuconfig (you can take out extra modules if you wish, but
make sureyou know what you are
doing. It is easy to create a kernel that does not boot)c. make
-j 4 bzImaged. cp
./arch/i386/boot/bzImage /boot/vmlinuz-2.6.9-your-versione. cp
System.map
/boot/System.map-2.6.9-your-versionf. make -j 4 modulesg. make
modules_installh.
mkinitrd /boot/mkinitrd-2.6.9-your-version.img
2.6.9-your-versioni. edit /etc/grub.conf to add
your kerneli. sync; rebootj. Choose your kernel (do not make it
the default until it has
been tested!)k. Test your kernelSo on list we end up with four
Linux
kernels:The first is the old smp kernel first shipped as CentOS
4.4.The second is a test
kernel for use in creating a custom install CD set.The third is
the patched 4.6 kernel we are
running.The fourth is the uniprocessor stock kernel shipped as
CentOS 4.4.Since
grub counting is 0 based, we have set the default to 2 so we
boot thethird kernel by default
(2.6.9-jgc).Here is the grub.conf file in
/etc===#
grub.conf
generated by anaconda## Note that you do not have to rerun grub
after making changes to
this file# NOTICE:  You have a /boot partition.  This means
that#  all kernel and initrd paths are relative to
/boot/, eg.#  root (hd0,1)#  kernel
/vmlinuz-version ro
root=/dev/sda6#  initrd
/initrd-version.img#boot=/dev/sda2default=2timeout=5splashimage=(hd0,1)/grub/splash.xpm.gzhiddenmenutitle
CentOS-4 i386 (2.6.9-42.ELsmp)root (hd0,1)kernel
/vmlinuz-2.6.9-42.ELsmp ro root=LABEL=/ rhgb
quietinitrd /initrd-2.6.9-42.ELsmp.imgtitle
CentOS-4 i386 (2.6.9-prep)root (hd0,1)kernel
/vmlinuz-2.6.9-prep ro root=LABEL=/ rhgb quietinitrd
/initrd-2.6.9-prepimgtitle CentOS-4 i386
(2.6.9-jgc)roo

Re: [CentOS] Help, PHP/Mysql connections are so slow.

2008-06-09 Thread Ralph Angenendt
Max Hetrick wrote:
> What version is RHEL 5.2 running?

5.0.45 AFAICS.

Ralph


pgplQgrEe1bgI.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help, PHP/Mysql connections are so slow.

2008-06-09 Thread Max Hetrick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ralph Angenendt wrote:

> 5.0.45 AFAICS.


That would answer the upgrade to at least 5.0.30 part. :) Thanks, Ralph.

Regards,
Max


- --
# find . "*imbecile" -exec sed -ie "s/stupidity/commonsense/g" '{}' \;
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFITUPjIXSX/6LmsXkRAiHSAJ4xMxyz9vCYgnuddPw+GBksNFFBSgCfeKyW
QiG+FsSrNL99jpik+cLmeeU=
=xwr5
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Copying files from specific date.

2008-06-09 Thread Rajeev R. Veedu
Dear all,

 

Does anyone aware of any utility  to copy files which are created or modify 
form a specific date ?.

 

Thanks

 

Rajeev R. Veedu


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


Re: [CentOS] iptables starting while disabled

2008-06-09 Thread Kai Schaetzl
Joseph L. Casale wrote on Mon, 09 Jun 2008 07:46:03 -0600:

> Somehow it gets turned on after a reboot, how can I deduce what is activating 
> it?

AFAIS iptables is active all the time in CentOS 5. Deactivating the service 
just 
means that queues are empty. Starting libvirtd and creating xen machines 
definitely 
adds to the queues.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] sendmail not sending after reboot

2008-06-09 Thread Kai Schaetzl
Ray Leventhal wrote on Mon, 09 Jun 2008 09:48:22 -0400:

> increase in the log level produced lines like this in /var/log/maillog:
> Jun  9 09:28:51 gungho sendmail[13243]: m59DRxV2013243: gungho 
> [172.16.0.106] did not issue MAIL/EXPN/VRFY/ETRN during connection to smtp
> 
> 172.16.0.106 is the server address

so, it's a connection to itself. was this a test to localhost?
If not, that hints in the direction of the problem.
Maybe you accidentally set the smarthost to itself or so?
I'd try a manual connect and walk thru an SMTP conversation and send a mail.
Also, clients can produce debug log files, too, even Microsoft products 

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] Copying files from specific date.

2008-06-09 Thread Jim Perrin
On Mon, Jun 9, 2008 at 11:16 AM, Rajeev R. Veedu <[EMAIL PROTECTED]> wrote:
> Dear all,
>
>
>
> Does anyone aware of any utility  to copy files which are created or modify
> form a specific date ?.

Use find with either -exec or with xargs, and pass it either a -ctime
or -mtime option for what you need.

for example, find /path/ -type f -mtime -2 -name '*.txt'  -exec cp {}
/path/to/copy/to/

this may not be 100% syntactically correct, but should give you the
general idea.


-- 
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] iptables starting while disabled

2008-06-09 Thread Peter Farrell
By the way - what does 'AFAIS' stand for?

-Peter


2008/6/9 Kai Schaetzl <[EMAIL PROTECTED]>:
> Joseph L. Casale wrote on Mon, 09 Jun 2008 07:46:03 -0600:
>
>> Somehow it gets turned on after a reboot, how can I deduce what is 
>> activating it?
>
> AFAIS iptables is active all the time in CentOS 5. Deactivating the service 
> just
> means that queues are empty. Starting libvirtd and creating xen machines 
> definitely
> adds to the queues.
>
> Kai
>
> --
> Kai Schätzl, Berlin, Germany
> Get your web at Conactive Internet Services: http://www.conactive.com
>
>
>
> ___
> 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] sendmail not sending after reboot UPDATE

2008-06-09 Thread Ray Leventhal
This now seems like a timeout issue.  Increasing client-side timeout to 
> 180 seconds gets mail going just fine.


Any ideas on what might be happening since a reboot to cause this change 
in MTA behaviour would be greatly appreciated.


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


Re: [CentOS] Copying files from specific date.

2008-06-09 Thread Steve Huff


On Jun 9, 2008, at 11:16 AM, Rajeev R. Veedu wrote:
Does anyone aware of any utility  to copy files which are created  
or modify form a specific date ?.




to copy all files in /dir1 modified within the last 5 days to /dir2:

$ find /dir1 -mtime -5 | xargs -I {} cp {} /dir2

if the filenames have whitespace in them, you can use this trick:

$ find /dir1 -mtime -5 -print0 | xargs -0 -I {} cp {} /dir2

for more details on selecting by time:

$ man find

pay particular attention to the options -atime, -amin, -ctime, -cmin,  
-mtime, -mmin, and -daystart.


-steve
--

If this were played upon a stage now, I could condemn it as an  
improbable fiction. - Fabian, Twelfth Night, III,v




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


Re: [CentOS] sendmail not sending after reboot

2008-06-09 Thread Ray Leventhal

Kai Schaetzl wrote:

so, it's a connection to itself. was this a test to localhost?
If not, that hints in the direction of the problem.
Maybe you accidentally set the smarthost to itself or so?
I'd try a manual connect and walk thru an SMTP conversation and send a mail.
Also, clients can produce debug log files, too, even Microsoft products 

Kai

  


Hi Kai,

Thanks for your reply.  Yes, that one was a connection to itself...but 
the msg remains when connecting from a client.  My last post must have 
crossed with yours.
It now appears to be nothing more than a server timeout issue which is 
very strange as this server's load averages are /always/ < .10. 

I'm not sure what might have changed since the reboot on Sunday 
morningam now looking at what is or is not running against the 
snapshot taken on Friday night.
Do you think it's wise to replace the sendmail.cf and sendmail.mc files 
from the snapshot (after backing them up, of course)?


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


[CentOS] Re: Olivier Castien/Roncq/Infofrance/FRA/TZG est absent.

2008-06-09 Thread Scott Silva

on 6-7-2008 4:16 PM MHR spake the following:

En anglais, s'il vous plait - cette liste est pour ceux de nous qui
parlent anglais.

(Pardonnez mon pauvre francais)

But now I can learn to despise out of office messages in a wide array of 
languages!  ;-P




--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Copying files from specific date.

2008-06-09 Thread Rajeev R. Veedu
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Huff
Sent: Monday, June 09, 2008 7:34 PM
To: centos@centos.org
Subject: Re: [CentOS] Copying files from specific date.


On Jun 9, 2008, at 11:16 AM, Rajeev R. Veedu wrote:
> Does anyone aware of any utility  to copy files which are created  
> or modify form a specific date ?.
>

>>to copy all files in /dir1 modified within the last 5 days to /dir2:

>>$ find /dir1 -mtime -5 | xargs -I {} cp {} /dir2

>>if the filenames have whitespace in them, you can use this trick:

>>$ find /dir1 -mtime -5 -print0 | xargs -0 -I {} cp {} /dir2

>>for more details on selecting by time:

>>$ man find

>>pay particular attention to the options -atime, -amin, -ctime, -cmin,  
>>-mtime, -mmin, and -daystart.

>>-steve
--

Actually I need to copy this on to another server with same folder structure. I 
think I need to explain bit of history.

I had a server crash last week, and we have restored the files from the tape. 
However during this period of making the server up, the users having adding or 
changed files from our backup Server (Samba server which rsync to production 
server every night.) now I need to copy the files which user added/ modify last 
7 days. Ideally if I can get this option in rsync it would be better. Otherwise 
I need to have a method so that all changed files to go on the relevant folder 
on the production server. I cannot take the full files in the backup files 
since they are historical backup and there are some unwanted files. 

Can I use scp instead of cp in your statement?. But how does it take the same 
directory name as the original location?

Eg:from ServerA/FLDR2/FLDR3/Filename should go to ServerB/FLDR2/FLDR3/FILENAME

Only change is the server name all other values will remain same.

Any help would be really appreciated.

Thanks

Rajeev



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


[CentOS] Re: new install of 5.1 with KVM-over-IP - can't install with GUI - need assistance

2008-06-09 Thread Scott Silva

on 6-7-2008 8:06 AM Alon spake the following:

Hi All,
 
I have several dozens of CentOS and WhiteBox servers.

Most of them are CentOS 4.6.
Our installation service is done in the datacenter where the servers are 
located.
 
When we install a fresh clean install, we use the GUI menus, while using 
the KVMoverIP.
 
That was working great with CentOS 4.x
 
In CentOS 5.x, the installation process 'annonces" that "Hey,. I know 
you are using a KVM and don't have a monitor attached"   (who cares??).
But, "since  you are using a KVM and no monitor is attached,. you CANNOT 
use the GUI installation".
 
Why???
 
4.x didn't care for this.
 
Why make my life difficult?
 
I have to 'cheat' by calling the datacenter to plug a monitor for the 
first minute of the install and then plug back the KVM cable.

Isn't this stupid? of course it is!
 
I am looking for a solution such as a parameter that I can pass to the 
boot sequence (vga=nommconf or something like that) so that it won't do 
the probing for the VGA and just let me go about my business.
 
 
Mind you that this is a problem both with DELL PowerEdge 1950iii with 
DRAC5 remote consule as well as with just plain PCs that use ATEN KVM 9116.
Once the probe understand that we don't use a monitor it prompts the 
'can't use the GUI'.
 
Any pointers about this?
 
 
Thanks,
 
-Sup.
I believe there is a "headless" parameter you can use. I have used it for VNC 
installs. It might work for you.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] sendmail not sending after reboot UPDATE

2008-06-09 Thread Ray Leventhal

lists-centos wrote:

are you configured for spamassassin or clamav as milters on the
server (in the sendmail.cf) and either/both of these didn't start up
on the reboot?  sendmail will still accept mail with sa/clamav not
running, but it takes a bit longer.
there's also the possibility of an inverse-map lookup on the
ipnumbers of the inbound client machines. if the server is trying to
do the lookups but is having trouble reaching the appropriate
in-addr.arpa server you'll get long hangs.

  - Rick
  

Hi Rick,

no milters are configured...this is a really small intranet with 
absolutely no connectivity to the outside world.


I'm baffled.  Regarding your mention of a dns issue...it may be, but i'm 
still baffled as this was all working before the weekend.  I rebooted 
the box on Sunday and am in this  bind today :)


Thanks for your input...much appreciated.
-R
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Software raid tutorial and hardware raid questions.

2008-06-09 Thread Scott Silva

on 6-7-2008 9:35 AM drew einhorn spake the following:

I remember seeing one with an example migrating
from an old fashioned filesystem on a partition
to a new filesystem on a mirrored lvm logical volume
but one only one side of the mirror is set up at this
time. 


First I need to copy stuff from what will become
the second side of the mirror
to filesystem on the first side or the mirror

Then I will be ready to follow the rest of the tutorial
and build and attach the second side of the mirror.

Wish I could remember where I saw that tutorial.

Want to embellish the example and stripe each side
of the mirror.

Understanding  a mirrored pair of stripes,
seems easier than
understanding a striped pair of mirrors.

But this seems like a place where
counterintuitive results are not a big surprise.

I can do mirroring and striping in lvm, mdadm,
or a hardware raid controller.  There are lots of
configurations to ponder.

What about recovery after a hardware raid controller?

What are the chances of being able to replace the controller
and start up successfully from drives?  I know that assuming
the failed controller did write bad stuff to the drives while
it was crashing and burning.

I would not be surprised if the controller firmware revisions
had to match.  I would be surprised but not astonished if
the board hardware revision level had to match, too.
I hope we are past those days.

Anybody know about the
LSI Logic MegaRAID 8480 Storage controller
in particular.

I know that with 3ware controllers, they are always backward compatible, and 
will sell you a controller that will work. As to the "bad" activity, nothing 
will mitigate backups.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] sendmail not sending after reboot UPDATE

2008-06-09 Thread Ray Leventhal




where does the server point to for its dns? if it's (supposed to be)
running a nameserver (e.g., you're pointing to 127.0.0.1) but the dns
server isn't running you'll get a timeout. if you have a second
nameserver configured in /etc/resolv.conf you'll likely ultimately
get a response, but only after you time out on the first.

by the way, you may want to look at the server's "client" sendmail
queue ("mailq -Ac"). the remote clients dump to the regular queue
(/var/spool/mqueue), but localhost mail goes into the clientmqueue
(/var/spool/clientmqueue). if mail is hanging there it might give
hints that are easier to debug than are remote connections. [you may
also want to try originating mail from localhost and see what
happens.]



  - Rick

  


The server points to another server on the network for dns, which is 
running and accepting queries on 53, as expected.  resolv.conf points to 
the correct nameserver IP.


I'll check the client queue..hadn't thought of that.
Thanks,
-Ray

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


[CentOS] Re: Compact Flash..

2008-06-09 Thread Scott Silva

on 6-9-2008 3:40 AM Peter Farrell spake the following:

 I generally will do one of two things in addition to my normal backups.

1. run a cron that exports the database, then gzip it - I rsync that
off to another machine.
2. I replicate the database to other machines in the same tier.

I agree about the CF failure as well. No biggie. I would copy it's
partition somewhere else once a week for a potential restore of just
such a failure.

-Peter
I could see the CF as a faster boot, but it might just be easier to software 
raid 2 drives and not worry about the mix. One drive fails, you swap and 
resync, 2 drives fail, well you did say something about backups!  ;-P



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iptables starting while disabled

2008-06-09 Thread Kai Schaetzl
Peter Farrell wrote on Mon, 9 Jun 2008 16:33:15 +0100:

> By the way - what does 'AFAIS' stand for?

In concordance with AFAIK: AFAI SEE ;-)

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] sendmail not sending after reboot

2008-06-09 Thread Kai Schaetzl
Ray Leventhal wrote on Mon, 09 Jun 2008 11:42:27 -0400:

> Do you think it's wise to replace the sendmail.cf and sendmail.mc files 
> from the snapshot (after backing them up, of course)?

If you did not change the files: no. As I said: go thru a manual send and 
check *where* the timeout occurs (better: repeat it a few times to be sure 
it's always in the same phase). The messages in the logs are not very 
clear about this. If your users have to authenticate before sending this 
could be a typical point-of-failure where after the reboot the 
authentication against an external mechanism is somehow hampered. I guess, 
you do have any spam protection on the machine as you said it's not taking 
external mail?

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] Re: RE-export nfs mounted share

2008-06-09 Thread MHR
On Mon, Jun 9, 2008 at 12:12 AM, whoami i <[EMAIL PROTECTED]> wrote:
> Hi Barry,
>
>  First of all thanx for your reply but i already used the options
> crossmnt,fsid=0 in my exports file still i am not able to re-export it.
>
> Regards
> lingu
>

Lingu,

Could you please:

1) Edit your replies so they don't consume huge amounts of email space
(and digest space), and

2) Bottom post, like (most) everyone else and per list policy?

Thank you.

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


Re: [CentOS] sendmail not sending after reboot UPDATE

2008-06-09 Thread Stephen Harris
On Mon, Jun 09, 2008 at 11:34:11AM -0400, Ray Leventhal wrote:
> This now seems like a timeout issue.  Increasing client-side timeout to 
> > 180 seconds gets mail going just fine.
> 
> Any ideas on what might be happening since a reboot to cause this change 
> in MTA behaviour would be greatly appreciated.

DNS.  It's always DNS :-)

(more accurately, host and IP address resolution).

How long is it taking your server to resolve the IP address into a
name?  To resolve names into IP addresses?  To resolve destination MX
records?

-- 

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


[CentOS] Re: sendmail not sending after reboot

2008-06-09 Thread Scott Silva

on 6-9-2008 6:03 AM Ray Leventhal spake the following:

HI folks,

I've an up-to-date CentOS 5.x box on a small intranet (<20 users).

We did a reboot over the weekend and all appears well except that 
clients on the LAN can no longer send email.  Just hangs/times out.  No 
clear identifiers in the /var/log/maillog or /var/log/messages.


We're not setup for ESMTP as it's a closed network and I'm really hoping 
for a kickstart as to where to look to get this going.


In case it helps, my sendmail.cf file is below.

Thanks in advance.
-R

divert(-1)dnl
dnl #
dnl # This is the sendmail macro config file for m4. If you make changes to
dnl # /etc/mail/sendmail.mc, you will need to regenerate the
dnl # /etc/mail/sendmail.cf file by confirming that the sendmail-cf 
package is

dnl # installed and then performing a
dnl #
dnl # make -C /etc/mail
dnl #
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for linux')dnl
OSTYPE(`linux')dnl
dnl #
dnl # Do not advertize sendmail version.
dnl #
dnl define(`confSMTP_LOGIN_MSG', `$j Sendmail; $b')dnl
dnl #
dnl # default logging level is 9, you might want to set it higher to
dnl # debug the configuration
dnl #
dnl define(`confLOG_LEVEL', `9')dnl
dnl #
dnl # Uncomment and edit the following line if your outgoing mail needs to
dnl # be sent out through an external mail server:
dnl #
dnl # define(`SMART_HOST', `smtp.your.provider')dnl
dnl #
define(`confDEF_USER_ID', ``8:12'')dnl
dnl define(`confAUTO_REBUILD')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTRY_NULL_MX_LIST', `True')dnl
define(`confDONT_PROBE_INTERFACES', `True')dnl
define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl
define(`ALIAS_FILE', `/etc/aliases')dnl
define(`STATUS_FILE', `/var/log/mail/statistics')dnl
define(`UUCP_MAILER_MAX', `200')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confAUTH_OPTIONS', `A')dnl
dnl #
dnl # The following allows relaying if the user authenticates, and 
disallows

dnl # plaintext authentication (PLAIN/LOGIN) on non-TLS links
dnl #
dnl define(`confAUTH_OPTIONS', `A p')dnl
dnl #
dnl # PLAIN is the preferred plaintext authentication method and used by
dnl # Mozilla Mail and Evolution, though Outlook Express and other MUAs do
dnl # use LOGIN. Other mechanisms should be used if the connection is not
dnl # guaranteed secure.
dnl # Please remember that saslauthd needs to be running for AUTH.
dnl #
dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 
LOGIN PLAIN')dnl

dnl #
dnl # Rudimentary information on creating certificates for sendmail TLS:
dnl # cd /usr/share/ssl/certs; make sendmail.pem
dnl # Complete usage:
dnl # make -C /usr/share/ssl/certs usage
dnl #
dnl define(`confCACERT_PATH', `/etc/pki/tls/certs')dnl
dnl define(`confCACERT', `/etc/pki/tls/certs/ca-bundle.crt')dnl
dnl define(`confSERVER_CERT', `/etc/pki/tls/certs/sendmail.pem')dnl
dnl define(`confSERVER_KEY', `/etc/pki/tls/certs/sendmail.pem')dnl
dnl #
dnl # This allows sendmail to use a keyfile that is shared with OpenLDAP's
dnl # slapd, which requires the file to be readble by group ldap
dnl #
dnl define(`confDONT_BLAME_SENDMAIL', `groupreadablekeyfile')dnl
dnl #
dnl define(`confTO_QUEUEWARN', `4h')dnl
dnl define(`confTO_QUEUERETURN', `5d')dnl
dnl define(`confQUEUE_LA', `12')dnl
dnl define(`confREFUSE_LA', `18')dnl
define(`confTO_IDENT', `0')dnl
dnl FEATURE(delay_checks)dnl
FEATURE(`no_default_msa', `dnl')dnl
FEATURE(`smrsh', `/usr/sbin/smrsh')dnl
FEATURE(`mailertable', `hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable.db')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
dnl #
dnl # The following limits the number of processes sendmail can fork to 
accept
dnl # incoming messages or process its message queues to 20.) sendmail 
refuses
dnl # to accept connections once it has reached its quota of child 
processes.

dnl #
dnl define(`confMAX_DAEMON_CHILDREN', `20')dnl
dnl #
dnl # Limits the number of new connections per second. This caps the 
overhead

dnl # incurred due to forking new sendmail processes. May be useful against
dnl # DoS attacks or barrages of spam. (As mentioned below, a per-IP 
address
dnl # limit would be useful but is not available as an option at this 
writing.)

dnl #
dnl define(`confCONNECTION_RATE_THROTTLE', `3')dnl
dnl #
dnl # The -t option will retry delivery if e.g. the user runs over his 
quota.

dnl #
FEATURE(local_procmail, `', `procmail -t -Y -a $h -d $u')dnl
FEATURE(`access_db', `hash -T -o /etc/mail/access.db')dnl
FEATURE(`blacklist_recipients')dnl
EXPOSED_USER(`root')dnl
dnl #
dnl # For using Cyrus-IMAPd as POP3/IMAP server through LMTP delivery 
uncomment
dnl # the following 2 definitions and activate below in the MAILER 
section the

dnl # cyrusv2 mailer.
dnl #
dnl define(`confLOCAL_MAI

Re: [CentOS] Re: Software raid tutorial and hardware raid questions.

2008-06-09 Thread drew einhorn
On Mon, Jun 9, 2008 at 10:48 AM, Scott Silva <[EMAIL PROTECTED]> wrote:

> on 6-7-2008 9:35 AM drew einhorn spake the following:
>
>>

> Anybody know about the
>> LSI Logic MegaRAID 8480 Storage controller
>> in particular.
>>
>>  I know that with 3ware controllers, they are always backward compatible,
> and will sell you a controller that will work. As to the "bad" activity,
> nothing will mitigate backups.
>

Yes, backups are absolutely neccessary,  but one hopes that in many cases a
quicker, easier, recovery is possible.  It is desirable that the filesystems
will come up with old drives and a new controller.  But sometimes that is
just not possible if a failing controller wrote bad stuff on the drives.

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


Re: [CentOS] Re: Olivier Castien/Roncq/Infofrance/FRA/TZG est absent.

2008-06-09 Thread MHR
2008/6/9 Scott Silva <[EMAIL PROTECTED]>:
>
> But now I can learn to despise out of office messages in a wide array of
> languages!  ;-P
>

Oh, foo - that's what I get for recognizing the language and not reading it

Maybe Olivier will get something out of this all anyway.

)-:

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


[CentOS] Re: Olivier Castien/Roncq/Infofrance/FRA/TZG est absent.

2008-06-09 Thread Scott Silva

on 6-9-2008 11:15 AM MHR spake the following:

2008/6/9 Scott Silva <[EMAIL PROTECTED]>:

But now I can learn to despise out of office messages in a wide array of
languages!  ;-P



Oh, foo - that's what I get for recognizing the language and not reading it

Maybe Olivier will get something out of this all anyway.

)-:

mhr

Probably not since I see the same message all the way back to August 2006.
Plenty of time to learn, I suppose.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Copying files from specific date.

2008-06-09 Thread Bowie Bailey
Rajeev R. Veedu wrote:
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Steve Huff 
> Sent: Monday, June 09, 2008 7:34 PM
> To: centos@centos.org
> Subject: Re: [CentOS] Copying files from specific date.
> 
> 
> On Jun 9, 2008, at 11:16 AM, Rajeev R. Veedu wrote:
> > Does anyone aware of any utility  to copy files which are created
> > or modify form a specific date ?.
> > 
> 
> > > to copy all files in /dir1 modified within the last 5 days to
> > > /dir2: 
> 
> > > $ find /dir1 -mtime -5 | xargs -I {} cp {} /dir2
> 
> > > if the filenames have whitespace in them, you can use this trick:
> 
> > > $ find /dir1 -mtime -5 -print0 | xargs -0 -I {} cp {} /dir2
> 
> > > for more details on selecting by time:
> 
> > > $ man find
> 
> > > pay particular attention to the options -atime, -amin, -ctime,
> > > -cmin, -mtime, -mmin, and -daystart.
> 
> > > -steve
> 
> Actually I need to copy this on to another server with same folder
> structure. I think I need to explain bit of history. 
> 
> I had a server crash last week, and we have restored the files from
> the tape. However during this period of making the server up, the
> users having adding or changed files from our backup Server (Samba
> server which rsync to production server every night.) now I need to
> copy the files which user added/ modify last 7 days. Ideally if I can
> get this option in rsync it would be better. Otherwise I need to have
> a method so that all changed files to go on the relevant folder on
> the production server. I cannot take the full files in the backup
> files since they are historical backup and there are some unwanted
> files. 
> 
> Can I use scp instead of cp in your statement?. But how does it take
> the same directory name as the original location? 
> 
> Eg:from ServerA/FLDR2/FLDR3/Filename should go to
> ServerB/FLDR2/FLDR3/FILENAME 
> 
> Only change is the server name all other values will remain same.
> 
> Any help would be really appreciated.

One approach would be to use the find command given above to generate a
list of files that have changed.  Then pass that list to rsync via the
'--files-from' option to transfer them to the other server.

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


[CentOS] netboot, vnc and no keyboard/mouse/monitor

2008-06-09 Thread dnk

hey guys,

I just created a custom netboot cd, that launches and loads from a  
http source, but connects to a vnc listening viewer. All in all, not  
hard to do, but what is different with this one is that it skips the  
media check, has no prompts and allows you to start the install on a  
machine that has no keyboard/mouse/monitor. Was handy for me as when i  
have some boxes to load, I just plug in power and ethernet in the  
corner (or where ever I have room) and go through the install.


I know it also works with a cd as a source (if you use it from cd 1),  
and assume it would also work with a DVD (have not tested yet).


If you would like it, I can add to the wiki if anyone would like it.

DNK


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


Re: [CentOS] netboot, vnc and no keyboard/mouse/monitor

2008-06-09 Thread Tim Nelson
I know I would certainly be interested in this... please post!!!  :-)

Tim Nelson
Systems/Network Support
Rockbochs Inc.
(218)727-4332 x105

- Original Message -
From: "dnk" <[EMAIL PROTECTED]>
To: "CentOS mailing list" 
Sent: Monday, June 9, 2008 2:55:00 PM GMT -06:00 US/Canada Central
Subject: [CentOS] netboot, vnc and no keyboard/mouse/monitor

hey guys,

I just created a custom netboot cd, that launches and loads from a  
http source, but connects to a vnc listening viewer. All in all, not  
hard to do, but what is different with this one is that it skips the  
media check, has no prompts and allows you to start the install on a  
machine that has no keyboard/mouse/monitor. Was handy for me as when i  
have some boxes to load, I just plug in power and ethernet in the  
corner (or where ever I have room) and go through the install.

I know it also works with a cd as a source (if you use it from cd 1),  
and assume it would also work with a DVD (have not tested yet).

If you would like it, I can add to the wiki if anyone would like it.

DNK


___
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] netboot, vnc and no keyboard/mouse/monitor

2008-06-09 Thread Ray Leventhal

Tim Nelson wrote:

I know I would certainly be interested in this... please post!!!  :-)

  

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


Re: [CentOS] sendmail not sending after reboot

2008-06-09 Thread Ray Leventhal

Kai Schaetzl wrote:

Ray Leventhal wrote on Mon, 09 Jun 2008 11:42:27 -0400:

  
Do you think it's wise to replace the sendmail.cf and sendmail.mc files 
from the snapshot (after backing them up, of course)?



If you did not change the files: no. As I said: go thru a manual send and 
check *where* the timeout occurs (better: repeat it a few times to be sure 
it's always in the same phase). The messages in the logs are not very 
clear about this. If your users have to authenticate before sending this 
could be a typical point-of-failure where after the reboot the 
authentication against an external mechanism is somehow hampered. I guess, 
you do have any spam protection on the machine as you said it's not taking 
external mail?


Kai

  
nothing but vanilla stuff here, for email.  no milters, no spam 
protection...it's a tiny intranet (<20 users).  We don't auth on sending 
at all...and that's what got me puzzled. 

I will do as you suggested;  I'll telnet from a client-host and do the 
same.  Funny though, when ssh'd into the box, using pine works without 
hesitation, I guess because I'm already auth'd.


Thanks for your input.
-Ray
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Confirming grub installation

2008-06-09 Thread Bowie Bailey
I have two drives in a software mirror.  Other than setting the bios to
boot from the second drive, is there any way to confirm that grub is
installed properly on the second drive?

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


Re: [CentOS] Re: sendmail not sending after reboot

2008-06-09 Thread Ray Leventhal



All your Daemon_options (`port... definitions are turned off (dnl).
You have effectively told sendmail to not listen to anybody.
At a minimum you need "DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, 
Name=MTA')" turned on for local mail to move, or 
"DAEMON_OPTIONS(`Port=smtp, Name=MTA')" to listen to all interfaces.



Hi Scott,

Thanks for your reply.

I had this in the file posted:
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

but I"ll change it to

DAEMON_OPTIONS(`Port=smtp, Name=MTA')
based on your suggestion.

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


Re: [CentOS] sendmail not sending after reboot UPDATE

2008-06-09 Thread Ray Leventhal




DNS.  It's always DNS :-)

(more accurately, host and IP address resolution).

How long is it taking your server to resolve the IP address into a
name?  To resolve names into IP addresses?  To resolve destination MX
records?

  

Hi Stephen,

While I agree, I'm still a bit stumped.  Nothing changed other than a 
reboot on Sunday afternoon.  I do have Friday's rsync snapshot and running
diff against the sendmail files (cf/mc) as well as hosts, resolv.conf, 
etc...all showed no differences.


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


[CentOS] Re: sendmail not sending after reboot

2008-06-09 Thread Scott Silva

on 6-9-2008 1:44 PM Ray Leventhal spake the following:



All your Daemon_options (`port... definitions are turned off (dnl).
You have effectively told sendmail to not listen to anybody.
At a minimum you need "DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, 
Name=MTA')" turned on for local mail to move, or 
"DAEMON_OPTIONS(`Port=smtp, Name=MTA')" to listen to all interfaces.



Hi Scott,

Thanks for your reply.

I had this in the file posted:
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

but I"ll change it to

DAEMON_OPTIONS(`Port=smtp, Name=MTA')
based on your suggestion.

Thanks,
-Ray
What you posted was the sendmail.mc file. That might not be the options your 
system was running on if you never actually ran it through the macro 
processor. As I was looking through the rest of the thread, it looks as if you 
are not running on the settings in the sendmail.mc file. Do you run webmin on 
this server, as it will allow you to make changes directly in your sendmail.cf 
file.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] netboot, vnc and no keyboard/mouse/monitor

2008-06-09 Thread dnk


On 9-Jun-08, at 1:30 PM, Ray Leventhal wrote:


Tim Nelson wrote:

I know I would certainly be interested in this... please post!!!  :-)



ditto for me



Well I guess the only thing remaining is if the centos dev's would  
like it on the wiki. Due to the way the disk needs to be built, We  
can't just have an iso for download due to the fact that you have to  
specify things like which http server, and which address you want vnc  
to connect to in the isolinux.cfg.


The tutorial is pretty easy

dnk



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


  1   2   >