• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

lots of stuff in error logs

N

noworyz

Guest
I was taking a look at my error logs and it is full of all sorts of stuff that means nothing to me (newbie). Can anyone take a look and offer suggestions to fix the issues that are present? Thanks

[Tue Oct 16 09:44:11 2007] [error] make_obcallback: could not import mod_python.apache.\n
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 22, in ?
import time
ImportError: /usr/lib64/python2.4/lib-dynload/timemodule.so: failed to map segment from shared object: Cannot allocate memory
[Tue Oct 16 09:44:11 2007] [error] python_handler: no interpreter callback found.
[Tue Oct 16 09:45:29 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 16 09:45:29 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Tue Oct 16 09:45:29 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Tue Oct 16 09:45:29 2007] [warn] Init: SSL server IP/port conflict: default-204-11-244-234:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:77) vs. webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:134)
[Tue Oct 16 09:45:29 2007] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Tue Oct 16 09:45:29 2007] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 16 09:45:29 2007] [notice] Digest: done
[Tue Oct 16 09:45:29 2007] [notice] mod_python: Creating 4 session mutexes based on 150 max processes and 0 max threads.
[Tue Oct 16 09:45:29 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Tue Oct 16 09:45:29 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Tue Oct 16 09:45:29 2007] [warn] Init: SSL server IP/port conflict: default-204-11-244-234:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:77) vs. webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:134)
[Tue Oct 16 09:45:29 2007] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Tue Oct 16 09:45:29 2007] [warn] pid file /etc/httpd/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Oct 16 09:45:29 2007] [notice] Apache/2.2.3 (Fedora) configured -- resuming normal operations
[Tue Oct 16 09:48:57 2007] [error] make_obcallback: could not import mod_python.apache.\n
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 22, in ?
import time
ImportError: /usr/lib64/python2.4/lib-dynload/timemodule.so: failed to map segment from shared object: Cannot allocate memory
[Tue Oct 16 09:48:57 2007] [error] python_handler: no interpreter callback found.
Fatal Python error: PyString_InternInPlace: strings only please!
[Tue Oct 16 09:49:55 2007] [notice] child pid 14306 exit signal Aborted (6)
[Tue Oct 16 09:50:18 2007] [error] make_obcallback: could not import mod_python.apache.\n
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 22, in ?
import time
ImportError: /usr/lib64/python2.4/lib-dynload/timemodule.so: failed to map segment from shared object: Cannot allocate memory
[Tue Oct 16 09:50:18 2007] [error] python_handler: no interpreter callback found.
[Tue Oct 16 09:50:32 2007] [notice] child pid 21583 exit signal Segmentation fault (11)
[Tue Oct 16 09:50:35 2007] [error] make_obcallback: could not import mod_python.apache.\n
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 22, in ?
import time
ImportError: /usr/lib64/python2.4/lib-dynload/timemodule.so: failed to map segment from shared object: Cannot allocate memory
[Tue Oct 16 09:50:35 2007] [error] python_handler: no interpreter callback found.
[Tue Oct 16 09:52:04 2007] [notice] child pid 21715 exit signal Segmentation fault (11)
[Tue Oct 16 09:54:19 2007] [notice] child pid 26208 exit signal Segmentation fault (11)
[Tue Oct 16 10:34:46 2007] [notice] child pid 21706 exit signal Segmentation fault (11)
'import site' failed; use -v for traceback
[Tue Oct 16 10:37:30 2007] [error] make_obcallback: could not import mod_python.apache.\n
ValueError: bad marshal data
[Tue Oct 16 10:37:30 2007] [error] python_handler: no interpreter callback found.
Fatal Python error: PyString_InternInPlace: strings only please!
[Tue Oct 16 10:38:20 2007] [notice] child pid 11829 exit signal Aborted (6)
[Tue Oct 16 10:38:32 2007] [error] make_obcallback: could not import mod_python.apache.\n
ValueError: bad marshal data
[Tue Oct 16 10:38:32 2007] [error] python_handler: no interpreter callback found.
Fatal Python error: PyString_InternInPlace: strings only please!
[Tue Oct 16 10:39:39 2007] [notice] child pid 22068 exit signal Aborted (6)
[Tue Oct 16 10:41:53 2007] [error] make_obcallback: could not import mod_python.apache.\n
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 22, in ?
import time
ImportError: /usr/lib64/python2.4/lib-dynload/timemodule.so: failed to map segment from shared object: Cannot allocate memory
[Tue Oct 16 10:41:53 2007] [error] python_handler: no interpreter callback found.
[Tue Oct 16 10:42:11 2007] [notice] child pid 25771 exit signal Segmentation fault (11)
'import site' failed; use -v for traceback
Fatal Python error: PyString_InternInPlace: strings only please!
[Tue Oct 16 10:42:25 2007] [notice] child pid 24064 exit signal Aborted (6)
'import site' failed; use -v for traceback
Fatal Python error: PyString_InternInPlace: strings only please!
[Tue Oct 16 10:42:27 2007] [notice] child pid 31933 exit signal Aborted (6)
[Tue Oct 16 10:42:58 2007] [notice] child pid 7310 exit signal Segmentation fault (11)
[Tue Oct 16 10:43:18 2007] [error] make_obcallback: could not import mod_python.apache.\n
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 22, in ?
import time
ImportError: /usr/lib64/python2.4/lib-dynload/timemodule.so: failed to map segment from shared object: Cannot allocate memory
[Tue Oct 16 10:43:18 2007] [error] python_handler: no interpreter callback found.
'import site' failed; use -v for traceback
[Tue Oct 16 10:43:38 2007] [error] make_obcallback: could not import mod_python.apache.\n
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 22, in ?
import time
ImportError: /usr/lib64/python2.4/lib-dynload/timemodule.so: failed to map segment from shared object: Cannot allocate memory
[Tue Oct 16 10:43:38 2007] [error] python_handler: no interpreter callback found.
Fatal Python error: PyString_InternInPlace: strings only please!
[Tue Oct 16 10:44:01 2007] [notice] child pid 30270 exit signal Aborted (6)
[Tue Oct 16 10:46:12 2007] [notice] child pid 13335 exit signal Segmentation fault (11)
[Tue Oct 16 10:46:41 2007] [notice] child pid 15399 exit signal Segmentation fault (11)
[Tue Oct 16 10:48:38 2007] [notice] child pid 19525 exit signal Segmentation fault (11)
[Tue Oct 16 10:50:40 2007] [notice] child pid 20256 exit signal Segmentation fault (11)
[Tue Oct 16 10:50:41 2007] [error] make_obcallback: could not import mod_python.apache.\n
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 22, in ?
import time
ImportError: /usr/lib64/python2.4/lib-dynload/timemodule.so: failed to map segment from shared object: Cannot allocate memory
[Tue Oct 16 10:50:41 2007] [error] python_handler: no interpreter callback found.
[Tue Oct 16 10:50:42 2007] [notice] child pid 19913 exit signal Segmentation fault (11)
[Tue Oct 16 10:52:56 2007] [error] make_obcallback: could not import mod_python.apache.\n
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 22, in ?
import time
ImportError: /usr/lib64/python2.4/lib-dynload/timemodule.so: failed to map segment from shared object: Cannot allocate memory
[Tue Oct 16 10:52:56 2007] [error] python_handler: no interpreter callback found.
[Tue Oct 16 10:55:03 2007] [error] make_obcallback: could not import mod_python.apache.\n
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 22, in ?
import time
ImportError: /usr/lib64/python2.4/lib-dynload/timemodule.so: failed to map segment from shared object: Cannot allocate memory
 
