Automatic Resetting A SUSE Server Multiple Times
Dec 12, 2008How can I restart a SUSE server multiple times?
how to use Cron to restart the server every 5 minutes and then log the number of times this was done and output it to a file?
How can I restart a SUSE server multiple times?
how to use Cron to restart the server every 5 minutes and then log the number of times this was done and output it to a file?
Apache keeps stopping. MULTIPLE times per day! There is no logic to when it dies. But about every 2 hours.
Load stays below .30 and there is free memory available.
This is on a VPS machine. None of the other VPS's are having an issue. Just this one.
Centos release 5.3 (Final)
Apache/2.2.3
Here is what is in the httpd.conf file. I realize the numbers are way too high, but just trying to get this issue to go away.
Code:
<IfModule prefork.c>
StartServers 100
MinSpareServers 100
MaxSpareServers 100
ServerLimit 512
MaxClients 512
MaxRequestsPerChild 4000
</IfModule>
<IfModule worker.c>
StartServers 100
MaxClients 500
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 100
</IfModule>
Here is what is in the /var/log/httpd/error_log file before it dies:
Code:
[Wed Jul 01 18:06:32 2009] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 98 idle, and 108 total children
[Wed Jul 01 18:08:17 2009] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 74 idle, and 76 total children
[Wed Jul 01 18:08:18 2009] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 16 children, there are 63 idle, and 63 total children
[Wed Jul 01 18:08:19 2009] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 32 children, there are 79 idle, and 79 total children
[Wed Jul 01 18:11:36 2009] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 93 idle, and 108 total children
when I had multiple (at least 5) vhosts set to Apache when it just hanged, this was fixed adding:
Code:
Acceptfilter http none
Acceptfilter https none
To my httpd.conf, but now it's not hanging, it just times out, I get no error, nothing in the error.log file, it just times out.
After doing a refresh, it comes back like nothing happened.
I'm working with a local startup and we are looking into potential backup solutions. We have roughly 9 servers all running some variation of susE linux (some straight susE and some X Server which runs off susE).
We are needing a backup solution that will allow us to securely get data off the servers on a regular interval. We are unable to move the data off site as we are running on a single T1 line with moderate utilization, certainly not enough BW to go off site.
direction of any companies who offer dedicated servers with SuSe -
View 1 Replies View RelatedI have a VPS (ConetOS 4.4, OpenVZ), it all works fine, however on reboot, the resolv.conf gets reset to some nameservers that are no longer in use, How do I change this so after a reboot it uses the nameservers I am using now?
My current resolv.conf looks like this:
nameserver 85.234.133.209
nameserver 85.234.144.209
I am trying to transfer a domain from the server for Plesk 11.5 to 12 system is SUSE 13.1. After restoring the manager from within Backup getting errors:
Warning:
python is not supported. It will be disabled for the following objects: xxxx.xx
Warning: domain "xxxx.xx"
Failed deployment of mail user bbbbb@xxxx.xx
Warning:
Execution of /usr/local/psa/admin/plib/api-cli/mail.php --create bbbbb@xxxx.xx -passwd '' -passwd_type sym -mailbox true -mbox_quota -1 -aliases add:bbbbb -forwarding false -ignore-nonexistent-options failed with return code 1.
[code]....
I have vbulletin forum and I want backup it automatic on aonther server
let say I want the opration of backup every 4 hour how I do that?
i have windows 03 server getting ddosed many times. attack was upto 2gbit so any way to stop it?
Would a higher connection speed/bandwidth limit help? And about load balancing, would more servers help prevent the DDoS?
if any of you could give a quick idea on the set up times for dedicated servers from ECATEL
I paid 515 euros 9 days ago, and the server still hasn't been set up (Hardware delivery problems I have been told) and before I ordered, they stated the setup time would be 48 hours.
Is this normal? The last email i received from them was 3 days ago.
I find this completley unproffesional, It is always another few days.
What are your experiences with them? I am utterly dissapointed so far.
way to keep server times synchronized? All servers are in the same location.
For example, a website has two web servers and one database server. What's the best way to keep the time syncd on all servers (they should be the exact same time really)?
Operating System: Linux - CentOS
I bought a VPS package hosted at Hosting-IE from someone I knew, since they were not going to be able to use it. Its a linux VPS, and it's done me well. Based on that I decided to purchase my own package, a Windows VPS.
After payment, I messaged support about a broken auto response email they sent out, then asked how long server setup time should be. They responded 1-2 working days. Fine.
Well, its been 7 days since then. I'm 1/4 of the way through the month I've paid for, and still no VPS. I messaged them back asking for my server or a refund, no responses since then.
My previous host set up my dedicated box within a working day, and that involved setting up the hardware too. Over a week for a VPS is too long.
Is my experience with Hosting-IE abnormal or should I be demanding my loot back? Is there any other VPS provider out there that can offer me similar stats at the same price as Hosting-IE?
for a simple package setup, this has gone on for far too long.
I've got a housed server within my customer's datacenter. I consider application runs ok, but it goes very slow.
I consider it's due to their connection (DSL) and installed another provisional server with a simple "Hello World" and no traffic. I'm to install the same server within another datacenter, and would like to find an external tool to certify connectivity times.
Do you know any of these tools? I'm not searching tools like 'Apache AB' or 'HP httperf', but public online services.
I have a problem. to buy dedicated server but I don't really know what to buy. I need some kind of stress test for server so that I can be assured that my website won't crash when it will be on front page of digg. Does something like that even exists?
View 7 Replies View Relatedin one of our dedicated servers, when we go to WHM/Service Status / CPU Memory MySQL usage.. http server and MySQL process appears all 3 times...
is that normal?
i attach an email to be more clear.
Anyone out there have experience with SuSE over RedHat? RHEL is obviously the generalized Enterprise version used across most commercial hosting companies, but I'm interested in hearing about some SuSE experiences people have had.
It looks like SoftLayer offers SuSE and a couple VPS hosting companies do the same. I'm wondering how many large-scale sites are run on this operating system.
I am having trouble finding any providers that provide Opensuse on their configs. So far, the only one seems to be 1&1 and I certainly do not want to be going near them anytime soon.
Does anyone know of a reputable company that can provide Opensuse based servers?
I have been trying to compare Red Hat to SUSE Linux, and can't really come to a definitive solution. I can't seem to find anyone that uses SUSE (Well, hardly anyway), but I found out that they have over double to market share that Red Hat has so somebody is definitely using them. I also noticed that SUSE is cheaper too.
Based on your experiences, what are some of the pros / cons both ways? Who offers better product training (I wan't to get certified directly)? Who has better product support? Is AppArmor better than SELinux?
By the way, I am only looking for commercial linux distributions. Specifically companies that offer product training.
I am gonna host a multi-platform website from my home server soon. My home server is basically IIS7 on Windows server 2008. However , I am currently experimenting with IIS7 on vista business .Unfortunalely I have experimented so much that I need to reset IIS7 to default settings.
I haven't backed up atall. So it would be great if someone can assist me in this matter.
There is a simple way to reset my exim.conf to default one on a cpanel server?
View 6 Replies View RelatedI have a server which runs suse linux on it. Postfix is already installed on it.
But, the problem is i am not able to send mail using root. I mean using mail -v command.
I could see the following in mail logs. I know 2 files main.cf and master.cf are there.
Not, sure what to change and how.
Nov 21 21:17:56 CSIDB3 postfix/smtp[14577]: connect to mx3.domain.com [x.x.x.x]: Connection timed out (port 25)
Nov 21 21:17:56 CSIDB3 postfix/smtp[14577]: 61715223EE: to=<sabarish@domain.com>, relay=none, delay=30, status=deferred (connect to mx3.domain.com[x.x.x.x]: Connection timed out)
The same thing happens will Gmail also. I think outgoing mail is not working at all.
Nov 21 20:27:41 CSIDB3 postfix/smtp[13907]: connect to gsmtp183.google.com[64.233.183.27]: Connection timed out (port 25)
Nov 21 20:27:41 CSIDB3 postfix/smtp[13907]: 5A177223E1: to=<sabarish@gmail.com>, relay=none, delay=189739, status=deferred (connect to gsmtp183.google.com[64.233.183.27]: Connection timed out)
OS is OpenSuse 13.1.Yast shows the installed version of Apache2 as 2.4.6-6.23.1..I created my own CA, and used that to create a server certificate. The CA crtificate (in PEM format), and the server key and certificate have been placed in the appropriate directories in /etc/apache2 (the key in ssl.key and the certificates in ssl.crt).
When I check the status, after restarting apache, I see an error claiming that socache_shmcb_module is not installed and that it is ignored. This is, of course wrong, as I included that module in /etc/sysconfig/apache2, and the appropriate LoadModule statement in the Loadmodule.conf file (with the proper full path - /usr/lib64/apache2). This error is the only error I see on the server.
I configured WebDisk on my webhost (via cPanel) and it works great on one computer but with the other there is a slight problem:
When the password was first entered it was mistyped, saved somewhere (I have no idea where, that's what I am trying to find out) and now whenever I try to connect I receive an error:
Quote:
There was a problem connecting to the WebDisk service
I tried to reset the password via Internet Explorer (Tools | Options) but that cleared other passwords, not the WebDisk one.
Any idea how to reset that password (on Windows, the client side)?
From time to time all the POP3 user mailboxes get their password reset and users can't access their mail. I have to go in and manually reset each users password.
Why is this happening and how can I stop it?
Which type of suse you recommend Professional or Enterprise Edition?
View 2 Replies View RelatedHow to setup nameservers in SUSE Linux when my server is behind router?
I'd need to setup two nameservers so I could register domains.
NAT IP is the ip shown at whatismyip.com? or is it ip my router gives out eg 192.168.4.103?
I will be dropping my shared-hosting plan and ordering a small VPS as soon as I can decide on which operating sytem to use. It seems that most companies offer the following choices: Suse, Debian, Fedora and CentOS.
I freely admit that I am a full-fledged n00b when it comes to linux and will be learning as I go, the problem is I just don't know where to start because I'm not familiar with any of them. I have at least heard of Suse, Debian and Fedora before, but didn't even know this CentOS existed until yesterday... and yet, it seems to be one of the more popular choices.
So I was wondering if some of you seasoned VPS veterans here could recommend an OS, tell me what the differences are, or otherwise share any experience you might have with any of them.
We've had a customer do something strange to their server. They were playing with /etc/passwd or /etc/shadow or similar (not quite sure of the details) but the upshot is booting the server into single user and trying to reset the password via passwd gives
passwd root (and any user)
passwd: Authentication token manipulation error
So far I've
Replaced /etc/passwd* and /etc/shadow* with a copy from another server
Turned off SeLinux
/etc/pam.d/passwd is fine
Root file system is r/w