Working on Ubuntu Desktop 17.04 (Host) with VirtualBox.
Using Ubuntu Server 16.04 on each VM (Guest) as WebServer.
Trying to cp -r /var/www
content to a specific shared folder wwwfiles
to Host.
Working on Guest after a random period of time the host stops to responding (freezes processes, terminal, Mouse and Keyboard interaction) and reboots by itself. This happens as well without working on both of them (host/guest).
Can't get into error logs cd /var/log/syslog
(because of sporadically reboots/interruption) on host as on guest.
Looking and reading around is that What I did until now (in command line):
sudo rm /var/lib/apt/lists/*
sudo rm /var/cache/apt/archives/lock/*
sudo apt-get update
none of these has worked.
My Intent is to:
- Get all data (related mysql of-and running WebBased Applications as Website Data) into a USB Stick to install on a fresh system (supposed corrupted maybe because of a conflict with VirtualBox).
UPDATE: 07.09.2017
couldn't leave the problem there so started to work on.
It seems it's more a fileSystem issue.
Executing fsck -nf /dev/sda1
as root I got following error list:
Inode [number] was part of orphaned inode list. IGNORED
made all passes
structure
connectivity
counts
summary information
It's in fact a FileSystem Error... due I get the message after the check:
/dev/sda1 ******** WARNING: Filesystem still has error ********
Not a Hardware as thought.
/var/log/syslog
(seems is not recording syslogs). Indeed misspelling, not directory but file, my fault. Booting the host normally, and after I try to work on guest, it freezes completely as described. Example... i try to copy the whole/var/www
content onmedia/sf_wwwfiles
. Running the commandcp -r /var/www /media/sf_wwwfiles
starts the copy process, but get stuck in the middle of the process and reboots (Blackscreen and manufacture Logo). – Gianni Sep 05 '17 at 13:30/var/log/syslog
from the live media or from your host system disk which appears to be located at/media/sf_wwwfiles/var/log/syslog
if I'm understanding you properly. Based on yourcp
command I'm not. Could you please [edit] your post to clarify? Thank you for hel;ping us help you. – Elder Geek Sep 05 '17 at 14:31/var/log/syslog
on host is empty (can't for interruption reason on guest). Something is not running the way it should obviously. I noticed right now looking to the very fast startup of machine a volume/sda1 issue... and seriously start thinking that HDD could be broken in some partitions. This would in a way explain the randomly boot of machine (working on it or not, didn't matter). Guess I'm forced to make a file recovery of HDD to another machine. Hopefully I'll be able to backup all stored files. – Gianni Sep 05 '17 at 15:08fsck -nf /dev/sda1
as root I got following error list:Inode [number] was part of ophaned inode list. IGNORED
made all passes (structure, connectivity, counts summary information). It's in fact a FileSystem Error... not a Hardware. Was wrong, I guess! – Gianni Sep 07 '17 at 15:17