Lots to work with here....

where to start...


[Tue Oct 16 09:45:29 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Tue Oct 16 09:45:29 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
try this
http://www.pleskhosts.com/forum/showthread.php?p=20#post20

[Tue Oct 16 09:52:04 2007] [notice] child pid 21715 exit signal Segmentation fault (11)
[Tue Oct 16 09:54:19 2007] [notice] child pid 26208 exit signal Segmentation fault (11)
[Tue Oct 16 10:34:46 2007] [notice] child pid 21706 exit signal Segmentation fault (11)

That could be almost anything, but try looking in the error logs first
Code:
cat /var/log/httpd/error_log | grep -i -A1 -B1 'seg'
[code]

This will output the log file line before current and after that matches the pattern.

So you could then do
[code]
cat ~/seg_fault_log
{/code]

and could see something like
[code][Tue Oct 16 10:09:28 2007] [notice] child pid 8632 exit signal Segmentation fault (11)
Failed loading /usr/lib/php/ioncube/ioncube_loader_lin_.so:  /usr/lib/php/ioncube/ioncube_loader_lin_.so: cannot open shared object file: No such file or directory

and then fix the problem (which may only be coincidental) but could be caused by apache modules or php modules - remove any you dont need and make sure the ones you have installed are working.


The rest of it seems to be related to python, and unfortunatley I cant help there.
 
First off, thanks for the help.

For the CommonName... The thread you pointed out didn't seem to help as I don't see what he is talking about in my server.


As for the seg fault, here is the lines around the seg faults.

[Tue Oct 16 07:37:11 2007] [error] python_handler: no interpreter callback found.
[Tue Oct 16 07:37:26 2007] [notice] child pid 7626 exit signal Segmentation fault (11)
[Tue Oct 16 07:38:29 2007] [error] make_obcallback: could not import mod_python.apache.\n
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 22, in ?
import time
ImportError: /usr/lib64/python2.4/lib-dynload/timemodule.so: failed to map segment from shared object: Cannot allocate memory
 
here is the latest server crash, plesk and apache.

[Tue Oct 16 13:57:28 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 16 13:57:28 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Tue Oct 16 13:57:28 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Tue Oct 16 13:57:28 2007] [warn] Init: SSL server IP/port conflict: default-204-11-244-234:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:77) vs. webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:134)
[Tue Oct 16 13:57:28 2007] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Tue Oct 16 13:57:28 2007] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 16 13:57:28 2007] [notice] Digest: done
[Tue Oct 16 13:57:28 2007] [notice] mod_python: Creating 4 session mutexes based on 150 max processes and 0 max threads.
[Tue Oct 16 13:57:28 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Tue Oct 16 13:57:28 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Tue Oct 16 13:57:28 2007] [warn] Init: SSL server IP/port conflict: default-204-11-244-234:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:77) vs. webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:134)
[Tue Oct 16 13:57:28 2007] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Tue Oct 16 13:57:28 2007] [warn] pid file /etc/httpd/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Oct 16 13:57:28 2007] [notice] Apache/2.2.3 (Fedora) configured -- resuming normal operations
 
