Lost File

This is a discussion on Lost File within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; I don't know if this is necessarily the right place to ask this, but here goes. To make a ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-06-2004
Motherchucker
 
Posts: n/a
Default Lost File

I don't know if this is necessarily the right place to ask this, but here
goes. To make a long story short, I managed to blank out my postfix
executable to zero bytes. For someone who's not too comfortable with
mucking around with custom compiling things, how can I fix this? This is
what I have now:

% ll /usr/local/sbin/postfix
-rwxr-xr-x 1 root wheel 0 Jan 5 14:58 /usr/local/sbin/postfix

I looked through my Putty logs and managed to figure out what its properties
used to look like:

-rwxr-xr-x 1 root wheel 71235 Oct 31 15:01 postfix

Armed with this info, I went looking through the file system for any other
files called 'postfix' that were also 71235 bytes long and found two:

-rwxr-xr-x 1 root wheel 71235 Nov 4 14:51
/usr/tmp/usr/ports/mail/postfix/work/postfix-2.0.16/bin/postfix
-rwxr-xr-x 1 root wheel 71235 Nov 4 14:51
/usr/tmp/usr/ports/mail/postfix/work/postfix-2.0.16/src/postfix/postfix

I thought I might just be able to copy one of these into the original's
place and forgo having to recompile anything. The only thing that makes me
wonder are the dates; the two remaining files were modified after (Nov 4
14:51) the original (Oct 31 15:01).

This is an Interland (jailed) VPS running FreeBSD 4.4-RELEASE.

I hope I haven't rambled to much...any help would be greatly appreciated

--
Charles Jones
For targeting purposes: Lat: 41° 57' 47" N Long: 87° 50' 10" W
For direct replies, remove "NOSPAM." from my email address


Reply With Quote
  #2 (permalink)  
Old 01-07-2004
Motherchucker
 
Posts: n/a
Default Re: Lost File

"Motherchucker" <charles@NOSPAM.charleswjones.com> wrote in message
news:btfcth$6hrj5$1@ID-187648.news.uni-berlin.de...
>
> -rwxr-xr-x 1 root wheel 71235 Nov 4 14:51
> /usr/tmp/usr/ports/mail/postfix/work/postfix-2.0.16/bin/postfix
> -rwxr-xr-x 1 root wheel 71235 Nov 4 14:51
> /usr/tmp/usr/ports/mail/postfix/work/postfix-2.0.16/src/postfix/postfix
>
> I thought I might just be able to copy one of these into the original's
> place and forgo having to recompile anything. The only thing that makes

me
> wonder are the dates; the two remaining files were modified after (Nov 4
> 14:51) the original (Oct 31 15:01).
>

Well, I've answered my own question. I copied in the one from the ./bin/
directory and it works flawlessly

--
Charles Jones
For targeting purposes: Lat: 41° 57' 47" N Long: 87° 50' 10" W
For direct replies, remove "NOSPAM." from my email address


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:09 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0