- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- greatest blunders
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 05:00 AM
12-04-2002 05:00 AM
Re: greatest blunders
if (a=b) {}
should 've been :
if (a==b) {}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 05:11 AM
12-04-2002 05:11 AM
Re: greatest blunders
ever told the electricians , that your server is hooked to a completely different circuit breaker ? Had some nice reactions from my users about 2 seconds, after this guy switched it.
;-)
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 05:31 AM
12-04-2002 05:31 AM
Re: greatest blunders
My greatest to date was pvcreating a disk in a service guard cluster that was the root disk on the other node. The girl who had been setting up the server for testing (luckily) wasn't best pleased
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 05:51 AM
12-04-2002 05:51 AM
Re: greatest blunders
I created an inventory script to be used in the Response Center to track all the systems across the United States (about 320 systems). These are all test and problem replication machines but necessary for the R/C engineers to replicate customer problems.
The script was written about 1992 to handle version 7.0 and higher. About 1995, I had a number of useful scripts that it seemed reasonable to drop these into all 300 machines as a part of the inventory process (so far, so good). Then about that time, 10.01 was released and I made a few changes to the script. One was to change the useful script location from /usr/local/bin to /usr/contrib/bin because of bad directory permissions. I considered 'fixing' the bad permissions but since these systems must represent the customer environment, I decided to move everything.
Enter the shell option -u. I did not use that option in my scripts and due to a spelling error, an environment variable was used in rm -r which was null, thus removing the entire /usr/local directory on 320 machines overnight.
Needless to say, I never write scripts without set -u at the top of the script.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 06:28 AM
12-04-2002 06:28 AM
Re: greatest blunders
I've got a couple that probably qualify. 1 is HP-UX related and one is MPE/V related.
On the MPE/V machine I helped to support a product that the company I worked for sold. I was doing some work with the product license file which was kept at CATALOG.PRODUCTNAME.SYS. Well, I removed CATALOG. The only thing was, I wasn't in the PRODCUTNAME.SYS group, I was in the PUB.SYS group. For anyone not familiar with MPE, CATALOG.PUB.SYS is a pretty important system file, especially when rebooting the machine. Well, I didn't realize what I had done until a couple of days later when I did attempt to reboot the machine. When it started complaining that it couldn't find the CATALOG.PUB.SYS file, I realized what I had done. The machine wasn't super-critical, but we did have some accounting stuff on it. I spent most of that day restoring the system from the 1600 BPI 9 track reel-to-reel tape.
Now for number 2 - on an HP-UX system -
This was the main accounting server for a medium sized company I worked for. I had been moving files around between the production server and our test server. I went to rm a file and thought I was on the test server, but in reality I was on the production server. I was at the office extra early the next morning with the latest backup tape in hand to restore the file. Fortuantely it was not a critical file and no harm was done. At least no harm other than knocking a few years off of my life expectancy, probably.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 06:46 AM
12-04-2002 06:46 AM
Re: greatest blunders
I had great time once on a weekend, mounted a file System in /usr and was trying to run few commands but nonetheless i learn no jokes at weekends..............
On my second instance, unfortunately i happened to change the permissions of /etc to read, and then started the fun where i was unable to login to the WKS with root.....
Life Time Acheivement Error.......
"Login Incorrect.."
Thanx.
Regards,
Robert DJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 06:48 AM
12-04-2002 06:48 AM
Re: greatest blunders
I noticed that disk space was short, so got an external 512M (huge back then), and plugged it in.
I saw that /usr seemed pretty full, and /usr/lib was lots of data. I descided it would be cool to move this to my newly made mount, and link it over.
Well, I learned rather quiclky that Solaris did not have a staticly linked ln command ;)
Back in them days it was a good 8 hours to install an OS. SO it took me 2 days to get my Sun Sparc up and running.. Live and learn!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 06:49 AM
12-04-2002 06:49 AM
Re: greatest blunders
The good news is that after that mess they decided that we would never start a DR drill at midnight!
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 07:14 AM
12-04-2002 07:14 AM
Re: greatest blunders
Here's mine.
Situation: 2 N-class servers, one already configured and running production databases, the other newly arrived, connected and the 2 12h autoraids are cross-connected for the future MCSG implementation.
Using an ignite tape from the first N, I booted from it on the other N and installed in batch mode.
For the next couple of weeks, I was scratching my head, constantly running fsck on several filesystems on the first N, wondering where all the inode errors were coming from!!!!
We learn by doing.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 07:19 AM
12-04-2002 07:19 AM
Re: greatest blunders
Turns out the local guys were working on the console network and I could not get in that way either.
Had to wait for the day crew in Dublin to finish working on the console network.
On the UNISYS mainframe, it has a feature that you can change OS code on the fly. I fat fingered a jump and it immediately jumped somewhere causing the OS the crash. Turns out that changes made this way also get written to the boot disk and a disk boot would not work either. A tape boot was required.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 07:38 AM
12-04-2002 07:38 AM
Re: greatest blunders
I learned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 08:28 AM
12-04-2002 08:28 AM
Re: greatest blunders
Lets call him "Robin's mate", as he was the one I think bailed him out (Hi Robin)!!!!
Writing a script to change the root passwords on all servers globally, even in remote unmanned locations such as Bogata. Only thing was, the script zero'ed the password files....cracker?
So he moved to another client.
Decided to untar an image of one server onto another machine...without specifying a path. Luckily there was a backup!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 01:57 PM
12-04-2002 01:57 PM
Re: greatest blunders
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 02:22 PM
12-04-2002 02:22 PM
Re: greatest blunders
The system was located under the receptionist's desk & I was sitting in her seat talking to the office mgr & typing at the same time. When the converstaion ended I swiveled in the chair to face the monitor again when my foot bumped something under the desk. My face started to turn ashen gray watching the screen collapse & the power light go off as I realized I had just bumped the power switch for the UPS.
Needless to say after I brought the system back up & fsck-cleaned all the filesystems (luckily nothing lost or corrupted), I turned that UPS around so the power switch faced the wall.
I wondered why the receptionist hadn't done that until I remembered that she was about 5' tall whereas I'm about 6'. Her legs weren't long enough to reach the UPS from the seating position.
Cheers,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 03:17 PM
12-04-2002 03:17 PM
Re: greatest blunders
We us BC's on our XP512. We stop the application, resync the BC, split the BC, start the application, mount the BC on same server, start backup to tape from BC. Well I had to add a LUN to the primary and BC. I recreated the BC. I forgot to change the script that mounts the BC to include the new LUN. The error message vgimport when you do not include all the LUN's is just a warning and it makes the volume group available. The backups seemed to be working just fine.
Well 2 months go by. I did not have enough available disk space to test my backups. (That has been changed). Then I decided to be proactive about deleted old files. So I wrote a script:
cd /the/directory/I/want/to/thin/out
find . -mtime +30 -exec rm {} \;
Well that was scheduled on cron to run just before backups one night. The next morning I get the call the system is not responding. (I guessed later the cd command had failed and the find ran from /).
After a reboot I find lots of files are missing from /etc /var /usr /stand and so on. No problem, just rebuild from the make_recovery tape created 2 nights before then restore the rest from backup.
Well step 1 was fine, but the backup tape was bad. The database was incomplete. It took 3 days (that is 24 hours per day) to find the most recient tape with a valid database. Then we had to reload all the data. After the 3rd day I was able to turn over recovery to the developers. It took about a week to get the application back on-line.
I have sent a request to HP to have the vgimport command changed so a vgimport that does not specify all the LUN's will fail unless some new command line param is used. They have not yet provided this "enhancement" as of the last time I checked a couple of months ago. I now test for this condition and send mail to root as well as fail the BC mount if it does.
Life lesson: TEST YOUR BACKUPS!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 07:42 PM
12-04-2002 07:42 PM
Re: greatest blunders
...ALWAYS make sure the keyboard is sitting on the box to which it is connected!
-------------------
Another thing to remember (I didn't do this one!) NEVER fool around like you're pretending to hit that big red button by the door! (Somethings things just don't go as you had planned...)
(I'm not sure where he is now, but I know he doesn't work for us anymore...)
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 08:27 PM
12-04-2002 08:27 PM
Re: greatest blunders
No sooner was ld moved, than all hell breaks loose.
Users get coredumps in response to even simple commands like "ls", pwd", "cd"... New users cannot telnet into the system and those who are logged in are frozen in their tracks.
Both the developer and admin are still working with us...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 01:03 AM
12-05-2002 01:03 AM
Re: greatest blunders
once I have got 3 identical workstations. Every station had a configuration sheet with (among other things) the lan address.
Every workstation has got a name which I wrote at the sheets.
When one mainboard failed it was replaced and I gave the sheet to the worker to set the lan address.
Since then I had problems with two of my workstations - I checked it with ping and they disappeared during ping!
With help of the support center we checked with lanadmin the lan addresses of both workstation - they were identical!
I've written the wrong name at the sheet and we couldn't work with this clients for one week!
So some things should be checked twice!
Volkma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 01:27 AM
12-05-2002 01:27 AM
Re: greatest blunders
Remember I gave the same ip of the machine to the remote console configuration.
The battery inside the server had to be taken off and again placed for the system to come up.
1 hour oooh.....
The time when new to hpux.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 01:45 AM
12-05-2002 01:45 AM
Re: greatest blunders
.....................
only getting 4 points
while anybody else gets a bunny
.....................
sorry that I didn't rm-ed my /
.....................
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 01:52 AM
12-05-2002 01:52 AM
Re: greatest blunders
woundn't it be easier to clean up your cron job!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 01:55 AM
12-05-2002 01:55 AM
Re: greatest blunders
accept my sincere apologies. I meant to give you 9 points but it scrolled down to 4 without my knowledge
Put one more post , you deserve 10 points more
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 02:00 AM
12-05-2002 02:00 AM
Re: greatest blunders
Back in the early 90's in the halon days. Working nights. I was alone on a snow night. I was the only mainframe operator with a 4x4. I had everything running as smooth as possible. " Boy my boss will love this when he makes it in tomorrow morning and see's that I can run this place by myself " I smelled something burning slightly but couldn't tell where it came from. So I walked around the room. Boom above my head, a light ficture caught on fire and flames were shooting out of the drop ceiling. You would have thought that the clue 'drop ceiling' would have rang a bell. Nothing above a drop ceiling. I let the halon discharge. Downed systems and a costly 50K refill for the halon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 02:31 AM
12-05-2002 02:31 AM
Re: greatest blunders
For me the worst was on AIX and not HP-UX,
TO install 2 new SSA disks (which are like Fibre Channel), I didn't want to stop the prod server,
Then I installed the 2 disks, detect them from the OS : no troubles.
But then declare these disks in the VG (like pvcreate on HP). And at this level, all the disks of the system disappear !!! The LVM structure was out of order, just rootvg (vg00) was ok !! (And remember that it was prod server). But another server connect to the same disks succed to imports the disks, data were there !!!,
In 1 hour, I configured this server to work as the first one (hand made Service guard if you want !!). And later in the evening I succeded to import back the disks on the main server !!
Today, I don't understand what happened !!! I did the same thing (pvcreate ) many other times since this day without any troubles !
Who said that IS is logical ??
regards
Benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 02:57 AM
12-05-2002 02:57 AM
Re: greatest blunders
Did not worry that the remote support modem can not dial out from remote support port.
Went through all documents available, created device files dozen times, but never worked. In anguish did rm -fr `ltr|tail -4|Awk '{print $9}'
(That to pacify myself that I know complex commands)
But alas, I was /sbin/rc3.d.
Thought this is not going to work and left that.
Other colleage not aware of this rebooted the system for Veritas netbackup problem.
Within next two hours HP engineer was on-site. Was called by colleague.
Was watching whole recovery process, repeatedly saying "I want to learn, I want to learn"
Then came to know that can not be done.