syslogd klogd warning in firewall

CSF, Dedicated Server, Firewall, Security, SSH, VPS Hosting, Web-Hosting

If you are getting this WARNING message, what you need to do?

Syslogd appears to be running, but not klogd which logs kernel firewall messages to syslog. You should ensure that klogd is running.

How do you enable klogd?

Fire a command:
#whereis klogd
Then simply run klogd with full path:
klogd

Related: Dedicated Servers, VPS Hosting

Reboot Server from SSH

Dedicated Server, Security, SSH, Virtual Private Server

Reboot Server from SSH

How to reboot Linux server from ssh? Is it same for local and remote Linux system?

Linux has various ways to reboot a system. It is also known as halt, poweroff, shutdown, init etc.

Coming to the point, rebooting your Linux server from ssh console: The most important thing, you should be logged in as root to reboot the system. Once you are in as root, type any of the following command as per your requirement.

INSTANT REBOOT LINUX SERVER:

# reboot
OR
# /sbin/reboot
OR
# shutdown -r now
OR
# /sbin/shutdown -r now

Want to send a notification to logged in users about this reboot? Then type the following command:
# shutdown -r +2 (This will send the message to all the users that the system is going to reboot in next 2 minutes.)

Related: Linux Server, Linux VPS, Dedicated Server, Private Server

PHP Warning – PHP Startup – Suhosin Extension does not officially support PHP 5.2

cPanel, Dedicated Server, PHP, Security, Setup

PHP Warning: PHP Startup: Suhosin Extension
does not officially support PHP 5.2 and below anymore, because it is
discontinued. Use it at your own risk. in Unknown on line 0

Since the php upgrade, you might have noticed these type of errors in your server logs. Must be wondering a perfect solution for this.

Actually you should be able to use the latest build, however some older scripts or applications might get in trouble, unless they are ready for latest php version. You need not to worry any more, as you have jumped to right place for it. Just follow the below given steps and you will be at rest.

What to do?

Easy enough, downgrade suhosin from 0.9.33 to 0.9.31 :

# remove suhosin from easyapache php config
/usr/local/cpanel/scripts/phpextensionmgr uninstall PHPSuHosin

# download and install older suhosin
wget http://download.suhosin.org/suhosin-0.9.31.tgz
tar zxf suhosin-0.9.31.tgz
cd suhosin-0.9.31
phpize
./configure
make
make install

#open php.ini and add line loading suhosin
vi /usr/local/lib/php.ini

#Add following line into extensions section:
extension=”suhosin.so”

Save and close the file,  restart apache and you are done. You can also verify if everything is ok with the command php -v from the prompt.

Related: Web Server, Virtual Server, PHP Host, cPanel Host

 

Remote server requires Network Level Authentication (NLA)

Dedicated Server, Security, Setup, VPS Hosting, Web-Hosting, Windows Hosting

How to enable RDP access on server requires Network Level Authentication (NLA)

With Remote Desktop (RDP) when connecting to a Windows Server (XP-SP3 or 2003/2008) with newer remote host, you might get an error saying that “The remote computer requires Network Level Authentication (NLA), which your local pc/laptop/desktop computer doesn’t support.”

To enable the RDP access on server requires Network Level Authentication (NLA) you need to follow below given steps [be careful with registry editor, it’s helpful to backup your registry first, you have been warned]:

  1. Install Service Pack 3 [if XP]
  2. Click Start->Run, type regedit and then press enter
  3. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
  4. Double click on “Security Packages”, to modify the values, leave all existing values, and just add “tspkg” at the end of the list, click OK to save your changes.
  5. Now, navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders
  6. Double click on “SecurityProviders”, and in the dialog box, add “credssp.dll” at the end, be sure that if the list that is present currently is separated by commas, that you add a comma to the value immediately before the “credssp.dll”. Click OK to update.
  7. Close the registry editor and now restart your computer for changes to take the effect.
  8. Try to RDP to your remote server.

Still, finding it difficult, not to worry, get in touch with one of our technical help expert to assist you further.

Related: Windows Server, Remote Desktop, RDP, Server 2008, Windows XP SP3, Windows VPS

Captcha image is not working – Fatal error?

Dedicated Server, PHP, Scripts, Security, Virtual Private Server, Web-Hosting, www

Captcha image is not working – Fatal error?

You have the GD image library installed and otherwise working.
Still unable to get captcha with the captcha plugin.

You are not sure what’s the problem as it works on one of your other sites.  When you try to include the captcha on your website or contact form it generates an error message like…
Call to undefined function imagettftext() OR
Fatal error: Call to undefined function imagettftext() in /home/user/public_html/appfolder/plugins/captcha/captcha.php on line 99  OR
Fatal error: Call to undefined function imagefttext() in /home/user/public_html/lib/captcha/captcha.php on line 329 OR
‘–enable-gd-native-ttf’

Problem could be, because the standard PHP “imagefttext()” function does not work on your server.
It can caused by the fact that there is no –enable-gd-native-ttf key installed on your server as the Cart uses GD Library for displaying the verification image.

Please note that PHP must be configured with the following keys:
–with-gd –enable-gd-native-ttf  Contact your host to make the change!

Any idea why or how it can be fixed?

imagettftext() is part of the GD image functions library, which is not always part of PHP (the code CMS/Cart runs on).
You need to contact your host and ask them to install the PHP GD library. It’s really simple for them to do and is fairly common, so if they give you a hard time about it, I would seriously consider switching to better and friendly host – UnicHost :).

Related: Web Server, PHP Hosting, LAMP Server, cPanel Hosting

Documents required for domain name registration and web hosting purchase?

Billing, Domain Name, Security, Web-Hosting

What documentation is required for domain name registration or to purchase the web hosting products?

If you are paying through credit card then, we will need a scan copy of your driving license to verify your name and address. For other payment methods, there is absolutely no documentation required. But we trust you as a customer and we expect you to provide us the correct contact number and address. This helps us to contact you in case there is any issue with your website and for renewals etc. If you are looking for the privacy then do let us know, we would be able to help you further, keeping your personal details private.

Setup root forwarder – check root forwarder warning by csf

CSF, Dedicated Server, Firewall, Security, WHM

Howto Setup root forwarder on server?

[CSF (ConfigServer Firewall)]

After you install CSF as cPanel Add-on on your virtual private or dedicated server you might get this message “check root forwarder” on running “check server security” test.

Warning: Check Root Forwarder by csf firewall [configserver firewall]

This is regarding the root account forwarder. On the server, the root account, superuser account should have a forwarder set so that you receive essential emails from your dedicated server.

You will need to create/edit a file called .forward in the root folder…
Exact path is: /root/.forward
In this file, add an email address where you want to receive emails sent by root.

 
©2018, All Rights Reserved. Managed-Servers by UnicHost Web Solutions. Powered by UnicHost.
Log in