Status -9 when I'm creating new cert


#1

I ran this command: ./certbot-auto --apache -d mywebsite.com

It produced this output:

Traceback (most recent call last):
  File "/tmp/tmp.BeKcJAA3xj/pipstrap.py", line 184, in <module>
    exit(main())
  File "/tmp/tmp.BeKcJAA3xj/pipstrap.py", line 171, in main
    shell=True)
  File "/usr/lib/python2.7/subprocess.py", line 544, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command 'pip install --no-index --no-deps -U /tmp/pipstrap-A1Vb95/pip-9.0.1.tar.gz /tmp/pipstrap-A1Vb95/setuptools-29.0.1.tar.gz /tmp/pipstrap-A1Vb95/wheel-0.29.0.tar.gz' returned non-zero exit status -9

My web server is (include version): http - Apache v.2.2.22

The operating system my web server runs on is (include version): Ubuntu 12.04
My hosting provider, if applicable, is: OVH

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no


#2

I’m not certain, but I’d suspect it has to do with the fact that Ubuntu 12.04 has been end-of-life for over a year now. Even if that ultimately is not the issue, you should really consider updating to an operating system still supported by its developer.


#3

I’ve already create some cert with the same env and it worked, I don’t think the version is the reason


#4

Hi @Tekosawa,

That usually means the process received a signal to be terminated, in this case the signal received was the number 9 (KILL), if you are not killing the process then maybe some kind of OOM Killer (OOM stands for Out Of Memory) is killing the process because your system is… well, out of memory ;), so you should double check it and maybe you could also try to stop some services to free some memory…

You could try to use ./certbot-auto --no-self-upgrade --no-bootstrap --apache -d mywebsite.com just in case to check whether you can issue the cert.

Note: As @jared.m said, I think it is time to upgrade your server.

Good luck,
sahsanu


#5

Thanks for your replies, I free memory and I got this error now :

Traceback (most recent call last):
File “/tmp/tmp.j8sOCycQkO/pipstrap.py”, line 184, in
exit(main())
File “/tmp/tmp.j8sOCycQkO/pipstrap.py”, line 171, in main
shell=True)
File “/usr/lib/python2.7/subprocess.py”, line 544, in check_output
./letsencrypt-auto: line 1668: 29667 Killed PATH="$VENV_BIN:$PATH" “$VENV_BIN/python” “$TEMP_DIR/pipstrap.py”


#6

I’m still thinking it is a memory problem. Did you try the command I posted above?

./certbot-auto --no-self-upgrade --no-bootstrap --apache -d mywebsite.com

If that server has lack of resources maybe you should try another client with a low footprint like acme.sh


#7

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.