Category Archives: Проблемы и решения

Описания различных проблем и способы их решения

NGINX: PHP-FPM – “Primary script unknown”

01/04/2017
 

 Часто при настройке нового виртуалхоста вылазит ошибка вида: … 2016/12/14 15:50:51 [error] 24586#24586: *850363 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 194.***.***.45, server: shop.domain.org.ua, request: “GET /index.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/shop.domain.org.ua-php-fpm.sock:”, host: “shop.domain.org.ua” …

CentOS: yum Error Dependency Resolution – исключить пакет из репозитория

12/12/2016
 

 Во время обновления возникает ошибка: … Error: Package: dsniff-2.4-0.17.b1.el6.x86_64 (@epel) Requires: libnids.so.1.24()(64bit) Removing: libnids-1.24-1.el6.x86_64 (@epel) libnids.so.1.24()(64bit) Updated By: libnids-1.24-1.el6.rf.x86_64 (rpmforge) Not found You could try using –skip-broken to work around the problem You could try running: rpm -Va –nofiles –nodigest yum пытается найти пакет libnids-1.24-1.el6.rf.x86_64 в репозитории rpmforge, но найти не может, хотя пакет вроде… Read More »

Viber: This application failed to start because it could not find or load the Qt platform plugin “xcb”.

11/17/2016
 

 При запуске Viber на Ubuntu 14.04 – возникает сообщение об ошибке: $ /opt/viber/Viber This application failed to start because it could not find or load the Qt platform plugin “xcb”. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, wayland-egl, wayland, xcb. Reinstalling the application may fix this problem. Aborted (core dumped)

Ubuntu: PHP-FPM – Unknown instance

11/16/2016
 

 При рестарте PHP-FPM на Ubuntu – возникает ошибка: # service php5-fpm reload reload: Unknown instance: # service php5-fpm status php5-fpm stop/waiting Проверяем процессы php5-fpm: # ps aux | grep fpm www-data 40634 0.0 0.0 284284 5152 ? S Nov11 0:00 php-fpm: pool www www-data 40635 0.0 0.0 284284 5152 ? S Nov11 0:00 php-fpm: pool… Read More »

Azure: Verify that the certificate is valid and is associated with this subscription.

11/14/2016
 

 После azure login – следующая команда возвращает ошибку: $ azure site list info: Executing command site list + Getting locations error: The server failed to authenticate the request. Verify that the certificate is valid and is associated with this subscription. info: Error information has been recorded to /home/setevoy/.azure/azure.err error: site list command failed Ошибка вызвана… Read More »

Terraform: InvalidGroupId.Malformed: Invalid id

11/11/2016
 

 Обновление инфраструктуры с помощью Terraform упало с ошибкой: … Error applying plan: 1 error(s) occurred: * aws_security_group.api_ec2: Error authorizing security group ingress rules: InvalidGroupId.Malformed: Invalid id: “0” (expecting “sg-…”) status code: 400, request id: f761e22f-9773-413e-af57-a13632569604 …