I tried to sync pdf files of a local folder on my PC on a webdav folder (box account). I mounted that folder with : davs://dav.box.com/dav. I am on ubuntu 14.04
rsync -avu --include="*/" --include="*.pdf" --exclude="*" L2/ /run/user/1000/gvfs/dav:host=dav.box.com,ssl=true/dav/Cours/
The above rsync command created on the webdav folder the directory tree but it does not copy any file.
I got plenty of :
rsync: failed to set times on "/run/user/1000/gvfs/dav:host=dav.box.com,ssl=true/dav/Cours/SymCristalline": Operation not supported (95)
rsync: failed to set times on "/run/user/1000/gvfs/dav:host=dav.box.com,ssl=true/dav/Cours/SymCristalline/Cours": Operation not supported (95)
...
Then I got the list of files I want to sync.
SymCristalline/
SymCristalline/TD_2013.pdf
SymCristalline/blanche.pdf
SymCristalline/inter_tables_of_crist__vol_a.pdf
SymCristalline/inter_tables_of_crist__vol_d.pdf
....
Then I got plenty of
rsync: mkstemp "/run/user/1000/gvfs/dav:host=dav.box.com,ssl=true/dav/Cours/SymCristalline/.TD_2013.pdf.tgEY8n" failed: Operation not supported (95)
rsync: mkstemp "/run/user/1000/gvfs/dav:host=dav.box.com,ssl=true/dav/Cours/SymCristalline/.blanche.pdf.tZ2XyK" failed: Operation not supported (95)
....
and finaly :
sent 93,577,889 bytes received 38,505 bytes 20,577.29 bytes/sec
total size is 93,541,542 speedup is 1.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.0]
At the end, on the webdav folder, there is all directories but not any files.
It's likely this is due to archive mode (-a) as WebDAV protocol does not support updating file permissions.
Related
So I made a little error and at some point committed a big file called .RData that is 108 mb in size.
I, kind of panically, then did a git rm --cached .RData.
However, I still cannot push the commits to my remote.
After the git push, I always get this message:
remote: error: Trace: 7c9c0060d88b48827d9e9904b1934066d6c1246b93268a4344e430c0603181fe
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File .RData is 108.33 MB; this exceeds GitHub's file size limit of 100.00 MB
However, I don't know where to look for this .RData-file. Its certainly not in the directory and when I do a git rm --cached, I get:
fatal: pathspec '.RData' did not match any files
Maybe someone has an idea how I could get rid of this file.
Getting this error on "composer require drupal/module-name".
I want to install a module on my drupal site but it always returns me this error.
VirtualAlloc() failed: [0x00000008] Not enough memory resources are available to process this command.
VirtualFree() failed: [0x000001e7] Attempt to access invalid address.
VirtualAlloc() failed: [0x00000008] Not enough memory resources are available to process this command.
VirtualFree() failed: [0x000001e7] Attempt to access invalid address.
Fatal error: Out of memory (allocated 1711276032) (tried to allocate 4096 bytes) in
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/Solver.php on
line 223
Update on your php.ini file's: memory_limit= XXXM
Replace XXXM value by the memory that you wanna allocate.
Or replace XXXM by -1 to negate memory limit condition.
Virtual memory Error on composer run Solution (Windows)
Download PHP 7.3+ and place on a folder on c drive
Change the environment variable path of PHP to new php
Set the memory limit to -1 in PHP 7.3+ ini file Also uncomment the required extensions.
Run Composer
I´m using BTDF v5.7 to deploy a BizTalk solution to BizTalk Server 2016. When deploying to our DEV environment (only one server) all goes well, but when we try to deploy to INT (two servers) it breaks on the second server (the one which have the "last server" flag set to true).
Checking logs I found this:
Target BounceAllBizTalkHosts:
Host list (BizTalkHosts ItemGroup) not customized.
Host instance ClusterdHost has cluster type Clustered.
Querying localhost to request active cluster node...
C:\Program Files (x86)\...\BizTalkDeploymentFramework.targets(1234,5): error : Invalid namespace
C:\Program Files (x86)\...\BizTalkDeploymentFramework.targets(1234,5): error : at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
C:\Program Files (x86)\...\BizTalkDeploymentFramework.targets(1234,5): error : at System.Management.ManagementScope.InitializeGuts(Object o)
C:\Program Files (x86)\...\BizTalkDeploymentFramework.targets(1234,5): error : at System.Management.ManagementScope.Initialize()
C:\Program Files (x86)\...\BizTalkDeploymentFramework.targets(1234,5): error : at System.Management.ManagementObjectSearcher.Initialize()
C:\Program Files (x86)\...\BizTalkDeploymentFramework.targets(1234,5): error : at System.Management.ManagementObjectSearcher.Get()
C:\Program Files (x86)\...\BizTalkDeploymentFramework.targets(1234,5): error : at DeploymentFramework.BuildTasks.ControlBizTalkHostInstance.GetActiveClusterNodeName()
C:\Program Files (x86)\...\BizTalkDeploymentFramework.targets(1234,5): error : at DeploymentFramework.BuildTasks.ControlBizTalkHostInstance.ControlHostInstances(String query)
C:\Program Files (x86)\...\BizTalkDeploymentFramework.targets(1234,5): error : at DeploymentFramework.BuildTasks.ControlBizTalkHostInstance.Execute()
Done building target "BounceAllBizTalkHosts" in project "Deployment.btdfproj" -- FAILED.
I did a small research on the BTDF sources and it seems that GetActiveClusterNodeName() method is trying to access to the MSCluster namespace through WMI. Apparently it breaks because it`s not able to find it (it makes sense since servers are not configured as a MS FailOver Cluster).
Any idea about why BTDF is detecting this node as a clustered one?
PS: If we force servers to not restart, adding:
<TargetName="BounceBizTalk"DependsOnTargets="SetWinVer"/>
to .btdfprj, the issue doesn't happen. But we need to do a restart after deployment to apply changes :(
I'm unable to reliably use ASP.NET web deployment to push updates to my server running on an EC2 instance.
The server is running Windows Server 2012 R2 (fully updated and patched), and it's running the latest version of the Web Deployment Service (3.5, actual version 9.0.176.0). I'm trying under both Visual Studio 2013 and Visual Studio 2015, and try connecting directly to the EC2 instance or via the ELB. In all cases, if the deploy takes more than x seconds, it just hangs and then errors out (many) minutes later.
If the deploy consists of many small files, each subsequent attempt to deploy will upload another handful of files before hanging, like this:
2>Start Web Deploy Publish the Application/package to http://52.8.131.99/MSDEPLOYAGENTSERVICE ...
2>Adding ACL's for path (NeoSmart)
2>Adding ACL's for path (NeoSmart)
2>Updating file (NeoSmart\bin\RestSharp.dll).
2>Updating file (NeoSmart\bin\secure\secrets.release.bin).
2>Updating file (NeoSmart\bin\secure\secrets.sandbox.bin).
2>Updating file (NeoSmart\bin\System.Net.Http.Formatting.dll).
2>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4270,5): Warning : Retrying the sync because a socket error (10054) occurred.
2>Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 1 of 10.
2>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4270,5): Warning : Retrying the sync because a socket error (10054) occurred.
2>Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 2 of 10.
After abort, restart of VS, and retry, it continues where it left off only to hang again:
2>Start Web Deploy Publish the Application/package to http://52.8.131.99/MSDEPLOYAGENTSERVICE ...
2>Adding ACL's for path (NeoSmart)
2>Adding ACL's for path (NeoSmart)
2>Updating file (NeoSmart\bin\System.Net.Http.Formatting.dll).
2>Updating file (NeoSmart\bin\System.Web.Helpers.dll).
2>Updating file (NeoSmart\bin\System.Web.Http.Common.dll).
2>Updating file (NeoSmart\bin\System.Web.Http.dll).
2>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4270,5): Warning : Retrying the sync because a socket error (10054) occurred.
2>Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 1 of 10.
If the file it hangs on is too big to go through (for example, the latest version of the AWS SDK, weighing in at 6.3MiB), subsequent restarts won't help any - it hangs on the same file repeatedly:
2>Start Web Deploy Publish the Application/package to http://52.8.131.99/MSDEPLOYAGENTSERVICE ...
2>Adding ACL's for path (NeoSmart)
2>Adding ACL's for path (NeoSmart)
2>Updating file (NeoSmart\bin\System.Web.Http.dll).
2>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4270,5): Warning : Retrying the sync because a socket error (10054) occurred.
2>Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 1 of 10.
Deploying to a new EC2 instance takes care of the problem; only a day later I have the same issue and I need to deploy a new Server 2012 instance and deploy all over again. No way, no how.
To me, it looks like the connection is being dropped without acknowledgement somewhere along the line. I'm not sure how/why since I've tried deploying directly to the EC2 instance's public IP and to the ELB. I've tried with w3svc stopped and started, in case it was contention over the target files that was causing the issue, but to no avail. It's probably not on my end because creating a new EC2 instance and deploying from the same machine I'm on works without a problem.
Any idea how I can find out what's causing this? Nothing shows up in the event viewer. Is there a better alternative to the Web Deployment Service for pushing updates to ASP.NET websites on IIS?
Any insight would be most appreciated.
My hosting provider makes daily automated full site backups, like the ones which you can make using Cpanel. After requesting one of these files I noticed that the mysql folder contains files with all of my database names, but all of them have a size of 0 KB.
I've been provided with some logs from the export script:
ERROR: Failed to dump one or more databases
warn [pkgacct] db_1: mysqldump: unknown variable 'innodb_file_per_table=1'
warn [pkgacct] db_1: mysqldump failed -- database may be corrupt
(0 bytes) warn [pkgacct] Failed to dump database db_1
db_wp2warn [pkgacct] db_wp2: mysqldump: unknown variable 'innodb_file_per_table=1'
warn [pkgacct] db_wp2: mysqldump: unknown variable 'innodb_file_per_table=1'
db_wp2.dev_commentmeta
note : The storage engine for the table doesn't support repair
I'm not even using any innodb tables (all of them are MyISAM) and I don't understand what mysqldump: unknown variable 'innodb_file_per_table=1' refers to. Any ideas how to fix this without compromising data?
innodb_file_per_table=1
This line is most likely in your /etc/my.cnf file. Remove that line or comment it out and restart mysql, this should resolve it.