Posts

Showing posts from March, 2016

Fix for the error Http Port 80 is busy or isn't available in Windows.

Image
There are some default windows applications especially on Windows 10 who rely on this port 80. So while we try to install a software that requires to configure Web application server, it will pause the installation with this Error. Inorder to fix this, try running the command NET stop HTTP   When you'll start it, you will get list first:   After the service is stopped, retry the installation process. You will see that the error is vanished. In windows 10, sometimes you may seem that the stopping of http service fails. In order to resolve this, you need to go to Settings>Updates and security>Windows Difender. Turn off the online cloud syncing options and turn off windows defender. restart the pc and retry stopping the service. Sometimes you need to disable also the 'Microsoft one drive' service from the  task manager's startup tab.

Send mail from Oracle Solaris OS with attached files

To send mail from Solaris, use this syntax echo "some text to send" | mailx -s "subject of email" recipient's@address Or, if you have body of email in some file: mailx -s "subject of email" recipient's@address < some_file.txt If you want to send mails with zip files of image files use the following formats: uuencode reports.tar.gz reports.tar.gz | mailx -s "My Report" you@domain.com     uuencode office.jpeg office.jpeg | mail -s "Subject" you@domain.com   If you need to send multiple attachments in single mail:   $ uuencode r1.tar.gz r1.tar.gz > /tmp/out.mail $ uuencode r2.tar.gz r3.tar.gz >> /tmp/out.mail $ uuencode r3.tar.gz r3.tar.gz >> /tmp/out.mail $ cat email-body.txt >> /tmp/out.mail $ mail -s "Reports" you@domain.com < /tmp/out.mail            

How to replace find -maxdepth option in Solaris Operating System using -prone

 In linux we normally use the option -maxdepth with the find command to report all files and links in the currect directory, not recursively   for example:- find /some/directory/ -maxdepth 1 -type f -name *.log    But when we use the same in Oralce Solaris OS, the command will give error as maxdepth is not an option recogonized in the system. We can replace it with -prone and the syntax is as follows:- find /some/directory/* -prune -type f -name *.log     this should also work with IBM-AIX OS