[CentOS] OCI

2008-07-21 Thread Mad Unix
Am running centos5 , I want to compile my apache with php to support the following './configure' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-mysql=/usr/local/mysql' '--with-zlib-dir=/usr/lib/' '--enable-versioning' '--enable-track-vars=yes' '--enable-url-includes--enable-sysvshm=yes' '--ena

Re: [CentOS] OCI

2008-07-21 Thread Mad Unix
AIL PROTECTED]> wrote: > On Mon, Jul 21, 2008 at 5:37 AM, Mad Unix <[EMAIL PROTECTED]> wrote: > > Am running centos5 , I want to compile my apache with php to support the > > following > > > > './configure' '--with-apxs2=/usr/local/apache/bin/apxs

[CentOS] Memory for crash kernel

2008-07-21 Thread Mad Unix
when I run dmesg PE2950 Dell Server I see the following line Linux version 2.6.18-92.1.6.el5 ([EMAIL PROTECTED]) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Wed J un 25 13:45:47 EDT 2008 Command line: ro root=/dev/VolGroup00/LogVol00 rhgb quiet BIOS-provided physical RAM map: BIOS-e820

Re: [CentOS] Memory for crash kernel

2008-07-21 Thread Mad Unix
Thanks On Mon, Jul 21, 2008 at 2:42 PM, Tru Huynh <[EMAIL PROTECTED]> wrote: > On Mon, Jul 21, 2008 at 02:33:30PM +0200, Mad Unix wrote: > > when I run dmesg PE2950 Dell Server I see the following line > > > > Linux version 2.6.18-92.1.6.el5 ([EMAIL PROTECTED]) (gcc

[CentOS] copy

2008-07-21 Thread Mad Unix
I want to copy all the following files/folder/subfolders under /usr/local/apache/htdocs to a remote server within this directory /var/www/html/ Am I correct with this command, or far away o tar zcvf - /usr/local/apache/htdocs | ssh [EMAIL PROTECTED] "cat > /var/www/html/htdocs.tar.gz" Thanks

Re: [CentOS] copy

2008-07-21 Thread Mad Unix
How would you do the tar zcvf - /usr/local/apache/htdocs | ssh [EMAIL PROTECTED] "cat > /var/www/html/htdocs.tar.gz" with rsync and the to have it in the crontab to run everyday. Thanks On Mon, Jul 21, 2008 at 5:20 PM, Tom Brown <[EMAIL PROTECTED]> wrote: > > I w

Re: [CentOS] OCI

2008-07-21 Thread Mad Unix
My Question is: How to build the OCI8 extension module for php5 under CentOS5? Thanks On Mon, Jul 21, 2008 at 1:47 PM, Mad Unix <[EMAIL PROTECTED]> wrote: > We do have 2xDB on the System One for the Core based on Oracle10g and the > rivate one based for MySQL > normally I do Apa

Re: [CentOS] OCI

2008-07-21 Thread Mad Unix
any one used this method on CenTOS5 64bit http://pecl.php.net/package/oci8 #pecl install oci8 On Mon, Jul 21, 2008 at 8:59 PM, Jay Leafey <[EMAIL PROTECTED]> wrote: > I am a bit hesitant to suggest this, but Oracle has already built > RHEL-compatible php packages, including php-OCI8. You can fi

Re: [CentOS] OCI

2008-07-22 Thread Mad Unix
what about this link (its for SuSE) http://en.opensuse.org/Howto_build_oci8_extension_module_for_php On Tue, Jul 22, 2008 at 10:16 AM, Tomasz 'Zen' Napierala <[EMAIL PROTECTED]> wrote: > Tuesday 22 July 2008 06:51:33 Mad Unix napisał(a): > > any one used this method on

[CentOS] script

2008-07-27 Thread Mad Unix
Hi ALL #!/bin/sh # Shell script to monitor or watch the disk space # It will send an email to $ADMIN, if the (free avilable) percentage # of space is >= 90% # - # Copyright (c) 2005 nixCraft project

[CentOS] restore

2008-07-29 Thread Mad Unix
Am trying to do restore of control file on Linux Machine 64Bit CenTOS5.2, i get the following RMAN> restore controlfile; Starting restore at 29-07-2008 using channel ORA_DISK_1 channel ORA_DISK_1: starting datafile backupset restore channel ORA_DISK_1: restoring control file channel ORA_DISK_1:

[CentOS] DVD Burner

2008-07-31 Thread Mad Unix
I've purchased an LG DVD Burner (GSA-E60L) External super Multi DVD Rewiter for my PE2950 Dell Server attached via USB. Can someone guide me to set up the DVD with Linux, and which tools should I use to burn DVD? [EMAIL PROTECTED] /]# cdrecord -scanbus Cdrecord-Clone 2.01 (cpu-pc-linux-gnu) Copyr

Re: [CentOS] DVD Burner

2008-08-01 Thread Mad Unix
I want to use mondo to do full images of my system on DVD's ... On Fri, Aug 1, 2008 at 1:02 PM, Johnny Hughes <[EMAIL PROTECTED]> wrote: > John R Pierce wrote: > >> Mad Unix wrote: >> >>> I've purchased an LG DVD Burner (GSA-E60L) External super Mult

[CentOS] perl

2008-08-21 Thread Mad Unix
Am trying to install perl module "File::Find", but not able it gave the following cpan[1]> install File::Find CPAN: Storable loaded ok (v2.15) Going to read /root/.cpan/Metadata Database was generated on Thu, 21 Aug 2008 02:03:21 GMT Running install for module 'File::Find' The most recent versio

Re: [CentOS] perl

2008-08-21 Thread Mad Unix
Am still not able to install Find_File On Thu, Aug 21, 2008 at 4:28 PM, Karanbir Singh <[EMAIL PROTECTED]>wrote: > Steve Huff wrote: > >> If someone would come up with a way to automate the dependency resolution so that I could grab and package everything at once, then I would do it

Re: [CentOS] perl

2008-08-21 Thread Mad Unix
: make NO isa perl On Thu, Aug 21, 2008 at 5:33 PM, Steve Huff <[EMAIL PROTECTED]> wrote: > > On Aug 21, 2008, at 11:14 AM, Mad Unix wrote: > > Am still not able to install Find_File >> > > > if i may ask, why do you need to install this module?

Re: [CentOS] perl

2008-08-21 Thread Mad Unix
Thanks, [EMAIL PROTECTED] ftpsync-1.2.33]# perl -e 'use File::Find' [EMAIL PROTECTED] ftpsync-1.2.33]# On Thu, Aug 21, 2008 at 5:54 PM, Bowie Bailey <[EMAIL PROTECTED]> wrote: > Mad Unix wrote: > > Am trying to install ftpsync-1.2.33, prerequisite > > [EMAIL