no I am not. I have a VPS server from my hosting company because I run more than one website and it was cost effective to have a VPS vs shared for each..

I have no experience in these servers and the plan I have is non supportive (meaning I have to use the forums for help on errors and configs).

I wish I could learn this stuff but I have no one to teach me.

Thanks for your help
 
I ran the cat command like you stated and this is part of what came up

import time
ImportError: /usr/lib64/python2.4/lib-dynload/timemodule.so: failed to map segment from shared object: Cannot allocate memory
[Tue Oct 16 13:42:07 2007] [error] python_handler: no interpreter callback found.
--
import time
ImportError: /usr/lib64/python2.4/lib-dynload/timemodule.so: failed to map segment from shared object: Cannot allocate memory
[Tue Oct 16 13:53:08 2007] [error] python_handler: no interpreter callback found.
--
[Tue Oct 16 13:57:28 2007] [notice] Apache/2.2.3 (Fedora) configured -- resuming normal operations
[Tue Oct 16 14:56:10 2007] [notice] child pid 20004 exit signal Segmentation fault (11)
FATAL: erealloc(): Unable to allocate 30720 bytes
[Tue Oct 16 14:56:15 2007] [notice] child pid 18208 exit signal Segmentation fault (11)
[Tue Oct 16 14:56:25 2007] [error] make_obcallback: could not import mod_python.apache.\n
--
import time
ImportError: /usr/lib64/python2.4/lib-dynload/timemodule.so: failed to map segment from shared object: Cannot allocate memory
[Tue Oct 16 14:56:25 2007] [error] python_handler: no interpreter callback found.
--
import time
ImportError: /usr/lib64/python2.4/lib-dynload/timemodule.so: failed to map segment from shared object: Cannot allocate memory
[Tue Oct 16 15:18:13 2007] [error] python_handler: no interpreter callback found.
 
no worries, I just had to make sure :)

There are plenty of people here on the forums who will help you, but most of us will not 'do it for you' so to speak. Here are a couple of pointers that should help you learn what the problem is and help in fixing.

Code:
[Tue Oct 16 13:57:28 2007] [warn] Init: SSL server IP/port conflict: default-204-11-244-234:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:77) vs. webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:134)
"learn" here :)
http://www.google.com/search?hl=en&q=SSL+server+IP/port+conflict&btnG=Search

Code:
[Tue Oct 16 13:57:28 2007] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
"learn" here :)
http://www.google.com/search?hl=en&...e-based+virtual+hosts+in+conjunction+with+SSL

Originally posted by noworyz
I ran the cat command like you stated and this is part of what came up

Also, if you are running on a 64 bit server Ive heard that Plesk doesnt work well on those.
 
Back
Top