Rsync error: syntax or usage error
Hello,
I added second storage to cpanel. When I create new account and rearrange/move it to first partition it gives following error.
cat /etc/fstab output:
/dev/mapper/hv_srv3-root / xfs defaults,uquota 0 0
UUID=bbea1a40-ff50-42ce-87af-f5f5c01b4da1 /boot xfs defaults 0 0
/dev/mapper/hv_srv3-swap none swap defaults 0 0
/usr/tmpDSK /tmp ext3 defaults,noauto 0 0
/dev/sdb /home2 ext4 usrjquota=quota.user,jqfmt=vfsv0 1 1
rsync: 1
Unknown --info item: "flist"
rsync error: syntax or usage error (code 1) at options.c(454) [client=3.1.3]
[2023-02-27 14:14:29 +0300] warn [Internal Warning while parsing [stdin] 8215] Failed to save cache file "/home2/floryum/.cpanel/nvdata.cache" because of an error: (XID 5kmy53) The system failed to create the file "/home2/floryum/.cpanel/.tmp.30058.nvdata.cache" with permissions "0640" (as EUID: 1003, EGID: 1005 1005) because of the following error: No such file or directory at /usr/local/cpanel/Cpanel/NVData.pm line 169.
at /usr/local/cpanel/Cpanel/NVData.pm line 169.
Cpanel::NVData::__ANON__(Cpanel::Exception::IO::FileCreateError=HASH(0x3ef8ca0)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/Try/Tiny.pm line 121
Try::Tiny::try(CODE(0x3edfbd8), Try::Tiny::Catch=REF(0x3ef8898)) called at /usr/local/cpanel/Cpanel/NVData.pm line 171
Cpanel::NVData::_savecache() called at /usr/local/cpanel/Cpanel/NVData.pm line 283
Cpanel::NVData::_loadcache(1) called at /usr/local/cpanel/Cpanel/NVData.pm line 344
Cpanel::NVData::_get("defaultdir") called at /usr/local/cpanel/Whostmgr/Transfers/Session/Items/RearrangeAccount.pm line 318
Whostmgr::Transfers::Session::Items::RearrangeAccount::__ANON__() called at /usr/local/cpanel/Cpanel/AccessIds/ReducedPrivileges.pm line 96
eval {...} called at /usr/local/cpanel/Cpanel/AccessIds/ReducedPrivileges.pm line 96
Cpanel::AccessIds::ReducedPrivileges::call_as_user(CODE(0x3e6c298), "floryum") called at /usr/local/cpanel/Whostmgr/Transfers/Session/Items/RearrangeAccount.pm line 326
Whostmgr::Transfers::Session::Items::RearrangeAccount::_update_user_nvdata("floryum", "/home2/floryum", "/home/floryum") called at /usr/local/cpanel/Whostmgr/Transfers/Session/Items/RearrangeAccount.pm line 268
Whostmgr::Transfers::Session::Items::RearrangeAccount::_rearrange_account(Whostmgr::Transfers::Session::Items::RearrangeAccount=HASH(0x3359d20)) called at /usr/local/cpanel/Whostmgr/Transfers/Session/Item.pm line 359
Whostmgr::Transfers::Session::Item::__ANON__() called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/Try/Tiny.pm line 100
eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/Try/Tiny.pm line 91
Try::Tiny::try(CODE(0x3205250), Try::Tiny::Catch=REF(0x3d26a48)) called at /usr/local/cpanel/Whostmgr/Transfers/Session/Item.pm line 388
Whostmgr::Transfers::Session::Item::exec_path(Whostmgr::Transfers::Session::Items::RearrangeAccount=HASH(0x3359d20), ARRAY(0x32057c0)) called at /usr/local/cpanel/Whostmgr/Transfers/Session/Items/RearrangeAccount.pm line 80
Whostmgr::Transfers::Session::Items::RearrangeAccount::restore(Whostmgr::Transfers::Session::Items::RearrangeAccount=HASH(0x3359d20)) called at /usr/local/cpanel/Whostmgr/Transfers/Session/Processor.pm line 658
Whostmgr::Transfers::Session::Processor::__ANON__() called at /usr/local/cpanel/Whostmgr/Transfers/Session.pm line 1484
Whostmgr::Transfers::Session::__ANON__() called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/Try/Tiny.pm line 100
eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/Try/Tiny.pm line 91
Try::Tiny::try(CODE(0x3d1a548), Try::Tiny::Catch=REF(0x3359948)) called at /usr/local/cpanel/Whostmgr/Transfers/Session.pm line 1488
Whostmgr::Transfers::Session::exec_with_output_directed_to_fh(Whostmgr::Transfers::Session=HASH(0x3161e38), GLOB(0x3359ac8), CODE(0x3359af8)) called at /usr/local/cpanel/Whostmgr/Transfers/Session/Processor.pm line 674
Whostmgr::Transfers::Session::Processor::_process_dequeued_item(Whostmgr::Transfers::Session::Processor=HASH(0x321a9a0)) called at /usr/local/cpanel/Whostmgr/Transfers/Session/Processor.pm line 554
Whostmgr::Transfers::Session::Processor::_process_items(Whostmgr::Transfers::Session::Processor=HASH(0x321a9a0)) called at /usr/local/cpanel/Whostmgr/Transfers/Session/Processor.pm line 508
Whostmgr::Transfers::Session::Processor::__ANON__() called at /usr/local/cpanel/Cpanel/ForkAsync.pm line 72
eval {...} called at /usr/local/cpanel/Cpanel/ForkAsync.pm line 72
Cpanel::ForkAsync::do_in_child(CODE(0x31c16c0)) called at /usr/local/cpanel/Whostmgr/Transfers/Session/Processor.pm line 510
Whostmgr::Transfers::Session::Processor::_spawn_child(Whostmgr::Transfers::Session::Processor=HASH(0x321a9a0), 1, Whostmgr::Transfers::Session=HASH(0x3161e38)) called at /usr/local/cpanel/Whostmgr/Transfers/Session/Processor.pm line 292
Whostmgr::Transfers::Session::Processor::_process_child(Whostmgr::Transfers::Session::Processor=HASH(0x321a9a0), Whostmgr::Transfers::Session=HASH(0x3161e38), 0) called at /usr/local/cpanel/Whostmgr/Transfers/Session/Processor.pm line 240
Whostmgr::Transfers::Session::Processor::_process_child_with_output_redirection(Whostmgr::Transfers::Session::Processor=HASH(0x321a9a0), Whostmgr::Transfers::Session=HASH(0x3161e38), 0, "server3hostingrearr20230227111426NYf") called at /usr/local/cpanel/Whostmgr/Transfers/Session/Processor.pm line 205
Whostmgr::Transfers::Session::Processor::__ANON__() called at /usr/local/cpanel/Cpanel/ForkAsync.pm line 72
eval {...} called at /usr/local/cpanel/Cpanel/ForkAsync.pm line 72
Cpanel::ForkAsync::do_in_child(CODE(0x31f3528)) called at /usr/local/cpanel/Whostmgr/Transfers/Session/Processor.pm line 207
Whostmgr::Transfers::Session::Processor::start(Whostmgr::Transfers::Session::Processor=HASH(0x321a9a0)) called at bin/start_transfer.pl line 57
main::__ANON__() called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/Try/Tiny.pm line 100
eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/Try/Tiny.pm line 91
Try::Tiny::try(CODE(0x3161c28), Try::Tiny::Catch=REF(0x2718888)) called at bin/start_transfer.pl line 72
-
Hey there! When you get this error, are you using the WHM >> Rearrange Account tool? I would expect the tool to be smart enough to ignore those temporary files on the account, since it seems the temporary file has already been removed by the time it tries to write the file. If you can reliably reproduce this problem, can you please open a ticket with our team so we can reproduce this problem in real-time? 0
Please sign in to leave a comment.
Comments
2 comments