RT blown away somehow configging apache2?

Something horrible just happened. I had a functional,
accepting-tickets-from-emails RT going, and went to add a virtual host
for another department’s intranet site.

I wasn’t doing anything with RT. I was busy mucking up the apache
config, when I noticed during a restart

Warning: DocumentRoot [/opt/rt3/share/html] does not exist

And thought, what the hell? Went to look, and somehow everything in
/opt/rt3 except etc/ and local/ was blown away. Gone.

The files in etc/ and local/ were the defaults, as from a fresh install.
The directories themselves have a timestamp of about an hour ago.

I immediately went very, very carefully through my bash_history. I see
nothing like the nuke-all rm -rf you’d expect to find in a case like
this. The entire rt3/ dir being blown away I could understand as a bad,
bad typo: the two new versions of etc/ and local/ with all others being
gone completely mystifies me.

Before I go putting this all back, I’d like to identify what happened if
possible. I’m not sure where to even start looking.

Rob Munsch

IT Administrator

http://www.PhillyCarShare.org http://www.PhillyCarShare.org

Our wheels. Your freedom.

215-730-0988 x131

Robert Munsch.vcf (141 Bytes)

Was opt/rt a link perhaps to usr/local/www/rt ?-----Original Message-----
From: “Robert Munsch” Munsch@phillycarshare.org

Date: Fri, 5 Dec 2008 17:51:28
To: rt-users@lists.bestpractical.com
Subject: [rt-users] RT blown away somehow configging apache2?

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Find / -name rt3 -type dir -print-----Original Message-----
From: “Robert Munsch” Munsch@phillycarshare.org

Date: Fri, 5 Dec 2008 17:51:28
To: rt-users@lists.bestpractical.com
Subject: [rt-users] RT blown away somehow configging apache2?

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

From: chaim.rieger@gmail.com [mailto:chaim.rieger@gmail.com]
Sent: Friday, December 05, 2008 5:54 PM
To: Robert Munsch; rt-users-bounces@lists.bestpractical.com; rt-
users@lists.bestpractical.com
Subject: Re: [rt-users] RT blown away somehow configging apache2?

Was opt/rt a link perhaps to usr/local/www/rt ?

I wish :).

Robert Munsch.vcf (141 Bytes)

Locatedb only works for stuff that in your PATH.

Do find -type d not dir.

Did you run yum or apt ?From: “Robert Munsch” Munsch@phillycarshare.org

Date: Fri, 5 Dec 2008 18:07:18
To: chaim.rieger@gmail.com; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] RT blown away somehow configging apache2?

root@data:/opt/rt3# find / -name rt3 -type dir -print
find: invalid argument dir' to -type’

In any event, updatedb and ‘locate rt3’ doesn’t find the droids I’m
looking for. These weren’t symlinks, these were the real files; and
they have really Gone Away. I just need to identify how so I don’t do
it again. I don’t see how anything, no matter how wonky, involved in
messing with Apache2 configs could annihilate the RT install, but…

Rob Munsch
IT Administrator
http://www.PhillyCarShare.org
Our wheels. Your freedom.
215-730-0988 x131

-----Original Message-----
From: chaim.rieger@gmail.com [mailto:chaim.rieger@gmail.com]
Sent: Friday, December 05, 2008 5:54 PM
To: Robert Munsch; rt-users-bounces@lists.bestpractical.com; rt-
users@lists.bestpractical.com
Subject: Re: [rt-users] RT blown away somehow configging apache2?

Find / -name rt3 -type dir -print

Sent via BlackBerry from T-Mobile

-----Original Message-----
From: “Robert Munsch” Munsch@phillycarshare.org

Date: Fri, 5 Dec 2008 17:51:28
To: rt-users@lists.bestpractical.com
Subject: [rt-users] RT blown away somehow configging apache2?


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

root@data:/opt/rt3# find / -name rt3 -type dir -print
find: invalid argument dir' to -type’

In any event, updatedb and ‘locate rt3’ doesn’t find the droids I’m
looking for. These weren’t symlinks, these were the real files; and
they have really Gone Away. I just need to identify how so I don’t do
it again. I don’t see how anything, no matter how wonky, involved in
messing with Apache2 configs could annihilate the RT install, but…

Rob Munsch
IT Administrator
http://www.PhillyCarShare.org
Our wheels. Your freedom.
215-730-0988 x131

Robert Munsch.vcf (141 Bytes)

Nope, didn’t run any packagers: but this was an install from source.
The source files remain where I unpacked them, which may have been a
mistake: maybe I triggered a reinstall without realizing it? But then,
why did it only create the two directories, instead of all of them?

Rob Munsch
IT Administrator
http://www.PhillyCarShare.org
Our wheels. Your freedom.
215-730-0988 x131

Robert Munsch.vcf (141 Bytes)