+ Responder ao Tópico



  1. #1
    jo83
    Visitante

    Padrão Swap file

    olá pessoal, tava mexendo no meu firewall daí a hora que fui executar ele deu essa mensagem dizendo que não exite o arquivo. Como eu faço para solucionar isso? :mrgreen:

    E325: ATTENTION
    Found a swap file by the name ".firewall.swp"
    owned by: root dated: Fri Mar 18 15:59:14 2005
    file name: ~root/firewall
    modified: YES
    user name: root host name: labservermd
    process ID: 5119
    While opening file "firewall"
    dated: Mon Jun 19 14:00:51 2006
    NEWER than swap file!

    (1) Another program may be editing the same file.
    If this is the case, be careful not to end up with two
    different instances of the same file when making changes.
    Quit, or continue with caution.

    (2) An edit session for this file crashed.
    If this is the case, use ":recover" or "vim -r firewall"
    to recover the changes (see ":help recovery").
    If you did this already, delete the swap file ".firewall.swp"
    to avoid this message.

    Swap file ".firewall.swp" already exists!
    [O]pen Read-Only, (E)dit anyway, (R)ecover, (Q)uit, (D)elete it:

  2. #2

    Padrão Re: Swap file

    Esse erro é causado pelo fato do VIM gravar um arquivo swap para caso ocorra algum acidente (falta de luz, etc) vc possa recuperar. Ou o arquivo já está aberto ou o VIM não saiu de forma correta..
    Se for o segundo caso, escolha a opção r para recuperar.

  3. #3

    Padrão Re: Swap file

    Se voce não quizer recuperar e a mensagem não desaparece, apaga logo o arquivo ".firewall.swp", detalhe para o ponto na frente.