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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
"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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|