ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] Не стыковка httpd2 и mod_php5
@ 2007-11-09 22:13 Di
  2007-11-09 22:25 ` Pavlov Konstantin
  2007-11-10  5:33 ` Dmitry Lebkov
  0 siblings, 2 replies; 7+ messages in thread
From: Di @ 2007-11-09 22:13 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

[-- Attachment #1: Type: text/plain, Size: 3125 bytes --]

Доброго времени суток.

Поставил в контейнере:
# rpm -qa | grep apache
apache2-common-2.2.6-alt4
apache2-mod_php5-5.2.2-alt1
apache2-httpd-prefork-2.2.6-alt4
apache2-2.2.6-alt4
alterator-apache2-2.1-alt1
# rpm -qa | grep php
php-base-2.2-alt1
php5-suhosin-0.9.19-alt1
apache2-mod_php5-5.2.2-alt1
php5-libs-5.2.2-alt1
php5-5.2.2-alt1

Всё взято из бранча, как я понимаю... потому не в Sisyphus@

При попытке запустить сервер после останова в ошибках было вот такое:
[crit] (28)No space left on device: Unable to create scoreboard 
(anonymous shared memory failure)
Погуглил и добавил в httpd2.conf такое:
ScoreBoardFile logs/apache_runtime_status

Попробовал старотовать сервер:
[crit] (28)No space left on device: unable to create scoreboard 
"/var/log/httpd2/apache_runtime_status" (name-based shared memory failure)

При этом
# ls -lah /var/log/httpd2/
total 20K
drwxr-x---  2 root apache2 4.0K Nov 10 04:43 .
drwxr-xr-x 14 root root    4.0K Nov  9 00:37 ..
-rw-r--r--  1 root root    2.5K Nov  9 00:51 access_log
-rw-r--r--  1 root root       0 Nov 10 04:43 apache_runtime_status
-rw-r--r--  1 root root    5.2K Nov 10 04:43 error_log

Затем удалил apache2-mod_php5-5.2.2-alt1
Рестартовал - всё ок.
[notice] Apache/2.2.6 (Unix) configured -- resuming normal operations
[info] Server built: Sep 28 2007 12:36:18
[debug] prefork.c(991): AcceptMutex: sysvsem (default: sysvsem)
Поставил mod_php5 обратно, сервер прорелодился.
[notice] SIGHUP received.  Attempting to restart
[notice] Apache/2.2.6 (Unix) configured -- resuming normal operations
[info] Server built: Sep 28 2007 12:36:18
[debug] prefork.c(991): AcceptMutex: sysvsem (default: sysvsem)

Теперь пробуем остановить и запустить:
# service httpd2 stop
Stopping httpd2 
service:                                                                                                              
[ DONE ]
# service httpd2 status
httpd2 is stopped
# service httpd2 start
Starting httpd2 
service:                                                                                                              
[ DONE ]
# service httpd2 status
httpd2 is dead, but stale PID file exists
# tail /var/log/httpd2/error_log
[Sat Nov 10 05:07:08 2007] [notice] Apache/2.2.6 (Unix) configured -- 
resuming normal operations
[Sat Nov 10 05:07:08 2007] [info] Server built: Sep 28 2007 12:36:18
[Sat Nov 10 05:07:08 2007] [debug] prefork.c(991): AcceptMutex: sysvsem 
(default: sysvsem)
[Sat Nov 10 05:08:55 2007] [notice] SIGHUP received.  Attempting to restart
[Sat Nov 10 05:08:56 2007] [notice] Apache/2.2.6 (Unix) configured -- 
resuming normal operations
[Sat Nov 10 05:08:56 2007] [info] Server built: Sep 28 2007 12:36:18
[Sat Nov 10 05:08:56 2007] [debug] prefork.c(991): AcceptMutex: sysvsem 
(default: sysvsem)
[Sat Nov 10 05:11:41 2007] [info] removed PID file 
/var/run/httpd2/httpd.pid (pid=26615)
[Sat Nov 10 05:11:41 2007] [notice] caught SIGTERM, shutting down
[Sat Nov 10 05:11:52 2007] [crit] (28)No space left on device: unable to 
create scoreboard "/var/log/httpd2/apache_runtime_status" (name-based 
shared memory failure)

Что теперь делать и кто виноват? ;)




[-- Attachment #2: denyago.vcf --]
[-- Type: text/x-vcard, Size: 364 bytes --]

begin:vcard
fn:Denis Timurovich Yagofarov
n:Yagofarov;Denis Timurovich
org:ITGIS NASU
adr:room 615;;Chokolovski sqr., 13;Kiev;;03151;Ukraine
email;internet:denyago@rambler.ru
title:system administrator
tel;work:80442480755
tel;pager:diyago@jabber.te.ua
tel;home:80442434512
tel;cell:80662933760
note:diyago@jabber.te.ua
x-mozilla-html:FALSE
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-11-10 16:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-09 22:13 [Sysadmins] Не стыковка httpd2 и mod_php5 Di
2007-11-09 22:25 ` Pavlov Konstantin
2007-11-09 22:36   ` Di
2007-11-09 22:59     ` Pavlov Konstantin
2007-11-09 23:16       ` Di
2007-11-10  5:33 ` Dmitry Lebkov
2007-11-10 16:10   ` Di

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git