[CentOS] smartd

2008-08-24 Thread Mad Unix
last night I checked the log messages on the server Dell PE2950 6xSAS 146G I found the smartd running , I did not request such daemon [EMAIL PROTECTED] pons]# tail -f /var/log/messages Aug 25 08:27:30 PowerEdge1 smartd[8039]: Home page is http://smartmontools.sourceforge.net/ Aug 25 08:27:30 Power

Re: [CentOS] smartd

2008-08-24 Thread Mad Unix
since am using Harware RAID controller, am gonna disable it... and use the monitoring tools of dell Thanks On Mon, Aug 25, 2008 at 7:50 AM, John R Pierce <[EMAIL PROTECTED]> wrote: > Mad Unix wrote: > >> last night I checked the log messages on the server Dell PE2950 6xSAS 1

[CentOS] apache

2008-08-25 Thread Mad Unix
How can I pass the following Oracle 10g variables to my apache? ORACLE_BASE=/u01/oracle ORACLE_HOME=/u01/oracle/10g ORACLE_SID=king LD_LIBRARY_PATH=$ORACLE_HOME/lib LD_LIBRARY_PATH_32=$ORACLE_HOME/lib32 PATH=$PATH:$ORACLE_HOME/bin NLS_LANG=AMERICAN_AMERICA.AR8MSWIN1256; export NLS_LANG NLS_DATE_FO

