Category Archives: Troubleshoot

Resolved : Starting lighttpd: Time: (server.c.722) couldn’t set ‘max filedescriptors’ Permission denied CentOS RHEL Linux

Simple Solution Disable selinux.

How to copy File or Directory from Local Machine/Remote Server to remote Linux server

There are two ways. My preference is generally as follows. scp -r sourcedir/ user@:/dest/dir/ or rsync -auv -e ssh –progress sourcedir/ user@dest.com:/dest/dir/ or rsync -avlzp sourcedir/ user@:/dest/dir/ you can put file name instead of sourcedir to copy file too.

Resolved : Starting lighttpd: Time: (server.c.722) couldn’t set ‘max filedescriptors’ Operation not permitted in CentOS / RHEL/ FEDORA Linux

Solution [root@server home] service lighttpd restart Stopping lighttpd:[FAILED] Starting lighttpd: 2013-06-03 00:40:24: (server.c.722) couldn’t set ‘max filedescriptors’ Operation not permitted [root@server home] semodule -DB [root@server home] /etc/init.d/auditd restart Stopping auditd: [ OK ] Starting auditd: [ OK ] [root@server home] … Continue reading

Resolved : Circular Dependency Error 1059 while starting Windows Service

When you try to start service and it gives error 1059 which says Circular Dependency Error 1059 while starting Windows Service. You can fix it via following steps Open registry editor HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\\ Object name key is logon account for the … Continue reading

Resolved : ORA 00911 invalid character inline query C# or Java

Generally the following code we use to write as inline query OracleConnection conn = new OracleConnection(-myConnectionString-); conn.Open(); OracleCommand command = new OracleCommand(“select userid from usermaster;”, conn); var v = command.ExecuteReader(); OracleCommand command = new OracleCommand(“select userid from \”usermaster\”;”, conn); var … Continue reading

Resolved : HTTP Error 500.21 – Internal Server Error Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list

You’ll get error when you run your website from IIS 7 it’ll give you error 500.21 with following details. Caution : you .net framework is not registered with IIS.. Solution: Register your .NET Framework with IIS using following command. %windir%\Microsoft.NET\Framework\v4.0.21006\aspnet_regiis.exe … Continue reading

Resolved : How to change package name of an Android Application

If you upload your android application and google play deny by saying package already exist. Don’t worry it’s easy to change package name in android application using Eclipse. Eclipse makes very easy to change package names for your android application. … Continue reading

Resolved : Hindi Language Text showing boxes in Android Emulator

First of all you need to supply external font to your application generally it’s kruti ttf or vigyapti-hindi ttf files. put it in asset folder and then try following code. Typeface hindiTypeFace = Typeface.createFromAsset(getAssets(), “kruti.ttf”); TextView myTextView = (TextView)findViewById(R.id.hindiTextView); myTextView.setTypeface(hindiTypeFace); … Continue reading

Resolved : findViewById() returns null Android

First solutionc can be regenerate R.java file. Try following : Eclipse -> Project -> Clean Sometimes during building, the R.java class messes up and causes wrong references to id’s. so by cleaning project it may solve your problem. Second solution … Continue reading

How to install APK file in Android SDK Emulator

adb install command installs the application in emulator. Following are the options available with adb install command adb install [-l] [-r] [-s] – push this package file to the device and install it (‘-l’ means forward-lock the app) (‘-r’ means … Continue reading