vapor: Address already in use (errno: 98) [closed] - swift
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I deployed my vapor project to Ubuntu. And made the configuration of supervisor and Nginx.
When I invoke my server. first call is success but When I try second call I get 502 bad gateway error from browser. When I check error log, the error is
"Fatal error: Error raised at top level: bind(descriptor:ptr:bytes:) failed: Address already in use (errno: 98) : file /home/buildnode/jenkins/wo$"
If I kill the port(8080) process. And after, I try to connect again first try is success then get fail again.
What should I do to get rid of this error?
This might be caused by another process using that port.
I had the same issue and was able to solve it by listing all the processes on port :8080:
$ sudo lsof -i :8080
and then killing all of them one by one by typing:
$ kill {PID of the process}
After that, my app built again properly.
taken from here
I had the same issue. This worked for me:
$ kill -9 {PID of the process}
Hope this helps!
Related
AzureDevops Deployment Group won't run on Windows Server 2019 [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered. Closed 1 year ago. Improve this question Hi I have a new on prem server DELLEMC and I'm trying to run the deployment group registration script but the script won't run and after a while this error will appear "DownloadFile" with "2" argument(s): " I also refer to this link for help but it didn't work https://github.com/MicrosoftDocs/azure-devops-docs/issues/263
AzureDevops Deployment Group won't run on Windows Server 2019 According to the error message: Exception calling "DownloadFile" with "2" argument(s): "The operation has timed out." It seems there is something wrong to download the agent, please try it again. Note, make sure the network is fast and stable. If this issue still exists, please do the following steps: Download the agent bits from here and select the v2.162.0 or above . User can download it from other machine and copy that to this machine if the download is failing because of network issue. Extract the zip in some folder. Open PowerShell admin command prompt and go to the folder Run the below PowerShell script as an administrator: .\config.cmd --deploymentgroup --deploymentgroupname "{deploymentGroupName}" --agent $env:COMPUTERNAME --runasservice --work '_work' --url 'https://iam-costco.visualstudio.com/' --projectname '{ProjectName}' You could check this thread for some more details. Hope this helps.
AWS RDS to PgAdmin Error saving properties Unable to connect to server: timeout expired [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered. Closed 2 years ago. Improve this question Short description: AWS RDS connecting server to PgAdmin 4, PostgreSQL 11 Done: I have done similar to this guy or to this aws guide but at the end when I click save it does not accept it for me. instead gives the following ERROR: Error saving properties Unable to connect to server: timeout expired What I have tried to solve the problem: The instance is active it is 2 hours after creation I have also allowed to access database with outside of AWS database client "YES" this stack overflow answer does not deliver results https://stackoverflow.com/a/37903485/10270590 actually after refreshing my security group like the guide says my whole database disappeared I have home wi-fi so there are no corporate firewalls or any of those issues https://serverfault.com/q/705312/535406 while reading the pervious server fault post I looked up my RDS/Databases: what was empty RDS/Security groups: empty and I have this message: Your account does not support the EC2-Classic Platform in this region. DB Security Groups are only needed when the EC2-Classic Platform is supported. Instead, use VPC Security Groups to control access to your DB Instances. I have tried which this question https://serverfault.com/questions/656079/unable-to-connect-to-public-postgresql-rds-instance that had 2 good answers but they gave the same error even after doing bot of the changes https://serverfault.com/a/656119/535406 https://serverfault.com/a/880710/535406 same as the above one - AWS RDS Database show timeout error
Edit inbound rules Type have to be turned to: all traffic and my IP. than it works
how to install initctl on a centos-7 box [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered. Closed 5 years ago. Improve this question service autofs restart Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service autofs restart /etc/init.d/autofs: line 54: initctl: command not found I have looked up on the web and do not see any yum package that can install initctl. can you please help.
CentOS 7 comes with systemctl to manage service. You don't need to use initctl. service autofs restart should point to systemctl restart autofs You can check the status of this service with systemctl status autofs and post us the output if not able to restart.
CPAN download failing [closed]
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 9 years ago. Improve this question Has anyone noticed a serious problem with CPAN downloads? All of the download links seem to be iunable to resolve www.cpan.org, but the directory structure inside CPAN doesn't allow any simple swapping to search.cpan.org. Has anyone found a fix? Tried to use metacpan.org: wget http://metacpan.org/CPAN/authors/id/M/MP/MPIOTR/Text-Iconv-1.7.tar.gz Result: --2013-06-15 16:00:17-- https://metacpan.org/CPAN/authors/id/M/MP/MPIOTR/Text-Iconv-1.7.tar.gz Connecting to metacpan.org|46.43.35.68|:443... connected. ERROR: certificate common name “cpan.metacpan.org” doesn’t match requested host name “metacpan.org”. To connect to metacpan.org insecurely, use ‘--no-check-certificate’. Tried without certificate: page not found. What is happening in CPAN?
http://search.cpan.org seems temporarily broken. You can use https://metacpan.org instead. For the certificates, you can bypass it by using : export PERL_LWP_SSL_VERIFY_HOSTNAME=0 cpan https://metacpan.org/path/to/Module.pm
I am not able to start ejabberd server [closed]
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 9 years ago. Improve this question When i try to start my ejabberd server using following commond /etc/init.d/ejabberd start it shows following but nothing starts when i fire www.example.com:5280\http-bind Starting ejabberd: [ OK ] as my logs at /var/log/ejabberd/ejabberd.log are empty but to figure it out i tried running ejabberdctl live and got following log ,i really don't know wht this says specially over here {error,duplicate_name} so can any please help me how to get rid off this and start ejabberd successfully. {error_logger,{{2012,2,4},{14,28,18}},"Protocol: ~p: register error: ~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{inet_tcp_dist,listen,1},{net_kernel,start_protos,4},{net_kernel,start_protos,3},{net_kernel,init_node,2},{net_kernel,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}]} {error_logger,{{2012,2,4},{14,28,18}},crash_report,[[{pid,<0.20.0>},{registered_name,net_kernel},{error_info,{exit,{error,badarg},[{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{initial_call,{net_kernel,init,['Argument__1']}},{ancestors,[net_sup,kernel_sup,<0.8.0>]},{messages,[]},{links,[#Port<0.94>,<0.17.0>]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,23},{reductions,484}],[]]} {error_logger,{{2012,2,4},{14,28,18}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfa,{net_kernel,start_link,[['ejabberd#example',shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]} {error_logger,{{2012,2,4},{14,28,18}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfa,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]} {error_logger,{{2012,2,4},{14,28,18}},crash_report,[[{pid,<0.7.0>},{registered_name,[]},{error_info,{exit,{shutdown,{kernel,start,[normal,[]]}},[{application_master,init,4},{proc_lib,init_p_do_apply,3}]}},{initial_call,{application_master,init,['Argument__1','Argument__2','Argument__3','Argument__4']}},{ancestors,[<0.6.0>]},{messages,[{'EXIT',<0.8.0>,normal}]},{links,[<0.6.0>,<0.5.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,233},{stack_size,23},{reductions,123}],[]]} {error_logger,{{2012,2,4},{14,28,18}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]} {"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"} Crash dump was written to: /var/log/ejabberd/erl_crash_20120204-142801.dump Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
It means you have already an ejabberd running, that is an Erlang node with the same name (Duplication name). Stop / Kill your existing beam processes.