[CentOS] how to run a command on a specific vnc display

2010-12-09 Thread Roland RoLaNd
Hello, I'm using selenium rc for automated testing on a centos box. working on the box itself has no problem as long as i start the server through terminal. though if i wanted to run tests remotely i have a problem with firefox not knowing on which display to run. i have a vnc client

[CentOS] Text Proccessing script - advice?

2010-12-21 Thread Roland RoLaNd
Hello, I have a log file with the following input: X , ID , Date, Time, Y 01,01368,2010-12-02,09:07:00,Pass 01,01368,2010-12-02,10:54:00,Pass 01,01368,2010-12-02,13:07:04,Pass 01,01368,2010-12-02,18:54:01,Pass 01,01368,2010-12-03,09:02:00,Pass 01,01368,2010-12-03,13:53:00,Pass

Re: [CentOS] Text Proccessing script - advice?

2010-12-21 Thread Roland RoLaNd
? } } } Date: Tue, 21 Dec 2010 12:58:33 -0500 From: m.r...@5-cent.us To: centos@centos.org Subject: Re: [CentOS] Text Proccessing script - advice? Roland RoLaNd wrote: I have a log file with the following input: X , ID , Date, Time, Y

Re: [CentOS] Text Proccessing script - advice?

2010-12-21 Thread Roland RoLaNd
21, 2010 at 08:30:43PM +0200, Roland RoLaNd wrote: (chuckle) That's a bit more verbose than necessary. As a one-liner: awk -F, '($409:00:00){c[$2 , $3]++};END{for (i in c){print i , c[i]}}' $filename Well, yes, but he also wanted a count mark 01368,2010-12-02,4 01368,2010

Re: [CentOS] Text Proccessing script - advice?

2010-12-21 Thread Roland RoLaNd
To: centos@centos.org Subject: Re: [CentOS] Text Proccessing script - advice? On 12/21/2010 1:40 PM, Roland RoLaNd wrote: awk -F , '{if ($4 09:10:00) print $2 was late on, $3 by coming at ,$4}' test | tee DaysLate ; wc -l DaysLate 01368 was late on 2010-12-02 by coming at 10:54

[CentOS] centos as a firewall help

2010-12-31 Thread Roland RoLaNd
Hello all, first of all i'd like to wish you all happy holidays, and a merry belated christmas. Secondly, i'm trying to setup  a centos 5.4 to act as: 1. firewall # can you check my config below and tell me if i missed anything? 2. DHCP # already configured 3. transparent squid proxy # 

[CentOS] DHCPD troubleshooting..? help!

2010-12-31 Thread Roland RoLaNd
Hello, i've setup dhcp as such: yum install dhcp vim /etc/dhcpd.config # # DHCP Server Configuration file. #   see /usr/share/doc/dhcp*/dhcpd.conf.sample  #ddns-update-style interim; ddns-update-style interim; ddns-rev-domainname in-addr.arpa; ignore client-updates; subnet 192.168.75.0

[CentOS] Centos installation Vs Disk partitioning

2011-01-10 Thread Roland RoLaNd
Dear all, I'm trying to setup a development server which hosts a number of virtual hosts.and i need your advice with the following: 1. What's the best Filesystem to be used with an apache server?Relevant info: i. Mysql DB size' 1 GBii. Code directory size' 8 GB (Max file size is 5 KB)2. What's

Re: [CentOS] Centos installation Vs Disk partitioning

2011-01-10 Thread Roland RoLaNd
. wouldn't that be enough? Date: Mon, 10 Jan 2011 03:01:56 -0800 From: jd...@yahoo.com To: centos@centos.org Subject: Re: [CentOS] Centos installation Vs Disk partitioning From: Roland RoLaNd r_o_l_a_...@hotmail.com 1. Drive A (320 GB): OS 2. Drive B (1 TB): Mysql + /home

[CentOS] /etc/bashrc causing probs..

2011-01-13 Thread Roland RoLaNd
Hello,i've appended the below to /etc/bashrc, which is causing an error once i try to rsync using ssh to this specific box.any idea how to prevent bashrc to execute the below to a no login shell ? or any other advice for that matter. if [ $(id -u) -eq 0 ];then # you are rootecho

[CentOS] selenium rc server - run it on a specific display help!

2011-02-04 Thread Roland RoLaNd
Dear all, i'm trying to run multiple selenium rc server on a centos box (different ports) with developers connecting to it through VNC (different respective ports) to check their automated test result. i can easily do the above manually (when it comes to running RC server). though automating

Re: [CentOS] selenium rc server - run it on a specific display help!

