Страница 1 из 1
Centos 5.9 httpd и ошибка запуска
Добавлено: 2013-04-18 13:31:39
Spook1680
Все привет.
После обновления
Апач стал выдавать таку хрень
Код: Выделить всё
# service httpd start
Запускается httpd: httpd: Syntax error on line 81 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf.d/proxy_ajp.conf: Cannot load /etc/httpd/modules/mod_proxy_ajp.so into server: /etc/httpd/modules/mod_proxy_ajp.so: undefined symbol: proxy_module
[ СБОЙ ]
Лезу в логи а там
Код: Выделить всё
# cat error_log
[Sun Apr 14 04:29:11 2013] [notice] mod_python: Creating 4 session mutexes based on 10 max processes and 0 max threads.
[Sun Apr 14 04:29:12 2013] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Apr 17 16:35:53 2013] [notice] caught SIGTERM, shutting down
Re: Centos 5.9 httpd и ошибка запуска
Добавлено: 2013-04-18 13:38:09
skeletor
mod_proxy_ajp.so -ему не хватает какой-то либы. Посмотри через ldd.
Re: Centos 5.9 httpd и ошибка запуска
Добавлено: 2013-04-18 13:56:44
Spook1680
skeletor писал(а):mod_proxy_ajp.so -ему не хватает какой-то либы. Посмотри через ldd.
захожу в деректорию с модулями и она там есть
mod_proxy_ajp.so
Код: Выделить всё
modules]# ls
mod_actions.so mod_authz_host.so mod_env.so mod_mem_cache.so mod_setenvif.so
mod_alias.so mod_authz_owner.so mod_expires.so mod_mime_magic.so mod_speling.so
mod_asis.so mod_authz_user.so mod_ext_filter.so mod_mime.so mod_ssl.so
mod_auth_basic.so mod_autoindex.so mod_file_cache.so mod_negotiation.so mod_status.so
mod_auth_digest.so mod_cache.so mod_filter.so mod_perl.so mod_substitute.so
mod_authn_alias.so mod_cern_meta.so mod_geoip.so mod_proxy_ajp.so mod_suexec.so
mod_authn_anon.so mod_cgid.so mod_headers.so mod_proxy_balancer.so mod_unique_id.so
mod_authn_dbd.so mod_cgi.so mod_ident.so mod_proxy_connect.so mod_userdir.so
mod_authn_dbm.so mod_dav_fs.so mod_imagemap.so mod_proxy_ftp.so mod_usertrack.so
mod_authn_default.so mod_dav.so mod_include.so mod_proxy_http.so mod_version.so
mod_authn_file.so mod_dbd.so mod_info.so mod_proxy.so mod_vhost_alias.so
mod_authnz_ldap.so mod_deflate.so mod_ldap.so mod_python.so
mod_authz_dbm.so mod_dir.so mod_log_config.so mod_reqtimeout.so
mod_authz_default.so mod_disk_cache.so mod_log_forensic.so mod_rewrite.so
mod_authz_groupfile.so mod_dumpio.so mod_logio.so mod_rpaf-2.0.so
Re: Centos 5.9 httpd и ошибка запуска
Добавлено: 2013-04-18 15:27:11
skeletor
Re: Centos 5.9 httpd и ошибка запуска
Добавлено: 2013-04-18 15:56:16
Spook1680
Код: Выделить всё
modules]# ldd mod_proxy_ajp.so
linux-gate.so.1 => (0x0071d000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00a0e000)
libc.so.6 => /lib/libc.so.6 (0x00110000)
/lib/ld-linux.so.2 (0x00637000)
Re: Centos 5.9 httpd и ошибка запуска
Добавлено: 2013-04-18 16:43:39
skeletor
Тогда как вариант - пересобрать заново модуль mod_proxy_ajp.so или полностью apache.
Re: Centos 5.9 httpd и ошибка запуска
Добавлено: 2013-04-18 20:04:03
Spook1680
skeletor писал(а):Тогда как вариант - пересобрать заново модуль mod_proxy_ajp.so или полностью apache.
подумаю.
Там походу с битриксом проблемы я только сейчас прочухал что установлен.
zend-server а уж что там в этом битриксе напичкано х.з.
Сейчас все запахало. Но блин странно стучусь на локальный сайт а в ответ тишина.
Код: Выделить всё
WARNING] ZSemaphoreImpl::constructor: failed to open file /usr/local/zend/tmp/zsemfile_ConfigurationChangedEvent0417131636 : Permission denied
[18.04.2013 16:41:03 WARNING] ZSemaphoreImpl::constructor: failed to open file /usr/local/zend/tmp/zsemfile_RestartAgentSem0417131636 : Permission denied
[18.04.2013 16:41:03 WARNING] ZSemaphoreImpl::constructor: failed to open file /usr/local/zend/tmp/zsemfile_RestartAgentSem0417131636 : Permission denied
[Thu Apr 18 16:41:03 2013] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Thu Apr 18 20:49:36 2013] [notice] caught SIGTERM, shutting down
[Thu Apr 18 20:50:01 2013] [notice] SSL FIPS mode disabled
[Thu Apr 18 20:50:01 2013] [notice] mod_python: Creating 4 session mutexes based on 10 max processes and 0 max threads.
[Thu Apr 18 20:50:01 2013] [notice] SSL FIPS mode disabled
[18.04.2013 20:50:01 WARNING] ZSemaphoreImpl::constructor: failed to open file /usr/local/zend/tmp/zsemfile_ConfigurationChangedEvent0417131636 : Permission denied
[18.04.2013 20:50:01 WARNING] ZSemaphoreImpl::constructor: failed to open file /usr/local/zend/tmp/zsemfile_RestartAgentSem0417131636 : Permission denied
[18.04.2013 20:50:01 WARNING] ZSemaphoreImpl::constructor: failed to open file /usr/local/zend/tmp/zsemfile_RestartAgentSem0417131636 : Permission denied
[Thu Apr 18 20:50:01 2013] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
Re: Centos 5.9 httpd и ошибка запуска
Добавлено: 2013-04-19 15:51:49
Spook1680
Может кто юзал такую хрень. Битрих
запускает
Код: Выделить всё
# service zend-server start
Starting Zend Server 5.6.0 ..
monitor watchdog is up and running.. [OK]
[19.04.2013 16:47:09 SYSTEM] watchdog for monitor is running.
[19.04.2013 16:47:09 SYSTEM] monitor is running.
Запускается httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.0.103 for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:443
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs
[ СБОЙ ]
scd watchdog is up and running.. [OK]
[19.04.2013 16:47:10 SYSTEM] watchdog for scd is not running.
[19.04.2013 16:47:10 SYSTEM] scd is running.
zdd watchdog is up and running.. [OK]
[19.04.2013 16:47:11 SYSTEM] watchdog for zdd is running.
[19.04.2013 16:47:11 SYSTEM] zdd is running.
jqd watchdog is up and running.. [OK]
[19.04.2013 16:47:12 SYSTEM] watchdog for jqd is running.
[19.04.2013 16:47:12 SYSTEM] jqd is running.
Zend Server started...
Насколько я могу судить о ругани он типа жалуется что там кто-то сидит слушает этот порт.
Проверяем
Код: Выделить всё
# lsof -i :443
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
nginx 3018 root 6u IPv4 8695 0t0 TCP *:https (LISTEN)
nginx 3019 bitrix 6u IPv4 8695 0t0 TCP *:https (LISTEN)
nginx 3020 bitrix 6u IPv4 8695 0t0 TCP *:https (LISTEN)
nginx 3022 bitrix 6u IPv4 8695 0t0 TCP *:https (LISTEN)
nginx 3024 bitrix 6u IPv4 8695 0t0 TCP *:https (LISTEN)
nginx 3025 bitrix 6u IPv4 8695 0t0 TCP *:https (LISTEN)
nginx 3026 bitrix 6u IPv4 8695 0t0 TCP *:https (LISTEN)
nginx 3027 bitrix 6u IPv4 8695 0t0 TCP *:https (LISTEN)
nginx 3028 bitrix 6u IPv4 8695 0t0 TCP *:https (LISTEN)
Получается пытается запустит httpd апач и в то же время жалуется на nginx