Giter Site home page Giter Site logo

Comments (8)

deajan avatar deajan commented on June 26, 2024 1

Okay... I'll probably add a --non-interactive switch for that since --errors-only does more.

from osync.

deajan avatar deajan commented on June 26, 2024

I have no real idea what happens here. I'll get back to you tomorrow once I have setup a test machine

from osync.

Turranius avatar Turranius commented on June 26, 2024

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.

Turranius avatar Turranius commented on June 26, 2024

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.

deajan avatar deajan commented on June 26, 2024

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.

deajan avatar deajan commented on June 26, 2024

Mind to give me your systemd unit file content ?

from osync.

Turranius avatar Turranius commented on June 26, 2024

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.

deajan avatar deajan commented on June 26, 2024

--non-interactive option added in v1.3 final

from osync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.