[Ilugc] Help:Ldap configuration in apache 2.2(redhat 6)

2013-02-09 Thread hari prasadh
Hi Everyone, I have done a setup like redirecting the request from port 8080 to 80. and configured a ldap over there as below: i have changed /etc/httpd/conf/httpd.conf ServerAdmin hariprasadh.balasubraman...@xyz.com DocumentRoot /var/www/html ServerName (hostname given correctly)

[Ilugc] Fwd: Help:Ldap configuration in apache 2.2(redhat 6)

2013-02-11 Thread hari prasadh
gards, HariPrasadh -- Forwarded message -- From: hari prasadh Date: Sun, Feb 10, 2013 at 9:37 AM Subject: Help:Ldap configuration in apache 2.2(redhat 6) To: ilugc@ae.iitm.ac.in Hi Everyone, I have done a setup like redirecting the request from port 8080 to 80. and configured a ldap

[Ilugc] Fwd: Help:Ldap configuration in apache 2.2(redhat 6)

2013-02-11 Thread hari prasadh
com?sAMAccountName?sub?(objectClass> *=*) [Mon Feb 11 19:44:20 2013] [info] [client 10.243.96.40] [29047] auth_ldap authenticate: user 357040 authentication failed; URI /findsresumecas [LDAP: ldap_simple_bind_s() failed][Can't contact LDAP server] """" * -- F

[Ilugc] Configuration steps to send mail from centos6 server

2013-02-21 Thread hari prasadh
Hi Everyone, can somebody provide me configuration steps to send mail from centos6 or share the exact link it works -- Thanks & Regards, HariPrasadh ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Re: [Ilugc] Configuration steps to send mail from centos6 server

2013-02-21 Thread hari prasadh
ut on this. Regards, HariPrasadh On Thu, Feb 21, 2013 at 4:13 PM, RK RK wrote: > On Thu, Feb 21, 2013 at 3:12 PM, hari prasadh >wrote: > > > Hi Everyone, > > > > can somebody provide me configuration steps to send mail from centos6 or > > share the exact link i

[Ilugc] Ldap not working when configured in ssl.conf

2013-02-27 Thread hari prasadh
I have configured this in httpd.conf for ldap configuration as per below. AuthBasicProvider ldap AuthType Basic AuthzLDAPAuthoritative off AuthName "Enter ur AD username and password" AuthLDAPURL " ldap://10.237.100.14:389/dc=xxx,dc=com?sAMAccountName

[Ilugc] regarding svn

2013-03-14 Thread hari prasadh
Hi, I have downloaded and configured collabnet svn Repository parent is http://10.243.96.73:18081/svn/ i need to change the 10.243.96.73:18081 with my domain name. for that what are the changes i need to do. Please suggest. Thanks, HariPrasadh ___ IL

[Ilugc] No trace to host error

2013-04-10 Thread hari prasadh
Hi, If iam doing telnet from 10.242.142.72 to 10.242.142.71 ,it is not connecting to that port.But i was able to ping to 10.242.142.71. telnet 10.242.142.71 9160 Trying 10.242.142.71... telnet: connect to address 10.242.142.71: No route to host? Both are in same network,no firewall block. What

Re: [Ilugc] No trace to host error

2013-04-10 Thread hari prasadh
Hi, yes,if i ran the same command on 10.242.142.71 ,it works.i was not able to install nmap as it is production environment. Any other clues? On Wed, Apr 10, 2013 at 4:05 PM, Mehul Ved wrote: > On Wed, Apr 10, 2013 at 3:45 PM, hari prasadh >wrote: > > > Hi, > > > &g

Re: [Ilugc] No trace to host error

2013-04-10 Thread hari prasadh
and let me know.is everything Okay at iptables? On Wed, Apr 10, 2013 at 4:25 PM, Mohan Sundaram wrote: > On Wed, Apr 10, 2013 at 4:19 PM, hari prasadh > wrote: > > > > yes,if i ran the same command on 10.242.142.71 ,it works.i was not able > to > > install nmap as i

[Ilugc] Doubt in python for loop

2013-04-16 Thread hari prasadh
Hi All, Small doubt in behaviour of for loop in python: >>> a=[(1,2)] >>> for i in a: ... print i ... (1, 2) >>> for i,j in a: ... print i,j ... 1 2 Explain how for loop behaves here? >>> for i,j in a: ... for k,l in a: ... print i,j,k,l ... 1 2 1 2 Explain how for loo

[Ilugc] Compare two doc files in unix

2013-04-24 Thread hari prasadh
Hi, Is there anyway to compare two doc files in linux(centos).i tried with diff command and it is not working. -- Thanks & Regards, HariPrasadh ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Re: [Ilugc] Compare two doc files in unix

2013-04-24 Thread hari prasadh
Hi, i need to compare content only. Thanks, HariPrasadh On Wed, Apr 24, 2013 at 12:44 PM, Arun Venkataswamy wrote: > On Wed, Apr 24, 2013 at 12:41 PM, hari prasadh >wrote: > > > Hi, > > > > Is there anyway to compare two doc files in linux(centos).i tried with &

[Ilugc] passing html values to shell script

2013-05-19 Thread hari prasadh
Hi Everyone, Can somebody provide some sample program in detail how to pass html values to shell script. Username: Password: JobName: Passing those values to shell script. -- Thanks & Regards, HariPrasadh ___ ILUGC Mailing List: http://www.ae

Re: [Ilugc] Fwd: [chennaipy 1502] May Monthly Meet

2013-05-26 Thread hari prasadh
Hi, i was not able to attend the saturdays session.Could you please share the presentation of Talk 1: Py-notify by Kausikram. Thanks, HariPrasadh On Thu, May 23, 2013 at 11:08 AM, Shrinivasan T wrote: > -- Forwarded message -- > From: > Date: 23-May-2013 10:08 AM > Subject:

[Ilugc] Regading collabnet svn

2013-08-05 Thread hari prasadh
Hi All, We are using collabnet svn which is installed in centos 6.3.When using tortoise client to perform some operations checkout, update,commit iam getting the below error in *"couldn't perform atomic initialization"* * * *PFB the log error in svn too:* * * Mon Aug 05 14:30:24 2013] [notice] Apa

