My Google Plus Page

Electricity Bill Calculator

Electricity Bill Calculator

Electricity Bill Cost Calculator. Electricity Usage Consumption Calculator.

Select Country:  
Typical Appliance:
Power Consumption:
Hours Of Use Per Day: Hrs/Day
One Unit Cost (1 kWh ):
 
Electricity Cost Per Day:  
Electricity Cost Per Month:  
Electricity Cost Per Year:  

Note:- 1 Unit = 1 kwh (Kilo Watt Hour)

HTML tutorial

EBC-Ads

Social Message

Social Message
Social Message Useful Health Tips

Friday, December 25, 2015

How to Disable a Service or Device That Prevents NT from Booting on Widows all Operating system

How to Disable a Service or Device That Prevents NT from Booting on Widows all Operating system


SYMPTOMS

If a service or device driver is started automatically and is incompatible with the current version of Windows NT or Windows 2000...etc, the service or device driver may not allow Windows to remain booted long enough for you to shut the service off or disable the outdated device driver/software..etc.

CAUSE

System consume more CPU and Memory and system slow performance due to unwanted service running. 

This may occur when Windows is upgraded to a new version prior to removing or stopping third-party devices or services.


RESOLUTION

***Reboot system in safe mode ***  Try below steps

Perform the following steps to disable a device driver or any software:

Go to the following registry key:

HKEY_LOCAL_MACHINE\TEST\ControlSet00x\Services\<Name of suspect Driver>
Where x is the value of Current:REG_DWORD

Change the value of Start:REG_DWORD: to 0x4.

NOTE: Other Valid Services start options are:

Boot        0x0
System      0x1
Automatic   0X2
Manual      0x3
Disabled    0x4


Reboot system with normal mode.



Saturday, October 31, 2015

Re size file system Error on Linux System


Re size file system Error on Linux System


Step : 1

[root]# resize2fs /dev/data_vg/backup_lv

resize2fs 1.41.12 (17-May-2010)
Please run 'e2fsck -f /dev/data_vg/backup_lv' first.

Step : 2

[root]# umount /data/dbbd/app/dbbackup

Note: /data/dbbd/app/dbbackup  (file system name)              

Step : 3

[root]# e2fsck -f /dev/data_vg/backup_lv      

Note: /dev/data_vg/backup_lv  (LV Name)           