Re: [CentOS] apache

2008-08-26 Thread Mad Unix
Am running Oracle10g on the server, I do OCI connection from php/apache to my DB 10g so how would you insert the values to apache... On Tue, Aug 26, 2008 at 9:18 AM, John R Pierce <[EMAIL PROTECTED]> wrote: > Mad Unix wrote: > >> How can I pass the following Oracle 10g vari

Re: [CentOS] apache

2008-08-26 Thread Mad Unix
wrote: > On Tue, 2008-08-26 at 10:42 +0200, Ralph Angenendt wrote: > > Mad Unix wrote: > > > Am running Oracle10g on the server, I do OCI connection from php/apache > to > > > my DB 10g > > > so how would you insert the values to apache... > > > > To q

Re: [CentOS] apache

2008-08-26 Thread Mad Unix
256; export NLS_LANG NLS_DATE_FORMAT=dd-mm- ; export NLS_DATE_FORMAT export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH LD_LIBRARY_PATH_32 PATH ~ On Tue, Aug 26, 2008 at 2:25 PM, Jim Perrin <[EMAIL PROTECTED]> wrote: > On Tue, Aug 26, 2008 at 6:01 AM, Mad Unix <[EMAIL PROTECTED]

Re: [CentOS] apache

2008-08-27 Thread Mad Unix
256; export NLS_LANG NLS_DATE_FORMAT=dd-mm- ; export NLS_DATE_FORMAT export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH LD_LIBRARY_PATH_32 PATH On Tue, Aug 26, 2008 at 6:43 PM, Ross S. W. Walker <[EMAIL PROTECTED]>wrote: > Jeff wrote: > > On Tue, Aug 26, 2008 at 10:11 AM,

centos@centos.org

2008-08-29 Thread Mad Unix
Hi I need a script to automatically Starting/Stopping an Oracle 10g DB on CentOS5.2 64bit i.e lsnrctl start/stop db start/stop emctl start/stop dbconsole" Any help? -- Madunix_at_Gmail Sysadmin "Computers are useless. They can only give you answers" - Pablo Picasso "Never trust a computer you

[CentOS] mysql

2008-09-03 Thread Mad Unix
I need to replicate MySQL DB of mulltiple server on SiteA to my DR-Site Site_B... all DB are alocated on RHEL,SuSE,Centos,Debian, FreeBSD servers. I need a script to take Multiple MySql DataBase Backup and then import to SiteB, the replica can be done as cold or hotbackup and cron it Thanks -- Ma

Re: [CentOS] mysql

2008-09-04 Thread Mad Unix
%Y%m%d).sql | gzip -c > /misc/backups/MySQL/$(date +%Y%m%d).tar.gz Any recommendation On Wed, Sep 3, 2008 at 9:06 PM, Jim Perrin <[EMAIL PROTECTED]> wrote: > On Wed, Sep 3, 2008 at 2:45 PM, Mad Unix <[EMAIL PROTECTED]> wrote: > > I need to replicate MySQL

centos@centos.org

2008-09-10 Thread Mad Unix
topall On Fri, Aug 29, 2008 at 10:36 PM, David Hrbác( <[EMAIL PROTECTED]> wrote: > Mad Unix napsal(a): > > Hi > > > > I need a script to automatically Starting/Stopping an Oracle 10g DB on > > CentOS5.2 64bit i.e > > lsnrctl start/stop > > db start/s

[CentOS] yum

2008-09-25 Thread Mad Unix
How to solve this issue? [EMAIL PROTECTED] rescue]# yum update xulrunner Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile * base: mirror.silyus.net * updates: mirror.silyus.net * addons: mirror.silyus.net * extras: mirror.silyus.net Setting up Update Process Resolving

[CentOS] script

2008-09-30 Thread Mad Unix
Dear ALL, I need some help with bash scripting, a script that search the content of multiple files and replace old string ip "10.5.1.10" with the new string ip "127.128.1.10" it will search in specific folder and sub folders Thanks ___ CentOS mailing li

