Tuesday, 28 May 2013

avahi_entry_group_add_service_strlst("localhost") failed: Invalid host name (Internal Server Error)


When run this url : http://localhost
Error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.15 (CentOS) Server at 127.0.0.1 Port 80

checking log file in /var/log/httpd/error_log
avahi_entry_group_add_service_strlst("localhost") failed: Invalid host name

Solution : Completely remove httpd package then install again httpd package  

[root@localhost opt]# yum remove http*

[root@localhost opt]# find / -name http* (Remove all entry from the linux)
/usr/lib64/httpd
/etc/httpd
/var/log/httpd
usr/share/doc/perl-Net-Server-0.97/examples/httpd

[root@localhost opt]# rm -rvf /etc/httpd

[root@localhost opt]#rm -rvf /var/log/httpd/

[root@localhost opt]# rm -rvf /usr/lib64/httpd/

[root@localhost opt]# rm -rvf /usr/share/doc/perl-Net-Server-0.97/examples/httpd

[root@localhost opt]# find / -name httpd (If you will get blank  then install httpd ) 


[root@localhost opt]# yum install http*

[root@localhost opt]# service httpd restart

Stopping httpd: [ OK ]

Starting httpd: [ OK ]

[root@localhost opt]#

Reset Grace Period of Windows Server 2012 RDS

Error: the remote session was disconnected because there are no remote desktop license servers available to provide license in aws Solu...