e2fsck 1.41.12 (17-May-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/data_vg/backup_lv: 20/1638400 files (0.0% non-contiguous), 1160953/6553600 blocks

Step : 4

[root]# resize2fs /dev/data_vg/backup_lv

resize2fs 1.41.12 (17-May-2010)
Resizing the filesystem on /dev/data_vg/backup_lv to 13107200 (4k) blocks.
The filesystem on /dev/data_vg/backup_lv is now 13107200 blocks long.

Step : 5

[root]# mount /data/dbbd/app/dbbackup

Note: /data/dbbd/app/dbbackup  (file system name)

Step : 6

[root]# df -h /data/dbbd/app/dbbackup


/dev/mapper/data_vg-backup_lv
                       50G  25G   25G  50% /data/dbbd/app/dbbackup




Extend Volume Group (VG) / Logical Volume (LV) / File System on Linux System

Extend Volume Group (VG) / Logical Volume (LV) / File System on Linux System


Step: 1

Add New Hard Disk into the VM / Physical .

Refer below Link for Adding Disk details.
Add New Virtual (or) Physical Hard Disk on Linux System


Step: 2

Display the Added New Disk.

root@#fdisk -l

Disk /dev/sdb 100 GB, 100000000000 bytes
255 heads, 63 sectors/track, 15665 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Step: 3

Extend Volume Group (VG).

root@#vgextend data_vg /dev/sdb
Volume group "data_vg" successfully extended

Step: 4

Extend Logical Volume(LV).

[root]# lvextend -L+25G /dev/data_vg/data_lv

Extending logical volume data_lv to 50.00 GiB
Logical volume data_lv successfully resized

Step: 5

Resize the Logical Volume (LV). It will automatically Increase  file system size.

[root]# resize2fs /dev/data_vg/data_lv

resize2fs 1.41.12 (17-May-2010)
Filesystem at /dev/data_vg/data_lv is mounted on data; on-line resizing required
old desc_blocks = 2, new_desc_blocks = 4
Performing an on-line resize of /dev/data_vg/data_lv to 13107200 (4k) blocks.
The filesystem on /dev/data_vg/data_lv is now 13107200 blocks long.

Step: 6

[root]# df -h /data

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/data_vg-data_lv
                      50G  25G   25G  50% data



Add New Virtual (or) Physical Hard Disk on Linux System

Add New Virtual (or) Physical Hard Disk on Linux System


Add New Hard Disk or New VMware Disk  (or) Virtual Hard Disk into Linux Physical / Virtual System.

Step: 1

Login into root privilege account on Linux system and perform below commands.

Find Out the scsi host adapter.

root#ls /sys/class/scsi_host
host0  host1  host2

Step: 2

Command configures devices and installs device into the linux system.

root#echo "- - -" > /sys/class/scsi_host/host0/scan
root#echo "- - -" > /sys/class/scsi_host/host1/scan
root#echo "- - -" > /sys/class/scsi_host/host2/scan

Step: 3

Check the added new disk logs.

root#tail -f /var/log/messages

Step: 4

Display the Added New Disk.

root#fdisk -l

Disk /dev/sdb: 100 GB, 100000000000 bytes
255 heads, 63 sectors/track, 15665 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Step: 5

Convert physical disk to physical volume.

root#pvcreate /dev/sdb
Physical volume "/dev/sdb" successfully created

Step: 6

Display the physical volume.

root#pvscan
   PV /dev/sdb                   lvm2 [100.00 GB]
  Total: 2 [149.87 GB] / in use: 1 [49.88 GB] / in no VG: 1 [100.00 GB]

Step: 7

New Volume Group Creation and Adding New physical volume into New VG.

root#vgcreate data_vg /dev/sdb
Volume group "data_vg" successfully created

Step: 8

New Logical Volume creation (LV).

root#lvcreate -n long_lv -L25G /dev/data_vg
Logical volume "backup_lv" created

Step: 9

Display the Logical Volume (LV).

root#lvdisplay
/dev/data_vg/long_lv


Step: 10

Creating file system.

root#mkfs.ext3 -m 0 /dev/data_vg/long_lv
file system "/dev/data_vg/long_lv" successfully created

Step: 9

Add entry on /etc/fstab for auto mount file system after restart linux system.

root#cd /
root#mkdir logs
root#vi /etc/fstab
/dev/data_vg/long_lv /logs ext3 defaults 0 0

Step: 10

Manual Mount file system.

root#mount /logs

Step : 11

Display New file system.

root#df -h /logs

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/data_vg-long_lv
                       25G  173M   25G   1% /logs



Sunday, October 25, 2015

How to Remove Duplicate Emails from 'Sent Items' Folder of MS Outlook 2013 & 2016


How to Remove Duplicate Emails from 'Sent Items' Folder of MS Outlook 2013 & 2016

This situation causes duplicity of emails and you end up with more than one copies of an email item. Therefore, the best solution to prevent such situations .

 Mentioned below are the steps to perform in Outlook 2013 & 2016:

Step : 1


Step : 2



Step : 3



Step : 4



Step : 5



Step : 6





Prevent Duplicate Mails in Sent Items on Microsoft Outlook 2013 and 2016

Prevent Duplicate Mails in Sent Items on Microsoft Outlook 

2013 & 2016



To prevent Sent Items from being duplicated, you’ll need to disable the Outlook option to save a copy of your Sent Items in your mail account.



The duplicates are caused because Outlook is saving a copy of the sent item as well as gmail. The solution is to stop Outlook doing this.

To disable, go to File > Account Settings > Account Settings > (your mail account) > Change… > More Settings… > Sent Items and then check the option "Do not save copies of sent items --> click OK and Finish.



Below Step by step Procedures:-



To disable this option in Outlook 2013 or Outlook 2016:



Step : 1

File-> Account Settings-> Account Settings





Step : 2

Select your Mail Account-> button Change





Step : 3

Click button More Settings


Step : 4

Tab Advanced-> option: Do not save copies of sent items --> Click OK button.






Sunday, October 11, 2015

MySQL table is marked as crashed and should be repaired on Nagios


MySQL table is marked as crashed and should be repaired on Nagios  or Any Other Applications


Cause:


Often after running a similar unexpected events. Frequently Linux file system / Windows drive out of disk space, some of the database tables may have become corrupt. This often occurs after you experience out of disk space problems on the disk partition where your database resides.

Symptoms of corrupted tables include queries that abort unexpectedly and observable errors such as these:
  • tbl_name.frm is locked against change.
  • Can't find file tbl_name.MYI.
  • Unexpected end of file.
  • Record file is crashed.
  • Got error nnn from table handler.

Error Code:


151010 13:00:59 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_timedevents' is marked as crashed and should be repaired
151010 13:00:59 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_timedeventqueue' is marked as crashed and should be repaired
151010 13:04:00 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_systemcommands' is marked as crashed and should be repaired
151010 13:04:00 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_hostchecks' is marked as crashed and should be repaired
.......................................Etc.

Resolution:

Perform below steps on MySQL DB.

mysql> select * from nagios_servicechecks;

ERROR 1046 (3D000): No database selected

mysql> SELECT database();
+------------+
| database() |
+------------+
| NULL       |
+------------+
1 row in set (0.00 sec)

mysql> USE nagios

Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed

mysql> select * from nagios_servicechecks;

ERROR 145 (HY000): Table './nagios/nagios_servicechecks' is marked as crashed and should be repaired.

mysql> REPAIR TABLE nagios_servicechecks;

+-----------------------------+--------+----------+-------------------------------------------------------------------------------+
| Table                       | Op     | Msg_type | Msg_text                                                                      |
+-----------------------------+--------+----------
| nagios.nagios_servicechecks | repair | info     | Wrong block with wrong total length starting at 4322280                       |
| nagios.nagios_servicechecks | repair | info     | Wrong block with wrong total length starting at 4322928        
.......Etc


mysql> REPAIR TABLE nagios_servicestatus; 
mysql> REPAIR TABLE nagios_hostchecks;
mysql> REPAIR TABLE nagios_systemcommands;
mysql> REPAIR TABLE nagios_timedeventqueue;

mysql> REPAIR TABLE nagios_timedevents;



MySQL Database login Access denied for user 'root'

MySQL Database login Access denied for user 'root'


Trying to login MySQL Database on Linux system getting Access denied issue in root user.

Error:-

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO).

