Plesk scheduled backups stopped working - how to fix? - cron

My Plesk scheduled weekly backups suddenly stoped working. They just don't execute since a few weeks ago. When I manually trigger backups, all is ok. What could go wrong, what should I check first?
I'm running Plesk 9.5.4 on Linux Cent OS 5.3.

You updated mysql to 5.5. It breaks backupmng. The following query in the psa database will probably fix it:
ALTER TABLE BackupsScheduled MODIFY COLUMN backup_day INTEGER;

Related

Change Azure VM Time (not timezone) running Windows Server 2022

I would like to change an Azure server's local time to a month ago. This is for testing purposes on a custom application. Happy if it changes back after reboot.
There are a number of similar posts with answers, but most either refer to changing the timezone, or are old(ish) posts whose answers are not valid anymore. Not sure if Microsoft has made some changes.
What I have tried to to stop the Hyper-V Time Synchronization service as well as the Windows Time service, but to no avail. I also wrote a small c# program to try and do this, but no success.
Anything else that might work?
Thank you DeepDave-MT . Posting your recommendation into answer section as per Cameron Castillo confirmation. This would help other community members.
Steps to change time settings in Local Server section of the Server Manager:
Open the time and date settings in the Local Server section of the Server Manager.
from the opened time manager window, make the required changes.

What to do when I accidentally cancel oracle 19c installation on CentOS

Today is my first day using Linux. I was given a task to install OracleDB 19c on our company server running CentOS 8.
When the installation was almost done, the loading bar was at 86% and the title said "completing database creation" I accidentally press "X" and close the program.
Now I wonder, when I come back to the company tomorrow, what I will have to do to re-install Oracle 19c. Will I have to go find and delete thousands of created files, or just simply install the db again and Oracle will overwrite all existed files?
I was following this guide https://oracledbwr.com/step-by-step-oracle-19c-installation-on-linux/ and finished step 13 when the incident occurred.
" was following this guide" I've never understood why people look for some specious 3d-party guide to installation. Why not use the actual, official, installation guide?
The default installation is actually two separate and distinct operations. The first installs the oracle software. The second creates a database. When installing I always make the selection to not create the database. Once the software is successfully installed, I come back and launch the dbca (DataBase Creation Assistant) to create the database as a completely separate operation.
Since you say that the status was "completing database creation", that means that the installation was completed and the installer had already launched DBCA. Therefore you do not have to clean up or reinstall oracle. You only have to drop the incompletely created database.
BTW, you say this is your first to use Linux - implying that you've worked with Oracle on Windows. But this usage of installer and dbca is really no different. Once you get to runInstaller, the operation of the installer and dbca is exactly the same on either platform.

Azure Recovery services scheduled tasks keep going disabled

I have installed Azure Recovery Services (MARS) onto a 2019 server. I can fully configure it using the GUI, but the scheduled backups just don't run.
I can run the back manually and it runs perfectly and completes quickly; however, when I try to use the scheduler, it doesn't run.
I have checked the Task Scheduler and the job keeps switching to disabled with the notification:
User "System" disabled Task Scheduler task "\Microsoft\OnlineBackup\Microsoft-OnlineBackup"
When I installed the application, I changed the default path to C:\Domain Services to keep them separate, is this where it went wrong?
I have other servers on the backup platform which are not having any issues at all, I have also tried the steps in:
https://learn.microsoft.com/en-us/azure/backup/backup-azure-mars-troubleshoot#backups-dont-run-according-to-schedule
And also
https://dirteam.com/bas/2019/01/09/the-mysterious-case-of-azure-backup-agent-not-running-its-schedule/
But it is not fixing the issue.
I am completely out of ideas, hoping that somebody can help me!
Change the settings in the task scheduler for Online Backups. See the snippet below.
I have no idea how, but the system is now working correctly and not being disabled. I tried to remove all the MARS software on the machine and re-installed it and it now works correctly and has been backing up for a few weeks now.
Thank you for all your assistance.

Windows 10 (OS) - XAMPP with localhost - Oxwall software - Cron issues

I know this may be a long shot targeting those here on stackoverflow who use oxwall software to help me with my question, but sadly, I've tried all other sources - even the oxwall forums but to no avail.
For starters - here is what I have so far:
I'm currently running Windows 10 as my OS
I have XAMPP installed
Control panel Apache and MySQL are activated or started/running
Using Localhost:100 instead of Localhost:80 due to conflicts with other applications
User: root with password left blank or empty
I have the Oxwall software - version 1.8.0 within my htdocs folder
I have a database setup using mysql with it's current port set to 3306
My issue:
When installing the oxwall software and get to the third section in the installation process, I am unable to proceed due to setting up a cron job incorrectly.
Due to the fact that I'm running on a localhost with my port as 100 - on a windows machine, using xampp - I'm pretty much clueless on how to get this cron job working correctly and/or even setup for that matter.
I've read literally all the topics that were discussed on the oxwall forums and even followed their documentation but still nothing.
The error I get is this:
ow_includes/config.php file is incorrect. Update it with details provided below.
However, the only details given states:
• Create a cron job that runs ow_cron/run.php once a minute. (?) - with the question mark directing me to the oxwall documentation of how to setup a cron job. But that doesn't seem to work...
I'm literally at a loss here, I've tried to create a .bat file and created a task schedule but nothing...
Even if there is nobody here that uses Oxwall, I'm hoping this can still be answered.
Any help is greatly appreciated!
I received the same error message when using using Oxwall 1.8.1 on my own VPS with CentOS 7, PHP 5.5.31 and mariaDB 5.5.44.
I noticed that the DB only contained one table because my DB user does not have 'Lock table' rights. Once I added these rights to my DB user for Oxwall DB, removed the table and continued the installation, all tables were created and installation was successful.

Reset CRON Job - Template + WAMP

I've downloaded a template of an ADs site and I'm testing it on localhost with WAMP Server.
The problem is that the listings are not expiring after the end of their lifetime days.
I contacted the owner of the template and he said to reset the CRON job of my environment.
But I don't know how to do it.
Can anyone help me?
If you are using WAMP you are running on Windows.
If you are running on Windows you dont have access to cron as there is no cron on Windows.
So the reason you are not getting listings expired is that the jobs designed to do the expiration are not running.
You will either have to run it on a UNIX system or work out what jobs should be run and set them uninmf PHP CLI and then create tasks to run them using Windows Task Sceduler.

Resources