Skip to content

Tag: linux

Curl returned ststus 6 (DNS name bad address error)

I am unable to resolve host names when one(3g-cell) of my two interfaces is turned on. One interface is WAN(Ethernet), while the other is 3g-Cell. When WAN is turned off, I tried to do manual curl request and I was able to do it using 3g-cell interface, but was unable to do that using hostname. (same happened…

Apache 2.4.23 undefined reference to CRYPTO_malloc_init?

Hi I am trying to install Apache 2.4.23 with openssl version of 1.1.0c , while execute make command I am getting following error, I have searched many website but I couldn’t see any relevant answer. I have attached error also .Could you please solve my problem? Thanks in Advance Answer Apache 2.4.23 und…

boost timed_wait doesn’t wait if date is in 2116 year

The example: It works perfectly on Linux at the time – the timed_wait waits for 10 seconds and then returns false. However if I move the system date to 2116 year and re-run the app, the timed_wait call returns false immediately. There is the same problem with the boost’s condition vars. Could plea…

Unable to print usernames longer than 8 chars with “w” in linux

I am doing a linux script to extract which users are logged onto a machine, from where, and how long they have been idle. So far I have been using the “w” command in linux. However I now noticed that it truncates usernames and source I have three users logged on testuser testuser-new lala-testuser…