Re: [Ilugc] Regading collabnet svn

2013-08-05 Thread hari prasadh
Thank you guru prasadh. yes, the tmp partition got full and cleaned all the files and restarted the service of svn. it worked On Mon, Aug 5, 2013 at 3:51 PM, Guruprasad wrote: > Hi, > > On Mon, Aug 5, 2013 at 3:35 PM, hari prasadh > wrote: > > [Mon Aug 05 14:31:00 201

[Ilugc] Throwing error as read only file system on creation of file/folder

2013-10-15 Thread hari prasadh
*Hi All,* ** *In my Centos box,till yesterday i was able to create folder/files(able to read/write),etc.But from yesterday onwards suddenly the file sytem is changed to readonly mode without any interruptions.But from yesterday i was not able to create folder/files(able to read/write),etc .* *is

Re: [Ilugc] Throwing error as read only file system on creation of file/folder

2013-10-16 Thread hari prasadh
Thanks for your responses.It has 13%usage only while checking with df -h and all the necessary permissions present in folder and partition level.atthat time i haven't any clues...i have checked for /var/log/messages and dmesg|less too.i havent got any clues and iam in short of time to analyse furt

[Ilugc] Doubt with passing values in sed command

2013-10-22 Thread hari prasadh
How to pass value to sed command as below: search_string_error=Oct\ 13 sed -i '/$search_string_error/d' error_log It is not working properly. how can i achieve removing the line having particular word Please help. -- Thanks & Regards, HariPrasadh __

Re: [Ilugc] Throwing error as read only file system on creation of file/folder

2013-10-23 Thread hari prasadh
O error JBD2: Detected IO errors while flushing file data on dm-2-8 journal commit I/O error (END) Please help me out with the reasons. Thanks, HariPrasadh On Thu, Oct 17, 2013 at 12:11 AM, Arun Khan wrote: > On Wed, Oct 16, 2013 at 10:03 PM, hari prasadh > wrote: > > Thanks fo

[Ilugc] Doubt in python

2013-11-05 Thread hari prasadh
As iam new to python,please help here. [root@10 ~]# cat /tmp/acess_Nov5_1.csv "1","88" "1","89" "1","95" >>> import csv >>> ifile = open('/tmp/acess_Nov5_1.csv', "rb") >>> reader = csv.reader(ifile) >>> dict={88:'c2process',89:'riskmgmt',95:'portal'} >>> for i in reader: ... pri

Re: [Ilugc] Doubt in python

2013-11-05 Thread hari prasadh
rocess > riskmgmt > portal > > > On Tue, Nov 5, 2013 at 4:10 PM, Guruprasad wrote: > > > Pressed send a bit too early before completing the email. > > > > On Tue, Nov 5, 2013 at 4:07 PM, Guruprasad wrote: > > > On Tue, Nov 5, 2013 at 3:44 PM, hari pras

[Ilugc] SVN Migration

2013-11-13 Thread hari prasadh
Hi All, Iam migrating my SVN Server from one centos machine to another. OldServer Version: Collabnet SubversionEdge *Release: 3.0.0* CentOS release 6.2 (Final) can we have upgraded version of collabnet and centos in the new machine. Ex:latest of Collabnet SubversionEdge and centos 6.3 All my

[Ilugc] Apache web server connection closed

2013-11-21 Thread hari prasadh
Hi All, I have placed video files in one folder,created directory listing in apache http server using Alias. Alias /videos /var/www/videos I used to access video video files as http://ipaddr/videos These are keep alive parameters in httpd.conf: Timeout 60 KeepAlive Off MaxKeepAliveRequests 100

[Ilugc] Log rotation in apache

2013-12-09 Thread hari prasadh
Hi All, I want to know how log rotation happens in apache if rotated then where we can find rotated log files. Please help to get the old log files for apache.it is not present in /etc/httpd/logs/ -- Thanks & Regards, HariPrasadh ___ ILUGC Mailing List

Re: [Ilugc] Log rotation in apache

2013-12-10 Thread hari prasadh
avour of Unix/Linux you use, try in the path > /var/log/apache* > > later > > > On Tue, Dec 10, 2013 at 10:56 AM, hari prasadh >wrote: > > > Hi All, > > > > I want to know how log rotation happens in apache > > if rotated then where we can fi

Re: [Ilugc] LDAP client Configuration on RHEL 6

2013-12-18 Thread hari prasadh
Hi Ravi, LDAP is for authentication and authorisation purpose.Consider you have active directory which consists of numerous Distributions lists(ro...@googlegroups.com). This groups consists of 5 members gmailids.If you provide username and password,it will validate against your username and passwo

[Ilugc] ps -ef |grep command in ptyhon not working

2014-01-29 Thread hari prasadh
In python >>> import os >>> os.popen("ps -ef |grep jboss").read() 'root 24452 24425 0 17:34 pts/000:00:00 sh /root/jboss-as-7.1.1.Final/bi\nroot 24593 24592 0 17:34 pts/0 00:00:00 sh -c ps -ef |grep jboss\nroot 24595 24593 0 17:34 pts/0 00:00:00 grep jboss\n' if i ran the comm

Re: [Ilugc] ps -ef |grep command in ptyhon not working

2014-01-30 Thread hari prasadh
() ps.stdout.close() ps.wait() print output On Thu, Jan 30, 2014 at 2:12 PM, Udaya Kumar wrote: > On Wed, Jan 29, 2014 at 6:16 PM, hari prasadh >wrote: > > > In python > > >>> import os > > >>> os.popen("ps -ef |grep jboss").read()

Re: [Ilugc] ps -ef |grep command in ptyhon not working

2014-01-30 Thread hari prasadh
;,'25') s.sendmail(msg['From'], msg['To'], msg.as_string()) if __name__ == "__main__": sendEmail() the mail doesnt reached the second recipients in the list. Please help -- Thanks & Regards, HariPrasadh On Fri, Jan 31, 201

