[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] WINSCP error File disappeared/0KB



Thanks Yuri, but I'm too late to try that. Although I'll keep it in mind
for for next time...

I had to restart the server because I discovered I'd started something
during my testing that produced a 26GB apache error log file. This took up
all my server space and is probably what caused the error in WinSCP and my
plugin to vanish. So I killed the processes, deleted the huge file and then
had to restart Apache, which appears to have reloaded the config (as
expected).

I've paid the iron price to learn to back up frequently.

Thanks,
James


On Tue, Jun 18, 2019 at 4:16 PM Yuri via Eprints-tech <
eprints-tech at ecs.soton.ac.uk> wrote:

> You could dump the memory of the apache process, the config (in a perl
> structure) should be there I think. This is a guide:
>
>
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fshafiqvinales.wordpress.com%2F2017%2F09%2F14%2Fdump-a-linux-processs-memory-to-file%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cee975e11ec4d4e69d10408d6f402b2e3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=quqklgx%2BIfpc%2BJ913f9WJCdM5lLliLKqrLt2eDnk2Vs%3D&amp;reserved=0
>
> You can also try to grep in the swap.
>
> Il 18/06/19 15:47, James Kerwin via Eprints-tech ha scritto:
> > Hi All,
> >
> > I was working on something today and because it was a test I was only
> > using WinSCP to transfer the file. There was some sort of error on
> > WinSCP and the file is now blank with a size of 0kb. I've looked in
> > the Windows AppData folder and it only contains the blank version of
> > the file.
> >
> > I have no recent backups from today. The file is currently part of the
> > config loaded in to EPrints.
> >
> > Does anybody have a clue if there is any way I can see it via EPrints
> > since it's part of the currently loaded config?
> >
> > I know unix/linux is very unforgiving with this sort of thing, but I
> > thought it might be worth asking.
> >
> > Thanks,
> > James
> >
> > *** Options:
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> > *** Archive:
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cee975e11ec4d4e69d10408d6f402b2e3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=TzBqNifIqiOyFSwsgVCHhMa5hxKHjO8ABjpkTBNNPBo%3D&amp;reserved=0
> > *** EPrints community wiki:
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cee975e11ec4d4e69d10408d6f402b2e3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=7p5D%2BX6J%2Fq9WbBx%2FtNpG6O%2B%2BpUHe1GNHA5brOkB4FRI%3D&amp;reserved=0
> > *** EPrints developers Forum:
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cee975e11ec4d4e69d10408d6f402b2e3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=nOm57D0b0BLgsnWQLJwZRVPGRUt0BTqSyOZcM1jZMJs%3D&amp;reserved=0
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cee975e11ec4d4e69d10408d6f402b2e3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=TzBqNifIqiOyFSwsgVCHhMa5hxKHjO8ABjpkTBNNPBo%3D&amp;reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cee975e11ec4d4e69d10408d6f402b2e3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=7p5D%2BX6J%2Fq9WbBx%2FtNpG6O%2B%2BpUHe1GNHA5brOkB4FRI%3D&amp;reserved=0
> *** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cee975e11ec4d4e69d10408d6f402b2e3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=nOm57D0b0BLgsnWQLJwZRVPGRUt0BTqSyOZcM1jZMJs%3D&amp;reserved=0
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20190618/a83c2f57/attachment-0001.html