covid 19 – Travelling to Dubai from Berlin with a connection in Amsterdam – do I need a PCR test?

I read the emirates travel guide and it says that passengers arriving from Germany do not need to take the PCR before travel.

I am travelling from Germany but I have connection in Amsterdam with a 1 hour 15 minute layover.

Does this mean I have to take the test?

I could save 60 Euros if I don’t have to.

sql server – Lost of heartbeat and connection with secondary replica

Virtual Enviroment description:

  • WSFC composed by two nodes with Windows server 2016 Standard

  • SQL Server AlwaysOn with synchronous replica and automatic failover

  • SQL Server 2014 (SP3-CU2) 12.0.6214.1

  • Following the cluster thresholds:
    CrossSubnetDelay : 4000
    CrossSubnetThreshold : 40
    PlumbAllCrossSubnetRoutes : 0
    SameSubnetDelay : 2000
    SameSubnetThreshold : 20

  • AG properties:
    LeaseTimeout: 20000
    FailureConditionLevel: 3
    HealthCheckTimeout: 30000
    VerboseLogging: 0


RHS.exe process on primary node lost heartbeat with availability group and it initiated the failover. Immediately after the lost of heartbeat, primary node loses the connection with the secondary node and automatic failover fail. Shortly after, hearbeat with primary node works again and primary node takes over the resources again.

Log Details

In chronological order:

  1. Primary node randomly shows signs of disconnection with the secondary replica already in the days leading up to failover:
    ...AlwaysOn Availability Groups connection with secondary database terminated for primary database 'nameofDB'..
  2. The primary node storage randomly shows signs of distress already in the days leading up to failover and just before failover:
    ...Long Sync IO: ... IOs in nonpreemptive mode longer than 1000ms
    FlushCache cleaned up 146070 bufs with 20273 writes in 80387ms...
    SQL Server has encountered 4 occourence(s) of I/O request taking longer than 15 seconds to complete...
  3. RHS.exe lost heartbeat with AG and WSFC send failover request to AG:
    (hadrag) Failure detected, diagnostics heartbeat is lost
    The local replica of availability group ... is preparing to transition to the resolving role..
  4. Shortly after the failover request, the primary replica loses connection with the secondary:
    ...AlwaysOn Availability Groups connection with secondary database terminated for primary database 'nameofDB'..
  5. The listener stops working and there is a checkpoint failure on a specific database:
    One or more recovery units belonging to database .. failed to generate a checkpoint
  6. Eleven seconds after the attempted failover, heartbeat works again and primary replica
    takes over the resources


Million dollar questions:

  1. why heartbeat was lost?
  2. why connection with secondary replica was lost ?
  3. Any workaround ? increase lease timeout, performance of storage or RAM and CPU can help?

I understand that it is difficult to answer but it can help to only have a strategy or hypotheses that can help me find the problem

linux – CUPS – Network printer – Connection error: Permission denied, The printer is not responding

I’m trying to troubleshoot a printing issue, but first I need to describe my environment (it’s a bit non-standard).

I have a HP 1102 USB printer, connected to a Ubuntu 20.04 system which runs CUPS and shares the printer to other systems in the LAN. Printing from other systems (Ubuntu 18.04, Ubuntu 20.04, Windows 10) works fine via IPP.

I have a client which runs Android 10, and on top of it it runs Linux Deploy with Linux 18.04 in a chroot in the same LAN. The linux system has XFCE and CUPS, and I’ve configured the printer the same way as for other systems.

When I try to print (with local cups set to debug), this is what I get for my job:

D (25/Nov/2020:10:12:01 +0200) (Job 8) Connecting to
D (25/Nov/2020:10:12:01 +0200) (Job 8) Connecting to printer.
D (25/Nov/2020:10:12:01 +0200) (Job 8) Connection error: Permission denied
E (25/Nov/2020:10:12:01 +0200) (Job 8) The printer is not responding.
D (25/Nov/2020:10:12:31 +0200) (Job 8) Connecting to
D (25/Nov/2020:10:12:31 +0200) (Job 8) Connecting to printer.
D (25/Nov/2020:10:12:31 +0200) (Job 8) Connection error: Permission denied
E (25/Nov/2020:10:12:31 +0200) (Job 8) The printer is not responding.

