r5149 hanging on backing up database
-
What’s the output of
df -h
-
-
Filesystem Size Used Avail Use% Mounted on udev 2.0G 4.0K 2.0G 1% /dev tmpfs 405M 1.2M 404M 1% /run /dev/sda1 29G 7.5G 20G 28% / none 4.0K 0 4.0K 0% /sys/fs/cgroup none 5.0M 0 5.0M 0% /run/lock none 2.0G 76K 2.0G 1% /run/shm none 100M 40K 100M 1% /run/user
-
if you look inside of the fog installer’s directory (wherever you have it), and look inside of
bin/fog_error
you’ll see some files in there. They are labeled with the revision number of the version that made them. Find the latest one and look at the end of that file. What do you find? -
* apache2 is running --2016-03-30 10:40:34-- http://10.24.28.18/fog//management/export.php?type=sql Connecting to 10.24.28.18:80... connected. HTTP request sent, awaiting response... 500 Internal Server Error 2016-03-30 10:41:51 ERROR 500: Internal Server Error
-
@Wayne-Workman Let me run it again and see what happens
It hung for a good 5 min -
@Raymond-Bell also, you can look at Apache errors from the system right after this failure, it might help, I’m not sure if the backup is done with BASH or PHP. http://www.cyberciti.biz/faq/apache-logs/
for fedora/centOS 7:
tail -n 100 /var/log/httpd/error_log
-
@Wayne-Workman it just hangs on r5149
--2016-03-30 11:00:31-- http://10.24.28.18/fog//management/export.php?type=sql Connecting to 10.24.28.18:80... connected. HTTP request sent, awaiting response... ```
-
@Raymond-Bell What OS are you running?
-
@Wayne-Workman ubuntu 14.04 but why would it change from r5147 to r5148
-
@Wayne-Workman because r5148 had this update maybe.
Use the web exporter tool for the DB backup as well.
Because 5147 works fine
-
@Raymond-Bell if svn 5147 works fine, sit on that until Tom has had more time to look at it.
-
@Wayne-Workman said:
@Raymond-Bell if svn 5147 works fine, sit on that until Tom has had more time to look at it.
I know this… I was just let him know
and i see 2 things differentr5149
–2016-03-30 11:00:31-- http://10.24.28.18/fog//management/export.php?type=sql
Connecting to 10.24.28.18:80… connected.
HTTP request sent, awaiting response…r5147
–2016-03-30 10:44:28-- http://10.24.28.18/fog//management/export.php?type=sqldump
Connecting to 10.24.28.18:80… connected.see the type=
-
@Wayne-Workman I’m already looking at it.
Because of what you reported, I’m working on a hopefully better approach to getting the dumped out file.