It’s because your server-name is missing in httpd.conf file.. sudo vim /etc/apache2/httpd.conf Insert the following line at the httpd.conf: ServerName localhost Just restart the Apache: sudo /etc/init.d/apache2 restart if you don’t have httpd.conf under /etc/apache2, you should have apache2.conf – … Continue reading
Category Archives: Troubleshoot
Resolved : Starting lighttpd: Time: (server.c.722) couldn’t set ‘max filedescriptors’ Permission denied CentOS RHEL Linux
Simple Solution Disable selinux.
There are two ways. My preference is generally as follows. scp -r sourcedir/ user@:/dest/dir/ or rsync -auv -e ssh –progress sourcedir/ firstname.lastname@example.org:/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
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
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
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
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
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