[Ilugc] XML parser doubt
hi all, plz have a glance over the xml as follows, where i need to extract description text value under the title tag having text value as Total Pages, plz suggest us. '?xml version=1.0 encoding=utf-8? rdf:RDF xmlns:rdf=http://www.w3.org/1-ns#; item rdf:about= titleId/title description0/description /item item rdf:about= titleTotal Images/title description0/description /item item rdf:about= titleCurrent Page/title description1/description /item item rdf:about= titleTotal Pages/title description1/description /item/rdf:RDF' ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in/mailinglist-guidelines
Re: [Ilugc] HTTPI::SSLError
Hi, In my system, netstat -nlt | egrep ':443' does output anything. Is it necessary to implement my local as ssl server? So far i downloaded cert certificate, should'nt i do it instead create self sined cer in my local itself?? Also plz educate me if i need to set my host as SSL server or simpley self sign certificate is enough?? This HTTPI::SSL error occurs in my local implementation of SOAP webservice (SSL enabled)? Plz give ur views to fix this. On Thu, May 29, 2014 at 12:06 AM, Arun Khan knu...@gmail.com wrote: On Wed, May 28, 2014 at 7:06 PM, Usha Murali ushapram...@gmail.com wrote: HEAD https://localhost:443 Error: connection refused Prima facie, your web server may not be configured for https (port 443). Check with: netstat -nlt | egrep ':443' plz give me your view for this fix Avoid top posting and trim your quote. -- Arun Khan ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in/mailinglist-guidelines ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in/mailinglist-guidelines
Re: [Ilugc] HTTPI::SSLError
Hi, In continuation to my previous mail, plz refer my below debug steps to resolve this HTTPI::SSL Error, As per Mislav's ssl doctor script avail in http://mislav.uniqpath.com/2013/07/ruby-openssl/ my console output as follows, : export SSL_CERT_FILE=/usr/lib/ssl/cert.pem export SSL_CERT_DIR=/usr/lib/ssl ruby doctor.rb localhost /usr/local/bin/ruby (1.8.7-p330) OpenSSL 0.9.8k 25 Mar 2009: /usr/lib/ssl SSL_CERT_DIR=/usr/lib/ssl SSL_CERT_FILE=/usr/lib/ssl/cert.pem HEAD https://localhost:443 Error: connection refused plz give me your view for this fix On Mon, May 26, 2014 at 5:31 PM, Usha Murali ushapram...@gmail.com wrote: Dear All, Openssl ca cert seems to be correct in my system but still i get HTTPI::SSL Error, Plz help me , my environment as follows: $ whereis openssl openssl: /usr/bin/openssl /usr/include/openssl /usr/share/man/man1/openssl.1ssl.gz $ env | grep -i ssl SSL_CERT_FILE=/usr/lib/ssl/cert.pem $ rvm osx-ssl-certs status all Certificates for /usr/lib/ssl/cert.pem: Up to date. rvm osx-ssl-certs status all Certificates for /usr/lib/ssl/cert.pem: Up to date. $ rvm reload RVM reloaded Still it throws the following error, plz suggest how to resolve this, I have spent nearly one day still cant figure out the issue, plz help me , the error as follws: HTTPI::SSLError in searchesController SSL_connect returned=1 errno=0 state=SSLv3 read server hello A: sslv3 alert handshake failure SSL_connect returned=1 errno=0 state=SSLv3 read server hello A: sslv3 alert handshake failureRAILS_ROOT: /usha/myapp 2.1.0/lib/httpi/adapter/httpclient.rb:28:in `request' /ruby-1.8.7-p330/gems/httpi-2.1.0/lib/httpi.rb:140:in `request' .rvm/gems/ruby-1.8.7-p330/gems/httpi-2.1.0/lib/httpi.rb:112:in `post' /.rvm/gems/ruby-1.8.7-p330/gems/savon-2.3.2/lib/savon/operation.rb:86:in `call_with_logging' .rvm/gems/ruby-1.8.7-p330/gems/savon-2.3.2/lib/savon/request_logger.rb:12:in `call' rvm/gems/ruby-1.8.7-p330/gems/savon-2.3.2/lib/savon/request_logger.rb:12:in `/.rvm/gems/ruby-1.8.7-p330/gems/savon-2.3.2/lib/savon/client.rb:36:in `call' ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in/mailinglist-guidelines
[Ilugc] HTTPI::SSLError
Dear All, Openssl ca cert seems to be correct in my system but still i get HTTPI::SSL Error, Plz help me , my environment as follows: $ whereis openssl openssl: /usr/bin/openssl /usr/include/openssl /usr/share/man/man1/openssl.1ssl.gz $ env | grep -i ssl SSL_CERT_FILE=/usr/lib/ssl/cert.pem $ rvm osx-ssl-certs status all Certificates for /usr/lib/ssl/cert.pem: Up to date. rvm osx-ssl-certs status all Certificates for /usr/lib/ssl/cert.pem: Up to date. $ rvm reload RVM reloaded Still it throws the following error, plz suggest how to resolve this, I have spent nearly one day still cant figure out the issue, plz help me , the error as follws: HTTPI::SSLError in searchesController SSL_connect returned=1 errno=0 state=SSLv3 read server hello A: sslv3 alert handshake failure SSL_connect returned=1 errno=0 state=SSLv3 read server hello A: sslv3 alert handshake failureRAILS_ROOT: /usha/myapp 2.1.0/lib/httpi/adapter/httpclient.rb:28:in `request' /ruby-1.8.7-p330/gems/httpi-2.1.0/lib/httpi.rb:140:in `request' .rvm/gems/ruby-1.8.7-p330/gems/httpi-2.1.0/lib/httpi.rb:112:in `post' /.rvm/gems/ruby-1.8.7-p330/gems/savon-2.3.2/lib/savon/operation.rb:86:in `call_with_logging' .rvm/gems/ruby-1.8.7-p330/gems/savon-2.3.2/lib/savon/request_logger.rb:12:in `call' rvm/gems/ruby-1.8.7-p330/gems/savon-2.3.2/lib/savon/request_logger.rb:12:in `/.rvm/gems/ruby-1.8.7-p330/gems/savon-2.3.2/lib/savon/client.rb:36:in `call' ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in/mailinglist-guidelines
Re: [Ilugc] Ruby on Rails on a php and python hosting.
Hi, Anyone can help me how to give multiple search strings in imap_search function, i tried with regular expression as follws, since i want to search all strings in Subject starting with alphabet s. $emails = imap_search($inbox,BODY Sp*); Kindly can u suggest any links on this multiple search ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] import xls data into mysql
hi, Anyone done with importing xls data into mysql ; Could you kindly share the script (or) it would be helpfull even if i could get the script for xls to csv conversion script ... ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] in mysql master slave architecture, how to find if both are in sync
Hi, Thanks a lot for sharing your thoughts regards, Usha On Wed, Jun 16, 2010 at 10:04 AM, Vamsee Kanakala vkanak...@gmail.comwrote: Usha Murali wrote: Hi , in mysql master slave architecture,how to find if both of them are in sync... If you mean a replicated MySQL setup by 'master-slave architecture', it's as simple as doing an insert/update/delete on the master and checking if the slave got the change or not. If not, something went wrong. Make sure you didn't make any changes to the master since you took the mysql binary log position. If you don't know what I'm talking about, carefully retrace the steps listed here, you should be good: http://www.howtoforge.com/mysql_database_replication If those steps are not entirely clear, this is where you can also refer to (if you're using a more recent mysql version like 5.1, check the relevant docs for that version): http://dev.mysql.com/doc/refman/5.0/en/replication-howto.html Vamsee. ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] how to view all the commands executed in mysql prompt
hi thanks for giving me solution instanlty !! Is'nt there any shortcuts to be executed in mysql prompt itself ? for eg. in psql i give \s in psql prompt to get all my command history like that Thanks once again!! On Thu, Jun 17, 2010 at 5:11 PM, Salvadesswaran P.S. salvadesswa...@gmail.com wrote: On Thu, Jun 17, 2010 at 16:55, Usha Murali ushapram...@gmail.com wrote: hi, can any one just tell how to view all the commands executed in mysql prompt You can accomplish this by: $ cd ~ $ cat .mysql_history This is similar to .bash_history file that is logged for each user. You can direct the history to another log file by using: $ export MYSQL_HISTFILE=/home/webtest/dblog -- Salvadesswaran Srinivasan Chennai ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] in mysql master slave architecture, how to find if both are in sync
Hi , in mysql master slave architecture,how to find if both of them are in sync... Thanks, Usha ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] log4php's default log path anyone knows? please suggest
Hi all, log4php's default log path anyone knows? please suggest, or how to disable log and do console logging, it will be valuable for me if you could share your ideas on this ! Thanks, Usha ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] html to pdf convertors on ruby
Hi, Anyone have used the html to pdf convertors on ruby. Thanks in Advance, Usha ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc