Technology Errors

OracleOraDb11g_home1TNSListener Service On Local Computer Started And Then Stopped

While doing some testing of Oracle on a Windows 7 computer I stopped the TNS Listener service also known as OracleOraDb11g_home1TNSListener. The problem is when I attempted to restart the service it would not start. While testing various other things I had made numerous changes so I started looking into what might cause the issue and was pretty confident that the $ORACLE_HOME variable I set within the Windows Environment Variables was probably the culprit. Below I describe more details about the error as well as how I resolved the TNS Listener not being able to start.

Technology Insights

Send A Text Message From A Shell To A User Logged Into A Linux Server

This topic is fairly known to most older system administrators however I doubt it is used very often anymore. If you happen to manage any servers where there are typically various people logged in and working on different items from the CLI then it can be useful to be able to send them messages. Using the write command you can send messages to users logged in on specific TTY port or by username. Below are a couple examples of how you would use the write command from a Linux shell.