Hi I installed newly ISPConfig a few weeks ago. All was OK. This moorning I created a new site. Using Konqueror (fish) I was uploading files to the folder /var/www/www.mysite.com/web Suddenly all my sites shutdown in this way: "Firefox can't find the server at www.any_site_I_have.com" "Firefox can't establish a connection to the server at XX.XX.XX.XX:81." Ping www.any_site_I_have.com: "ping: unknown host www.any_site_I_have.com" ssh: connect to host XX.XX.XX.XX port 22: Connection timed out I have Virtual Private Server, so using HyperVM I check the port status. DNS:no FTP:no SSH:no I "recover corrupted VPS" using HyperVM and then check newly port status. DNS:no FTP:no SSH:yes ssh: "Permission denied, please try again." update my root password using HyperVM. ssh -vvv XX.XX.XX.XX .../... debug2: channel 0: rcvd adjust 131072 (stop here) I tried to re-enable ssh using runing some command window within HyperVM: rm -f /dev/null mknod /dev/null c 1 3 /sbin/MAKEDEV tty /sbin/MAKEDEV pty ssh -vvv XX.XX.XX.XX .../... debug2: channel 0: rcvd adjust 131072 debug2: channel 0: rcvd ext data 57 debug2: channel 0: rcvd ext data 57 debug2: channel 0: rcvd ext data 57 debug2: channel 0: rcvd ext data 45 debug2: channel 0: rcvd ext data 61 /etc/profile: line 7: /bin/egrep: Cannot allocate memory /etc/profile: line 7: /b in/egrep: Cannot allocate memory /etc/profile: line 7: /bin/egrep: Cannot allocat e memory /etc/profile: line 33: id: command not found /etc/profile: line 38: /bin/ hostname: Cannot allocate memory debug2: channel 0: written 277 to efd 6 Really I am lost. Could someone help me ? 1. how to recover ssh acess ? 2. what to do then ? Thanks a lot.
All of those "cannot allocate memory" errors suggest that there is a problem with your hosting server - way beyond just an ISPConfig issue. I'd say you have to call your hosting provider's support line and ask them to identify and fix the problem.
Thanks for quick reply My host company says: ---------------------------------------------------------- That issue is coming from WITHIN your VM not outside of it... Immediately after re-boot you have your full free memory allocation which then disappears again shortly after reboot. free -m from within your VM gives bash: error while loading shared libraries: libtermcap.so.2: cannot open shared object file: Cannot allocate memory. free -m on the host node gives: total used free shared buffers cached Mem: 3985 3300 684 0 414 1415 -/+ buffers/cache: 1471 2514 Swap: 1983 0 1983 As you can see, the host node has plenty of free ram, and other customer VPS are not experiencing 'cannot allocate memory issues'. This is a software issue somewhere within your VM, and certainly from my point of view it would appear that an OS reload will be required to fix it. ---------------------------------------------------------- Rebuid my OS means lost of data and very long time to configure all. Can anybody help me in anyway ? Thanks
What's the output of Code: netstat -tap ? What happens when you run Code: /etc/init.d/ispconfig_server restart ?
Thanks for your help Falko. I have lost ssh to my VIRTUAL server. I can only run commands using a "command windows" within HyperVM. Any command I run is answered "bash: error while loading shared libraries: libtermcap.so.2: cannot open shared object file: Cannot allocate memory". Take into account I am NEW with ISPConfig, (and linux also ...). One month ago I had some similar problems (loose access to my VPS). My host company said the a password file got "corrupted". So I tried to change my VPS (I go to another host). I made a "clean"install of: 1.Services I can see in the Perfect Setup (CENTOS 5) 2.ISPConfig 3.Emacs. I also installed and use the remote framework (I allow visitors to create emails accounts and web page within the remote framework). All runs fine, but it seems I make some mistake during perfect setup that leads to this end. 1. Do you think this can be related to the quota install? I "adapt" the perfect setup to the VPS environment using this: http://wiki.vpslink.com/index.php?title=HOWTO:_CentOS_5_setup_for_LAMP_and_ISPconfig There is no quota install shown here, and my /etc/fstab have only one line: none /dev/pts devpts rw 0 0 2. Maybe this can be related to a funny bug VPS users have with yum update and disable ssh access. It is being solved with this commands: ---- rm -f /dev/null mknod /dev/null c 1 3 /sbin/MAKEDEV tty /sbin/MAKEDEV pty ---- (I put this in a file and call the file in /etc/rc.local to run it after each boot to allow ssh access...) 3. I also wonder if the problem can be related with a command I have in a php file: ini_set( "memory_limit", "200M" ); 4. Last I wonder if there may be any security problem using the remote framework (I use the apparently last version I downloaded in http://www.howtoforge.com/forums/showthread.php?t=22087). Sorry for this long reply, please remember I am new with all this, maybe I have done a stupid error during any step in the Perfect set up. I will not give up: I am now installing ISPConfig on a third VPS. Thanks for your help anyway.
Please post the output of the following command (if possible to execute it): df -h also check with the command "top" if you have any memory left in swap or ram.
I asked my host provider to try to run this commands for me. I will post results if any. I this commands on a new VPS on which I have done a similar "Perfect" Setup and instalation of ISPConfig. With this new instalation of ISPConfig all is running fine up to now (ssh access, ispconfig control panel access, webs...) I still not installed webmail neither remote framework. "df -h": Filesystem Size Used Avail Use% Mounted on /dev/simfs 20G 1.2G 19G 6% / none 16G 8.0K 16G 1% /dev "top": top - 04:58:08 up 1 day, 14:51, 1 user, load average: 0.00, 0.00, 0.00 Tasks: 48 total, 1 running, 47 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 1572864k total, 299264k used, 1273600k free, 0k buffers Swap: 0k total, 0k used, 0k free, 0k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 11353 root 15 0 2104 1040 824 R 0 0.1 0:00.02 top 1 root 18 0 1968 660 564 S 0 0.0 0:03.95 init 1498 root 19 -4 2060 536 352 S 0 0.0 0:00.00 udevd 1851 root 15 0 1628 612 520 S 0 0.0 0:00.27 syslogd 1863 dovecot 18 0 4700 1736 1444 S 0 0.1 0:22.15 pop3-login 1945 root 15 0 6072 1036 668 S 0 0.1 0:00.12 sshd 1955 root 20 0 2604 852 684 S 0 0.1 0:00.00 xinetd 2002 root 19 0 4376 1176 1020 S 0 0.1 0:00.00 mysqld_safe 2042 mysql 18 0 134m 20m 4412 S 0 1.3 0:17.39 mysqld 3174 root 18 0 1760 568 456 S 0 0.0 0:25.35 dovecot 3208 root 18 0 7416 1748 1304 S 0 0.1 0:16.29 dovecot-auth 3210 dovecot 18 0 4696 1732 1444 S 0 0.1 0:22.06 pop3-login 3211 dovecot 18 0 4696 1732 1444 S 0 0.1 0:23.36 pop3-login 3213 dovecot 18 0 4704 1740 1448 S 0 0.1 0:23.80 imap-login 3219 dovecot 18 0 4700 1736 1448 S 0 0.1 0:25.02 imap-login 3228 dovecot 18 0 4700 1736 1448 S 0 0.1 0:22.44 imap-login 3275 root 15 0 4432 1428 1200 S 0 0.1 0:00.02 bash 3314 nobody 15 0 2400 828 468 S 0 0.1 0:00.51 proftpd 6129 postfix 18 0 6692 1708 1364 S 0 0.1 0:00.00 pickup 8165 root 15 0 5236 1116 572 S 0 0.1 0:00.19 crond 11812 apache 18 0 24520 4620 1212 S 0 0.3 0:00.00 httpd 11992 root 18 0 3608 484 424 S 0 0.0 0:00.00 sleep 13806 root 18 0 19832 9248 3808 S 0 0.6 0:02.53 ispconfig_httpd 13807 root 18 0 4380 1136 984 S 0 0.1 0:04.45 ispconfig_wconf 13830 admispco 15 0 20436 9416 3128 S 0 0.6 0:05.04 ispconfig_httpd 16048 postfix 18 0 6688 1788 1432 S 0 0.1 0:00.00 tlsmgr 21524 admispco 15 0 20264 9216 3112 S 0 0.6 0:04.55 ispconfig_httpd 22315 smmsp 18 0 8004 1484 628 S 0 0.1 0:00.01 sendmail 22453 xfs 18 0 3212 1156 736 S 0 0.1 0:00.01 xfs 22467 root 18 0 5364 708 436 S 0 0.0 0:00.00 saslauthd 22468 root 18 0 5364 436 164 S 0 0.0 0:00.00 saslauthd 22476 root 18 0 5364 424 152 S 0 0.0 0:00.00 saslauthd 22477 root 18 0 5364 424 152 S 0 0.0 0:00.00 saslauthd 22481 root 18 0 5364 424 152 S 0 0.0 0:00.00 saslauthd 25633 root 18 0 24520 8044 4688 S 0 0.5 0:02.52 httpd 25634 root 18 0 1684 444 372 S 0 0.0 0:00.00 cronolog 25643 apache 15 0 24912 6240 2472 S 0 0.4 0:00.04 httpd 25645 apache 18 0 24912 6252 2484 S 0 0.4 0:00.02 httpd 25646 apache 15 0 24860 6400 2612 S 0 0.4 0:00.04 httpd 25647 apache 15 0 24896 6360 2588 S 0 0.4 0:00.02 httpd 25648 apache 15 0 24956 6420 2592 S 0 0.4 0:00.03 httpd 25649 apache 15 0 24864 6236 2468 S 0 0.4 0:00.02 httpd 25650 apache 15 0 24824 6136 2448 S 0 0.4 0:00.02 httpd 25651 apache 15 0 24832 6344 2592 S 0 0.4 0:00.01 httpd 25939 root 18 0 6628 1740 1376 S 0 0.1 0:00.04 master 25948 postfix 18 0 6748 1744 1392 S 0 0.1 0:00.00 qmgr Thanks for all.
My host provider had a look to my VPS and ran the commands Till ask for. This are emails I am receiving from them: I just post all this for if you can see anything that clearly shows what I have done wrong. I will rebuild in a few days. Thanks.