Troubleshoot

Error: Unable to connect DynamoDB in AWS Eclipse Toolkit

Posted on Updated on

I am using Eclipse to connect AWS Dynamo Db and manage TABLES : by installing aws tool kit. everything will works fine but Dynamo db shows unable to connect, unfortunately here is the solution for this.If you can’t get anything else to work, you can screw with the plugin’s metadata to force an http:// connection and avoid ssl entirely.

Follow the below setps to change the metadata to http://

In your eclipse workspace, open the .metadata directory. Browse to .metadata/.plugins/com.amazonaws.eclipse.core/regions. In there is a file called regions.xml. Edit it, changing the DynamoDB entry from https://... to http://... Then restart eclipse, and you will be connecting to DynamoDB over http:// .

Steps to install AWS tool kit.

1. Install AWS Eclipse tools in a clean Eclipse environment (from Help->Eclipse Marketplace only), with no prior installations of the tools on the test machine. Simply wiping a prior installation might leave working settings, config items behind.
2. Note the DynamoDB (as of this writing) is not included in Help->Eclipse Marketplace distribution.
3. Add in DynamoDB from Help->Install New Software
4. Note that it doesn’t connect after entering credentials.

 

Thats it..:)

 

 

 

Advertisements

Error: Failed to access IIS metabase, when trying to browse to .NET 2.0 Website

Posted on Updated on

To resolve that issue please follow steps below –

1. Unregister all the versions of ASP.NET with command “C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis –ua”.

2. Delete the ASPNET account from “Local Users and Group – Users”.

3. Then registere ASP.NET 2.0 with IIS using “C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis –i”.

4. Give permissions to the ASPNET account using “C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis –ga machinename\ASPNET”.

5. Reset the IIS and that resolved the issue for ASP.NET 2.0.

6. Register ASP.NET 1.1 with IIS as well using command “C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis –i”.

7. Reset the IIS.

or

Run the following from your command line to reset IIS registry settings for aspnet user.

C:\WINDOWS\Microsoft.Net\Framework\v2.0.50727>aspnet_ regiis -i

After following the above steps we configured virtual directory versions as required and test both ASP.NET 1.1 and ASP.NET 2.0 application.

Everything will work after that.

Thanks!

Error: #2002 – The server is not responding (or local MySQL server’s socket is not correctly configured).

Posted on Updated on

While accessing PhpMyAdmin getting the following error.

ERROR
#2002 – The server is not responding (or local MySQL server’s socket is not correctly configured).

Reason :-
The  mysql socket file is missing from the /tmp directory

Fix :-

1. Create a symbolic link from the original mysql socket file to /tmp

[root@test ~]# ln -s /var/lib/mysql/mysql.sock /tmp

OR

2. Restart MySQL service from WHM

WHM Login >> Main >> Restart Services >>SQL Server (MySQL)

OR

3.  Edit the PhpMyAdmin configuration file to use the original MySQL socket file.

vi /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php

Make sure, the correct mysql socket file is mentioned there.
~~~~~~~~~~~~~~~~
$cfg[‘Servers’][$i][‘socket’] = ‘/var/lib/mysql/mysql.sock’;
$cfg[‘Servers’][$i][‘connect_type’] = ‘socket’;
~~~~~~~~~~~~~~~~

OR

4.Change the server addr local host to physical IP .

 

Error: Spoolsv.exe is taking up 59%, 70% or maxmimum system resources caused stuck.

Posted on Updated on

This file is responsible for how Microsoft Windows handles print and fax jobs on your computer. This file is not a critical process and can be safely removed from the Task Manager  to free up used memory.

To do this in Task Manager highlight he spoolsv.exe process and click the End Process button.

The abnormal high amount of CPU usage is caused when there are still printer jobs in the Windows spool. To manually remove these print jobs follow the below steps.

1. Click Start, Settings, Control panel.

2. In the Control Panel double-click the Administrative Tools and then Services.

3. Within services locate Print Spooler and right-click it and select Stop.

4. Once this process has been stopped leave the windows open and open My Computer and browse the the below folder

c:\windows\system32\spool\PRINTERS 

or

c:\winnt\system32\spool\PRINTERS

5.In this folder delete all the files in the PRINTERS folder. Once these have been deleted you can right-click the Print Spooler in the Services window and click Start to re-enable the service.

If this does not resolve your issue it’s likely you have an issue with your printer drivers you have installed for your printers.