Debian VPS Shutting Down All Servers
Nov 11, 2007
I the last few months my debian 4.0 VPS has suddenly shut down all servers. When this happens the process list looks like this:
Code:
1 root 16 0 1868 640 544 S 0 0.2 0:00.03 init
17825 root 16 0 1556 568 460 S 0 0.2 0:04.82 syslogd
17965 mysql 16 0 142m 17m 5024 S 0 6.9 0:05.37 mysqld
18043 root 16 0 1672 572 480 S 0 0.2 0:00.00 inetd
18307 root 16 0 4852 1100 776 S 0 0.4 0:00.06 sshd
18349 root 18 0 2188 796 648 S 0 0.3 0:00.00 xinetd
18428 root 16 0 2132 884 704 S 0 0.3 0:00.19 cron
1674 root 16 0 7640 2264 1832 S 0 0.9 0:00.03 sshd
1745 msh 16 0 7640 1576 1140 S 0 0.6 0:00.00 sshd
1750 msh 16 0 5420 2068 1208 S 0 0.8 0:00.01 tcsh
1784 msh 15 0 2156 968 772 R 0 0.4 0:00.00 top
My VZ controlpanel don't list any alerts. If I restart apache and postfix+dovecot everything works for 2 weeks or so and it happens again.
Can anyone tell me where to investigate this or any opinions to what is happening?
View 0 Replies
ADVERTISEMENT
May 12, 2008
which is best for running a server? debian or centos?
i have seen many companies prefer using centos for running servers quite often. Any specific reason for that or am i missing something here.
View 14 Replies
View Related
Oct 9, 2008
I just ordered a server which has that setup:
AMD Athlon 64 X2 6000+ Dual Core
8MB RAM
2x750GB RAID 1 HD
Now I wanna run it with DirectAdmin, but obviously DirectAdmin doesn´t support the Debian 64 which is installed but only 32 bit Debian.
Now I wonder wether I could setup a Debian 32 as well on that system and if yes, wether it would give me a deficit in Performance?
Or would you rather go with CentOS 64 which Directadmin supports?
View 6 Replies
View Related
Mar 13, 2008
I had a problem with my server goind offline. When the data center checked on it - they found it powered down. (the only server on the strip that was powered down)
This also happened last month on February 14.
So.... I'm trying to find why it's shutting itself off. And wondering if the closeness of dates might be a clue....
March 13
Feb 14
View 11 Replies
View Related
Jul 2, 2008
I use rfxnetworks.com/sim.php on my cpanel server and it all worked fine until the last week where each morning 6am GMT I get a status warning telling me that XINET was down and that it had to restart it.
Has something changed? Is there now something weird about XINETD and cpanel? My cpanel is stable and set to automatically update.
In fact it looks like something ALWAYS shuts it down and then SIM restarts it looking at a section of messages:-
Jul 2 05:57:02 tkey-29dd xinetd: xinetd shutdown succeeded
Jul 2 06:00:01 tkey-29dd xinetd: xinetd shutdown failed
Jul 2 06:00:01 tkey-29dd xinetd: xinetd startup succeeded
What is causing my server to shutdown xinetd in the first place?
View 0 Replies
View Related
Jan 9, 2008
I am having some wacky stuff going on with my server. I run a Godaddy v-ded and according to them, the server is fine.
What i'm experiencing is, some of my domains are not resolving, some are. For the ones that are working that run via a database, every few hours, I need to restart mysql(or the server) to get them running again.
Linux OS:
Kernel Version - 2.6.9-023stab044.4-smp
Hardware Information - 3ghz xeon, 512mb, 20gig hd
Software Version - fedora 7
Control Panel - WHM 11.11.0 cPanel 11.16.0-R18546
TOP
Code:
top - 10:27:18 up 2:18, 1 user, load average: 1.17, 0.65, 0.36
Tasks: 74 total, 1 running, 73 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.5% us, 0.6% sy, 0.0% ni, 73.2% id, 23.7% wa, 0.0% hi, 0.0% si
Mem: 6097220k total, 6057888k used, 39332k free, 9328k buffers
Swap: 12586916k total, 6501796k used, 6085120k free, 659732k cached ...
View 6 Replies
View Related
Feb 18, 2008
Recently I started a website based on Joomla. My friends suggested me to start it with hosting it from Home based server. Website is not that busy. I get about 300 Unique Hits a day. My server is window xp based and i installed a bundle called WAMP2. Website was running fine but since last night my server got shut down all by itself. I checked temp log and everything was under 35. Then i checked my internet traffic and found out that there were 400+ connections from a SINGLE ip. This is the IP 213.130.118.112 and i tried to trace, whois blah blah and didnt find anything about it. I have no idea what to do as my server gets shut down after about 5 to 10 minutes. Please help me. Is it possible to stop this issue?.
View 7 Replies
View Related
May 31, 2009
I want to backup a entire folder thats in / not in any other folders.
I've tried this command but I get the error described below..
tar cvpzf opensim.tgz
tar: Cowardly refusing to create an empty archive
Try `tar --help' or `tar --usage' for more information.
The folder is called opensim. I was logged into SSH with root access and tried the command directly, not going into other folders because well I dont want to, I wanna backup that 1st opensim folder that I can see on the FTP also.
View 8 Replies
View Related
Jan 9, 2009
I'm having some trouble finding a VPS host that offers Debian and Plesk. I've searched the forum but nothing's really panned out. I'm currently with Geekstorage but the server has been slow (same problem reported by others).
Anyone have recommendations for Debian + Plesk VPS host?
View 4 Replies
View Related
Jul 28, 2007
i can't get java installed correctly on my debian server.
i downloaded the .bin file from java sun's website and run it says "done."
but when i type :
Code:
whereis java
the terminal shows
Code:
host:/# whereis java
java:
View 4 Replies
View Related
Dec 8, 2008
i just installed debian but when i try to start it, it just give me "error 2 " when i try to boot it
What is error 2 google gave me nothing
View 4 Replies
View Related
Dec 13, 2007
Install Required software
NX server needs ssh and some libraries to run. These packages are normally not installed during the basic installation process.Use the following comamnd to install
#aptitude libstdc++2.10-glibc2.2 ssh
Install Free NX Server in Debian Etch
First you need to download the .deb packages using the follwoing commands
i did the three steps..
Now you need to install .deb packages in the following order this is very important
#dpkg -i nxclient_2.1.0-17_i386.deb
#dpkg -i nxnode_2.1.0-22_i386.deb
#dpkg -i nxserver_2.1.0-22_i386.deb
If you get any errors use the following comamnd to fix
#apt-get -f install
Now you need to make sure ssh and nx servers are running if not start with the following commands
#/etc/init.d/ssh start
#/etc/init.d/nxserver start
--------------------
but the problem is i cannot connect to the nx .
i installed the program on windows but what is the username and password should i use? i tried to use the root but it said that the user root cannot be used.
View 1 Replies
View Related
Jan 30, 2007
i have the vps with debian 3.1
i digit on ssh /etc/init.d/mysql start and i see this error
Starting MySQL database server: mysqld.
Checking for crashed MySQL tables in the background.
/etc/mysql/debian-start: line 13: logger: command not found
View 1 Replies
View Related
Jan 20, 2007
I have a lot of questions here so if you can't answer them all I understand. even pointing me somewhere where I could get the answers would be appreciated; hardware sites focusing on server hardware, forums focusing on such, etc.
we plan to have three different types of servers:
- db server (self explanatory. mysql. for forums, mysql driven sites.)
- file server (lots of files around ~2-10MB, consistant 70mbps right now, but we want more room for upgrades. needs a LOT of storage room.)
- web server (lots of php files, but also static things like plain html, images, etc. also includes all misc services for the setup-- dns, etc.)
could I be given a rundown for which hardware each of the three should have? I don't need specifics, even just knowing that more ram is important here while cpu doesn't matter as much, or that the fastest disks available are a must, etc would all be valuable info for me. despite that, I certainly wouldn't mind specific hypothetical hardware configs.
for the database server I'm assuming the more ram the better. not entirely sure about the cpu? also not positive on disks...
for the fileserver, how much ram would be practical or useful? disk io will be an issue I'm because plenty of people will be pulling files at once so the disk needs to read from multiple places. scsi (and even raptors) are not an option as we need 750GB+ of space on a reasonable budget. more ram will take some load of of the disks, but how much is neccessary / reasonable?
for the web server I'm assuming cpu first, then ram, but it'll likely need less ram than the db server?
I'm more lost on the disks than anything. scsi on the fileserver is not an option under any circumstances due to $/GB. for the db & web server I'm willing to pay for scsi if the performance increase really does warrant the extra money, but I'd like to be convinced before shelling it out. if you have benchmarks geared at server hardware when it comes to disks I'd really appreciate it.
also, what's the best way to network these together when colocated? each one with a dual gigabit ethernet port and then the communications go to and from the router?
View 7 Replies
View Related
Jun 24, 2009
I have just installed my vps with webmin on debian 5 and I need a guide to how to configure my system to use suphp, Ive googled it but not come back with any clear guide.
I better add Ive plunged in at the deepend and after the secuity breach at Vaserv, I can not take the easy option and install lxadmin any longer.
View 1 Replies
View Related
Oct 24, 2009
Which OS is better in security and easy to use for vps beginner:
CentOS™, Debian™, Ubuntu™, Fedora™, or Gentoo™.?
View 14 Replies
View Related
Jul 23, 2009
I'm leaning towards centos but am concerned that development priority in that distro will switch over from Xen to KVM as RHEL does. Which distro would you choose for dom0 and why?
View 3 Replies
View Related
Apr 26, 2009
From some weeks I try to have a secure install for my Debian. THis server will be a shared hosting host so need special security but I don't know how to do this.
My requirement are :
- Apache
- PHP (mod, not cgi)
Actually, users can navigate into my server by using phpshell script. And someone put lots of file into /tmp directory so I tri to secure all of that but don't find good tuto for that; do you know where can i have some?
And what about php using cron so execute with php-cli how to secure it?
View 3 Replies
View Related
Mar 19, 2009
where I can find a guide or how-to to hardening Debian Lenny web server (a xen vps one)?
View 0 Replies
View Related
Jul 3, 2009
installing Debian. I choose Standard package without anything, No DNS Server, No Web Server, No Mail Server.
But ssh is not working, how do I install sshd and get it work?
View 4 Replies
View Related
Jul 9, 2008
I've just ordered a dedicated server with Ubuntu server, but they've come back to me to say that they've had trouble installing Ubuntu server on these particular servers.
As an alternative, they're offering to install Debian. My concern is that I come from a windows background and have spent the last month reading and playing with Ubuntu Server in vmware. I'll be running a small handful of sites on the server and will rely on the apt-get and package installer in webmin to get things set up and for administration. I'll dabble in the shell a little, but only when needed.
Should I go with a different host that can offer Ubuntu, or will I be okay with Debian?
View 9 Replies
View Related
May 20, 2008
my os is debian
how can disable iptables on it?
part12:/# service iptables restart
-bash: service: command not found
View 3 Replies
View Related
Aug 11, 2008
I am on a vps server and want to install a GUI based control panel. ISPconfig being the most talked about however i am unable to find a tutorial which helps you with step by step installation on debian 4;
View 1 Replies
View Related
Jan 17, 2008
problem on one server with debian, the last month it have a 100% f uptime, but since yesterday automaticly it reboot every 1 hour exactly!
this is a game server , dont have service like httpd , mysql dns , nothing! , I uninstall cron jobs thinking that will solve the problem, but no .....
I install firewall, run rkhunter and chkrootkit, check whell gruop and nothing
logs:
Jan 17 05:20:00 debian -- MARK --
Jan 17 05:40:00 debian -- MARK --
Jan 17 06:00:18 debian syslogd 1.4.1#18: restart.
Jan 17 06:00:18 debian kernel: klogd 1.4.1#18, log source = /proc/kmsg started.
Jan 17 06:00:18 debian kernel: Bootdata ok (command line is root=/dev/sda1 ro )
I change root password and ssh port but nothing... I think that could be a issue on debian or some exploit cause it, this was happend Suddenly one day to another it is very Strange....
somebody know about this?
SERVER:
debian:~# uname -a
Linux debian 2.6.18-5-amd64
CORE 2 QUAD - 2GB ram - debian 64 bits
View 5 Replies
View Related
Feb 27, 2007
Linux user trying to install a few packages on a new dedicated Debian server.
Following some tutorials, I installed Apache1.3 & PHP4 using apt-get install and had them up and running no problem.
I then decided to change the versions, so removed them using apt-get remove and deleted the relevant folders from /etc (this was before I knew of the apt-get --purge option).
I then tried to install Apache2 and PHP5, and although it appears to have worked, folders are not created for them in /etc so it doesn't work.
Is there a way of doing a fresh clean install so that the folders are created? I've tried apt-get clean without success.
Alternatively, a way to rollback Debian to it's previous state before I got my grubby little hands on it!
View 2 Replies
View Related
May 23, 2007
to upgrade the kernel on a Debian 3.1 server from a 2.4 kernel to the latest 2.6 kernel.
View 2 Replies
View Related
Jun 4, 2007
I just upgraded to Debian from RedHat, but I'm a little lost trying to get phpMyAdmin working. Below is a snapshot of my config.
I'm sure I'm missing something.
looks like I have the packages...
debianlinux [/root] # dpkg -l | grep php
ii libapache-mod-php5 5.2.0-8+etch4
ii libapache2-mod-php4 4.4.4-8+etch2
ii php4-common 4.4.4-8+etch2
ii php5-common 5.2.0-8+etch4
ii php5-gd 5.2.0-8+etch4
ii php5-mcrypt 5.2.0-8+etch4
ii php5-mysql 5.2.0-8+etch4
ii phpmyadmin 2.9.1.1-3
am I missing any apache modules?
debianlinux [/etc/apache2] # apache2ctl -t -D DUMP_MODULES
Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
mime_module (shared)
python_module (shared)
negotiation_module (shared)
perl_module (shared)
php4_module (shared)
setenvif_module (shared)
status_module (shared)
Syntax OK
here is my short and sweet apache2.conf
debianlinux [/etc/apache2] # cat apache2.conf
ServerRoot "/etc/apache2/"
ServerName debianlinux
LockFile /var/lock/apache2/accept.lock
PidFile /var/run/apache2.pid
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
<IfModule mpm_worker_module>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
User apache2
Group apache2
AccessFileName .htaccess
<Files ~ "^.ht">
Order allow,deny
Deny from all
</Files>
TypesConfig /etc/mime.types
DefaultType text/plain
HostnameLookups Off
ErrorLog /var/log/apache2/error.log
LogLevel warn
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
Include /etc/apache2/ports.conf
Include /etc/apache2/conf.d/
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
LogFormat "%h %l %u %t "%r" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
ServerSignature Off
<IfModule alias_module>
Alias /icons/ "/usr/share/apache2/icons/"
<Directory "/usr/share/apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_autoindex.c>
IndexOptions FancyIndexing VersionSort HTMLTable NameWidth=*
DefaultIcon /icons/blank.gif
ReadmeName README.html
HeaderName HEADER.html
IndexIgnore .??* *~ *# RCS CVS *,v *,t
</IfModule>
<IfModule mod_mime.c>
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
</IfModule>
<IfModule mod_mime.c>
AddCharset us-ascii .ascii .us-ascii
AddCharset ISO-8859-1 .iso8859-1 .latin1
AddHandler type-map var
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</IfModule>
Include /etc/apache2/sites-enabled/
Include /etc/phpmyadmin/apache.conf
I can hit my default site okay, which in in /root (for testing)
debianlinux [/etc/apache2/sites-available] # cat default
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /root/public_html/
<Directory /root/public_html/>
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /root/public_html/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
what about phpMyAdmin configuration?
debianlinux [/etc/phpmyadmin] # ls -la
total 44
drwxr-xr-x 2 root root 4096 2007-06-02 06:54 .
drwxr-xr-x 72 root root 4096 2007-06-03 10:59 ..
-rw-r--r-- 1 root root 654 2007-06-02 06:34 apache.conf
-rw-r--r-- 1 root root 205 2007-06-02 06:35 apache.conf.beta
-rw-r----- 1 root www-data 63 2007-05-29 05:39 blowfish_secret.inc.php
-rw-r--r-- 1 root root 170 2007-05-29 05:39 config.footer.inc.php
-rw-r--r-- 1 root root 170 2007-05-29 05:39 config.header.inc.php
-rw-r--r-- 1 root root 5943 2007-05-29 05:39 config.inc.php
-rw-r--r-- 1 root root 1542 2007-06-02 06:35 htaccess
-rw-r----- 1 root www-data 8 2007-05-29 05:39 htpasswd.setup
here is contents of config.inc.php
<?php
$i = 0;
$i++;
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
?>
all the phpmyadmin files are in /usr/share/phpmyadmin - any config tasks here?
View 8 Replies
View Related
Mar 2, 2007
This should be a routine walk in the park job for me but for some reason this time the phpmyadmin installation on debian is giving me so much trouble. I have installed it numerous times with no issues.
I am trying phpmyadmin installation the usual way, "apt-get install phpmyadmin" but no matter what I do I keep getting "500 Internal Server Error".
My mysql server has a root password.
I know debian well and they wont put a package up which has not been tested well so I am surprised phpmyadmin is not working properly on the basic installation.
I have been trying to make it work for 3 days now and as a last resort I am coming here to see if someone can shed some light on the issue.
View 4 Replies
View Related