Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

errstr(1ssl) [linux man page]

ERRSTR(1SSL)							      OpenSSL							      ERRSTR(1SSL)

NAME
errstr - lookup error codes SYNOPSIS
openssl errstr error_code DESCRIPTION
Sometimes an application will not load error message and only numerical forms will be available. The errstr utility can be used to display the meaning of the hex code. The hex code is the hex digits after the second colon. EXAMPLE
The error code: 27594:error:2006D080:lib(32):func(109):reason(128):bss_file.c:107: can be displayed with: openssl errstr 2006D080 to produce the error message: error:2006D080:BIO routines:BIO_new_file:no such file SEE ALSO
err(3), ERR_load_crypto_strings(3), SSL_load_error_strings(3) 1.0.0e 2004-11-25 ERRSTR(1SSL)

Check Out this Related Man Page

Class::ErrorHandler(3pm)				User Contributed Perl Documentation				  Class::ErrorHandler(3pm)

NAME
Class::ErrorHandler - Base class for error handling SYNOPSIS
package Foo; use base qw( Class::ErrorHandler ); sub class_method { my $class = shift; ... return $class->error("Help!") unless $continue; } sub object_method { my $obj = shift; ... return $obj->error("I am no more") unless $continue; } package main; use Foo; Foo->class_method or die Foo->errstr; my $foo = Foo->new; $foo->object_method or die $foo->errstr; DESCRIPTION
Class::ErrorHandler provides an error-handling mechanism that's generic enough to be used as the base class for a variety of OO classes. Subclasses inherit its two error-handling methods, error and errstr, to communicate error messages back to the calling program. On failure (for whatever reason), a subclass should call error and return to the caller; error itself sets the error message internally, then returns "undef". This has the effect of the method that failed returning "undef" to the caller. The caller should check for errors by checking for a return value of "undef", and calling errstr to get the value of the error message on an error. As demonstrated in the SYNOPSIS, error and errstr work as both class methods and object methods. USAGE
Class->error($message) $object->error($message) Sets the error message for either the class Class or the object $object to the message $message. Returns "undef". Class->errstr $object->errstr Accesses the last error message set in the class Class or the object $object, respectively, and returns that error message. LICENSE
Class::ErrorHandler is free software; you may redistribute it and/or modify it under the same terms as Perl itself. AUTHOR &; COPYRIGHT Except where otherwise noted, Class::ErrorHandler is Copyright 2004 Benjamin Trott, cpan@stupidfool.org. All rights reserved. perl v5.8.7 2005-07-20 Class::ErrorHandler(3pm)
Man Page

15 More Discussions You Might Find Interesting

1. Programming

Help with mySQL database by perl script

Hello; I was trying to set up a mysql database using following script, but never went through. The code seems fine without any syntax error as I tested it: perl -c Brapa0101-db.pl Brapa0101-db.pl syntax OKHowever, whenever I run it, an error message was tossed out: DBD::mysql::st execute... (7 Replies)
Discussion started by: yifangt
7 Replies

2. Shell Programming and Scripting

REGEX for a Full_PATH/Command --with-options

Hello All, I'm trying to match some user input. The User input will be a FULL Path, a Command/Script Name, and any options they choose... I was able to get this to Match somewhat but I want to be able to print an Error if, for example, the user enters a trailing "/" after the Command_name... (9 Replies)
Discussion started by: mrm5102
9 Replies

3. Solaris

Solaris 10 Sendemail with Attachment

Hello I need your kind help for configuring email on Solaris 10 so I can send reports from the system to my management and my colleagues. I have the IP address of the email server of my company and the port 2525. I went through many documents online with no luck. Can any one help me... (4 Replies)
Discussion started by: samer.odeh
4 Replies

4. Shell Programming and Scripting

Execute immediate in perl script

hi All, i have to modify a shell script written in Perl. i have to use execute immediate within this. i have to create a temporary table but it should have name like ar_data_$mmyyyy , how can i achieve this? any help on this would be highly appriciated. (6 Replies)
Discussion started by: lovelysethii
6 Replies