2011-02-07 Thread Roland RoLaNd
:08 AM, Roland RoLaNd wrote:Dear all, i'm trying to run multiple selenium rc server on a centos box (different ports) with developers connecting to it through VNC (different respective ports) to check their automated test result. i can easily do the above manually (when it comes to running RC

[CentOS] cronjob to intiiate checkdisk ?

2011-02-28 Thread Roland RoLaNd
Dear all, I'm trying to find a way to automate checkdisk every 1 month on a weekend. in other words i want checkdisk to run every saturday morning. i can of course change the default mount/count though that wont let me control WHEN it will happen. so i need your expert opinion with the

[CentOS] BUG: soft lockup CPU stuck for 10seconds (Server went down)

2011-03-06 Thread Roland RoLaNd
Hello, Today my server stopped responding. i went to the console and on the screen there were a continuous loop of the following info shown on the screen: BUG: soft lockup - CPU#0 stuck for 10s! [java:13959] and alot of other information. ii've took a screen shot of the info shown , you can

Re: [CentOS] BUG: soft lockup CPU stuck for 10seconds (Server went down)

2011-03-07 Thread Roland RoLaNd
i couldn't connect to it to check through ssh. and when it comes to the console, i couldn't do anything either as a repetitive output as the screen shot attached keeps appearing. this is an internal testing server with apache and mysql installed. usually the load average is 8 % max. server's

Re: [CentOS] BUG: soft lockup CPU stuck for 10seconds (Server went down)

2011-03-08 Thread Roland RoLaNd
Roland RoLaNd wrote: BUG: soft lockup - CPU#0 stuck for 10s! [java:13959] i tried googling with no luck for direct relevant info. The first google result for the above string takes me here: http://bugs.centos.org/view.php?id=3582 Which in turn contains a reference that takes me here

[CentOS] Failed to start new browser session: Error while launching browser on session null

2011-03-28 Thread Roland RoLaNd
Hope this email finds you well. I need your advice with something if you can help out. I have an RC serer (selenium rc) which is running on a centos 5.2 and another on a 5.4 machine. if i run it through X server, in other words if i run the server while connected to VNC. it works fine. but

[CentOS] how to mount a remote directory on linux

2009-07-19 Thread Roland Roland
Hello, i'd like to mount a remote directory that exists on a CENTOS 5 machine to a similar but local machine. i've made a local cron job that executes a script on the data provided in that folder hence the request above. if any help could be provided i'd appreciate it.. ps: sshfs seems

[CentOS] bind dns help?

2009-09-16 Thread Roland Roland
Hello, I've recently inherited a network with bind dns already set in it.. the thing is, the previous admin added our networks domain as our default company's website.. lets say abcd.com first of all, I'm a complete newbie with DNS under linux so I've sruggled my way and finally landed on

Re: [CentOS] Antwort: bind dns help?

2009-09-16 Thread Roland Roland
] Antwort: bind dns help? Hi, Roland Roland r_o_l_a_...@hotmail.com schrieb am 16.09.2009 11:10:05: I can browse to abcd.com I can browse to local.abcd.com but I cannot access public.abcd.com as the dns search for public under it's records and it cannot find it.. how can I solve

[CentOS] Backing up a centos serveR? how to ? Newbie question..

2009-10-19 Thread RoLaNd RoLaNd
Hi all, excuse my newbie question but how can i backup my centos server? i have a dozzen of virtual hosts over it as well as substantial database entries.. i've backed up the following directories using rsync: workspace/ /etc/httpd/ /etc/apache-tomcat-6.0.20/ /usr/lib/mysql/ /var/lib/mysql

[CentOS] Help! i want to clone my Centos machine to another box..

2009-10-22 Thread RoLaNd RoLaNd
Hello all, i've spent the last week trying to find something that will clone my existing Centos server to a more powerful box. i've used clonezilla though that resulted in a complete failure.. can anyone please guide me in the right direction? all i want to do is to clone my entire server and

[CentOS] Centos as a file storage/backup destination (Advice)

2009-11-08 Thread Roland Roland
Hello all, am considering setting up centos as a file storage/ backup destination for Mac's TimeMachine. all my users would get synced directly to specific folders on this machine.. needless to say space is of importance. where every user has an average 200 GB of data to b synced (entire

[CentOS] /etc/bashrc help!

2011-04-19 Thread Roland Roland
Dear all, i've appended the below to /etc/bashrc it works like a charm with ssh connections though SFTP sessions fail since the below is being sent to the intiator. any way of limiting the below to none sftp sessions? or any other idea for it to work? # If id command returns zero, you’ve

