I'll send a PM (private message) to you with another EMail address for me so we can converse off list ... forum is delayed and you need this like yesterday.
But before I do that, now that you have ssh access to server ...
If you already had a space problem why would you attemopt to install
*any* software? The errors relate to trying to install software AND not having space!
Plus, phpmyadmin requires apache to be running. We might need as much
memory as we can get for the dump of the database.
Please gather info and respond to the EMail address I send to you via PM.
Let's make sure mysqld isn't running or trying to run.
ps aux |grep mysqld
Even if it's not running right now, it might be trying to launch so.
sudo service mysqld stop
Now, let's get a look of what you do have.
Issue: sudo df -h
(that's disk free).
Need to see it all ... we might have room on the drive for re-locating the databases where there is space.
Here's an **example** of output - *** yours will NOT be the same ***
[root@sos httpd]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/cl_sos-root 50G 31G 20G 61% /
devtmpfs 7.8G 0 7.8G 0% /dev
tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs 7.8G 353M 7.5G 5% /run
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/sda1 1014M 304M 711M 30% /boot
/dev/mapper/cl_sos-home 239G 112G 127G 47% /home
And let's get a look at how much space is used by the database files:
cd /var/lib/
du -h mysql
What ever it says ... that's how much space we need ... minimally.
Of course we want more.
We need to make sure you do have all of moodledata.
The path to that could be found in config.php of moodle code.
That is typically located in /var/www/
So from terminal ...
cd /var/www/
ls -d moodledata
Is it there?
Then issue:
du -h ./moodledata
In the following **example** am using a moodle27data directory.
The tail end of that will show *something* like:
0 ./moodle27data/lang
76K ./moodle27data/environment
0 ./moodle27data/trashdir
4.2G ./moodle27data
*** do the same commands on the new server where you transfered the moodledata
directory. If you got it all, the last line should be exactly the same or really/really
close.
Ken