ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Шенцев Алексей" <lex.shen@yandex.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] zoneminder 1.30 & p8
Date: Thu, 26 Oct 2017 14:46:28 +0300
Message-ID: <c22fbe21-e8e5-785b-852c-4ba5d0ee1d0b@yandex.ru> (raw)
In-Reply-To: <9a3f373a-6df5-61f4-f7bd-1294b51d44fa@yandex.ru>

26.10.2017 14:28, Шенцев Алексей пишет:
> 26.10.2017 13:45, Алексей Шенцев пишет:
>> веб-морда zm заработала.
>> Правда валит мне в логи такое:
>>
>> ERR [Cannot write to content dirs('events','images').
>>
>
> Прописал в опциях в разделе пути:
>
> /var/zoneminder/events
> /var/zoneminder/images
>
> Права и так стоят нужные:
>
> [root@zm /]# ls -l /var/zoneminder
> итого 12
> drwxr-xr-x 2 apache _webserver 4096 окт 25 12:21 events
> drwxr-xr-x 2 apache _webserver 4096 окт 25 12:21 images
> drwxr-xr-x 2 apache _webserver 4096 окт 25 12:21 temp
> [root@zm /]# ls -ld /var/zoneminder
> drwxr-xr-x 5 apache _webserver 4096 окт 25 15:13 /var/zoneminder
> [root@zm /]#
>
> Всё равно ругань:
>
> ERR [Cannot write to content 
> dirs('/var/zoneminder/events','/var/zoneminder/images')


С этим понятно:

chmod -R 0774 /var/zoneminder

nginx у нас стартует от имени apache

httpd2 от имени apache2

Соотвественно:

cat /etc/tmpfiles.d/zoneminder.conf

d /var/run/zm 0775 apache _webserver -
d /var/lock/subsys/zm 2775  apache _webserver -
d /var/lib/zoneminder 0775 apache _webserver -
d /var/zoneminder 0774  apache _webserver -




  parent reply	other threads:[~2017-10-26 11:46 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-26  7:38 Алексей Шенцев
2017-10-26  7:47 ` Alexey Shabalin
2017-10-26  8:01   ` Алексей Шенцев
2017-10-26  8:07     ` Alexey Shabalin
2017-10-26  8:28       ` Алексей Шенцев
2017-10-26  8:17     ` Anton Farygin
2017-10-26  8:27       ` Алексей Шенцев
2017-10-26  9:02           ` Алексей Шенцев
2017-10-26  9:05             ` Anton Farygin
2017-10-26  9:07               ` Anton Farygin
2017-10-26  9:28                 ` Алексей Шенцев
2017-10-26  9:30                   ` Anton Farygin
2017-10-26  9:36                     ` Алексей Шенцев
2017-10-26 10:21                       ` Anton Farygin
2017-10-26 10:45                         ` Алексей Шенцев
2017-10-26 10:46                           ` Anton Farygin
2017-10-26 11:28                           ` Шенцев Алексей
2017-10-26 11:44                             ` Anton Farygin
2017-10-26 11:46                             ` Шенцев Алексей [this message]
2017-10-26 12:20                               ` Шенцев Алексей
2017-10-26  9:11             ` Alexei Takaseev
2017-10-26  9:23               ` Алексей Шенцев
2017-10-26  9:29                 ` Anton Farygin
2017-10-26  9:38                   ` Алексей Шенцев
2017-10-26  9:56                   ` Алексей Шенцев
2017-10-26 10:22                     ` Anton Farygin
2017-10-26 12:29 ` Шенцев Алексей
2017-10-26 12:32   ` Anton Farygin
2017-10-26 12:50     ` Шенцев Алексей
2017-10-26 13:06       ` Anton Farygin
2017-10-27  9:19         ` Шенцев Алексей
2017-10-27 10:56           ` [sisyphus] zoneminder 1.30.4 Шенцев Алексей
2017-10-27 18:46             ` Lex Shen

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=c22fbe21-e8e5-785b-852c-4ba5d0ee1d0b@yandex.ru \
    --to=lex.shen@yandex.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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