[CentOS] Centos as Gateway ? (Router/transparent proxy)

2011-05-02 Thread Roland Roland
Hi All, I'm lately suffering from Quota abuse at home. believe it or not my teenagers are eating through my allowed quota. Hence, i'm thinking of setting up a centos machine to work as such: HDSL modem(natted to an onboard dhcp service for lan users) - Centos - Switch - LAN users Hw

[CentOS] how to do startup scripts?

2009-12-07 Thread Roland Roland
Hello, I've just finished installing Atlassian's bamboo it comes with two ways to start it up one through a bash shell script bamboo.sh and another through java script (this one is better as it has the ability to start up the service if it got shutdown for any reason) so I'm wondering how can

[CentOS] Cron job? or something else? help..

2009-12-13 Thread Roland Roland
Hello, i have a certain issue at hand that i'm trying to solve. there's a certain command that i need to execute 10 minutes after boot. how can i set that? im not very expert with cron jobs but can it be done that way? i know that cronjob works on specified time but how can i set it to run

[CentOS] I/o Read/write BYTes ?

2009-12-14 Thread Roland Roland
Hello, is there a way to detect the r/w i/o bytes on a hdd under centos? i know i can do it through task manager under windows though what about centos through cli ? any advice? ___ CentOS mailing list CentOS@centos.org

[CentOS] PAM configuration?

2010-01-04 Thread Roland Roland
Hello all, Can anyone please help out with configuring PAM? I've checked a couple of tutorials online.. though most of them are related to Login though I want to set PAM up for SSH logins... I've set the max erroneous logins to just THREE and even after trying to login with an error pass I

[CentOS] how to send mail from console

2010-01-15 Thread Roland Roland
Hi all, i'm trying to get a script to send me an email whenever a certain condition takes place.. i'm afraid i dont have experience with mail command nor anything else related to sending emails for that matter.. i googled a bit and tried using mutt and mail ... though i do not recieve any

[CentOS] DNS issue.. help ?!

2010-01-25 Thread Roland Roland
Hi All, i have DNS configured on my centos 5.2 server. it's all working fine, right now i want to change the main public dns from one IP to another to do some testing (the new public dns ip has records which the old one doesnt have and it's done as such for testing) so i got into

[CentOS] block port forwarding?

2010-02-25 Thread Roland RoLaNd
Hello,  i have internet usage rules for all of my network. only 2 servers have full access to the internet.. lately i've noticed that lots of traffic being produced by the servers .. is there a way to know whose using port forwarding to my server so they access the internet ? or is there a way

Re: [CentOS] block port forwarding?

2010-02-25 Thread Roland RoLaNd
 cat /proc/sys/net/ipv4/ip_forward 0 Date: Thu, 25 Feb 2010 13:39:41 +0200 From: eero.voloti...@iki.fi To: centos@centos.org Subject: Re: [CentOS] block port forwarding? 2010/2/25 Roland RoLaNd : Hello, i have internet usage rules for all

[CentOS] Linux printing server?

2010-03-06 Thread Roland Roland
hello all, is there any other way to setup some kind of service that converts user's printed jobs to pdf files other than ghostscript + samba? if theres none, can any1 help me set ghostscript + samba up? __ Information from ESET Smart Security, version of virus signature database

[CentOS] Java 1.5

2010-03-15 Thread Roland RoLaNd
Hello, i'm trying to install jboss where it asks me for java 1.5 i have both 1.4 and 1.6 installed with JAVA_HOME pointing to 1.6 i downloaded jdk-1_5_0_17-linux-i586.bin  and executed it.. though nothing changed.. when i execute : alternatives --config java i can only see 1.4 and 1.6 any

[CentOS] help!

2010-03-24 Thread Roland RoLaNd
hello, i've just wrote the following : more ./*.csv | grep -i XXX | echo Dear XXX, This email is for informative purposes. Your total number of hours for the week of `date` is: `cut  -d, -f2` hours  Kindly note that the average weekly working hours is : 40. | /usr/sbin/sendEmail -t

[CentOS] System and Server Status help ?

2010-04-01 Thread Roland RoLaNd
dear all, i can't count the times that webmin came to my rescue. whenever i face a dead end in doing something through CLI i always turn to webmin.. though at the moment i wanna learn how to do things through cli instead of relying on webmin as i said.. especially System and Server Status

[CentOS] file sharing?

2010-04-10 Thread Roland Roland
Hi all, I've inherited from a previous It personnel a centos server which works as a fileserver and at the same time has one Vmware (windows xp) working on it. due to file server data load, the windows xp services get unreachable until the data transfer from the fileserver itself slows down..

