We are receiving the below error message when trying to encrypt or decrypt a file on AIX server :
Code:
gpg: out of memory while allocating 8192 bytes
gpg process was working for years on the server until the day we started to see this.
This same gpg encryption is working on an other AIX server in the same environment. Many options were tried including copying the gpg from the server that's working on, recycling the server etc. But the error is persisting.
This is not a problem with any one specific id or a group of id's. Any id trying to encrypt/decrypt is getting this error. Hence this is observed at a server level and not at a user or id level.
We have an other server with identical settings where it is working normally. Even restoring the file system from this server didn't help.
The server memory is just fine and is well within limits. Even trying to encrypt / decrypt an empty or a 3 record file is facing a problem, hence its irrespective of the file size or who is trying to encrypt/decrypt it.
Sample Error :
Code:
/home>touch simple1
/home >chmod 777 simple1
/home >/opt/TWWfsw/gnupg12/bin/gpg --encrypt-file simple1
You did not specify a user ID. (you may use "-r")
Enter the user ID. End with an empty line: sradithya
gpg: out of memory while allocating 8192 bytes
/home >
The issue that surprises is that it also worked for a day after the crash recovery. Its only the next day that it stopped working. There was a hardware component failure that had to be replaced. gpg encryption and decryption was working for a day after the crash recovery, but stopped working from the day after when no system changes took place.
No visible changes happened in that one day nor any new file systems were restored. The fact that it worked for a day after crash and then lost is perplexing.
Any help or suggestions on this or any clues to look out for would be of a invaluable help to me. Please post any suggestions that you may have.
Last edited by Scott; 01-21-2013 at 12:05 PM..
Reason: Code tags
Hi
I'm currently using C++ on a HP-UX 11i system (upgrading some libraries) and am encountering a problem with the process crashing when allocating memory via a call to new (a rather large array of objects are being created).
Is there a way to find out what the sizes of the stack and heap are?... (1 Reply)
Hi all,
Does anybody know or guide me on how to remove the first N bytes and the last N bytes from a binary file? Is there any AWK or SED or any command that I can use to achieve this?
Your help is greatly appreciated!!
Best Regards,
Naveen. (1 Reply)
have a VMWARE machine, I have extended it from 20GB to 30GB for Linux box.
The linux box shows this for df -hal:
Filesystem Size Used Avail Use% Mounted on
-dev-mapper-VolGroup00-LogVol00
19G 5.9G 12G 34% -
proc 0 0 0 - -proc
sysfs 0 0 0 - -sys
devpts 0 0 0 - -dev-pts
-dev-sda1 99M 13M... (1 Reply)
lets say that I have a two dimensional array:
char myarray;
and my process of taking in values from an input file is this:
for(i=0;x<2;i++) // 2 is the amount of rows in the array
{
input>>myarray;
}
now when I display my array my output is this:
why
hello
To make this work... (8 Replies)
Any clues on how to get rid of this PHP error?
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71 bytes) in /website/www/includes/functions_manpages.php on line 58
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71... (4 Replies)
While running script I am getting an error like
Few lines in data are not being processed.
After googling it I came to know that adding such line would give some memory to it
ini_set("memory_limit","64M");
my input file size is 1 GB.
Is that memory limit is based on RAM we have on... (1 Reply)
Hi,
If I want to copy a 1024 byte data stream in to the target location in 3-bytes chunk, I guess I can use the following script.
dd bs=1024 count=3 if=/src of=/dest
But, I would like to know, how to do it via a C program. I have tried this with memcpy(), that did not help. (3 Replies)
Hello guys. I really hope someone will help me with this one..
So, I have to write this script who:
- creates a file home/student/vmdisk of 10 mb
- formats that file to ext3
- mounts that partition to /mnt/partition
- creates a file /mnt/partition/data. In this file, there will... (1 Reply)
hello,
suppose, entered input is of 1-40 bytes, i need it to be converted to 40 bytes exactly.
example: if i have entered my name anywhere between 1-40 i want it to be stored with 40 bytes exactly.
enter your name:
donald duck (this is of 11 bytes)
expected is as below - display 11... (3 Replies)
Discussion started by: shravan.300
3 Replies
LEARN ABOUT DEBIAN
gpg-mailkeys
GPG-MAILKEYS(1) General Commands Manual GPG-MAILKEYS(1)NAME
gpg-mailkeys - sends emails containing keys to their owners
SYNOPSIS
gpg-mailkeys id...
DESCRIPTION
gpg-mailkeys sends the owners of the keys listed on the command line a mail each, containing their public key. After signing, you can use
this tool to send everyone the new signatures they just got.
If you're interested in encrypting the signature before it's sent, in order to verify that the associated address actually belongs to the
key owner, you should check out caff
OPTIONS
None
ENVIRONMENT
NAME Set the name to use when sending messages
EMAIL Set the email address to use when sending messages
SUBJECT Set the subject of the messages you send
TEXT Set the body text of the messages
SENDMAIL_ARGS
Set arguments to pass to /usr/sbin/sendmail. This can be useful to set credentials in order to authenticate to an smtp server
when using ssmtp for example.
FILES
The behavior of gpg-mailkeys can be updated through some files available in the user home directory.
Thus, ~/.gpg-mailkeysrc allows the user to overwrite the default value for the above environment variables, and any text in ~/.signature
will be appended to the end of the body text of the message.
SEE ALSO gpg(1),caff(1)AUTHOR
This manual page was written by Simon Richter <sjr@debian.org>.
Nov 23, 2010 GPG-MAILKEYS(1)