cetim 16 Posted 2015-06-16 13:55:34 Share Posted 2015-06-16 13:55:34 Здравствуйте. Проявилась проблема при редактировании свичей : Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 35 bytes) in /usr/local/www/apache24/data/billing/api/libs/api.ymaps.php on line Редактирование происходит с карты . Как решить ? Link to post Share on other sites
nightfly 1,252 Posted 2015-06-16 13:58:16 Share Posted 2015-06-16 13:58:16 (edited) У этого свитча есть дочки-матери? P.S. в какой строке лажа, предполагается, что я должен поугадывать, да? Edited 2015-06-16 14:01:23 by nightfly Link to post Share on other sites
cetim 16 Posted 2015-06-16 14:03:11 Author Share Posted 2015-06-16 14:03:11 Это конечный свитч. Link to post Share on other sites
nightfly 1,252 Posted 2015-06-16 16:39:53 Share Posted 2015-06-16 16:39:53 Вы из принципа читаете и реагируете, только на избранные фразы? Ок. Повторюсь. 1. "api.ymaps.php on line" <- вот тут циферка должна быть, не находите? 2. родительский свитч для него установлен? Link to post Share on other sites
cetim 16 Posted 2015-06-16 22:41:48 Author Share Posted 2015-06-16 22:41:48 Не много ошибся с копированием ошибки. Ошибка in line 808. Родительский свитч задан. Link to post Share on other sites
foreverok 95 Posted 2015-06-16 22:52:28 Share Posted 2015-06-16 22:52:28 (edited) php не 5.3 случайно на сервере установлен? Обычно такая ошибка вылазит когда на сервере используется php 5.3 и модули Zend и APC. Отключение APC помогает. Edited 2015-06-16 23:02:33 by foreverok Link to post Share on other sites
cetim 16 Posted 2015-06-16 23:10:42 Author Share Posted 2015-06-16 23:10:42 Устанавливал инсталятором. Zend и APC не ставил Link to post Share on other sites
foreverok 95 Posted 2015-06-16 23:16:21 Share Posted 2015-06-16 23:16:21 Я не знаю что там за инсталятор. Выполните на сервере: php -v и php -m ну и результат покажите. Link to post Share on other sites
cetim 16 Posted 2015-06-16 23:21:26 Author Share Posted 2015-06-16 23:21:26 Это уже утром сделаю. Link to post Share on other sites
nightfly 1,252 Posted 2015-06-16 23:46:43 Share Posted 2015-06-16 23:46:43 php не 5.3 случайно на сервере установлен? Обычно такая ошибка вылазит когда на сервере используется php 5.3 и модули Zend и APC. Отключение APC помогает. Вы в принципе не в теме молодой человек. Иногда лучше жевать, чем говорить Не много ошибся с копированием ошибки. Ошибка in line 808. Родительский свитч задан. Во-о-о-от. Чего и просил. Короче судя по всему, там подтекает память, при попытке отслеживания пути снизу вверх, при каком-то убитом промежуточном свитче. Вам нужно: убрать с этого свитча дочерних, а потом родительский. Если это не получается сделать штатными средствами - придется сделать что-то типа UPDATE `switches` set `parentid`=NULL WHERE `parentid`=айди_проблемного_свитча UPDATE `switches` set `parentid`=NULL WHERE `id`=айди_проблемного_свитча Штатная механика для замены свитчей, уже давно запланирована на 0.6.8. Link to post Share on other sites
cetim 16 Posted 2015-06-17 01:34:19 Author Share Posted 2015-06-17 01:34:19 Спасибо попробую Link to post Share on other sites
Demid 2 Posted 2015-07-12 18:20:05 Share Posted 2015-07-12 18:20:05 /index.php?module=jobreport Notice: Undefined index: 3 in /usr/local/www/apache24/data/billing/api/libs/api.teskman.php on line 515 Notice: Undefined index: 3 in /usr/local/www/apache24/data/billing/api/libs/api.teskman.php on line 515 Notice: Undefined index: 1 in /usr/local/www/apache24/data/billing/api/libs/api.teskman.php on line 515 Notice: Undefined index: 3 in /usr/local/www/apache24/data/billing/api/libs/api.teskman.php on line 515 Notice: Undefined index: 1 in /usr/local/www/apache24/data/billing/api/libs/api.teskman.php on line 515 Link to post Share on other sites
cetim 16 Posted 2015-09-05 09:29:12 Author Share Posted 2015-09-05 09:29:12 Добрый день. После недавнего обновления стала появляться ошибка pid 5684 (httpd), uid 80: exited on signal 11 (core dumped) pid разный После чего WEB страница биллинга становится не доступной. Ошибка появляется через некоторое время после старта сервера (10-15 мин). При проверке Apache из "состояния системы биллинга" отсутствует много расширений. Link to post Share on other sites
cetim 16 Posted 2015-09-05 09:30:37 Author Share Posted 2015-09-05 09:30:37 При рестарте Апача выдает следующее: root@ubilling:/usr/home/ubilling # /usr/local/sbin/apachectl restart Performing sanity check on apache24 configuration: AH00557: httpd: apr_sockaddr_info_get() failed for ubilling AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message Syntax OK apache24 not running? (check /var/run/httpd.pid). Performing sanity check on apache24 configuration: AH00557: httpd: apr_sockaddr_info_get() failed for ubilling AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message Syntax OK Starting apache24. AH00557: httpd: apr_sockaddr_info_get() failed for ubilling AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message (48)Address already in use: AH00072: make_sock: could not bind to address 0.0.0. 0:80 no listening sockets available, shutting down AH00015: Unable to open logs /usr/local/etc/rc.d/apache24: WARNING: failed to start apache24 Link to post Share on other sites
cetim 16 Posted 2015-09-05 12:30:59 Author Share Posted 2015-09-05 12:30:59 Нужна помощь Link to post Share on other sites
cetim 16 Posted 2015-09-05 13:05:25 Author Share Posted 2015-09-05 13:05:25 При перезапуске Апача вылетает следующая ошибка AH00557: httpd: apr_sockaddr_info_get() failed for ubilling Link to post Share on other sites
l1ght 377 Posted 2015-09-05 13:15:40 Share Posted 2015-09-05 13:15:40 у вас там интерфейсы что-ле отвалились? что оно не может забиндится на адрес? ну так по идее забиндилось бы на 127.0.0.1 что вы с системой такого делали? Link to post Share on other sites
cetim 16 Posted 2015-09-05 13:27:41 Author Share Posted 2015-09-05 13:27:41 Обновил ночью в пятницу ubilling без ошибок а днем такая неприятность :-) При рестарте запускается вебка мин на 10 , а потом pid xxxx (httpd), uid 0: exited on signal 6 (core dumped) Link to post Share on other sites
cetim 16 Posted 2015-09-05 13:30:06 Author Share Posted 2015-09-05 13:30:06 И сыпется в логи Limited closed port rst response xxx to xxx packets/sec Link to post Share on other sites
cetim 16 Posted 2015-09-05 13:41:24 Author Share Posted 2015-09-05 13:41:24 Ау спецы Link to post Share on other sites
Endr93 0 Posted 2015-12-26 19:58:56 Share Posted 2015-12-26 19:58:56 привет, ошибка появилась, высвечивается в профиле юзера, ошибка... Notice: Undefined index: VLAN_ONLINE_IN_PROFILE in /usr/local/www/apache24/data/billing/api/libs/api.userprofile.php on line 770 что может быть? Link to post Share on other sites
nightfly 1,252 Posted 2015-12-26 20:29:55 Share Posted 2015-12-26 20:29:55 Notice: Undefined index: VLAN_ONLINE_IN_PROFILE что может быть? И какая из этих букв вам не понятна? http://wiki.ubilling.net.ua/doku.php?id=relnotes Link to post Share on other sites
Endr93 0 Posted 2015-12-27 11:37:02 Share Posted 2015-12-27 11:37:02 Notice: Undefined index: VLAN_ONLINE_IN_PROFILE что может быть? И какая из этих букв вам не понятна? http://wiki.ubilling.net.ua/doku.php?id=relnotes да, оказало все просто, обновились перепрыгнув, не добавив доп строки перепрыгнутой версии Link to post Share on other sites
AleksNet 0 Posted 2022-02-04 18:07:00 Share Posted 2022-02-04 18:07:00 (edited) Зашел сегодня в "Модели оборудования", обратил внимание, что вывалились уведомления: "Notice: Trying to access array offset on value of type bool in /usr/local/www/apache24/data/billing/api/libs/api.switches.php on line 73 Notice: Trying to access array offset on value of type null in /usr/local/www/apache24/data/billing/api/libs/api.switches.php on line 73 " Еще при опросе OLT по snmp, выдает: "Notice: Undefined index: FDB in /usr/local/www/apache24/data/billing/api/libs/api.swpoll.php on line 1028" Подскажите, как можно исправить? P.S. php -v PHP 7.4.25 (cli) (built: Nov 4 2021 01:38:03) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.25, Copyright (c), by Zend Technologies php -m [PHP Modules] bcmath Core ctype curl date dom filter ftp gd hash iconv igbinary imap json libxml mbstring memcached mysqli mysqlnd openssl pcre PDO pdo_sqlite Phar posix redis Reflection session SimpleXML snmp soap sockets SPL sqlite3 standard tokenizer xml xmlreader xmlwriter Zend OPcache zip zlib [Zend Modules] Zend OPcache Edited 2022-02-04 18:36:01 by AleksNet Link to post Share on other sites
nightfly 1,252 Posted 2022-02-05 11:14:23 Share Posted 2022-02-05 11:14:23 17 часов назад, AleksNet сказав: "Notice: Trying to access array offset on value of type bool in /usr/local/www/apache24/data/billing/api/libs/api.switches.php on line 73 Как вы это сделали? Оо Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now