Resolution:-

Try command on Linux prompt mysql -u root -p

[root@eznag bin]# ./mysql -u root -p

Enter password: --> Type Root Password

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 11
Server version: 5.1.52 Source distribution

Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> select * from nagios_servicechecks;
ERROR 1046 (3D000): No database selected
mysql> 






Sunday, October 4, 2015

Add One Windows Server 2012 Domain User to Domain Admins Group


Add One Windows Server 2012 Domain User to Domain Admins Group


  • If you are promoting a domain user to a domain administrator just to allow the user to perform some administrative tasks, it is recommended that you use the Delegation of Control feature that the Windows Server 2012 provides. By using the delegation, you can allow a standard domain user to perform a few administrative tasks without adding the account to any administrative group, and granting unnecessary privileges that can be misused because of ignorance or bad intentions.
  • However, you can still add the domain user to the Domain Admins group if needed.

  • Here is how you can add a particular Windows Server 2012 Active Directory domain user to Domain Admins group in order to allow him to get all the domain administrator privileges:

  1. Log on to the Windows Server 2012 Active Directory domain controller with the Enterprise Admin or Domain Admin account credentials.
  2. If not already started, initialize the Server Manager window from the bottom left corner of the screen.
  3. On the opened Server Manager window, go to the Tools menu from the menu bar.
  4. From the displayed list, click Active Directory Users and Computers.
  5. On the opened Active Directory Users and Computers snap-in, from the left pane, expand the current domain name. (MOHANSUNDARAM.COM for this demonstration.).
  6. From the expanded tree, locate the target OU that contains the domain user account that you want to promote to the domain admin.
  7. Once located, from the right pane, right-click the target user account. (User-01 for this demonstration.).
  8. From the displayed context menu, click Add to a group.