[Ilugc] python multiple recipients not working

2014-01-30 Thread hari prasadh
def sendEmail(): message="hello world" msg = MIMEText(message) msg['Subject'] = 'Message:'+message msg['From'] = 'hariprasad...@gmail.com' recipients = ['hariprasad...@gmail.com','ram...@gmail.com'] msg['To'] = ", ".join(recipients) # msg['To'

Re: [Ilugc] python multiple recipients not working

2014-01-30 Thread hari prasadh
#x27; s = smtplib.SMTP('*.*.*.*','25') s.sendmail(msg['From'], msg['To'], msg.as_string()) if __name__ == "__main__": sendEmail() the mail doesnt reached the second recipients in the list. Please help On Fri, Jan 31, 2014 at 1

Re: [Ilugc] python multiple recipients not working

2014-01-31 Thread hari prasadh
56117/how-to-send-email-to-multiple-recipints-using-python-smtplib > > http://docs.python.org/2/library/smtplib.html#smtplib.SMTP.sendmail > > > On Fri, Jan 31, 2014 at 11:29 AM, hari prasadh >wrote: > > > apologies.sending with the correct content. > > Hi All, >

[Ilugc] disable kerberos authentication for particular location apache

2014-04-15 Thread hari prasadh
Hi All, Please help me in disabling kerberos authentication for particular location in apache http server. -- Thanks & Regards, HariPrasadh ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://

