Posts Tagged 1and1

Plesk, Updating CentOS & sftp-server

tl;dr – Either a plesk update or CentOS update borked an OpenSSHd install such that the sshd_config was pointing to an sftp-server that didn’t exist where it was looking for it, but existed in two other locations.

Fix was to update the sshd_config while investigating the possibility of removing the duplicate install. Read the rest of this entry »

, , , ,

2 Comments

You know you need more RAM when…

aka, my errors, let me show you them.
or, inadvertent DDoSes are fun when you do them to yourself!
finally, A: “I can see 4GB of RAM but I can only use 1.5.” Q: What is “Why I loathe 1and1”?

sudo -i
sudo: unknown uid: 10003
sudo: cannot fork: Cannot allocate memory

-bash: /usr/bin/sudo: Argument list too long

ps aux|grep httpd|wc -l
 -bash: fork: Cannot allocate memory
 -bash: start_pipeline: pgrp pipe: Cannot allocate memory
 -bash: ps: command not found
 -bash: /bin/grep: Cannot allocate memory
[s15353558 ~]$ sudo -i
 -bash: /bin/egrep: Cannot allocate memory
 -bash: echo: write error: Cannot allocate memory
 -bash: fork: Cannot allocate memory
 -bash-3.2# whoami
 root
bash: fork: Resource temporarily unavailable
[root@s15353558 conf]# screen
 bash: /bin/grep: Argument list too long
 bash: /bin/grep: Cannot allocate memory
 bash: /usr/bin/id: Cannot allocate memory
 bash: [: =: unary operator expected
 bash: /sbin/consoletype: Cannot allocate memory
 bash: /usr/bin/id: Cannot allocate memory
 [root@s15353558 conf]#
[root@s15353558 conf.d]# vim pagespeed.conf
 Vim: Warning: Output is not to a terminal
[root@s15353558 conf]# service httpd graceful
 httpd: Syntax error on line 190 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_alias.so into server: /etc/httpd/modules/mod_alias.so: cannot open shared object file: Too many open files in system
 [root@s15353558 conf]# service httpd graceful
 /usr/sbin/apachectl: line 102: 16247 Killed                  $HTTPD $OPTIONS -t >&/dev/null
 apachectl: Configuration syntax error, will not run "graceful":
 httpd: Syntax error on line 169 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_logio.so into server: /etc/httpd/modules/mod_logio.so: failed to map segment from shared object: Cannot allocate memory
 [root@s15353558 conf]# service httpd graceful
 apachectl: Configuration syntax error, will not run "graceful":
 /usr/sbin/httpd: error while loading shared libraries: libcom_err.so.2: cannot open shared object file: Error 23
 [root@s15353558 conf]# service httpd graceful
 /etc/rc.d/init.d/functions: line 19: /sbin/consoletype: Cannot allocate memory
 /etc/profile.d/lang.sh: line 53: /sbin/consoletype: Cannot allocate memory
 1024
 /usr/sbin/apachectl: fork: Cannot allocate memory
 [root@s15353558 conf]# service httpd graceful
 /etc/rc.d/init.d/functions: fork: Cannot allocate memory
 /etc/profile.d/lang.sh: fork: Cannot allocate memory

, ,

No Comments