9. On the opened Select Groups box, in the Enter the object names to select list, type Domain Admins and click the Check Names button.


            




Remove Protection Against Accidental Organizational Unit Deletion on Windows 2012 Server

Remove Protection Against Accidental Organizational Unit Deletion on Windows 2012 Server

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2, Windows Server 2008 R2 , Windows Server 2012 R2.

 You can use this procedure to remove the following access control entries (ACEs):

  • On the organizational unit (OU) for which you are removing protection, remove explicit Deny ACEs for the Delete and Delete Subtree advanced permissions for the Everyone group. 
  • On the parent container of the OU for which you are removing protection, remove an explicit Deny ACE for the Delete All Child Objects permission for the Everyone group.

  

To remove protection that prevents an OU from accidental deletion:-

 

 Method :1 

  1. Log on to the computer as a member of the Domain Admins group.
  2. Open Active Directory Users and Computers.
  3. Click View, and then click Advanced Features.
  4. First, clear permissions on the OU for which you want to remove protection. To do this, right-click the OU, and then click Properties.
  5. In OU Properties, click the Security tab, and then click Advanced.
  6. In Permission Entries, select the Deny entry for the Everyone group, and then click Remove.
  7. Click OK to close the Advanced Security Settings, and then click OK to close OU Properties.

    Method :2


  8. Second, clear permissions on the parent container of the OU for which you want to remove protection. To do this, right-click the parent container, and then click Properties.
  9. In ContainerProperties, click the Security tab.
  10. In Group or user names, select the Everyone group, and then clear the Deny check box for Delete All Child Objects, and then click OK to close ContainerProperties.

 

 

Saturday, September 12, 2015

Cisco IP Phone Not allowing Dialling 11 Digit

Cisco IP Phone Not allowing Dialling 11 Digit


Problem:-


Cisco any IP Phone Not allowing Dialling more then 11 Digit or not able make LAN line Number call.


Resolution:-


Change default Dial Plans below marked 'Red' colour.


Example: 044-234234

(*xx.|*xxx|*75xx|[3469]11|0|00|1xxx[2-10]xxxxxxS0|xxxxxxxxxxxx.|**275*x.)


Example: 0427-23423467

(*xx|[3469]11|0|00|[2-11]xxxxxx|1xxxx[2-11]xxxxxxxxS0|xxxxxxxxxxxx.)


Reference screenshot





Note:-


Cisco IP Phone Restrictions Outgoing calls via Dail pattern No.1 fallowed by Mobile no or land no.

(*xx|[3469]11|0|00|[2-7]xxxxxx|1xxx[2-9]xxxxxS0|xxxxxxx.)




Nagios Could not bind socket: Address already in use

Nagios Could not bind socket: Address already in use


While restarting nagios services getting error message "ndo2db-3x"


Problem:-


[root@eznag objects]# service nagios restart
Running configuration check...done.
Stopping nagios: ndo2db-3x: no process killed
.done.
Starting nagios:Could not bind socket: Address already in use
 done.


Resolution:-


[root@eznag objects]# rm /usr/local/nagios/var/ndo.sock

