"bxNetworkNode::ip_to_interface: Not found ip address on localhost"}fatal: [mydomain.com]: FAILED! => {"changed": "false", "failed": "true", "msg": "bxNetworkNode::ip_to_interface: Not found ip address on localhost"}to retry, use: --limit @/etc/ansible/monitor.retry
При выборе первого пункта Configure monitoring services, ничего не происходит, просто обновляется экран. И при выборе 0 пункта также не переходит назад в меню, снова экран просто обновляется.
Для Веб-антивируса оказывается есть собственное почтовое событие и в настройках Веб-антивируса можно поставить параметр - отправлять администратору оповещение о вирусе. К тому же в Журнале вторжений событий для Веб-антивируса создаются без даты события, их нельзя отфильтровать.
Получается остаются следующие события без почтового уведомления: SECURITY_FILTER_PHP, SECURITY_FILTER_SQL, SECURITY_FILTER_XSS, SECURITY_FILTER_XSS2, SECURITY_FILTER_REDIRECT.
Но в методе CEventLog::GetList в фильтре я не могу указать сразу массив типов событий? Или могу?
Сомнения по данному методу: 1. Он возвращает ВСЕ события не зависимо от типа и даты события. 2. Даже если фильтровать записи по типу и дате и вешать на агента с периодичностью 1 минута - есть подозрения, что это не кашерный способ реализации.
Администратор должен узнавать о попытке вторжения сразу.
При Проверке системы на вкладке "Работа корпоративного портала" выходит замечание "Отправка почтовых уведомлений" - "Функция работает частично неправильно, желательно устранить ошибки".
В рекомендациях написано:
Цитата
Если время отправки письма больше секунды, это может значительно затормозить работу сайта. Обратитесь к хостеру с просьбой настроить отложенную отправку почты (через спулер) или включите передачу почты (и работу агентов) через cron. Для этого в dbconn.php надо добавить константу:
define('BX_CRONTAB_SUPPORT', true);
Затем на cron добавьте ежеминутное выполнение скрипта php /var/www/bitrix/modules/main/tools/cron_events.php. (замените /var/www на свой путь к корню сайта).
Мне теперь в cron дополнительно нужно добавить скрипт /home/bitrix/www/bitrix/modules/main/tools/cron_events.php?
Вопрос: 1. Для файла cron_events.php нужно выставлять права на выполнение от пользователя bitrix chmod +x? 2. В настройках BitrixVm есть пункт https://dev.1c-bitrix.ru/learning/course/?COURSE_ID=37&LESSON_ID=8851&LESSON_PATH=39... значит cron уже работает, мне достаточно из консоли от имени пользователя bitrix добавить путь к файлу cron_events.php в крон через команду crontab -e ?
2018-05-06T04:59:34.997201Z 0 [Warning] Could not increase number of max_open_files to more than 5000 (request: 8234) 2018-05-06T04:59:34.997718Z 0 [Warning] Changed limits: table_open_cache: 2479 (requested 4096) 2018-05-06T04:59:35.290986Z 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not set. 2018-05-06T04:59:35.294503Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.21-20) starting as process 18487 ... 2018-05-06T04:59:35.307638Z 0 [Note] InnoDB: PUNCH HOLE support available 2018-05-06T04:59:35.307738Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2018-05-06T04:59:35.307756Z 0 [Note] InnoDB: Uses event mutexes 2018-05-06T04:59:35.307771Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier 2018-05-06T04:59:35.307786Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.7 2018-05-06T04:59:35.307801Z 0 [Note] InnoDB: Using Linux native AIO 2018-05-06T04:59:35.308310Z 0 [Note] InnoDB: Number of pools: 1 2018-05-06T04:59:35.308817Z 0 [Note] InnoDB: Using CPU crc32 instructions 2018-05-06T04:59:35.312820Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2018-05-06T04:59:35.323101Z 0 [Note] InnoDB: Completed initialization of buffer pool 2018-05-06T04:59:35.327305Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2018-05-06T04:59:35.342018Z 0 [Note] InnoDB: Recovering partial pages from the parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite 2018-05-06T04:59:35.349751Z 0 [Note] InnoDB: Highest supported file format is Barracuda. 2018-05-06T04:59:35.363682Z 0 [Note] InnoDB: Created parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite, size 3932160 bytes 2018-05-06T04:59:35.480908Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2018-05-06T04:59:35.480961Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2018-05-06T04:59:35.481053Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2018-05-06T04:59:35.495966Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2018-05-06T04:59:35.498618Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active. 2018-05-06T04:59:35.498720Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active. 2018-05-06T04:59:35.499358Z 0 [Note] InnoDB: Waiting for purge to start 2018-05-06T04:59:35.550008Z 0 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.7.21-20 started; log sequence number 454682292 2018-05-06T04:59:35.550447Z 0 [Note] Plugin 'FEDERATED' is disabled. 2018-05-06T04:59:35.558532Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2018-05-06T04:59:35.559483Z 0 [Note] InnoDB: Buffer pool(s) load completed at 180506 10:59:35 2018-05-06T04:59:35.571683Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them. 2018-05-06T04:59:35.571718Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory. 2018-05-06T04:59:35.573351Z 0 [Warning] CA certificate ca.pem is self signed. 2018-05-06T04:59:35.573468Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory. 2018-05-06T04:59:35.573785Z 0 [Note] Server hostname (bind-address): '*'; port: 3306 2018-05-06T04:59:35.573880Z 0 [Note] IPv6 is available. 2018-05-06T04:59:35.573911Z 0 [Note] - '::' resolves to '::'; 2018-05-06T04:59:35.573958Z 0 [Note] Server socket created on IP: '::'. 2018-05-06T04:59:35.575676Z 0 [ERROR] /usr/sbin/mysqld: Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28 - No space left on device) 2018-05-06T04:59:35.575716Z 0 [ERROR] Can't start server: can't create PID file: No space left on device 2018-05-06T04:59:35.990546Z 0 [Warning] Could not increase number of max_open_files to more than 5000 (request: 8234) 2018-05-06T04:59:35.990978Z 0 [Warning] Changed limits: table_open_cache: 2479 (requested 4096) 2018-05-06T04:59:36.274427Z 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not set. 2018-05-06T04:59:36.285737Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.21-20) starting as process 18535 ... 2018-05-06T04:59:36.298943Z 0 [Note] InnoDB: PUNCH HOLE support available 2018-05-06T04:59:36.299013Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2018-05-06T04:59:36.299030Z 0 [Note] InnoDB: Uses event mutexes 2018-05-06T04:59:36.299044Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier 2018-05-06T04:59:36.299059Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.7 2018-05-06T04:59:36.299073Z 0 [Note] InnoDB: Using Linux native AIO 2018-05-06T04:59:36.299600Z 0 [Note] InnoDB: Number of pools: 1 2018-05-06T04:59:36.300119Z 0 [Note] InnoDB: Using CPU crc32 instructions 2018-05-06T04:59:36.304106Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2018-05-06T04:59:36.314408Z 0 [Note] InnoDB: Completed initialization of buffer pool 2018-05-06T04:59:36.318555Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2018-05-06T04:59:36.333251Z 0 [Note] InnoDB: Recovering partial pages from the parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite 2018-05-06T04:59:36.340033Z 0 [Note] InnoDB: Highest supported file format is Barracuda. 2018-05-06T04:59:36.354489Z 0 [Note] InnoDB: Created parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite, size 3932160 bytes 2018-05-06T04:59:36.468721Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2018-05-06T04:59:36.468770Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2018-05-06T04:59:36.468861Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2018-05-06T04:59:36.482935Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2018-05-06T04:59:36.485859Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active. 2018-05-06T04:59:36.485896Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active. 2018-05-06T04:59:36.486422Z 0 [Note] InnoDB: Waiting for purge to start 2018-05-06T04:59:36.537177Z 0 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.7.21-20 started; log sequence number 454682292 2018-05-06T04:59:36.537628Z 0 [Note] Plugin 'FEDERATED' is disabled. 2018-05-06T04:59:36.545889Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2018-05-06T04:59:36.547053Z 0 [Note] InnoDB: Buffer pool(s) load completed at 180506 10:59:36 2018-05-06T04:59:36.558037Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them. 2018-05-06T04:59:36.558072Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory. 2018-05-06T04:59:36.559725Z 0 [Warning] CA certificate ca.pem is self signed. 2018-05-06T04:59:36.559846Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory. 2018-05-06T04:59:36.560113Z 0 [Note] Server hostname (bind-address): '*'; port: 3306 2018-05-06T04:59:36.560203Z 0 [Note] IPv6 is available. 2018-05-06T04:59:36.560234Z 0 [Note] - '::' resolves to '::'; 2018-05-06T04:59:36.560280Z 0 [Note] Server socket created on IP: '::'. 2018-05-06T04:59:36.563577Z 0 [ERROR] /usr/sbin/mysqld: Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28 - No space left on device) 2018-05-06T04:59:36.563614Z 0 [ERROR] Can't start server: can't create PID file: No space left on device 2018-05-06T04:59:56.206316Z 0 [Warning] Could not increase number of max_open_files to more than 5000 (request: 8234) 2018-05-06T04:59:56.206752Z 0 [Warning] Changed limits: table_open_cache: 2479 (requested 4096) 2018-05-06T04:59:56.479768Z 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not set. 2018-05-06T04:59:56.483193Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.21-20) starting as process 18603 ... 2018-05-06T04:59:56.496411Z 0 [Note] InnoDB: PUNCH HOLE support available 2018-05-06T04:59:56.496481Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2018-05-06T04:59:56.496514Z 0 [Note] InnoDB: Uses event mutexes 2018-05-06T04:59:56.496530Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier 2018-05-06T04:59:56.496545Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.7 2018-05-06T04:59:56.496560Z 0 [Note] InnoDB: Using Linux native AIO 2018-05-06T04:59:56.497102Z 0 [Note] InnoDB: Number of pools: 1 2018-05-06T04:59:56.497569Z 0 [Note] InnoDB: Using CPU crc32 instructions 2018-05-06T04:59:56.501362Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2018-05-06T04:59:56.519728Z 0 [Note] InnoDB: Completed initialization of buffer pool 2018-05-06T04:59:56.524169Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2018-05-06T04:59:56.538937Z 0 [Note] InnoDB: Recovering partial pages from the parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite 2018-05-06T04:59:56.545842Z 0 [Note] InnoDB: Highest supported file format is Barracuda. 2018-05-06T04:59:56.561111Z 0 [Note] InnoDB: Created parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite, size 3932160 bytes 2018-05-06T04:59:56.691313Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2018-05-06T04:59:56.691361Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2018-05-06T04:59:56.691449Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2018-05-06T04:59:56.703855Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2018-05-06T04:59:56.706502Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active. 2018-05-06T04:59:56.706538Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active. 2018-05-06T04:59:56.707120Z 0 [Note] InnoDB: Waiting for purge to start 2018-05-06T04:59:56.757540Z 0 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.7.21-20 started; log sequence number 454682292 2018-05-06T04:59:56.758009Z 0 [Note] Plugin 'FEDERATED' is disabled. 2018-05-06T04:59:56.766390Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2018-05-06T04:59:56.770143Z 0 [Note] InnoDB: Buffer pool(s) load completed at 180506 10:59:56 2018-05-06T04:59:56.777381Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them. 2018-05-06T04:59:56.777417Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory. 2018-05-06T04:59:56.779098Z 0 [Warning] CA certificate ca.pem is self signed. 2018-05-06T04:59:56.779215Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory. 2018-05-06T04:59:56.779484Z 0 [Note] Server hostname (bind-address): '*'; port: 3306 2018-05-06T04:59:56.779575Z 0 [Note] IPv6 is available. 2018-05-06T04:59:56.779606Z 0 [Note] - '::' resolves to '::'; 2018-05-06T04:59:56.779679Z 0 [Note] Server socket created on IP: '::'. 2018-05-06T04:59:56.781274Z 0 [ERROR] /usr/sbin/mysqld: Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28 - No space left on device) 2018-05-06T04:59:56.781311Z 0 [ERROR] Can't start server: can't create PID file: No space left on device 2018-05-06T04:59:57.240618Z 0 [Warning] Could not increase number of max_open_files to more than 5000 (request: 8234) 2018-05-06T04:59:57.241052Z 0 [Warning] Changed limits: table_open_cache: 2479 (requested 4096) 2018-05-06T04:59:57.518960Z 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not set. 2018-05-06T04:59:57.522356Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.21-20) starting as process 18650 ... 2018-05-06T04:59:57.535933Z 0 [Note] InnoDB: PUNCH HOLE support available 2018-05-06T04:59:57.536001Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2018-05-06T04:59:57.536017Z 0 [Note] InnoDB: Uses event mutexes 2018-05-06T04:59:57.536032Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier 2018-05-06T04:59:57.536046Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.7 2018-05-06T04:59:57.536079Z 0 [Note] InnoDB: Using Linux native AIO 2018-05-06T04:59:57.536598Z 0 [Note] InnoDB: Number of pools: 1 2018-05-06T04:59:57.537152Z 0 [Note] InnoDB: Using CPU crc32 instructions 2018-05-06T04:59:57.541220Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2018-05-06T04:59:57.559429Z 0 [Note] InnoDB: Completed initialization of buffer pool 2018-05-06T04:59:57.563662Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2018-05-06T04:59:57.578332Z 0 [Note] InnoDB: Recovering partial pages from the parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite 2018-05-06T04:59:57.585791Z 0 [Note] InnoDB: Highest supported file format is Barracuda. 2018-05-06T04:59:57.599395Z 0 [Note] InnoDB: Created parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite, size 3932160 bytes 2018-05-06T04:59:57.716935Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2018-05-06T04:59:57.716982Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2018-05-06T04:59:57.717070Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2018-05-06T04:59:57.732605Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2018-05-06T04:59:57.735277Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active. 2018-05-06T04:59:57.735312Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active. 2018-05-06T04:59:57.735894Z 0 [Note] InnoDB: Waiting for purge to start 2018-05-06T04:59:57.786341Z 0 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.7.21-20 started; log sequence number 454682292 2018-05-06T04:59:57.786807Z 0 [Note] Plugin 'FEDERATED' is disabled. 2018-05-06T04:59:57.794966Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2018-05-06T04:59:57.796121Z 0 [Note] InnoDB: Buffer pool(s) load completed at 180506 10:59:57 2018-05-06T04:59:57.807459Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them. 2018-05-06T04:59:57.807494Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory. 2018-05-06T04:59:57.809158Z 0 [Warning] CA certificate ca.pem is self signed. 2018-05-06T04:59:57.809275Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory. 2018-05-06T04:59:57.809539Z 0 [Note] Server hostname (bind-address): '*'; port: 3306 2018-05-06T04:59:57.809626Z 0 [Note] IPv6 is available. 2018-05-06T04:59:57.809683Z 0 [Note] - '::' resolves to '::'; 2018-05-06T04:59:57.809739Z 0 [Note] Server socket created on IP: '::'. 2018-05-06T04:59:57.818413Z 0 [ERROR] /usr/sbin/mysqld: Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28 - No space left on device) 2018-05-06T04:59:57.818450Z 0 [ERROR] Can't start server: can't create PID file: No space left on device 2018-05-06T04:59:58.249952Z 0 [Warning] Could not increase number of max_open_files to more than 5000 (request: 8234) 2018-05-06T04:59:58.250357Z 0 [Warning] Changed limits: table_open_cache: 2479 (requested 4096) 2018-05-06T04:59:58.535683Z 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not set. 2018-05-06T04:59:58.539104Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.21-20) starting as process 18698 ... 2018-05-06T04:59:58.552948Z 0 [Note] InnoDB: PUNCH HOLE support available 2018-05-06T04:59:58.553017Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2018-05-06T04:59:58.553035Z 0 [Note] InnoDB: Uses event mutexes 2018-05-06T04:59:58.553050Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier 2018-05-06T04:59:58.553065Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.7 2018-05-06T04:59:58.553079Z 0 [Note] InnoDB: Using Linux native AIO 2018-05-06T04:59:58.553604Z 0 [Note] InnoDB: Number of pools: 1 2018-05-06T04:59:58.554095Z 0 [Note] InnoDB: Using CPU crc32 instructions 2018-05-06T04:59:58.558246Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2018-05-06T04:59:58.568520Z 0 [Note] InnoDB: Completed initialization of buffer pool 2018-05-06T04:59:58.572842Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2018-05-06T04:59:58.587519Z 0 [Note] InnoDB: Recovering partial pages from the parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite 2018-05-06T04:59:58.600055Z 0 [Note] InnoDB: Highest supported file format is Barracuda. 2018-05-06T04:59:58.614879Z 0 [Note] InnoDB: Created parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite, size 3932160 bytes 2018-05-06T04:59:58.727950Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2018-05-06T04:59:58.728000Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2018-05-06T04:59:58.728088Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2018-05-06T04:59:58.741357Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2018-05-06T04:59:58.744272Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active. 2018-05-06T04:59:58.744309Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active. 2018-05-06T04:59:58.744890Z 0 [Note] InnoDB: Waiting for purge to start 2018-05-06T04:59:58.796038Z 0 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.7.21-20 started; log sequence number 454682292 2018-05-06T04:59:58.796483Z 0 [Note] Plugin 'FEDERATED' is disabled. 2018-05-06T04:59:58.805841Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2018-05-06T04:59:58.806860Z 0 [Note] InnoDB: Buffer pool(s) load completed at 180506 10:59:58 2018-05-06T04:59:58.818412Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them. 2018-05-06T04:59:58.818452Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory. 2018-05-06T04:59:58.820136Z 0 [Warning] CA certificate ca.pem is self signed. 2018-05-06T04:59:58.820252Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory. 2018-05-06T04:59:58.820522Z 0 [Note] Server hostname (bind-address): '*'; port: 3306 2018-05-06T04:59:58.820614Z 0 [Note] IPv6 is available. 2018-05-06T04:59:58.820669Z 0 [Note] - '::' resolves to '::'; 2018-05-06T04:59:58.820812Z 0 [Note] Server socket created on IP: '::'. 2018-05-06T04:59:58.822395Z 0 [ERROR] /usr/sbin/mysqld: Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28 - No space left on device) 2018-05-06T04:59:58.822431Z 0 [ERROR] Can't start server: can't create PID file: No space left on device 2018-05-06T04:59:59.244425Z 0 [Warning] Could not increase number of max_open_files to more than 5000 (request: 8234) 2018-05-06T04:59:59.244862Z 0 [Warning] Changed limits: table_open_cache: 2479 (requested 4096) 2018-05-06T04:59:59.527090Z 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not set. 2018-05-06T04:59:59.530516Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.21-20) starting as process 18746 ... 2018-05-06T04:59:59.544170Z 0 [Note] InnoDB: PUNCH HOLE support available 2018-05-06T04:59:59.544235Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2018-05-06T04:59:59.544257Z 0 [Note] InnoDB: Uses event mutexes 2018-05-06T04:59:59.544272Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier 2018-05-06T04:59:59.544287Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.7 2018-05-06T04:59:59.544301Z 0 [Note] InnoDB: Using Linux native AIO 2018-05-06T04:59:59.544856Z 0 [Note] InnoDB: Number of pools: 1 2018-05-06T04:59:59.545360Z 0 [Note] InnoDB: Using CPU crc32 instructions 2018-05-06T04:59:59.549399Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2018-05-06T04:59:59.560140Z 0 [Note] InnoDB: Completed initialization of buffer pool 2018-05-06T04:59:59.570399Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2018-05-06T04:59:59.578892Z 0 [Note] InnoDB: Recovering partial pages from the parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite 2018-05-06T04:59:59.586099Z 0 [Note] InnoDB: Highest supported file format is Barracuda. 2018-05-06T04:59:59.600747Z 0 [Note] InnoDB: Created parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite, size 3932160 bytes 2018-05-06T04:59:59.747245Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2018-05-06T04:59:59.747285Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2018-05-06T04:59:59.747370Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2018-05-06T04:59:59.763729Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2018-05-06T04:59:59.773421Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active. 2018-05-06T04:59:59.773456Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active. 2018-05-06T04:59:59.774046Z 0 [Note] InnoDB: Waiting for purge to start 2018-05-06T04:59:59.824532Z 0 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.7.21-20 started; log sequence number 454682292 2018-05-06T04:59:59.825009Z 0 [Note] Plugin 'FEDERATED' is disabled. 2018-05-06T04:59:59.833056Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2018-05-06T04:59:59.833884Z 0 [Note] InnoDB: Buffer pool(s) load completed at 180506 10:59:59 2018-05-06T04:59:59.844448Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them. 2018-05-06T04:59:59.844483Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory. 2018-05-06T04:59:59.846147Z 0 [Warning] CA certificate ca.pem is self signed. 2018-05-06T04:59:59.846266Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory. 2018-05-06T04:59:59.846530Z 0 [Note] Server hostname (bind-address): '*'; port: 3306 2018-05-06T04:59:59.846622Z 0 [Note] IPv6 is available. 2018-05-06T04:59:59.846678Z 0 [Note] - '::' resolves to '::'; 2018-05-06T04:59:59.846732Z 0 [Note] Server socket created on IP: '::'. 2018-05-06T04:59:59.848221Z 0 [ERROR] /usr/sbin/mysqld: Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28 - No space left on device) 2018-05-06T04:59:59.848257Z 0 [ERROR] Can't start server: can't create PID file: No space left on device 2018-05-06T05:00:00.238952Z 0 [Warning] Could not increase number of max_open_files to more than 5000 (request: 8234) 2018-05-06T05:00:00.239364Z 0 [Warning] Changed limits: table_open_cache: 2479 (requested 4096) 2018-05-06T05:00:00.517928Z 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not set. 2018-05-06T05:00:00.521314Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.21-20) starting as process 18794 ... 2018-05-06T05:00:00.534098Z 0 [Note] InnoDB: PUNCH HOLE support available 2018-05-06T05:00:00.534165Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2018-05-06T05:00:00.534182Z 0 [Note] InnoDB: Uses event mutexes 2018-05-06T05:00:00.534196Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier 2018-05-06T05:00:00.534216Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.7 2018-05-06T05:00:00.534231Z 0 [Note] InnoDB: Using Linux native AIO 2018-05-06T05:00:00.534773Z 0 [Note] InnoDB: Number of pools: 1 2018-05-06T05:00:00.535212Z 0 [Note] InnoDB: Using CPU crc32 instructions 2018-05-06T05:00:00.539164Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2018-05-06T05:00:00.549770Z 0 [Note] InnoDB: Completed initialization of buffer pool 2018-05-06T05:00:00.553974Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2018-05-06T05:00:00.568512Z 0 [Note] InnoDB: Recovering partial pages from the parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite 2018-05-06T05:00:00.576096Z 0 [Note] InnoDB: Highest supported file format is Barracuda. 2018-05-06T05:00:00.589964Z 0 [Note] InnoDB: Created parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite, size 3932160 bytes 2018-05-06T05:00:00.701567Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2018-05-06T05:00:00.701605Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2018-05-06T05:00:00.701723Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2018-05-06T05:00:00.715098Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2018-05-06T05:00:00.717787Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active. 2018-05-06T05:00:00.717822Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active. 2018-05-06T05:00:00.718343Z 0 [Note] InnoDB: Waiting for purge to start 2018-05-06T05:00:00.768929Z 0 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.7.21-20 started; log sequence number 454682292 2018-05-06T05:00:00.769376Z 0 [Note] Plugin 'FEDERATED' is disabled. 2018-05-06T05:00:00.777517Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2018-05-06T05:00:00.778342Z 0 [Note] InnoDB: Buffer pool(s) load completed at 180506 11:00:00 2018-05-06T05:00:00.788923Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them. 2018-05-06T05:00:00.788958Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory. 2018-05-06T05:00:00.790759Z 0 [Warning] CA certificate ca.pem is self signed. 2018-05-06T05:00:00.790880Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory. 2018-05-06T05:00:00.791148Z 0 [Note] Server hostname (bind-address): '*'; port: 3306 2018-05-06T05:00:00.791241Z 0 [Note] IPv6 is available. 2018-05-06T05:00:00.791272Z 0 [Note] - '::' resolves to '::'; 2018-05-06T05:00:00.791318Z 0 [Note] Server socket created on IP: '::'. 2018-05-06T05:00:00.792646Z 0 [ERROR] /usr/sbin/mysqld: Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28 - No space left on device) 2018-05-06T05:00:00.792719Z 0 [ERROR] Can't start server: can't create PID file: No space left on device
Поделитесь секретами работы Phpstrom при использовании BitrixVM.
Особенно интересует момент когда в публичной части я копирую шаблон компонента в свой шаблон сайта. Но в phpstrom изменений нет, приходится или синхронизировать или вообще всю папку ../components/bitrix скачивать заново. Здорово задерживает по времени.
Стоит задача вывести все торговые предложения в виде списка на детальной странице товара.
В принципе все свойства, цену и ссылку на добавление в Корзину я получаю из $arResult['OFFERS'] в шаблоне catalog.element.
Вижу и поле "Доступное количество", но значение его не меняется при оформлении новых заказов. Откуда мне получить не просто изначальное значение остатков SKU $arResult['OFFERS'][0]['CATALOG_QUANTITY'], а актуальное на данный момент времени? (Складов нет, интеграции с 1С нет)
Сделал: 1) Просто переименовал файлы .key и .crt в domain.com.key.pem и domain_com..cert.pem соответственно. 2) Цепочку сертификатов создал из файлов COMODORSAAddTrustCA.crt COMODORSADomainValidationSecureServerCA.crt AddTrustExternalCARoot.crt > domain.com.ca-chain.cert.pem (https://support.comodo.com/index.php?/Knowledgebase/Article/View/1145/1/how-do-i-make-my-own-bundle-...) 2) В меню виртуальной машины указал пути к файлам, задача в итоге завершилась успешно.
Результат: 1) В браузере строка зеленая. 2) Проверка sslshopper.com ругается на цепочку сертификатов
The certificate is not trusted in all web browsers. You may need to install an Intermediate/chain certificate to link it to a trusted root certificate. Learn more about this error. You can fix this by following Comodo's Certificate Installation Instructions for your server platform (use these instructions for InstantSSL). Pay attention to the parts about Intermediate certificates.
The certificate, private key, and certificate chain must all be PEM-encoded
/ssl/test1.bx.key.pem
/ssl/test1.bx.cert.pem
/ssl/test1.bx.ca-chain.cert.pem
Требования по установке собственного SSL-сертификата для BitrixVM 7.2.2 гласят:
Код
The certificate, private key, and certificate chain must all be PEM-encoded
/ssl/test1.bx.key.pem
/ssl/test1.bx.cert.pem
/ssl/test1.bx.ca-chain.cert.pem
Процесс завис на этапе когда была "чистка", что-то вроде Cleanup complete. Появилась 502 ошибка на сайте, apache не перезапускался. Я перезагрузил весь сервер.
Есть 3 свойства типа список. Вид в умном фильтре - выпадающий список.
При выборе какого-либо значения из первого выпадающего списка, во втором выпадающем списке активными остаются только некоторые значения соответ. выбранному значению из первого списка. При выборе значения во втором списке так же происходит и в третьем списке. Здесь все хорошо. Фильтр отработал хорошо.
Но если я изменю выбор (значение) из первого списка, то втором и третьем списке значения не меняются, а остаются как при первой фильтрации. Нужно нажимать кнопку Сбросить.
Как настроить фильтр на сброс всех выпадающих списков на значение "Все" при изменении первого списка?