trafficserver-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Billy Vierra <bvie...@sortatechie.com>
Subject Re: Remove uninstall target (Was Damn! Will trafficserver delete /var/run folder by Uninstall it???)
Date Fri, 17 Jun 2011 17:19:02 GMT
+1 from me for this as well

On 06/17/2011 09:17 AM, Igor Galić wrote:
>
> ----- Original Message -----
>>
>> This looks like something which should be fixed. The uninstall for
>> the "proxy" component does an rm -rf on the statedirectory. The
>> defaults /usr/local/var are general enough that ATS should change
>> the default location to a subdirectory underneath. Looks like the
>> configure command that the OP used caused the Makefile to delete the
>> contents so at this point, unfortunately, your best bet would be do
>> some sort of recovery if you have it.
> I suggest we remove the uninstall target.
> There's no way we can convincingly test all Layout mutations, and
> even if we do manage to test all the ones we offer, someone will
> come up with a layout that will wipe /usr or /var or both.
>
>> Sridhar
>>
>>
>> On Fri, Jun 17, 2011 at 11:08 AM, Belkacem Mohamed Rebbouh<
>> rebbouhb@gmail.com>  wrote:
>>
>>
>>
>> This is what i suspected the first time, but when we see the
>> information given, the install dir is in /usr/local the default
>> location.
>>
>> I think that the mistake is human, and the data is recoverable (if
>> you didn't write something on the disk in the meanwhile)
>>
>> cheers.
>>
>>
>>
>>
>>
>>
>>
>>
>> On Fri, Jun 17, 2011 at 5:05 PM, Leif Hedstrom<  zwoop@apache.org>
>> wrote:
>>
>>
>>
>>
>>
>>
>>
>> On Jun 17, 2011, at 8:47 AM, "Sharl.Jimh.Tsin"<
>> amoiz.shine@gmail.com>  wrote:
>>
>>
>>
>>
>>
>> On 2011年06月17日 22:32, medarkness wrote:
>>
>>
>> Hi,
>> can you give us more informations about the version you are using?
>> the operating system?
>> and the options you used when you installed ATS?
>>
>> ps.
>> please don't be harsh in your emails, ATS is an open source project,
>> you are using it on your own risks, and support is a favor not an
>> obligation :)
>>
>>
>> On Fri, Jun 17, 2011 at 4:22 PM, Sharl.Jimh.Tsin<
>> amoiz.shine@gmail.com>  wrote:
>>
>>
>>
>> On 2011年06月17日 18:26, Sharl.Jimh.Tsin wrote:
>>
>>
>> it is really really unbelievable! just minutes ago, I uninstalled the
>> apache traffic server by "make uninstall" in the source folder,then
>> type "make distclean" to clean the previous files.
>>
>> BUT,i found that my the whole folder /var/run was deteled by it. it
>> shocks me very much!
>>
>> as we know,many datas will be put into this folder,especially the
>> MySQL data files.
>>
>> NOW it is gone!!!! WHY??? want a reply.
>>
>> hey!! anybody??? i think it is a serious bug. want a fix and some
>> saving for my DATA.
>>
>>
>>
>> --
>> Best regards,
>> Sharl.Jimh.Tsin (From China *Obviously Taiwan INCLUDED*)
>>
>> Using Gmail? Please read this important notice:
>> http://www.fsf.org/campaigns/jstrap/gmail?10073 .
>>
>>
>> OK,some information is below:
>> 1.source tarball is download from:
>> http://www.apache.org/dist//trafficserver/trafficserver-3.0.0.tar.bz2
>> ,it is 3.0.0 version.
>> 2.configure string to compile:
>> [root@PowerPC trafficserver-3.0.0]# ./configure \
>>> --prefix=/usr/local/trafficserver \
>>> --exec-prefix=/usr/local \
>>> --sysconfdir=/etc/sysconfig/trafficserver \
>>> --localstatedir=/var/run \
>>
>> I think this might be the problem, I suspect we assume that you keep
>> the default with .../var/run/traffic server. I'll play with it later
>> today to see if I can reproduce.
>>
>>
>> Now, if your data is gone, there is obviously nothing we can do to
>> restore it. Hopeful thou have made backups.
>>
>>
>> It is however very surprising that your distro would put DB files in
>> /var/run, that dir is intended for state files, such as PID files.
>> I.e. The files there should easily be recreated by restarting the
>> servers.
>>
>>
>> --Leif
>>
>>
>>
>>
>>
>>
>>
>>
>>> --enable-purify \
>>> --enable-tproxy=auto \
>>> --with-user=cache \
>>> --with-group=web
>> 3.my VPS info is:
>> [root@PowerPC var]# uname -a
>> Linux PowerPC 2.6.18-194.8.1.el5.028stab070.5 #1 SMP Fri Sep 17
>> 19:10:36 MSD 2010 i686 i686 i386 GNU/Linux
>>
>> 4.installed trafficserver info is:
>> [root@PowerPC local]# traffic_server -V
>> [TrafficServer] using root directory '/usr/local/trafficserver'
>> Apache Traffic Server - traffic_server - 3.0.0 - (build # 5167 on Jun
>> 16 2011 at 07:07:03)
>>
>> I am sorry for my impolite,however those data is really very
>> important.i still want it back with some possible ways,thanks again.
>> --
>> Best regards,
>> Sharl.Jimh.Tsin (From China *Obviously Taiwan INCLUDED*)
>>
>> Using Gmail? Please read this important notice:
>> http://www.fsf.org/campaigns/jstrap/gmail?10073 .
>>
>>

Mime
View raw message