Search Posts

Prefer/Precedence IPv4 over IPv6 for DNS lookups

We had an issue with DNS lookup/Querying the whois servers(Example: whois.crsnic.net) while Domain Search/Registration for any TLDs. The tool/system used to timeout whenever the users searched a domain for availability. We found the following via CLI when telnet’ing to the whois server directly. The above indicates it attempts IPv6 DNS lookup first but the whois server doesn’t support or provide it, later our server tries IPv6 DNS lookup and it worked. The system by default […]

How to clean up a hacked server from the Exim vulnerability CVE-2019-10149 | Temporary workaround | cPanel

The recently reported Exim 4.87 to 4.91 versions vulnerability CVE-2019-10149 is of very intense. Many host servers have already been hacked by now. For the host which is clean by the Gods grace and are still running on the vulnerable Exim and outdated cPanel versions, it is highly recommended to upgrade the cPanel to get Exim patched in the new version 4.92 immediately. The solution to avoid such a hack issue to upgrade the cPanel […]

cPanel domlogs/Webserver Access logs are showing only local server IP addresses

This happens when we have a reverse proxy Nginx->Apache set up on the server. To be precise, when the Apache based website is behind the reverse proxy(Nginx). In such cases, we may see the accessing IPs on the website access logs as server’s local IP address itself. This behavior is because the reverse proxy or load balancer acts as client to Apache and the Apache sees the internal IP address on its website access log. […]

Mysql error followed by Openfire XMPP server halt

I faced an issue as my IM messenger suddenly got disconnected from the openfire xmpp server. I checked the internet connection to my computer and it was still looking fine. So I hop into openfire server and tried to manually start it. It showed as openfire service starting, but it went off suddenly. I checked some of its logs and could see the issue was with connectivity to mysql service running in same box. Following […]

Liblua error: relocation R_X86_64_32 against `luaO_nilobject_’

The full error will be like as below: ———————— /usr/bin/ld: /usr/local/lib/liblua.a(lapi.o): relocation R_X86_64_32 against `luaO_nilobject_’ can not be used when making a shared object; recompile with -fPIC /usr/local/lib/liblua.a: could not read symbols: Bad value ———————— I got the above error in between easyapache. It’s pretty sure lua is present in server but something went unoticed or bad while its installation. The missing part was nothing but I compiled 32 bit lua in 64 bit server, […]

Error while loading shared libraries: liblua.so

I got this liblua error while apache,php recompilation. At first I tried to find the dependencies of lua # ldd `which lua` linux-vdso.so.1 => (0x00007fff1dd7d000) liblua.so => not found libreadline.so.6 => /lib64/libreadline.so.6 (0x0000003b68800000) libncurses.so.5 => /lib64/libncurses.so.5 (0x0000003b68400000) libm.so.6 => /lib64/libm.so.6 (0x0000003b68000000) libdl.so.2 => /lib64/libdl.so.2 (0x0000003b67800000) libc.so.6 => /lib64/libc.so.6 (0x0000003b67400000) libtinfo.so.5 => /lib64/libtinfo.so.5 (0x0000003b6a400000) /lib64/ld-linux-x86-64.so.2 (0x0000003b67000000) Then I tried to search for liblua in “/” using find command. # find / -iname liblua* /opt/lua/lib/liblua.a /opt/lua/lib/liblua-5.1.so The […]

Next Page »