I’m doing a packet capture on the cups server side and there are no packets when it says it’s trying to connect to the printer. Connecting manually (telnet 631 opens a socket and TCP communication works).

Something must be wrong inside the CUPS running on the Android linux chroot, but I can’t figure out what. The local print job looks fine, file permissions for the /var/spool/cups directory look fine, cups is running as root.

I’m not sure where to look further for troubleshooting…

I’m watching android logcat trying to see if there is a problem at the same time, and it’s this:

11-25 10:28:29.179  2980  3091 W Netd    : No subsystem found in netlink event
11-25 10:28:31.012 20789 20789 I printers.cgi: type=1400 audit(0.0:785): avc: denied { ioctl } for path="socket:(151451)" dev="sockfs" ino=151451 ioctlcmd=0x8933 scontext=u:r:magisk:s0 tcontext=u:r:magisk:s0 tclass=unix_dgram_socket permissive=1

So – I’m thinking cups is trying to create a socket and android is denying it? Any ideas if it’s a file-based socket, what it’s name would be and where it would be located in the filesystem?

Any suggestions?

mysql – when using $wpdb sudden connection rejection without changing anything. Access denied

WP version 5.5.3 – updated days ago php version 7.3.24 running locally on server Can not create a backup using duplicator Occours bothi inside WP admin pages, so internal connections and external through php requests

I am suddenly receiving the following error but have not made any changes to any file on the server, nor within wp itself –

WordPress database error: (Access denied for user ‘database-name’@’localhost’ (using password: YES)) .
THIGNS I HAVE DONE TO FIX – I have verified the wpconfig password and the db password match. I actually re-updated the db by copying the password listed in the wpconfig file and pasting it to the db. Searched a lot of solutions on here checked that the db is up and running by logging in using MYPHPADMIN

What am I missing and how do I get to the root of the issue that is causing this? No console errors are shown.

sharepoint online – Power Apps without internet connection

Stack Exchange Network

Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Do connection and message coexist in CSP / Pi calculus?

Berkely Socket API has two different kinds of network sockets:

  • byte stream sockets: connection-oriented and message-less
  • datagram sockts: connection-less and message-oriented.

In Pi Calculus (and CSP), there is both channel and message.

  • Is it correct that a channel is a connection? Or what is the difference between them?
  • How do connection and message coexist and work together?


esxi no http connection inside vm

hi, I got a dedicated server at hetzner and I setup 10 VMs with windows 10 and everything is fine except that for some reason I can’t access… | Read the rest of

ssh connection refused on Debian 7

I cannot ssh to my Debian 7 server anymore. It happened after I tried to upgrade some packages on this old distro (including libc6…). Uptime is almost 2200 days! I do not even want to risk restarting it.

ssh -V returns OpenSSH_6.0p1 Debian-4+deb7u7, OpenSSL 1.0.1t 3 May 2016

I somehow still have an active ssh connection on Putty as a root so I can still run commands. Hopefully I will not lose it before I fix this massive issue!

nothing outputs when I run /etc/init.d/ssh restart, it just prompts a new line for new commands.

ps -f -p $(pgrep sshd) shows a pid and uid root

/usr/sbin/sshd does not exist

cat /etc/ssh/sshd_config shows nothing any different than it has always been. I run it on port 22000. No issues since 6 years until now. I now explicitly opened the port 22000 on iptables just to make sure but nothing changed.

sftp -oPort=22000 -vvv root@redacted_for_privacy shows

OpenSSH_6.0p1 Debian-4+deb7u7, OpenSSL 1.0.1t  3 May 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to redacted_for_privacy (123.456.redacted_for_privacy.123) port 22000.
debug1: connect to address 123.456.redacted_for_privacy.123 port 22000: Connection refused
ssh: connect to host redacted_for_privacy port 22000: Connection refused
Couldn't read packet: Connection reset by peer

command netstat -tulpn | grep 22000 returns nothing, however it does return udp6 for 22

command ps aux | grep sshd returns :

