ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Kosserior" <kosserior@gmail.com>
To: "'ALT Linux Community general discussions'"
	<community@lists.altlinux.org>
Subject: [Comm] httpd2 + mod_php5 не запускается на ALT Linux 7.0.1 Centaurus
Date: Sun, 15 Sep 2013 09:56:19 +0400
Message-ID: <000001ceb1d8$4de15b70$e9a41250$@com> (raw)

Здравствуйте.

На компьютер с процессором Intel Pentium III 1.0 ГГц и ОЗУ
на 512 Мб установил ALT Linux 7.0 Centaurus, а затем обновил
его с помощью apt-get upgrade.

При запуске httpd2 получаю:
[root@tc ~]# service httpd2 start
Starting httpd2 service: [FAILED]
[root@tc ~]# echo $?
3
[root@tc ~]# grep httpd2 /var/log/messages | tail -n 3
Sep 15 09:23:14 tc httpd2: httpd2: apr_sockaddr_info_get()
failed for tc.local
Sep 15 09:23:14 tc httpd2: httpd2: Could not reliably
determine the server's fully qualified domain name, using
127.0.0.1 for ServerName
Sep 15 09:23:17 tc httpd2: Starting httpd2 service:
failed3

Если отключить модуль PHP:
[root@tc ~]# rm /etc/httpd2/conf/mods-enabled/mod_php5.conf
/etc/httpd2/conf/mods-enabled/mod_php5.load
rm: remove symbolic link
'/etc/httpd2/conf/mods-enabled/mod_php5.conf'? y
rm: remove symbolic link
'/etc/httpd2/conf/mods-enabled/mod_php5.load'? y

то:
[root@tc ~]# service httpd2 start
Starting httpd2 service: [ DONE ]
grep httpd2 /var/log/messages | tail -n 3
Sep 15 09:30:05 tc httpd2: httpd2: apr_sockaddr_info_get()
failed for tc.local
Sep 15 09:30:05 tc httpd2: httpd2: Could not reliably
determine the server's fully qualified domain name, using
127.0.0.1 for ServerName
Sep 15 09:30:05 tc httpd2: Starting httpd2 service:
succeeded

Установлены следующие пакеты (установленные вручную отмечены
символом *):
[root@tc ~]# rpm -qa | grep php5
php5-libs-5.3.27.20130711-alt0.M70P.1
php5-5.3.27.20130711-alt0.M70P.1
apache2-mod_php5-5.3.27.20130711-alt0.M70P.1
php5-zip-5.3.27.20130711-alt0.M70P.1
php5-xmlrpc-5.3.27.20130711-alt0.M70P.1
php5-exif-5.3.27.20130711-alt0.M70P.1
php5-fileinfo-5.3.27.20130711-alt0.M70P.1
*php5-apc-5.3.27.20130711-alt0.M70P.1.2
php5-suhosin-0.9.33-alt5.3.27.20130711.alt0.M70P.1
php5-memcache-2.2.6-alt9.5.3.27.20130711.alt0.M70P.1
php5-cgi-5.3.27.20130711-alt0.M70P.1
php5-imagick2-5.3.27.20130711-alt0.M70P.1.2
php5-imap-5.3.27.20130711-alt0.M70P.1.1
php5-facedetect-5.3.27.20130711-alt0.M70P.1
php5-mysql-5.3.27.20130711-alt0.M70P.1
php5-gd2-5.3.27.20130711-alt0.M70P.1
php5-dba-5.3.27.20130711-alt0.M70P.1
php5-mbstring-5.3.27.20130711-alt0.M70P.1
php5-curl-5.3.27.20130711-alt0.M70P.1
*php5-pdo-5.3.27.20130711-alt0.M70P.1
*php5-pdo_mysql-5.3.27.20130711-alt0.M70P.1
php5-dom-5.3.27.20130711-alt0.M70P.1
php5-ldap-5.3.27.20130711-alt0.M70P.1.1
php5-xsl-5.3.27.20130711-alt0.M70P.1
php5-mcrypt-5.3.27.20130711-alt0.M70P.1
php5-pgsql-5.3.27.20130711-alt0.M70P.1.2
php5-eaccelerator-0.9.6.1-alt10.5.3.27.20130711.alt0.M70P.1
*php5-pdo_sqlite-5.3.27.20130711-alt0.M70P.1

В файле /etc/php/5.3/apache2-mod_php/php.d/apc.ini до
запуска Apache изменил строку с
apc.shm_size=128M
на
apc.shm_size=8M

Прошу вашей помощи в решении проблемы запуска httpd2 в
связке с PHP.



             reply	other threads:[~2013-09-15  5:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-15  5:56 Kosserior [this message]
2013-09-28  8:54 ` Sergey
2013-09-28  9:40   ` Kosserior
2013-09-28 10:18     ` Sergey
2013-09-28 12:51       ` Kosserior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000001ceb1d8$4de15b70$e9a41250$@com' \
    --to=kosserior@gmail.com \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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