[Ilugc] connection timed out while connecting server through putty

2014-04-23 Thread hari prasadh
Hi All, If i try to connect the linux centos server through putty,its throwing connection timed out. Unable to reach the server. what needs to be check in the server. from the client end any possiblitiy to check,whether the connection exists -- Thanks & Regards, HariPrasadh __

Re: [Ilugc] connection timed out while connecting server through putty

2014-04-23 Thread hari prasadh
Hi Srini, Possible reasons: 1. Server is not reachable via network. Try ping the server. *unable to ping (request time out)* 2. openssh server is not running in server. install and start it 3. ssh running in different port other than 22 check the port ssh is running. *no,it is running in por

Re: [Ilugc] connection timed out while connecting server through putty

2014-04-28 Thread hari prasadh
listng . > Then execute ethool (interface) In the output check out link detected > status . If it says no then there is some phy problem either cable or > the uplink to network device . > On Apr 23, 2014 3:05 PM, "hari prasadh" wrote: > > > Hi Srini

[Ilugc] pydev error in eclipse

2014-04-28 Thread hari prasadh
i have installed python dev in eclipse.when i try to run one google app project by including its source code as google-app-project,it it throwing error as "*An internal error has occurred.* *ava.lang.IllegalArgumentException: Path for project must have only one segment.* at org.eclipse.core.runtim

[Ilugc] Setting Environmental variable in centos

2014-05-05 Thread hari prasadh
Hi All, When i set environmental variable in /home/jboss/.etc_profile HOST="hari" URL="http://localhost"; export HOST export URL source .bash_profile.the environmental variable is set as long as logout from the system.when i login again the environmental variable is not set.Again i need to do s

[Ilugc] Install php in centos

2014-06-03 Thread hari prasadh
Hi All, Apache version httpd -v Server version: Apache/2.2.15 (Unix) Server built: Oct 6 2011 11:06:33 # php -v PHP 5.3.3 (cli) (built: Oct 24 2011 08:35:41) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies It is showing php is installed in m

Re: [Ilugc] Install php in centos

2014-06-03 Thread hari prasadh
Hi All, i installed the php-5.3.3-3.el6_1.3.x86_64.rpm and it worked.i thoght php is alread installed by issuing the command php -v Thanks, HariPrasadh On Tue, Jun 3, 2014 at 3:46 PM, hari prasadh wrote: > Hi All, > > Apache version > httpd -v > Server version: Apache/2.2.15