[CentOS] SVN server update

2010-04-14 Thread Roland RoLaNd
Dear all, i have SVN server 1.4.x working on production. i want to go ahead and update to 1.6.x i'm hoping your experience would help me prevent possible downtime.. is there any issues that may arise from updating the SVN server from one version to another on a production server?

[CentOS] Debugging slow apache server?

2010-04-20 Thread Roland RoLaNd
hello, i'm using an apache server to host 8 virtual hosts. even though this server is local.. 7 out of these 8 virtual hosts open extremly slow.. it takes around 10 seconds to open a page.. though the 8th (which is a completely different site) it opens fairly fast in around 1 or 2 seconds

[CentOS] Centos to use two ISP concurrently..?

2010-06-27 Thread Roland RoLaNd
Hi all, I'm currently getting my Centos working as a proxy (squid) on a 2 Mb bandwidth plan that's serving 20 users. it's all good though our need for speed is increasing by the day. soon enough i'll be serving up to 60 user, hence the need to get higher bandwidth though here where the

[CentOS] centos 5.2

2010-07-05 Thread Roland RoLaNd
Hello, where can i get centos 5.2 64 bit ? all i can find is 5.5 ... any help? _ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. https://signup.live.com/signup.aspx?id=60969

[CentOS] Centos Virtual Machine 32 bit with 8 GB ram ?

2010-09-14 Thread Roland RoLaNd
Hello, I have a centos 5.2 core 2 duo 3.0 GHZ with 2 GB ram which is working as a Virtual machine. i've just upgraded the hosting physical server from 32 GB to 64 GB of ram. which in turn, would require me to upgrade the VM to 8 GB. this is a 32 bit centos installation, would the system

Re: [CentOS] Centos Virtual Machine 32 bit with 8 GB ram ?

2010-09-14 Thread Roland RoLaNd
Virtual Machine 32 bit with 8 GB ram ? On Tue, 14 Sep 2010 09:44:28 +0300 Roland RoLaNd r_o_l_a_...@hotmail.com wrote: Hello, I have a centos 5.2 core 2 duo 3.0 GHZ with 2 GB ram which is working as a Virtual machine. i've just upgraded the hosting physical server from 32 GB to 64 GB of ram

Re: [CentOS] Centos Virtual Machine 32 bit with 8 GB ram ?

2010-09-14 Thread Roland RoLaNd
do not support PAE kernel? thanks Date: Tue, 14 Sep 2010 15:58:15 +0200 From: l.wandreb...@gmail.com To: centos@centos.org CC: r_o_l_a_...@hotmail.com Subject: Re: [CentOS] Centos Virtual Machine 32 bit with 8 GB ram ? On Tue, 14 Sep 2010 16:45:50 +0300 Roland RoLaNd r_o_l_a_...@hotmail.com

[CentOS] securing centos 5.2 for public usage

2010-09-18 Thread Roland RoLaNd
Dear all, i Just finished setting up an apache service on a centos 5.2 VM machine. i need to secure this machine as i'm soon to be setting a public IP over it where i'd be opening up the following services: 1. http 2. https 3. ssh Things i've done so far: 1. stopped root ssh access in

[CentOS] best filesystem for a webserver

2010-10-03 Thread Roland RoLaNd
Dear all, i'm setting up a new machine to handle a webserver with mysql web directory contains alot of small files and database is around 15 GB i've did a bit research, read alot of articles.. mainly i came up with the understanding that: EXT3 is the set it and forget it kind of filesystem.

[CentOS] sendmail substitute?

2010-10-14 Thread Roland RoLaNd
Hi all, i'm following online guides to secure my centos 5.4 it's advised to turn off sendmail service among others. but how can i forward my /var/log/mail to my webmail ? any help would be greatly appreciated.. thank you

[CentOS] how to do repetetive command in shell

2010-10-21 Thread Roland RoLaNd
Dear all, i'm writing a certain script which does a specific task in a repetitive manner, i'm going to give a similar script with the same concept hope you could advise me to a better way: USER1=roland USER2=dany USER3=kevin cp -r /opt/$USER1/test /backup/$USER1 cp -r /opt/$USER2/test

[CentOS] Adding a new disk to an existing raid 10

2014-04-01 Thread Roland RoLaNd
Dear all, I'm not used to handling software raid. I've inherited a server which has raid 10 set. one of our disks failed, and it's to be replaced today. My question is; any hint how to add this new disk to the existing raid array ? first thought is :- Create identical partitions as other disks in