5. Shell Programming and Scripting

CGI Perl : while loop in CGI perl

Hi Team, I am trying to connect to database(succeeded ) and print the records on the browser using while loop. But the elements of array are not displayed instead while loop is displayed directly. Instead of the below I can embed html statements in print but I am looking for the below style as I... (1 Reply)
Discussion started by: scriptscript
1 Replies

6. Shell Programming and Scripting

Perl script database date convertion

Need assistance Below script get the output correctly I want to convert the date format .Below is the output . Any idea ? #!/usr/bin/perl -w use DBI; # Get a database handle by connecting to the database my $db = DBI->connect(... (3 Replies)
Discussion started by: ajayram_arya
3 Replies

7. Solaris

Oracle DB install failure

Hi all, I'm quite new to Solaris and I've been searching around everywhere to try and find the root of my Oracle DB install problem. It quits immediately when it runs isainfo when it gets a return of 3md64. To me this looks like there is a typo where ever isainfo pulls it's info from, but I... (13 Replies)
Discussion started by: asilv
13 Replies

8. Shell Programming and Scripting

Check data in mysql

Hi, I just would like to write a perl script , this perl script do the following . Check the parameter $data in a mysql database ( with user ID and password ) , if the $data is exist then return true , if not then return false , would advise how to write this script ? thanks ---------- Post... (1 Reply)
Discussion started by: ust3
1 Replies

9. UNIX for Dummies Questions & Answers

Finding SSL Cert Info

How do I find out the SSL cert info on the local server? How do I know if an ssl cert is installed on local server? How it was issued to? Who was the issuer? What's the expiration date? Any other relevant information? (1 Reply)
Discussion started by: scj2012
1 Replies

10. Shell Programming and Scripting

PERL: Calling a sub routine from another module - help!!!

Hi, I am an occasional PERL user. I am trying to call a sub routine (passing parameters) in perl module from a driver .pl file. I have been "tinkering" for a while now and have confused myself. Could someone please look at the code below and spot where I am going wrong. testPerl.pl ... (0 Replies)
Discussion started by: chris01010
0 Replies

11. Shell Programming and Scripting

PERL: DBI - Is it possible to get a "nicer" formatted return?

Hi, I am currently writing a perl module that will be passed queries from other scripts and use DBI to execute them on an Oracle Database. The problem I have is when it comes to the return. I am currently getting this from my code: FIELDA FIELDB FIELDC ... (6 Replies)
Discussion started by: chris01010
6 Replies

12. Shell Programming and Scripting

DBD::JDBC::db prepare failed: java.io.IOException: Unrecognized BER object identifier:

Hello, I am trying to write a perl script to access Solid LDAP database using JDBC. The script connects to the database but gives below error while running sql prepare command : try.pl connecting preparing................ DBD::JDBC::db prepare failed: java.io.IOException:... (0 Replies)
Discussion started by: PerlMonkey
0 Replies

13. Shell Programming and Scripting

Perl inserting random negative integer

Hi All, i have problem here whenever i run this perl script that is pasted here, it inserts a negative number in place of PO_nbr . What the script does is reads a pipe delimited file and then using some values on the file it will query db to get few other values and then it inserts the... (4 Replies)
Discussion started by: selvankj
4 Replies

14. Shell Programming and Scripting

Date-Manipulation-1

Hallo Team I can perform the task manually but i would like to automate this process. ok here goes. I have a perl script which runs every Wednesday every week and the name of the script is check_19.pl This is how the script looks like : #!/usr/bin/perl -w #use strict; use DBI; #... (1 Reply)
Discussion started by: kekanap
1 Replies

15. Shell Programming and Scripting

IP list specific port checker script

Hello again people, I currently searching for a code/script that will allow it to check if a specific port is open, lets say 123. Found a public script on a ftp but I dont know how and what to modify in it to suit my needs. (I think this is a evil code and I want to use it as an example). ... (3 Replies)
Discussion started by: galford
3 Replies