long chef run fails with Connection reset by peer - recvfrom(2) - ssh

BUT, doesn't fail when running the same recipe in debug mode.
Chef 12.11.18
After troubleshooting this issue quite some time now, I think the root cause of the problem is my ssh configuration.
Any idea how to fix it?
Thanks,
Liora

There was a problem with my ISV.

Related

How to tell github action that the job had done successfully?

I use github action to deploy my website to my server. The last ssh cmd is npm run start. It will output ready - started server on http://localhost:4000(Since i use Nextjs) finally but it seems that github doesn't know what did it mean and print :
2021/01/09 14:24:14 Error: command timeout
err: Run Command Timeout!
Although the website is successfully deployed, it shows that the Github action failed to execute.
So how to tell github action that the job had done successfully?
You should find a way to start the application in a daemon process of its own, rather than as a process within the SSH session. Perhaps this tool (pm2) might solve your problem? This question and answer is somewhat related.
There are definitely other ways to start your app in a daemon process, or perhaps as a service, but this might be the most straightforward for you since it's a Node tool.

Error starting "XAMPP" stack: cannot start stack: ssh not accessible

Hello recently i installed XAMPP on my MAC and it was working fine then it stopped working with the following error:
INFO: Starting "XAMPP" stack ERROR: Error starting "XAMPP" stack:
cannot start stack: ssh not accessible
I tried to reinstall XAMPP still the problem exists, i search around for a fix but had no luck anyone know how to fix it?
i am same with you ,i found the answer in https://community.apachefriends.org/viewtopic.php?p=257470&sid=05104063fe8770ead60022422886717c
The folder is in your /Users/ folder but it is hidden. You can remove it from a Terminal
rm -rf ~/.bitnami
try putting off your firewall and retry , see if it works
You can refer here if it's a firewall problem.
To turn off the firewall:
Go to System Preferences
Then, Security&Privacy
Third tab, Firewall
Also, it might be due to built-in Apache server. Refer here.
You can try:
sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist
It allows you to use a different port, which is 80.
My problem was my Express VPN was on. I turned off VPN and the error goes away.

Cpanel - There is another upcp process running

I have this error when i try to use cpanel upgrade to new version
There is another upcp process running, and you are watching the log from the existing process.
And then in box i see
Unable to find log file: /var/cpanel/updatelogs/last
please help how can i terminate as ps aux | grep upcp shows no process running. I also have deleted update_in_progress.txt from /usr/local/cpanel. I am able to access tweak settings but not able to upgrade. Also tried upcp --force. Please help
If /scripts/upcp --force is not working, then I think your best option is to reboot the server and run it again.

RabbitMQ startup error on OS X Leopard

Can anyone help diagnose why RabbitMQ is failing to start? It has worked fine in the past, but suddenly is refusing to start. I'm running the command sudo rabbitmqctl start, and I get the following output:
Error: {'EXIT',
{function_clause,
[{rabbit_control,action,
[start,rabbit#BELLOMACPRO,[],
[{"-p","/"},{"-n","rabbit#BELLOMACPRO"},{"-q",false}],
#Fun<rabbit_control.1.100323439>],
[{file,"src/rabbit_control.erl"},{line,168}]},
{rabbit_control,start,0,
[{file,"src/rabbit_control.erl"},{line,84}]},
{init,start_it,1,[]},
{init,start_em,1,[]}]}}
I'm not finding this particularly informative, but perhaps there's something obvious to someone who better understands Erlang. The log file has no recent entries to shed any light on the issue.
I never figured out what the cause of the problem was, but I worked around it by executing the server directly with sudo rabbitmq-server, rather than attempting to use rabbitmqctl. Explanations are still welcome.

Problems running paster shell example.ini in Ubuntu while trying to install reddit

When I try to run paster shell example.ini, I run into:
connection failure: TLEngine(postgres://reddit/password#127.0.0.1/reddit)
followed by a laundry list of traceback.
At the end, I get:
FATAL: password authentication failed for user "reddit"
Would anyone be able to help me resolve this issue? Any help is much appreciated. Thanks!
The Reddit Setup Guide seems to be out of date or something. I had the exact same problem as you on two different machines.
Here's how I overcame it:
$ sudo su - postgresq
$ psql reddit
reddit=# CREATE USER reddit WITH PASSWORD 'password';
I looked in the example.ini file and reddit/password was the default username/password for the DB. At this point, if you re-run your command (paster shell example.ini), it should complete successfully.
Fair warning, there are more problems with this setup after you get past this point, but I haven't yet conquered those myself.
Best of luck, friend!