rm: remove socket `/usr/local/nagios/var/ndo.sock'? y

[root@eznag objects]# service nagios restart
Starting nagios: done.


Sunday, August 30, 2015

Auto shutdown for Windows System

Auto shutdown for Windows System 

(Windows 7 / 8 / 10 / 2008 R2 Server / 2012 R2 Server)



If using Windows 7 / 8 /10 / 2008 R2 Server / 2012 Server, follow these steps to schedule your PC(Personal Computer) to shut down at a certain time at night:

1. Go to Start > Control Panel > System and Security > Administrative Tools and click on the Task Scheduler.

2. From the Action menu in Task Scheduler, click "Create Basic Task."

3. In the "Create Basic Task Wizard" windows that pops up, Type in a title and a description. Something basic like "PC Shutdown."



  
4. Click "Next."

5. On the "Task Trigger" screen, choose the frequency with which you want the Shutdown PC to run. For nightly shutdown, click on "daily" and click the Next" button.
6.On the "Daily" screen, enter the date and time you want your PC to shutdown. Click "Next."





7. On the "Action" screen, choose "Start a program" and click "Next."



Click Here Download auto_shutdown.bat




8. Copy or Move downloaded auto_shutdown.bat  fine into "C:\" drive.


 9. On the "Start a Program" screen, type C:\auto_shutdown.bat in the "Program/script" text field.


10. Click "Next."
11. Confirm your settings on the Summary screen and click "Finish."


Now your Windows 7 computer will automatically shutdown at the same time every day/night. before shutdown it will show pop message windows system going to shutdown next 2 minutes.





Sunday, August 2, 2015

PDF Compressor Free Tool

PDF Compressor Free Tool

Why is there a need to compress a PDF file? Some PDF files are large, especially PDF documents that contains many images, these files open very slowly, and are not easy to store, transfer and share. Now you can use this free PDF compression software to compress these files with an acceptable quality. At the same time, by reducing PDF files size, you can use PDF as your ebook format, easy to read PDF files on mobile phone, send by email as attachments, or upload and share with your friends.

PDF Compressor is a free PDF compression software to enable you to effectively reduce the size of PDF files. Software is simple and easy to use, select an existing PDF file, and hit button "Compress", a compressed PDF file will be created, page by page, a progress bar will show progress of the whole compression process.

This software supports five different compression settings:
  • Screen - low resolution, screen-view-only quality, 72 dpi images.
  • eBook - medium resolution, low quality, 150 dpi images.
  • Printer - high quality, 300 dpi images (Myself Tested this option).
  • Prepress - high quality, color preserving, 300 dpi images (Good Quality PDF output, 90 % Less file Size - Myself Tested this option).
  • Default - a wide variety of uses, possibly larger output file.

These five compression settings represent five different compression ratio, generally, you can get a smallest output file with "Screen" setting, and get a biggest output file with and "Prepress" setting. But, please note, for a few PDF files, the resulting file will be large with "Screen" setting, in this case, you need to try different settings.




Demo:-

1. Drag mouse point to PDF file  It will show Actual PDF file size "2.87 MB".


2.Open Free PDF Compressor tool and select source PDF file.


3. Select PDF Output file location and select compress setting "Prepressthen
    Click " Compress" option.




4. Few seconds compressed PDF file available on output file location.




5.  compressed PDF file details.

Actual Size - 2.87 MB
After compressed - 168 KB
98% Compressed without Losing on Quality.







Friday, July 31, 2015

USB Disk Storage Format Tool

USB Disk Storage Format Tool

  • USB Disk/Drive Format Utility is a Windows based software used to format flash drives to FAT, FAT32 and NTFS partition types.
  • USB Disk format failure in Windows , Try this tool easily formatted and without any issue.
  • The format options provided all type USB Disk / Flash Drives.
  • All drives connected through the USB port of the computer is recognised and can be formatted using this software.
  • The additional option available is that the user can locate the system files from the default internal MS-DOS location or from the files located at an alternate location. 

1.Right click HP USB Disk Storage Format Tool icon and click Run as Administrator options.

2. Select Correct USB Device and File system type.



3. Type USB Disk Volume label name (example: MOHAN)

4. Select format options and click Start option.



5. USB Device format successfully completed with below results