Error running suidperl. Looks like problem with libpthread.so.0
Hi People I just installed SuSe 9.0 and am running qmail on it. I also installed qmail-scanner which is a perl script for checking spam and virus. I got the following error when that script was run. Anybody have any ideas why this is happening? /usr/bin/suidperl: error while loading shared libraries: libpthread.so.0: failed to map segment from shared object: Cannot allocate memory Thanks -Raj
On Wed, Nov 12, 2003 at 03:08:39PM -0500 or thereabouts, A N Saravanaraj wrote:
Hi People I just installed SuSe 9.0 and am running qmail on it. I also installed qmail-scanner which is a perl script for checking spam and virus. I got the following error when that script was run. Anybody have any ideas why this is happening?
/usr/bin/suidperl: error while loading shared libraries: libpthread.so.0: failed to map segment from shared object: Cannot allocate memory
The following may help, but I have not seen your specific error. I don't know if this is exclusive to v9, but I do know that you must set the following if you are using qmail-scanner. chown root /usr/bin/suidperl chmod 4711 /usr/bin/suidperl This will change back upon doing a Suseconfig, so you must set it not to do so manually. -- Gary
On 11/13/2003 04:30 AM, gary wrote:
I don't know if this is exclusive to v9, but I do know that you must set the following if you are using qmail-scanner.
chown root /usr/bin/suidperl chmod 4711 /usr/bin/suidperl
This will change back upon doing a Suseconfig, so you must set it not to do so manually.
To make it stay, even after SuSEconfig, is to add it to /etc/permissions.local -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
On Thu, Nov 13, 2003 at 09:11:08AM +0800 or thereabouts, Joe Morris (NTM) wrote:
On 11/13/2003 04:30 AM, gary wrote:
I don't know if this is exclusive to v9, but I do know that you must set the following if you are using qmail-scanner.
chown root /usr/bin/suidperl chmod 4711 /usr/bin/suidperl
This will change back upon doing a Suseconfig, so you must set it not to do so manually.
To make it stay, even after SuSEconfig, is to add it to /etc/permissions.local
Right. Having come over from RH, this is one of my pet peeves; yes, I know you have SUSE not rewrite by toggling something in SuSEconfig.. but personally, I just make in not writable. -- Gary
On 11/13/2003 09:19 AM, gary wrote:
Right. Having come over from RH, this is one of my pet peeves; yes, I know
you have SUSE not rewrite by toggling something in SuSEconfig.. but personally, I just make in not writable.
It is only a pet peeve because you don't understand it. It is best to allow SuSEconfig to run its scripts to keep things checked, secure, and consistent. Some files need permissions that are less secure, but required. To keep these changes consistent, add the file, owner, and mod to /etc/permissions.local. This keeps it consistent through Yast runs, updates, etc. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
On Thu, 13 Nov 2003, Joe Morris (NTM) wrote:
On 11/13/2003 09:19 AM, gary wrote:
you have SUSE not rewrite by toggling something in SuSEconfig.. but personally, I just make in not writable.
It is only a pet peeve because you don't understand it. It is best to allow SuSEconfig to run its scripts to keep things checked, secure, and consistent. Some files need permissions that are less secure, but required. To keep these changes consistent, add the file, owner, and mod to /etc/permissions.local. This keeps it consistent through Yast runs, updates, etc.
This sparks some interesting thoughts, but rather than cluttering the bandwidth with yet more questions that have (probably) already been asked, is there a way of searching the mailing list archives? I didn't see on on the website, other than using the browsers "Find" function. Krikket
On Thu, Nov 13, 2003 at 06:34:08PM +0800 or thereabouts, Joe Morris (NTM) wrote:
On 11/13/2003 09:19 AM, gary wrote:
Right. Having come over from RH, this is one of my pet peeves; yes, I know
you have SUSE not rewrite by toggling something in SuSEconfig.. but personally, I just make in not writable.
It is only a pet peeve because you don't understand it.
No, you assume I don't understand it. Having spent over 30 years in computers, 15 in UNIX, and 5 in Linux, I can assure you, I understand it, if nothing else, by osmosis. <g> .
It is best to allow SuSEconfig to run its scripts to keep things checked, secure, and consistent.
Agreed for overall use. Mandrake does this too. RH, not that I recall.
Some files need permissions that are less secure, but required.
Obviously.
To keep these changes consistent, add the file, owner, and mod to /etc/permissions.local. This keeps it consistent through Yast runs, updates, etc.
Yes, as mentioned though Joe, sometimes (depending on the file), it is easier for me to make that file not writable. I am not saying it is for everyone, that is my choice and personal preference. I do use permissions.local for some things, but not for others. This is my pet peeve, I don't like the system rewriting files on my behalf. I run a cron script to detect changes in file permissions on my own. -- Gary
Hi People I just installed SuSe 9.0 and am running qmail on it. I also installed qmail-scanner which is a perl script for checking spam and virus. I got
The problem has been fixed.
I was not allocating more memory for the qmai-smtpd daemon in its run file.
After I increased it it started running fine.
-Raj
----- Original Message -----
From: "A N Saravanaraj"
following error when that script was run. Anybody have any ideas why this is happening?
/usr/bin/suidperl: error while loading shared libraries: libpthread.so.0: failed to map segment from shared object: Cannot allocate memory
Thanks -Raj
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (6)
-
A N Saravanaraj
-
gary
-
gary
-
gary
-
Joe Morris (NTM)
-
Krikket