2 ms·
One of my favourite support calls was a sev 1, database wasn't happy & it was involved in call setup so nobody could make calls on the mobile network. It hadn't
by trollied 2y ago
One of my favourite support calls was a sev 1, database wasn't happy & it was involved in call setup so nobody could make calls on the mobile network. It hadn't failed over because of a HA quirk.
Somebody had been working on the box logged in as root and accidentally changed the hostname to "-", which royally messed things up.
- fanf2 2y agoOMG one of the classic Linux/Solaris footguns! On Linux, hostname queries the host’s name; on Solaris, hostname sets the host’s name. If (say) you have a favourite shell prompt that includes the hostname, and your PS1 line is old enough to predate bash’s \h escape and/or is designed to work with other shells, it might contain `hostname -s`. Carelessly copy your shell prompt to a Solaris box, and fun ensues when it changes its name to -s ! Hopefully you are suspicious enough to notice your prompt has gone weird and discover the problem before breaking a telephone service.