Segfault when trying to make database backup https://www.softaculous.com/board/index.php?tid=15941 <![CDATA[Segfault when trying to make database backup]]> https://www.softaculous.com/board/index.php?tid=15941&tpg=1#p48137 ]]> Fri, 13 Dec 2019 12:00:46 GMT https://www.softaculous.com/board/index.php?tid=15941&tpg=1#p48137 <![CDATA[Segfault when trying to make database backup]]> https://www.softaculous.com/board/index.php?tid=15941&tpg=1#p48136

Great, is the same backup server with same user in use for vps backup plans ?]]>
Fri, 13 Dec 2019 11:45:53 GMT https://www.softaculous.com/board/index.php?tid=15941&tpg=1#p48136
<![CDATA[Segfault when trying to make database backup]]> https://www.softaculous.com/board/index.php?tid=15941&tpg=1#p48135
Quote
[Sat Nov 30, 2019 12:31:14 GMT] Starting the backup process
Local Backup: TRUE
Remote Backup: TRUE
Remote backup type: SSH
[Sat Nov 30, 2019 12:31:14 GMT] Creating the backup file
Connecting to the backup server


I found the reason, it was a permission problem on the backup server, so the script could not create a folder (thus silently died with a Segvault).
That has been fixed and backups are running fine now.
]]>
Fri, 13 Dec 2019 11:43:53 GMT https://www.softaculous.com/board/index.php?tid=15941&tpg=1#p48135
<![CDATA[Segfault when trying to make database backup]]> https://www.softaculous.com/board/index.php?tid=15941&tpg=1#p48134
Are you talking about automated database backup ?

Is there any error in /var/virtualizor/log/virtualizor-dbbackup.log ?

Also on what action's output you saw 4742 Segmentation fault ?]]>
Fri, 13 Dec 2019 11:37:51 GMT https://www.softaculous.com/board/index.php?tid=15941&tpg=1#p48134
<![CDATA[Segfault when trying to make database backup]]> https://www.softaculous.com/board/index.php?tid=15941&tpg=1#p48133 (But I need to start mysqldump inside the /usr/local/emps/bin/ folder)
]]>
Fri, 13 Dec 2019 11:36:02 GMT https://www.softaculous.com/board/index.php?tid=15941&tpg=1#p48133
<![CDATA[Segfault when trying to make database backup]]> https://www.softaculous.com/board/index.php?tid=15941&tpg=1#p48132

grep dbpass /usr/local/virtualizor/universal.php]]>
Fri, 13 Dec 2019 11:32:37 GMT https://www.softaculous.com/board/index.php?tid=15941&tpg=1#p48132
<![CDATA[Segfault when trying to make database backup]]> https://www.softaculous.com/board/index.php?tid=15941&tpg=1#p48131
Quote
Can you please provide output of : ls -lh  /usr/local/emps/bin/php
Code
-rwxr-xr-x 1 root root 13M Jul  5 11:22 /usr/local/emps/bin/php

Quote
Are you able to backup using this command :
mysqldump -u root -p[db_password] virtualizor > dumpfilename.sql


How could I? The db has been instaled by the virtualizor installation script, so I can´t know the root pw for mysql.
]]>
Fri, 13 Dec 2019 11:31:45 GMT https://www.softaculous.com/board/index.php?tid=15941&tpg=1#p48131
<![CDATA[Segfault when trying to make database backup]]> https://www.softaculous.com/board/index.php?tid=15941&tpg=1#p48129

Can you please provide output of : ls -lh  /usr/local/emps/bin/php

Are you able to backup using this command :


mysqldump -u root -p[db_password] virtualizor > dumpfilename.sql]]>
Fri, 13 Dec 2019 07:00:27 GMT https://www.softaculous.com/board/index.php?tid=15941&tpg=1#p48129
<![CDATA[]]> https://www.softaculous.com/board/index.php?tid=15941&tpg=0#p48015
Quote
/bin/sh: line 1:  4742 Segmentation fault      /usr/local/emps/bin/php /usr/local/virtualizor/scripts/databasebackups.php -r >> /var/virtualizor/log/virtualizor-dbbackup.log


No errors shown in virtualizor-dbbackup.log

]]>
Sat, 30 Nov 2019 12:22:16 GMT https://www.softaculous.com/board/index.php?tid=15941&tpg=0#p48015