10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello.
In bash, is there a way to trap error "file not found" when a script call another script which is not found; then abort.
Example ( part of script running with -x option set) :
+ return 0
+ RETURN_CODE=0
+ ]
+ /root/bin/200_yast_install/00_reset_yast_install
bash:... (5 Replies)
Discussion started by: jcdole
5 Replies
2. Red Hat
Hello!!!
I am so frustrated I'm about to snap!!!
I cant hear any sound in Firefox or re-install Chrome.
Every time I try to do anything with YUM inside my terminal (like update or install) I keep getting this error:failure: repodata/repomd.xml from virtualbox: No more mirrors to try.
I... (2 Replies)
Discussion started by: ApacheOmega
2 Replies
3. Solaris
I have an x86 Solaris box running 11.2 and have run into the following issue when attempting to run a package update. Has anyone else come across this issue and resolved it successfully, or am I waiting on Oracle to release other updated packages?
uname -a
SunOS <hostname> 5.11 11.2... (13 Replies)
Discussion started by: nova_cyclist
13 Replies
4. Linux
I have notice that when I create a sudoer file in the sudoer.d directory, then if I have a syntax error, I cannot do sudo at all, in all accounts.
Why can't they change the mechanism, so it will ignore syntax error line and will only display error message but won't cause total failure and... (7 Replies)
Discussion started by: programAngel
7 Replies
5. AIX
Our AIX system is currently having an issue where calls to various executables are returning errors such as
ksh: /usr/bin/oslevel: not found.
This is even happening with system files, third party scripts, and with the full path included.
Telnet connections are also closing immediately upon... (6 Replies)
Discussion started by: Chthonic
6 Replies
6. Fedora
Hi
I have managed on numerous machine to set up sftp not too require a password - i finally have one that does not work and Im at a loss - looked around checked permissions etc
The 2 machines Ill call then source and target I need to sftp from source to target (previously the target has... (3 Replies)
Discussion started by: wwwdaryl
3 Replies
7. Shell Programming and Scripting
Want to write a function that prints an error when passed a list of file names. If the file list is empty, print error "no file found", if there are more than one file, print "error more than one file found" (22 Replies)
Discussion started by: kristinu
22 Replies
8. Shell Programming and Scripting
I am trying to send a file from my 9000 box to a vendor using sftp and I am getting this error: Couldn't close file: Failure
Here are the results of my automated script:
Connected to yyy.com.
sftp> pwd
Remote working directory: /
sftp> cd xxxxx/yyyyy_TEST/TEST
sftp> put FILE FILETEST... (1 Reply)
Discussion started by: nickg
1 Replies
9. Programming
Hello All,
My application is followed J2ee architecture. It contains Java and jsp codes.
This application generates some reports in pdf format. I am using Weblogic 10.3 and jdk 6.
While I want to open the pdf in IE 6 with service pack 2 , the pdf not showing properly. It comes in byte code.... (3 Replies)
Discussion started by: priyankak
3 Replies
10. Shell Programming and Scripting
Hi,
I have a strange problem and I'm sure its because I'm doing something stupid.
When I loop through all of the files in a directory they cannot be found.
Any help would be greatly appreciated.
Thanks,
-E
$ touch a.txt
$ touch b.txt
$ ls
a.txt b.txt
$ for f in `ls` ; do... (3 Replies)
Discussion started by: earls
3 Replies
Error Handling Helpers(3) globus common Error Handling Helpers(3)
NAME
Error Handling Helpers -
Error Match
globus_bool_t globus_error_match (globus_object_t *error, globus_module_descriptor_t *module, int type)
Print Error Chain
char * globus_error_print_chain (globus_object_t *error)
Print User Friendly Error Message
char * globus_error_print_friendly (globus_object_t *error)
Detailed Description
Helper functions for dealing with Globus Generic Error objects.
This section defines utility functions for dealing with Globus Generic Error objects.
Function Documentation
globus_bool_t globus_error_match (globus_object_t *error, globus_module_descriptor_t *module, inttype)
Check whether the error originated from a specific module and is of a specific type. This function checks whether the error or any of it's
causative errors originated from a specific module and is of a specific type. If the module descriptor is left unspecified this function
will check for any error of the specified type and vice versa.
Parameters:
error The error object for which to perform the check
module The module descriptor to check for
type The type to check for
Returns:
GLOBUS_TRUE - the error matched the module and type GLOBUS_FALSE - the error failed to match the module and type
char* globus_error_print_chain (globus_object_t *error)
Return a string containing all printable errors found in a error object and it's causative error chain. If the GLOBUS_ERROR_VERBOSE env is
set, file, line and function info will also be printed (where available). Otherwise, only the module name will be printed.
Parameters:
error The error to print
Returns:
A string containing all printable errors. This string needs to be freed by the user of this function.
char* globus_error_print_friendly (globus_object_t *error)
Return a string containing error messages from the top 1 and bottom 3 objects, and, if found, show a friendly error message. The error
chain will be searched from top to bottom until a friendly handler is found and a friendly message is created.
If the GLOBUS_ERROR_VERBOSE env is set, then the result from globus_error_print_chain() will be used.
Parameters:
error The error to print
Returns:
A string containing a friendly error message. This string needs to be freed by the user of this function.
Author
Generated automatically by Doxygen for globus common from the source code.
Version 14.7 Tue Nov 27 2012 Error Handling Helpers(3)