Comments (8)
Okay... I'll probably add a --non-interactive
switch for that since --errors-only
does more.
from osync.
I have no real idea what happens here. I'll get back to you tomorrow once I have setup a test machine
from osync.
Thanks, but this is low priority I guess. I was hoping it was a "oh just use this switch" kinda thing. No rush!
from osync.
Actually, I found similar issues when googling. It seems it types blob data when there are unprintable output. Using journalctl -a allows you to see what it is actually printing.
https://dba.stackexchange.com/questions/216958/sql-server-logs-blob-data-viewable-with-journalctl
https://bbs.archlinux.org/viewtopic.php?id=149617
Here is a snippet of journalctl -a
Nov 15 10:32:01 localhost CROND[1402827]: (root) CMDOUT (TIME: 0 - -------------------------------------------------------------)
Nov 15 10:32:01 localhost CROND[1402827]: (root) CMDOUT (TIME: 0 - Tue Nov 15 10:32:01 CET 2022 - osync 1.2 script begin.)
Nov 15 10:32:01 localhost CROND[1402827]: (root) CMDOUT (TIME: 0 - -------------------------------------------------------------)
Nov 15 10:32:01 localhost CROND[1402827]: (root) CMDOUT (TIME: 0 - Sync task [ftp_site_only] launched as root@hostname (PID 1402857))
Nov 15 10:32:01 localhost CROND[1402827]: (root) CMDOUT (TIME: 0 - Checking minimum disk space in local replica [/glftpd/site/].)
Nov 15 10:32:02 localhost CROND[1402827]: (root) CMDOUT (TIME: 0 - Checking minimum disk space in remote replica [/glftpd/site/].)
Nov 15 10:32:03 localhost CROND[1402827]: (root) CMDOUT (TIME: 2 - Starting synchronization task.)
Nov 15 10:32:03 localhost CROND[1402827]: (root) CMDOUT (TIME: 2 - Creating initiator replica file list [/glftpd/site/].)
Nov 15 10:32:03 localhost CROND[1402827]: (root) CMDOUT (TIME: 2 - Creating target replica file list [/glftpd/site/].)
Nov 15 10:32:08 localhost CROND[1402827]: (root) CMDOUT ( [-)
Nov 15 10:32:14 localhost CROND[1402827]: (root) CMDOU [] )
Nov 15 10:32:20 localhost CROND[1402827]: (root) CM [|)
Nov 15 10:32:25 localhost CROND[1402827]: (root) CMDOU)[/]
Nov 15 10:32:30 localhost CROND[1402827]: (root) CMDOUT ( [)
Nov 15 10:32:35 localhost CROND[1402827]: (root) CMDOU [|] )
Nov 15 10:32:40 localhost CROND[1402827]: (root) CM [/)
Nov 15 10:32:45 localhost CROND[1402827]: (root) CMDOU)[-]
Nov 15 10:32:50 localhost CROND[1402827]: (root) CMDOUT ( [|)
Nov 15 10:32:56 localhost CROND[1402827]: (root) CMDOU [/] )
Nov 15 10:33:01 localhost CROND[1402827]: (root) CM [-)
Nov 15 10:33:06 localhost CROND[1402827]: (root) CMDOU)[]
Nov 15 10:33:11 localhost CROND[1402827]: (root) CMDOUT ( [/)
Nov 15 10:33:16 localhost CROND[1402827]: (root) CMDOU [-] )
Nov 15 10:33:21 localhost CROND[1402827]: (root) CM [)
Nov 15 10:33:26 localhost CROND[1402827]: (root) CMDOU)[|]
Nov 15 10:33:31 localhost CROND[1402827]: (root) CMDOUT ( [-)
Nov 15 10:33:36 localhost CROND[1402827]: (root) CMDOU [] )
Nov 15 10:33:42 localhost CROND[1402827]: (root) CM [|)
Nov 15 10:33:47 localhost CROND[1402827]: (root) CMDOU)[/]
Nov 15 10:33:52 localhost CROND[1402827]: (root) CMDOUT ( [)
Nov 15 10:33:57 localhost CROND[1402827]: (root) CMDOU [|] )
Nov 15 10:34:02 localhost CROND[1402827]: (root) CM [/)
Nov 15 10:34:07 localhost CROND[1402827]: (root) CMDOUTIME: 126 - Creating initiator replica deleted file list.)
Nov 15 10:34:07 localhost CROND[1402827]: (root) CMDOUT (TIME: 126 - Creating target replica deleted file list.)
Nov 15 10:34:07 localhost CROND[1402827]: (root) CMDOUT (TIME: 126 - Updating target replica.)
Nov 15 10:34:12 localhost CROND[1402827]: (root) CMDOUT ( [-)
Nov 15 10:34:17 localhost CROND[1402827]: (root) CMDOU [] )
Nov 15 10:34:22 localhost CROND[1402827]: (root) CM [|)
Nov 15 10:34:27 localhost CROND[1402827]: (root) CMDOU)[/]
Nov 15 10:34:32 localhost CROND[1402827]: (root) CMDOUT ( [)
Nov 15 10:34:37 localhost CROND[1402827]: (root) CMDOU [|] )
from osync.
Ohh... It seems that I indeed had seen that incident before.
Run with --errors-only
so the CLI spinner won't be shown, and so there will be no systemd blobs.
from osync.
Mind to give me your systemd unit file content ?
from osync.
For? I'm running osync from crontab at the moment.
Thanks for -errors-only. That seems to have done the trick!
From crontab:
*/10 * * * * /usr/local/bin/osync.sh /etc/osync/ftp_no_site.conf --errors-only
from osync.
--non-interactive
option added in v1.3 final
from osync.
Related Issues (20)
- Cannot create replica file list in HOT 2
- deleted files not listed in summary HOT 3
- rsync: failed to set times ... Operation not permitted (1) HOT 1
- bash error on execution of osync.sh HOT 6
- silently fail if already running cron job? HOT 3
- use it with onedrive HOT 1
- does not sync with a remote source or target (probably due to rsync-3.2.4) HOT 8
- v1.3? HOT 4
- uninstaller needed HOT 1
- Question: Copy Windows ACLs when mounted on Linux
- I deleted the file by mistake due to a configuration error. Can I retrieve it? It's urgent HOT 2
- Upgrading from 1.2 stable to 1.3 RC1 fails HOT 4
- Cleanup deletion error with ` in the filename. 1.2 Stable. HOT 1
- Example config has both compression options enabled HOT 1
- Explanation of file attributes that appear on log HOT 2
- Option to disable ssh banner HOT 5
- install.sh does not work HOT 5
- One initiator and multiple targets issue HOT 3
- Running osync on a 2xnode active/active webserver cluster, in daemon mode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osync.