qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “” even though it was found.

For the Qt 6.5.0 release, the missing library was libxcb-cursor.so.0, resolved with sudo apt install libxcb-cursor0 With that, the sample widget and gui projects from QtCreator run correctly built with Qt 6.5.0. libxcb-cursor.so.0 wasn’t previously needed for Qt 6.4.0. I identified the missing library with this shell code for l in /path/to/Qt/6.5.0/gcc_64/lib/*.so; do echo $l; … Read more

How can systemd and systemctl be enabled and used in Ubuntu Docker containers? [closed]

This is by design. Docker should be running a process in the foreground in your container and it will be spawned as PID 1 within the container’s pid namespace. Docker is designed for process isolation, not for OS virtualization, so there are no other OS processes and daemons running inside the container (like systemd, cron, … Read more

How to set a global nofile limit to avoid “many open files” error?

Fixed this issue by setting the limits for all users in the file : $ cat /etc/security/limits.d/custom.conf * hard nofile 550000 * soft nofile 550000 REBOOT THE SERVER after setting the limits. VERY IMPORTANT: The /etc/security/limits.d/ folder contains user specific limits. In my case hadoop 2 (cloudera) related limits. These user specific limits would override … Read more

Docker image: Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found

As soon as you’ve setup the certificate in nginx, I see no sense enabling it in the asp.net core container as your docker network is going to be visible to public via nginx. To disable Kestrel Https listening just remove 443 port from the following code: – ASPNETCORE_URLS=https://+:443;http://+:80 Replace it with: – ASPNETCORE_URLS=http://+:80 With .NET … Read more

How to solve PostgreSQL pgAdmin error “Server instrumentation not installed” for adminpack?

For current versions of PostgreSQL and pgAdmin, the “Guru” dialog warning has a “Fix it!” button or command. Use it. If there’s no “Fix it!” then we can use the Unix command line as follows. This is for PostgreSQL 9.1. Older versions do it differently. PostgresSQL docs are here: download adminpacks 8.4. adminpack functions 9.1. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)