Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ajdavis

    SFTP error on call to open /dev/urandom

    DH.pm is part of the default installation and I only have read permission to that file. I'm not an admin on this box so I can't change it. Sorry. Thanks for looking at this though. I do appreciate it.
  2. ajdavis

    Net::SFTP::Foreign error on ->put() call

    I changed to Net::SFTP::Foreign because of issues with Net::SFTP. I'm getting an error on my ::Foreign ->put() call. My code is able to connect, change directories, and get a directory listing, but when I do the put, it errors out. I am the only one ftp-ing to that directory and all I get on...
  3. ajdavis

    SFTP error on call to open /dev/urandom

    I decided to go the Net::SFTP::Foreign route but I'm getting a different error with it on the ->put() call. I'll search the posts for this error and repost if I can't find anything. #!/usr/bin/perl -X use Net::SFTP::Foreign; my $host = ""; my $username = ""; my $password = ""; my $directory...
  4. ajdavis

    SFTP error on call to open /dev/urandom

    I'm changing a script from using FTP to SFTP. I have this code: print "Trying to connect to $host.\n"; if ( $sftp = Net::SFTP->new( "$host" ) ) { print "Connected to $host.\n"; $connected = "true"; } else { $rc = 1; push @ERRORS, "Can't connect to $host: $!\n"; } and I get...
  5. ajdavis

    Perl SOAP Lite and Self Signed Certificates

    Not sure if I should post this here or in the SOAP forum. We have generated our own certificates for a SOAP service on a server and are calling back into that SOAP Service from the local machine. Both the client and web service are using Perl SOAP::Lite We are running into this error...
  6. ajdavis

    Orphaned Lock

    I've tried searching for this answer in the posts, but I must not be using the right keywords to find it if it is out there. I am using INNODB tables in MySQL. One thread dies while having a lock on a row. That row is now locked permanently as far as the application is concerned. No other...
  7. ajdavis

    Is there a way to tell if an index exists before trying to create it?

    Ok, thanks. That seems simple enough. [thumbsup] I guess that shows my level of knowledge (or ignorance) of MySQL. I appreciate it.
  8. ajdavis

    Is there a way to tell if an index exists before trying to create it?

    Is there a way to tell if an index exists before trying to create it within an update script? We have an update script that we need to run that creates new tables and alters existing tables from the mysql command prompt. Is there a way to put an IF NOT EXISTS as part of a call to add an index...
  9. ajdavis

    Thread safe function calls

    Thanks, I appreciate the help.
  10. ajdavis

    Thread safe function calls

    Is there a web site anywhere that anyone knows about listing all the thread safe version function calls? For example, we have been using strerror() in calls for some time, but it wasn't until recently that one of our team happened upon the strerror_r function call while researching something...
  11. ajdavis

    Looking for a list of Perl supported Timezones

    Sorry it has taken me so long to respond. The time2str function can take either a timezone abbreviation or the +- offset from GMT as the third parameter, so what I have decided to do is create a hash for displaying timezone options to the user in a dropdown list. This hash will contain a...
  12. ajdavis

    Looking for a list of Perl supported Timezones

    I have a web gui that allows users to display all datetimes in the timezone of their choosing from a drop-down list using the following code: $result = time2str($template, $time, $timezone); What I am looking for is the list of acceptable timezones that can be sent in as the third parameter in...
  13. ajdavis

    Question about datetime conversions involving daylight saving time

    The database is MySQL and I won't be making the query. I'll just format a SOAP call to our back-end application that this GUI is for, asking for certain fields. The app will make the database query and return the desired fields. All dates are stored in GMT in the format given in the above...
  14. ajdavis

    Question about datetime conversions involving daylight saving time

    I'm a nubie Perl programmer. I'm working on a Perl cgi gui. Part of the data it will display are datetimes that are stored in a database in GMT. I want to give the user the option of specifying which time zone the dates are displayed in. I have put the following code together to convert the...

Part and Inventory Search

Back
Top