Forbidden error on changing write access to sub folder in MAMP - apache

I was creating a local server environment on my mac using MAMP for one of my projects. When I opened the project using MAMP, I got the following error which is fairly expected:
Warning: /Applications/MAMP/htdocs/TestProject/app/tmp/cache/models/ is not writable in /Applications/MAMP/htdocs/TestProject/lib/Cake/Cache/Engine/FileEngine.php on line 385
However when I provide write access to the models folder, I get a forbidden error :
Forbidden
Error: The requested address '/TestProject/' was not found on this server.
I can't figure out how does providing write access to a sub folder lead to Forbidden error to the project itself when earlier it was accessible.
The forbidden error switches to the earlier warning on removing the write access.
Thanks in advance.

Related

Strapi: can't save anything in admin

I installed Strapi, apparently successfully, but anything I try to save gives me an error
Failed to load resource: the server responded with a status of 403 (Forbidden)
I have it installed on a centos 7 server.
I was even able to create a few content-types, but when I try to make relational fields I get this error.
I thought it would be something related to roles and permissions plugin. Tried to change permissions, but same error. Tried updating my profile, also error.
Ok, I just figured it out.
Mod segurity was on. Had to turn it off.

Get-AzureRmDataLakeStoreChildItem access issue

I am trying to run this powershell cmdlet :
Get-AzureRmDataLakeStoreChildItem -AccountName "xxxx" -Path "xxxxxx"
It fails with an access error. It does not really make sense because i have complete access to the ADLS account. I can browse in the Azure portal. It does not even work with a AzureRunAsConnection from an automation account. But it works perfectly for my colleague. What am i doing wrong?
Error :
Operation: LISTSTATUS failed with HttpStatus:Forbidden
RemoteException: AccessControlException LISTSTATUS failed with error
0x83090aa2 (Forbidden. ACL verification failed. Either the resource
does not exist or the user is not authorized to perform the requested
operation.).
[1f6e5d40-9be1-4682-84be-d538dfca0d19][2019-01-24T21:12:27.0252648-08:00]
JavaClassName: org.apache.hadoop.security.AccessControlException.
Last encountered exception thrown after 1 tries. [Forbidden (
AccessControlException LISTSTATUS failed with error 0x83090aa2
(Forbidden. ACL verification failed. Either the resource does not
exist or the user is not authorized to perform the requested
operation.).
I don't see any firewall restrictions :
I resolved the problem by providing read and execute access to all parent folders in the path. Since ADLS uses the POSIX standard, it does not inherit permissions from parent folders. So, even though the SPN(generated by the automation account) i was using had read/execute access to the specific folder i was interested in, it did not have access to other folders in that path.

Cant access Plesk, Error 'Can't open or create shared memory by shm.name, Permission denied'

i got a problem with Plesk (Ubuntu Webserver),- i cant access plesk.
I havent change anything before. The following error messages is shown:
Server Error
500
Plesk\Lock\Exception
Lock Manager error: '[LockManagerException] Can't open or create shared memory by shm.name: "/run/lock/lmlib/SharedLockManagerStorage0.2.4"; shm.start_size: "8388608"; error "Permission denied"'.
I cant try:
https://support.plesk.com/hc/en-us/articles/115003405193-Unable-to-open-Plesk-Lock-Manager-error-Can-t-open-or-create-shared-memory-by-shm-name
or
https://support.plesk.com/hc/en-us/articles/115002301654-Plesk-is-unavailable-after-upgrade-Can-t-open-or-create-shared-memory-by-shm-name
or
https://support.plesk.com/hc/en-us/articles/115000224773-Plesk-is-not-accessible-Can-t-open-or-create-shared-memory-by-shm-name
because i can currently only connect to Server via SSH when in rescue mode.
(Dont know why ... idea how to enable/check SSH, so i can connect in normal mode ??)
How can i fix the problem when the rescue mode is running?
Greetings,
Julian

SSIS: Unable to Read from Excel file from a UNC path when deployed to server

I appear to be unable to get my deployed SSIS package to read from a 1997-2003 Excel file.
I get stuck with the following 2 errors:
SSIS Error Code DTS_E_OLEDBERROR, Error code: 0x80004005 An OLE DB
record is available. Source Microsoft JET Database Engine, database
engine cannot open the file, it is already opened exclusively by
another user, or you need permission to view its data.
DTS_E_CANNOTAQUIRECONNECTIONFROMCONNECTIONMANAGER with Error code 0xC0202009
The package itself works with no issues when using SQL data tools on the server logged in as the service account only when deployed to server I see this issue.
To make this issue even more confusing I have setup and tried the following:
Runtime is set to 32 bit on the debugging menu on SQL data tools as well as the job configuration is set to use 32 bit runtime
I am able to UNC to the folder/file when logged in as the SQL service account
Any Ideas?
Thanks,
M
I figured it out in the end. Turns out I missed a step with the permissions.
Yes the Service account had permissions to the folder but I failed to add read permissions to the file itself.
Thanks for all comments/suggestions.
M

Can't connect to my openshift application through filezilla

I was able for past projects to connect through filezilla. I followed each time this tutorial: https://blog.openshift.com/using-filezilla-and-sftp-on-windows-with-openshift/
Now, on my newly created application I cannot connect. I get these errors:
Error: Server sent disconnect message
Error: type 2 (protocol error):
Error: "Too many authentication failures for 56420afe7628e1bc3d0001b3"
Error: Could not connect to server
Thanks
EDIT: Its interesting because now I check some of my other websites wich were stored in filezilla site manager and 3 of the 8 have the same error. I have't modified anything to them. I tried with another FTP client (WINSCP) and all the sites work fine. I updated filezilla to the latest version and I still have errors. I can't explain myself why some sites work and some others simply doesn't work anymore without making any change...