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

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

Related

Fatal error issue while setting up pgadmin4 in windows 10 with PostgeSQL 14.4

I am beginning with phoenix and PostgreSQL 14.4. I have installed PostgreSQL successfully. But now when I am trying to set up pgadmin4 it shows me some fatal error.
I have tried uninstalling and reinstalling it. But I couldn't resolve the error.
2022-07-13 12:33:41,767: WARNING werkzeug: WebSocket transport not
available. Install simple-websocket for improved performance.
Serving Flask app 'pgadmin' (lazy loading)
Environment: production WARNING: This is a development server. Do not use it in
a production deployment. Use a production WSGI server instead.
Debug mode: off
2022-07-13 12:33:41,769: ERROR pgadmin: Error starting the app server:
(<class 'OSError'>, OSError(10013, 'An attempt was made to access a
socket in a way forbidden by its access permissions', None, 10013,
None), <traceback object at 0x000002227BBCEE80>)
It would be very helpful if you could help.
I guess the port pgadmin is trying to run is being used by another application. Or applications may be restricted by Windows to open ports. My advice is to try to run it by changing the port as described below;
Click on the pgAdmin 4 tray-icon
Click "Configure..."
Check the box labeled "Fixed Port Number?"
Enter the desired port number in the field next to it
source: https://stackoverflow.com/a/68006199/13756006
If that also fails you may need to check port permissions in Windows (firewall etc, whoever is controlling these permissions on windows)

SQL using method 'caching_sha2_password' error

Hi there are 10 computers. Put the program on everything and connected them to the database server.
9 connected ok, but the tenth does not connect and pings the error:
Authentication to host 'xxx.xxx.xxx.xxx' for user 'xxx' using method 'caching_sha2_password'
failed with message: Reading from the stream has failed.
Tell me how to fix this?
The problem, as I understand it, is in the computer, since no error occurs on other PCs

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...

What does the "IO Error: Socket read timed out" means (SQL developer)

When I try to open SQL developer then I am getting this error:
An error was encountered performing the requested operation:
IO Error: Socket read timed out
The Network Adapter could not establish the connection Vendor code 17002
What is the problem?
Typical causes for that error:
Your database listener is not running
It is running, but maybe there is a firewall intervening
It is running, no firewall issue, but you have provided incorrect connection details.
Source: https://community.oracle.com/thread/3519434
Make sure your installation is on a LOCAL drive!
If your SQL Developer is launched from a network location (specifically, a different location than your database network location), that could be the issue.
I was having the same problem and I moved my installation to my local drive and it connected right away :)
Above answers are exact causes but to resolve this:
Go to server machine and login as root then run:
( # xhost + )
Then come to oracle user and run:
( $ lsnrctl reload LISTENER_NAME )

Weblogic Bridge Message - Failure of server APACHE bridge:

Here in this case, when a client is trying to access a particular URI, they are able to get a SUCCESS response for GET, but for the POST message, they are recieving a 500 error. Which is nothing but INTERNAL SERVER ERROR.
please look at the ERROR below:
Weblogic Bridge Message
Failure of server APACHE bridge:
Cannot open TEMP post file '/tmp/_wl_proxy/_post_1818_8' for POST of 3978 bytes
Weblogic Bridge Message
Failure of server APACHE bridge:
Internal Server failure, APACHE plugin. Cannot continue.
Eventually this was resolved after giving a 777 permission to /tmp/_wl_proxy and the client was able to access the page SUCCESSFULLY.
If this is a permission issue, then apache should throw 403 error, but i dont know why it was throwing 500 error.
if there is a internal server error, then both GET and POST response should be 500, So if anyone can answer this , it would be a great learning experience. Thanks..!!
You many not want to give Write to all (777) permission to /tmp/_wl_proxy directory. Check which userID apache is running under and only give writer permission to that userID.
This could be also with tmp directory full.
Here is what I did to solve this problem:
Go to weblogic management console (http://:7001/console)
Go to the server section, you will probably find one of your servers' status not running. This is what I found in my case;
Some features couldn't be run unless you have administrative privilege, I advice you stop all servers and re-run them as an administrator as you follow your servers status in the administrative console.
If the above doesn't work, something has to do with your either report or form server configuration is hindering the servers from starting up. In all cases you need to monitor the administration console.