Re: [CentOS] script

2008-10-01 Thread Mad Unix
Thanks all On 10/1/08, Chris Geldenhuis <[EMAIL PROTECTED]> wrote: > > MHR wrote: > > > On Tue, Sep 30, 2008 at 3:08 PM, Chris Geldenhuis > > <[EMAIL PROTECTED]> wrote: > > > > > > > How about: > > > > > > find -exec sed "s/10.5.1.10/127.128.1.10/" \{\} \; > > > > > > > > > > > > > First, the '\'

[CentOS] vsftpd

2008-10-06 Thread Mad Unix
Hi ALL I'm using vsftpd as FTP server, and I'd like to chroot my FTP users to their home dir. How can I do it? i.e. "jailing" them in their home dir... at the moment I have the following issues the user when they login to ftp server they go to the main directory /var/ftp/ /etc/passwd ... sdc:x:5

[CentOS] replace

2008-10-24 Thread Mad Unix
i need your feedback about this command, it should find a string in multiple html files in a directory and replace it with a different string... find /dir -name "*.html" -exec sed -i 's/"old"/"new"/g' {} \; Thx. ___ CentOS mailing list CentOS@centos.org

[CentOS] mrtg

2008-10-26 Thread Mad Unix
any help/tips/document/link to setup and configure MRTG under Centos. Thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] glibc

2008-12-16 Thread Mad Unix
Am having the following error: [r...@intra.sdc:rescue]$yum update glibc Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile * base: mirror.silyus.net * updates: mirror.silyus.net * addons: centos.intergenia.de * extras: centos.intergenia.de Excluding Packages in global ex

Re: [CentOS] glibc

2008-12-17 Thread Mad Unix
yes, absolute correct i386 been excluded ! Thanks On Wed, Dec 17, 2008 at 2:08 PM, Jim Perrin wrote: > On Wed, Dec 17, 2008 at 1:45 AM, Mad Unix wrote: >> Am having the following error: > > Run 'grep -ri exclude /etc/yum*' > > Usually when I see this error, i

[CentOS] yum problem

2009-01-26 Thread Mad Unix
Hi all Am trying to update my system Cento r...@king Tue Jan 27 ~ $ yum update Loading "fastestmirror" plugin Determining fastest mirrors Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=os error was [Errno 4] IOError: Error: Cannot find a valid baseurl for

Re: [CentOS] yum problem

2009-01-27 Thread Mad Unix
On Tue, Jan 27, 2009 at 9:45 AM, James Bensley wrote: > Can you surf the web ok? Is it a DNS resolution problem, 'Temporary > failure in name resolution' ? > > Have you tried another mirror? > > > -BEGIN GEEK CODE BLOCK- > Version: 3.1 > GIT/MU/U dpu s: a--> C++>$ U+> L++> B-> P+> E?> W++

Re: [CentOS] yum problem

2009-01-27 Thread Mad Unix
it works now added the following to the profile export http_proxy="http://foo:b...@10.0.0.1:8080"; On Tue, Jan 27, 2009 at 6:57 PM, Lanny Marcus wrote: > On Tue, Jan 27, 2009 at 4:04 AM, Anthony Kamau wrote: >>> -Original Message- >>> From: centos-boun...@centos.org [mailto:centos-boun.

[CentOS] shell script

2009-02-08 Thread Mad Unix
I have to run multiple command about 20x on linux each one got his own output, I want to bind all the out puts of them in one file then read this file and mail it to user account sample [r...@imail pons]# /home/pons/tsmmonitor stgpool SDC-STAFF stgpool - utilization of storage pool SDC-STAFF 62%

Re: [CentOS] shell script

2009-02-08 Thread Mad Unix
resolved. On Sun, Feb 8, 2009 at 4:33 PM, Filipe Brandenburger wrote: > Hi Mad Unix, > > On Sun, Feb 8, 2009 at 09:06, Mad Unix wrote: >> I have to run multiple command about 20x on linux each one got his >> own output, > > It is not the first time you come to th