PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : خطای 500 Internal Server Error بعد نصب APC



AhmadTux
April 25th, 2011, 13:13
با سلام خدمت دوستان گل

من بعد نصب APC روی centos با این آموزش (http://www.webhostingtalk.ir/f10/783/) به مشکل خوردم
تمام سایتهام میده :


Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache/2.2.17 (EL) Server at ahmadtux.com Port 80
مثلاً http://ahmadtux.com


مشکل از کجاست ؟

ممنون میشم راهنمایی کنید

AhmadTux
April 25th, 2011, 15:44
با فایلهای .php مشکل داره انگار
weblar.net
ahmadtux.com

a1000a
April 25th, 2011, 15:48
اصولا این ارور از htaccess هستش

AhmadTux
April 25th, 2011, 16:54
اصولا این ارور از htaccess هستش

htaccess ندارم
وقتی فایل index.php رو برمیدارم صفحه آپاچی رو نشون میده
به php حساسیت داره !

---------- Post added at 04:05 PM ---------- Previous post was at 03:50 PM ----------

روایت قسمتی از :

/etc/httpd/logs/error_log



[Mon Apr 25 15:16:20 2011] [warn] RSA server certificate wildcard CommonName (CN) `*.lxlabs.com' does NOT match server name!?
[Mon Apr 25 15:16:20 2011] [warn] Init: SSL server IP/port conflict: weblar.net:443 (/home/httpd/weblar.net/conf/kloxo.weblar.net:69) vs. ahmadtux.com:443 (/home/httpd/ahmadtux.com/conf/kloxo.ahmadtux.com:71)
[Mon Apr 25 15:16:20 2011] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Mon Apr 25 15:16:20 2011] [notice] Apache/2.2.17 (Unix) DAV/2 mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 configured -- resuming normal operations
[Mon Apr 25 15:32:27 2011] [notice] caught SIGTERM, shutting down
[Mon Apr 25 15:32:27 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Apr 25 15:32:28 2011] [warn] RSA server certificate wildcard CommonName (CN) `*.lxlabs.com' does NOT match server name!?
[Mon Apr 25 15:32:28 2011] [warn] RSA server certificate wildcard CommonName (CN) `*.lxlabs.com' does NOT match server name!?
[Mon Apr 25 15:32:28 2011] [warn] Init: SSL server IP/port conflict: weblar.net:443 (/home/httpd/weblar.net/conf/kloxo.weblar.net:69) vs. ahmadtux.com:443 (/home/httpd/ahmadtux.com/conf/kloxo.ahmadtux.com:71)
[Mon Apr 25 15:32:28 2011] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Mon Apr 25 15:32:28 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Apr 25 15:32:28 2011] [notice] Digest: done
[Mon Apr 25 15:32:28 2011] [warn] RSA server certificate wildcard CommonName (CN) `*.lxlabs.com' does NOT match server name!?
[Mon Apr 25 15:32:28 2011] [warn] RSA server certificate wildcard CommonName (CN) `*.lxlabs.com' does NOT match server name!?
[Mon Apr 25 15:32:28 2011] [warn] Init: SSL server IP/port conflict: weblar.net:443 (/home/httpd/weblar.net/conf/kloxo.weblar.net:69) vs. ahmadtux.com:443 (/home/httpd/ahmadtux.com/conf/kloxo.ahmadtux.com:71)
[Mon Apr 25 15:32:28 2011] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Mon Apr 25 15:32:28 2011] [notice] Apache/2.2.17 (Unix) DAV/2 mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 configured -- resuming normal operations


---------- Post added at 04:10 PM ---------- Previous post was at 04:05 PM ----------

suphp_log


[Mon Apr 25 12:53:10 2011] [warn] GID of script "/home/ahmadtux/ahmadtux.com/index.php" is smaller than min_gid
[Mon Apr 25 12:53:15 2011] [warn] GID of script "/home/ahmadtux/ahmadtux.com/index.php" is smaller than min_gid
[Mon Apr 25 12:54:43 2011] [warn] GID of script "/home/ahmadtux/ahmadtux.com/index.php" is smaller than min_gid
[Mon Apr 25 12:55:21 2011] [warn] GID of script "/home/ahmadtux/ahmadtux.com/index.php" is smaller than min_gid
[Mon Apr 25 12:55:24 2011] [warn] GID of script "/home/ahmadtux/ahmadtux.com/index.php" is smaller than min_gid
[Mon Apr 25 12:58:47 2011] [warn] GID of script "/home/ahmadtux/ahmadtux.com/index.php" is smaller than min_gid
[Mon Apr 25 13:04:29 2011] [warn] GID of script "/home/ahmadtux/ahmadtux.com/index.php" is smaller than min_gid
[Mon Apr 25 13:04:56 2011] [warn] GID of script "/home/ahmadtux/ahmadtux.com/index.php" is smaller than min_gid
[Mon Apr 25 14:11:12 2011] [warn] GID of script "/home/ahmadtux/ahmadtux.com/index.php" is smaller than min_gid
[Mon Apr 25 14:11:55 2011] [warn] GID of script "/home/ahmadtux/ahmadtux.com/index.php" is smaller than min_gid
[Mon Apr 25 14:36:20 2011] [warn] GID of script "/home/ahmadtux/ahmadtux.com/index.php" is smaller than min_gid
[Mon Apr 25 14:38:14 2011] [warn] UID of script "/home/admin/weblar/index.php" is smaller than min_uid
[Mon Apr 25 14:38:17 2011] [warn] UID of script "/home/admin/weblar/index.php" is smaller than min_uid
[Mon Apr 25 14:42:41 2011] [info] Executing "/home/admin/kloxoscript/phpinfo.php" as UID 1006, GID 1006
[Mon Apr 25 14:42:43 2011] [info] Executing "/home/admin/kloxoscript/phpinfo.php" as UID 1006, GID 1006
[Mon Apr 25 14:42:44 2011] [info] Executing "/home/admin/kloxoscript/phpinfo.php" as UID 1006, GID 1006
[Mon Apr 25 14:52:55 2011] [warn] UID of script "/home/admin/weblar/index.php" is smaller than min_uid
[Mon Apr 25 14:52:58 2011] [warn] UID of script "/home/admin/weblar/index.php" is smaller than min_uid
[Mon Apr 25 14:55:12 2011] [warn] UID of script "/home/admin/weblar/index.php" is smaller than min_uid
[Mon Apr 25 14:58:27 2011] [info] Executing "/home/admin/kloxoscript/phpinfo.php" as UID 1006, GID 1006
[Mon Apr 25 14:58:29 2011] [info] Executing "/home/admin/kloxoscript/phpinfo.php" as UID 1006, GID 1006
[Mon Apr 25 14:58:30 2011] [info] Executing "/home/admin/kloxoscript/phpinfo.php" as UID 1006, GID 1006
[Mon Apr 25 14:59:42 2011] [warn] UID of script "/home/admin/weblar/index.php" is smaller than min_uid
[Mon Apr 25 15:04:16 2011] [info] Executing "/home/admin/kloxoscript/phpinfo.php" as UID 1006, GID 1006
[Mon Apr 25 15:04:18 2011] [info] Executing "/home/admin/kloxoscript/phpinfo.php" as UID 1006, GID 1006
[Mon Apr 25 15:04:19 2011] [info] Executing "/home/admin/kloxoscript/phpinfo.php" as UID 1006, GID 1006
[Mon Apr 25 15:05:21 2011] [warn] GID of script "/home/ahmadtux/ahmadtux.com/index.php" is smaller than min_gid
[Mon Apr 25 15:05:25 2011] [warn] UID of script "/home/admin/weblar/index.php" is smaller than min_uid
[Mon Apr 25 15:34:22 2011] [warn] GID of script "/home/ahmadtux/ahmadtux.com/index.php" is smaller than min_gid
[Mon Apr 25 15:35:37 2011] [warn] GID of script "/home/ahmadtux/ahmadtux.com/index.php" is smaller than min_gid
[Mon Apr 25 15:36:11 2011] [info] Executing "/home/admin/kloxoscript/phpinfo.php" as UID 1006, GID 1006
[Mon Apr 25 15:36:12 2011] [info] Executing "/home/admin/kloxoscript/phpinfo.php" as UID 1006, GID 1006
[Mon Apr 25 15:36:13 2011] [info] Executing "/home/admin/kloxoscript/phpinfo.php" as UID 1006, GID 1006
[Mon Apr 25 15:39:04 2011] [warn] GID of script "/home/ahmadtux/ahmadtux.com/index.php" is smaller than min_gid
[Mon Apr 25 15:44:42 2011] [warn] UID of script "/home/admin/weblar/index.php" is smaller than min_uid
[Mon Apr 25 15:45:42 2011] [warn] GID of script "/home/ahmadtux/ahmadtux.com/index.php" is smaller than min_gid
[Mon Apr 25 15:45:44 2011] [warn] GID of script "/home/ahmadtux/ahmadtux.com/index.php" is smaller than min_gid
[Mon Apr 25 15:46:31 2011] [warn] UID of script "/home/admin/weblar/index.php" is smaller than min_uid



access_log



66.249.71.75 - - [25/Apr/2011:14:29:50 -0400] "GET /ahmadtux/wp-content/plugins/javascript-syntaxhighlight/scripts/clipboard.swf HTTP/1.1" 404 346 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
109.230.221.24 - - [25/Apr/2011:14:30:56 -0400] "GET http://l39.member.re3.yahoo.com/config/pwtoken_get?login=_scumette_&src=ygodgw&passwd=899179fe91da0e4cb0d4a792a806600a&challenge=TS_R2zIl1Db5YSyViarFu3WGaAVA&md5=1 HTTP/1.0" 404 302 "-" "MobileRunner-J2ME"
109.230.221.24 - - [25/Apr/2011:14:32:36 -0400] "GET http://l1.login.vip.cnb.yahoo.com/config/pwtoken_get?login=love__love__da__ladies&src=ygodgw&passwd=486dd277793c9d40c8886baf8fb166c8&challenge=gR4tI6EX1DbW_qlEdV8sIlriknHL&md5=1 HTTP/1.0" 404 304 "-" "MobileRunner-J2ME"
95.108.128.241 - - [25/Apr/2011:14:33:09 -0400] "GET /zpnu/forum-41.html HTTP/1.1" 404 288 "-" "Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)"
66.249.71.75 - - [25/Apr/2011:14:33:58 -0400] "GET /weblar/index.php?title=%D9%88%DB%8C%DA%98%D9%87:%D8%AA%D8 %BA%DB%8C%DB%8C%D8%B1%D8%A7%D8%AA_%D8%A7%D8%AE%DB% 8C%D8%B1&days=7&hideliu=1&namespace=3 HTTP/1.1" 404 286 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
109.230.221.24 - - [25/Apr/2011:14:34:13 -0400] "GET http://l06.member.kr3.yahoo.com/config/pwtoken_get?login=glico_&src=ygodgw&passwd=b9be75f2aa8e913b9ee43fd39ba4ad94&challenge=UuSoJ3Ky1TYRuUcxMvEhJiyOPnPj&md5=1 HTTP/1.0" 404 302 "-" "MobileRunner-J2ME"
72.14.199.110 - - [25/Apr/2011:14:34:38 -0400] "GET /ahmadtux/feed/ HTTP/1.1" 404 284 "-" "Feedfetcher-Google; (+http://www.google.com/feedfetcher.html; 2 subscribers; feed-id=11340449932728767727)"
109.230.221.24 - - [25/Apr/2011:14:35:52 -0400] "GET http://l09.member.mud.yahoo.com/config/pwtoken_get?login=_cum4me_&src=ygodgw&passwd=d5516cb987f5a64f000efae3ec5f61ef&challenge=YZF5i.TZ1TZlQ..o_BaKl6K.ONy7&md5=1 HTTP/1.0" 404 302 "-" "MobileRunner-J2ME"
66.249.71.75 - - [25/Apr/2011:14:38:05 -0400] "GET /weblar/index.php?title=%D9%88%DB%8C%DA%98%D9%87:%D8%AA%D8 %BA%DB%8C%DB%8C%D8%B1%D8%A7%D8%AA_%D8%A7%D8%AE%DB% 8C%D8%B1&days=7&hideliu=1 HTTP/1.1" 404 286 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
91.99.192.122 - - [25/Apr/2011:14:38:34 -0400] "GET / HTTP/1.1" 200 1945 "-" "Opera/9.80 (Windows NT 6.1; U; en) Presto/2.7.62 Version/11.01"
91.99.192.122 - - [25/Apr/2011:14:38:35 -0400] "GET /images/lxalogo_d.gif HTTP/1.1" 404 295 "http://178.162.231.103/" "Opera/9.80 (Windows NT 6.1; U; en) Presto/2.7.62 Version/11.01"
91.99.192.122 - - [25/Apr/2011:14:38:35 -0400] "GET /images/dheadbg.gif HTTP/1.1" 304 - "http://178.162.231.103/" "Opera/9.80 (Windows NT 6.1; U; en) Presto/2.7.62 Version/11.01"
91.99.192.122 - - [25/Apr/2011:14:38:35 -0400] "GET /images/disableskeletonbg.gif HTTP/1.1" 304 - "http://178.162.231.103/" "Opera/9.80 (Windows NT 6.1; U; en) Presto/2.7.62 Version/11.01"
91.99.192.122 - - [25/Apr/2011:14:38:36 -0400] "GET /favicon.ico HTTP/1.1" 404 286 "http://178.162.231.103/" "Opera/9.80 (Windows NT 6.1; U; en) Presto/2.7.62 Version/11.01"
91.99.192.122 - - [25/Apr/2011:14:38:38 -0400] "GET / HTTP/1.1" 200 1945 "-" "Opera/9.80 (Windows NT 6.1; U; en) Presto/2.7.62 Version/11.01"
91.99.192.122 - - [25/Apr/2011:14:38:39 -0400] "GET /images/dheadbg.gif HTTP/1.1" 304 - "http://178.162.231.103/" "Opera/9.80 (Windows NT 6.1; U; en) Presto/2.7.62 Version/11.01"
91.99.192.122 - - [25/Apr/2011:14:38:39 -0400] "GET /images/lxalogo_d.gif HTTP/1.1" 404 295 "http://178.162.231.103/" "Opera/9.80 (Windows NT 6.1; U; en) Presto/2.7.62 Version/11.01"
91.99.192.122 - - [25/Apr/2011:14:38:39 -0400] "GET /images/disableskeletonbg.gif HTTP/1.1" 304 - "http://178.162.231.103/" "Opera/9.80 (Windows NT 6.1; U; en) Presto/2.7.62 Version/11.01"
91.99.192.122 - - [25/Apr/2011:14:38:40 -0400] "GET /favicon.ico HTTP/1.1" 404 286 "http://178.162.231.103/" "Opera/9.80 (Windows NT 6.1; U; en) Presto/2.7.62 Version/11.01"
66.249.71.75 - - [25/Apr/2011:14:42:12 -0400] "GET /weblar/index.php?title=%D9%88%DB%8C%DA%98%D9%87:%D8%AA%D8 %BA%DB%8C%DB%8C%D8%B1%D8%A7%D8%AA_%D8%A7%D8%AE%DB% 8C%D8%B1&days=30&hidebots=&namespace=3 HTTP/1.1" 404 286 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
66.249.71.75 - - [25/Apr/2011:14:46:20 -0400] "GET /weblar/index.php?title=%D9%88%DB%8C%DA%98%D9%87:%D8%AA%D8 %BA%DB%8C%DB%8C%D8%B1%D8%A7%D8%AA_%D8%A7%D8%AE%DB% 8C%D8%B1&days=30&hidebots= HTTP/1.1" 404 286 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
66.249.71.75 - - [25/Apr/2011:14:49:56 -0400] "GET /weblar/index.php?namespace=0&from=20110326222548&title=%D9%88%DB%8C%DA%98%D9%87:%D8%AA%D8%BA%DB%8C% DB%8C%D8%B1%D8%A7%D8%AA+%D8%A7%D8%AE%DB%8C%D8%B1 HTTP/1.1" 404 286 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
66.249.71.75 - - [25/Apr/2011:14:50:27 -0400] "GET /weblar/index.php?namespace=3&days=3&hidebots=&title=%D9%88%DB%8C%DA%98%D9%87:%D8%AA%D8%BA%DB%8C% DB%8C%D8%B1%D8%A7%D8%AA+%D8%A7%D8%AE%DB%8C%D8%B1 HTTP/1.1" 404 286 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
91.99.192.122 - - [25/Apr/2011:14:52:38 -0400] "GET / HTTP/1.1" 304 - "-" "Opera/9.80 (Windows NT 6.1; U; en) Presto/2.7.62 Version/11.01"
91.99.192.122 - - [25/Apr/2011:14:52:39 -0400] "GET /images/lxalogo_d.gif HTTP/1.1" 404 295 "http://178.162.231.103/" "Opera/9.80 (Windows NT 6.1; U; en) Presto/2.7.62 Version/11.01"


---------- Post added at 04:54 PM ---------- Previous post was at 04:10 PM ----------

وقتی php -m
میزنم یه ارور میداد به apc.shm_size که مشکل داره
که با یه M در آخر apc.shm_size=128M حل شد

الان یه ارور جدید دارم که میگه PHP Warning: Module 'apc' already loaded in Unknown on line 0

چه کنم ؟
یکی به داد ما برسه

ali2k
April 25th, 2011, 18:42
apc را قبلا نصب کردم با zend optimizer مشکل داشت و همزمان لود نمی شدن اگر دقیقا خود برنامه apc مد نظرتون نیست حذفش کنید به جای eaccelerator نصب کنید همان کار را انجام میده با زند و بقیه هم مشکلی ندارد.

---------- Post added at 05:42 PM ---------- Previous post was at 05:40 PM ----------

این رو هم ببنید
PHP Warning: Module ‘apc’ already loaded in Unknown on line 0 | Ciuly's Blog - Reinventing the wheel (http://blog.ciuly.com/my-server/php-warning-module-apc-already-loaded-in-unknown-on-line-0/)