Note that I have already succesfully used this installation to obtain and renew certs but when I went in and ran the command ./certbot-auto renew or /certbot-auto it breaks with lots of errors.
Here is the dump file of the console
Here is some sidenotes:
My installed version for python is 2.6.6
OS: Centos 6
Update:
I have updated python version 2.7 but still having the problem
Note that I have upgraded PIP version to 9…0.1 but it still shows this warning about pip.
I don’t think that issue is related - it seems to be about urllib3, while your error happens during cffi compilation.
Any chance you’re doing this on a low-memory system, or that there’s very little free memory on your server (free -h to check)? You might be running into this issue:
(192MB being just a sample of too little RAM, not sure what the exact memory usage would be.)
That looks fine. Was there anything else that changed on that server between the time certbot worked and when you first encountered that error? Any chance you installed a custom openssl version (i.e. not the one you get through the default repo via yum)?
I ran the command second time and this time the free memory came around 144M. So, i think it may be the memory issue after all. I will kill some httpd processes and try to reran the command.
[...]
In file included from /usr/include/python2.7/Python.h:8,
from c/_cffi_backend.c:2:
/usr/include/python2.7/pyconfig.h:1:27: error: bits/wordsize.h: No such file or directory
/usr/include/python2.7/pyconfig.h:8:2: error: #error "Unknown word size"
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/include/syslimits.h:7,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/include/limits.h:11,
from /usr/include/python2.7/Python.h:19,
from c/_cffi_backend.c:2:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/include/limits.h:122:61: error: limits.h: No such file or directory
[...]
It looks like you are missing the glibc-headers package (I don’t use Centos, but a quick google search turned up that name…). Try installing that and try again!