How to find Serial Number on Linux server

Finding serial number on the Linux Machine is quite simple, you just need to fire the command below.

root@justgeek~]# dmidecode -t 1

You will get the results below.

root@justgeek~]# dmidecode -t 1
System Information
Manufacturer: Dell Inc.
Product Name: PowerEdge 1950
Version: Not Specified
Serial Number: RRRRD4F
UUID: 111356C-7890-104E-8034-C78965432E3153
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Not Specified

Centos Bash bug discovered

A bug has been discovered in Bash Command Interpreter. To check if you server is infected fire this command

root@justgeek~]# env x='() { :;}; echo vulnerable’ bash -c “echo this is a test”

If the result is as following

root@justgeek~]# env x='() { :;}; echo vulnerable’ bash -c “echo this is a test”
vulnerable
this is a test
root@justgeek~]#

How to patch vulnerable bash?

root@justgeek~]# yum update bash

For cPanel servers

Simply run ‘upcp’ as it will update the bash

———————–
[20140925.140830] Updating : bash 1/4
[20140925.140830] [342393]
[20140925.140830] Updating : alt-sqlite 2/4
[20140925.140830] [342393]
[20140925.140830] Cleanup : bash 3/4
———————–

Also you can verify that cPanel has updated bash from cPanel update logs.

root@justgeek~]# cd /var/cpanel/updatelogs/
root@justgeek~]# cat latest-cPanel-logfile | grep bash

The result should be as follows (It should have the bash update details)

[20140925.012328] [29371] —> Package bash.x86_64 0:4.1.2-15.el6_4 will be updated

[20140925.012328] [29371] —> Package bash.x86_64 0:4.1.2-15.el6_5.1 will be an update

[20140925.012329] [29371] bash x86_64 4.1.2-15.el6_5.1 updates 905 k

[20140925.012340] Updating : bash-4.1.2-15.el6_5.1.x86_64 1/2

[20140925.012340] Cleanup : bash-4.1.2-15.el6_4.x86_64 2/2

[20140925.012341] Verifying : bash-4.1.2-15.el6_5.1.x86_64 1/2

[20140925.012341] Verifying : bash-4.1.2-15.el6_4.x86_64 2/2

[20140925.012341] [29371] bash.x86_64 0:4.1.2-15.el6_5.1

[20140925.012640] – Processing command `/usr/local/cpanel/scripts/checkbashshell`

 

Keep your thoughts coming in comments :)

Webmail Shows Plesk Default Page

This may occur because of any of the following reasons:

  • No webmail is selected for the domain.
  • The webmail is selected, but the bindings didn’t get set correctly in IIS.
  • There was an upgrade to the webmail/mail software.

Resolution

In Plesk 9.5

  1. Log into your Control Panel.
  2. Click on the Home tab. Click on Domains. Select the domain you want to manage.
  3. Click on Mail Accounts.  Then click Mail Settings.
  4. In the Webmail drop down select None and click OK.
  5. Select Mail Settings again.
  6. In the Webmail drop down select Mail and click OK.

Webmail should now be enabled.

In Plesk 11

  1. Log into your Control Panel.
  2. Click on the Home tab. In the My Subscriptions section select the domain you want to manage.
  3. Click on the Mail tab.  Then click Change Settings.
  4. In the Webmail drop down select None and click OK.
  5. Select Mail Settings again.
  6. In the Webmail drop down select SmarterMail and click OK.

Webmail should now be enabled.

If it is still showing default page then log in to server.

1. Go to IIS > In Sites there should be MailEnable Webmail

2. Click on it and check Bindings.

3. Make sure that bindings of the domain of which web-mail is not should be present.

4. It should be shown as webmail.justgeek.net  — Port (80) — IP address *