root     12247  0.0  0.0  29920  1252 pts/0    T    Nov21   0:00 vim /etc/ssh/sshd_config
root     12248  0.0  0.0  29924  1308 pts/0    T    Nov21   0:00 vim /etc/ssh/sshd_config
root     25974  0.0  0.0   6312   788 pts/0    S+   01:09   0:00 grep sshd
root     31003  0.0  0.0  81232  3932 ?        Ss   Nov21   0:14 sshd: root@pts/0

vim is because i set PermitRootLogin yes (it had always been set at without-password). 31003 is sshd pid

I also tried to reinstall:
apt-get install openssh-server but it returned
openssh-server : Depends: openssh-client (= 1:6.0p1-4+deb7u4) but 1:6.0p1-4+deb7u7 is to be installed
and E: Unable to correct problems, you have held broken packages. which is probably very true considering the ugly tinkerings I tried in order to upgrade libc6!

tail -f /var/log/auth.log when I try to ssh via WinSCP does not show any new line appending. either trying on port 22 or custom 22000.

netstat -ntlp returns

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0    *               LISTEN      12431/proftpd: (acc
tcp        0      0  *               LISTEN      4374/(squid)
tcp        0      0   *               LISTEN      4917/nginx
tcp        0      0*               LISTEN      7231/mysqld
tcp        0      0 *               LISTEN      10330/perl
tcp        0      0    *               LISTEN      4917/nginx

I tried behind a different ip, I’m sure I did not jail myself.

The 4 websites hosted on it currently keep working as if nothing ever happened.

I am out of ideas and desperate. What else should I check/try? I believe it is not running sshd but I have not idea how to restart it. I do not have systemctl, neihter service sshd restart, and nothing in /etc/init.d/

php – Repeated DB connection at max user connections

I am trying to create class with connect to mysql database. And if there is max number of connections I want to wait and try it again. I figured out, how it can works, but I am not sure, if its the right way of doing it. So, my code looks like this:


class DbConnect {

  private $attemps = 1;
  private $errorCode;
  private $maxAttemps = 10;
  private $pdo;
  private $dsn = "mysql:host=localhost;dbname=...;charset=utf8";
  private $options = (
    PDO::ATTR_EMULATE_PREPARES   => false, // turn off emulation mode for "real" prepared statements
    PDO::ATTR_ERRMODE            => PDO::ERRMODE_EXCEPTION, //turn on errors in the form of exceptions
    /*PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,*/ //make the default fetch be an associative array

  public function __construct(){
    while ($this->errorCode == 1040 && $this->attemps <= $this->maxAttemps) {
      usleep(pow(2, $this->attemps)*10000);


  protected function tryConnect(){
    try {
      $this->pdo = new PDO($this->dsn, "root", "", $this->options);
    } catch (Exception $e) {
      $this->errorCode = $e->getCode();



Is there anything i should change? Thank you very much.

supermicro – how can I fix SFP to SFP+ connection?

I’m trying in those days to replace my broke GS110TP with new A2SDi-16C-TP8F that I bought but I have a problem.

When I connect my single mode fiber LC 1gbe connector FTLF1319P1BTL it doesn’t communicate with my ISP while with GS110TP worked well and it works with my allied telesis at gs2002 media converter.

I tought that was a problem between SFP+ and SFP so I bought a new connector FTLX1471D3BCV that is a 10gbe/1gbe SFP+ LC, but I still have problems.

I configurated it with this command:

ethtool -s eth7 speed 1000 duplex full autoneg off

eth7 because I connected it into port 8

currently I’m using openwrt
after that command link is up, but I don’t receive anything from the provider.

so to test out the two connector I bought a LC/LC patch and I connecter the two connectors into the two ports 7 and 8 on A2SDi-16C-TP8F, then I created two interfaces and after configurated with the same command the spf+ connector they linked together. connectors linked with LC/LC patch

Then I tryed to put a PC after media connector and connect it with the sfp connector to the sfp+ connector on the Supermicro board, but link is up but like with the provider they do not communicate at all (from the PC I didn’t see supermicro)

what can I do to fix out this problem? should I configure the driver ixgbe in different way?