04-30-2008
Sounds very much like the load balancing would be the explanation, although what exactly causes the $LOGDIRE to occasionally not be mounted / available / whatever is completely open, without more information about what you are using. NFS? The OS is apparently HPukes.
6 More Discussions You Might Find Interesting
1. Solaris
i am using solaris 5.10. i can create two different files "test" and ".test" in the same directory. now suppose i want to change the attribute of the hidden file .test to visible is it possible???
since "." is just an attribute to mark a file hidden why is unix allows creation of "file" and... (14 Replies)
Discussion started by: vikashtulsiyan
14 Replies
2. Shell Programming and Scripting
This is the code:
while test 1 -eq 1
do
read a
$a
if test $a = stop
then
break
fi
done
I read a command on every loop an execute it.
I check if the string equals the word stop to end the loop,but it say that I gave too many arguments to test.
For example echo hello.
Now the... (1 Reply)
Discussion started by: Max89
1 Replies
3. Shell Programming and Scripting
How to check weather a string is like test* or test* ot *test* in if condition (5 Replies)
Discussion started by: johnjerome
5 Replies
4. Shell Programming and Scripting
Hi,
I have a Python unit test cases source code file which contains more than a hundred test case methods. In that, some of the test case methods already have prefix 'test' where as some of them do not have. Now, I need to add the string 'test' (case-sensitive) as a prefix to those of the... (5 Replies)
Discussion started by: royalibrahim
5 Replies
5. Shell Programming and Scripting
I am testing shc to see if it would help with my need.
Im at a point where Im trying to compile and test the "test.ksh" file that comes in the tar ball :
shc-3.8.9> shc -v -r -f test.ksh
shc shll=ksh
shc =-c
shc =exec '%s' "$@"
shc =
shc opts=
shc: cc test.ksh.x.c -o test.ksh.x... (7 Replies)
Discussion started by: popeye
7 Replies
6. Shell Programming and Scripting
Often a wildcard test on files is needed.
Because test -f ... or have problems with zero or many arguments, and even ] has problems, and I have seen some ugly work-arounds,
I suggest the following simple function, to be defined somewhere at the beginning of the script:
file_exists() {
for... (4 Replies)
Discussion started by: MadeInGermany
4 Replies
LEARN ABOUT PHP
gnupg_sign
GNUPG_SIGN(3) 1 GNUPG_SIGN(3)
gnupg_sign - Signs a given text
SYNOPSIS
string gnupg_sign (resource $identifier, string $plaintext)
DESCRIPTION
Signs the given $plaintext with the keys, which were set with gnupg_addsignkey before and returns the signed text or the signature,
depending on what was set with gnupg_setsignmode.
PARAMETERS
o $identifier
-The gnupg identifier, from a call to gnupg_init(3) or gnupg.
o $plaintext
- The plain text being signed.
RETURN VALUES
On success, this function returns the signed text or the signature. On failure, this function returns FALSE.
EXAMPLES
Example #1
Procedural gnupg_sign(3) example
<?php
$res = gnupg_init();
gnupg_addsignkey($res,"8660281B6051D071D94B5B230549F9DC851566DC","test");
$signed = gnupg_sign($res, "just a test");
echo $signed;
?>
Example #2
OO gnupg_sign(3) example
<?php
$gpg = new gnupg();
$gpg->addsignkey("8660281B6051D071D94B5B230549F9DC851566DC","test");
$signed = $gpg->sign("just a test");
echo $signed;
?>
PHP Documentation Group GNUPG_SIGN(3)