I've had this problem for a while. My HTTP will stop functioning, so I attempt to restart it via SSH. I restart it, yet it doesn't fix the problem. So I reboot the server via SSH. I wait 5-10 minutes and the server STILL isnt up. Can't login via SSH or anything.
So every time I have to tell my host to manually reboot the server. I've had apache recompiled multiple times, but I don't think that's the issue.
Code: [root@server50 log]# date Sun Jul 19 14:48:43 CDT 2009 [root@server50 log]# reboot
Broadcast message from root (pts/1) (Sun Jul 19 14:48:45 2009):
The system is going down for reboot NOW! [root@server50 log]# uptime 14:49:02 up 47 days, 31 min, 1 user, load average: 0.07, 0.10, 0.09 [root@server50 log]# date Sun Jul 19 14:58:11 CDT 2009 [root@server50 log]#
But server is not rebooting. Look like server need a hard reboot. Have anyonce faced this problem? why server is not rebooting?
I suspect that my machine keep rebooting itself judging it's online for a while with the result of my ping that I can ping my machine for less than 3 minutes and then it goes offline afterward.
I've checked with the datacenter found my IP is clean and fine.
I'm hosting proxy sites on my vps and untill yesterday my proxy worked fine with no problems at all.
But while going trough my server graphs I found it odd that I had 0 bandwidth since the middle of yesterday.. I first supposed that this was due school's out [url]but this wasn't the reason I found out!
I tried testing one of my proxies to see if it was still working, but with any URL I try to visit I get:
The requested resource could not be loaded. libcurl returned the error: Couldn't resolve host 'www.google.com'
I suppose the DNS server crashed?
I already restarted the VPS 3 times including the DNS Server.
I have a vps and I was having memory issues so I reboot my server. Upon doing that it seems to have put itself into a loop and is constantly rebooting itself every 5mins.
I checked the logs at /var/log/messages and found this:
Code: (?@127.0.0.1) [INFO] Logout. Jun 29 11:55:49 evercuben xinetd[24525]: EXIT: ftp status=255 pid=24296 duration=0(sec) Jun 29 11:55:49 evercuben xinetd[24525]: EXIT: smtp status=1 pid=24292 duration=0(sec) Jun 29 12:00:49 evercuben xinetd[24525]: START: smtp pid=1628 from=127.0.0.1 Jun 29 12:00:49 evercuben xinetd[24525]: START: ftp pid=1630 from=127.0.0.1 Jun 29 12:00:49 evercuben pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1 Jun 29 12:00:49 evercuben pure-ftpd: (?@127.0.0.1) [INFO] Logout. Jun 29 12:00:49 evercuben xinetd[24525]: EXIT: ftp status=255 pid=1630 duration=0(sec) Jun 29 12:00:49 evercuben xinetd[24525]: EXIT: smtp status=1 pid=1628 duration=0(sec) Jun 29 12:05:49 evercuben xinetd[24525]: START: smtp pid=11347 from=127.0.0.1 Jun 29 12:05:49 evercuben pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1 Jun 29 12:05:49 evercuben xinetd[24525]: START: ftp pid=11349 from=127.0.0.1 Jun 29 12:05:49 evercuben pure-ftpd: (?@127.0.0.1) [INFO] Logout. Jun 29 12:05:49 evercuben xinetd[24525]: EXIT: ftp status=255 pid=11349 duration=0(sec) Jun 29 12:05:51 evercuben xinetd[24525]: EXIT: smtp status=1 pid=11347 duration=2(sec) Jun 29 12:10:49 evercuben xinetd[24525]: START: smtp pid=20210 from=127.0.0.1 Jun 29 12:10:49 evercuben pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1 Jun 29 12:10:49 evercuben xinetd[24525]: START: ftp pid=20212 from=127.0.0.1 Jun 29 12:10:49 evercuben pure-ftpd: (?@127.0.0.1) [INFO] Logout. Jun 29 12:10:49 evercuben xinetd[24525]: EXIT: ftp status=255 pid=20212 duration=0(sec) Jun 29 12:10:49 evercuben xinetd[24525]: EXIT: smtp status=1 pid=20210 duration=0(sec) Jun 29 12:15:49 evercuben xinetd[24525]: START: smtp pid=30100 from=127.0.0.1 Jun 29 12:15:49 evercuben pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1 Jun 29 12:15:49 evercuben xinetd[24525]: START: ftp pid=30102 from=127.0.0.1 Jun 29 12:15:49 evercuben pure-ftpd: (?@127.0.0.1) [INFO] Logout. Jun 29 12:15:49 evercuben xinetd[24525]: EXIT: ftp status=255 pid=30102 duration=0(sec) Jun 29 12:15:49 evercuben xinetd[24525]: EXIT: smtp status=1 pid=30100 duration=0(sec) Jun 29 12:20:49 evercuben xinetd[24525]: START: smtp pid=7525 from=127.0.0.1 Jun 29 12:20:49 evercuben pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1 Jun 29 12:20:49 evercuben xinetd[24525]: START: ftp pid=7527 from=127.0.0.1 Jun 29 12:20:49 evercuben pure-ftpd: (?@127.0.0.1) [INFO] Logout. Jun 29 12:20:49 evercuben xinetd[24525]: EXIT: ftp status=255 pid=7527 duration=0(sec)
i'm kinda desperate right now, I have an Ultra Sparc II with Solaris 8 but suddenly it start rebooting again and again by himself, after initialize memmory and starts booting, once the server displays the hostname it says that the server is coming down. and reboot all over again.
I have an Ultra Sparc II with Solaris 8 but suddenly it start rebooting again and again by himself, after initialize memmory and starts booting, once the server displays the hostname it says that the server is coming down. and reboot all over again.
I have a server that is monitored with a system that automatically reboots if a service appears to be down. The server is being rebooted several times a month and it seems to be getting more frequent.
The server load is almost never high. It's a dual Xeon with hyperthreading and the load is almost always below 1. Practically the only time it goes high is during cPanel backup and it hardly ever reboots during that.
The DC tried replacing the RAM, but a day and a half later it rebooted again.
The server has 1 fairly active MySQL message board and 3 fairly high bandwidth sites (images and video clips), and the rest of the sites are quite small and inactive. One thing the tech said was "Apache gets a lot of traffic so I'm not surprised to see an apache restart once a month or so. You have 115 concurrent connections to apache and over 25,000 hits in the last 2 hours alone" but I've gotten reboots a few times/week.
I have compiled a RT kernel using 2.6.24 and it has been working great. All of our machines are runnin Centos 5. No issues like the previous configurations on Dual Quad Xeons 5335's and 8GB of RAM. As well as one box with Dual Core Xeon 5140's with 4GB of RAM. They have identical motherboards. My issue is that when you do a soft reboot, it doesn't "technically" reboot. It does, but it doesn't. Let me explain. It kills my ssh connection and you can't ping it for maybe say a minute or 2. When it comes back up, you get a new SSH key to login. You hit ok, and you try logging in. It doesn't accept any passwords. The server basically becomes inoperable.
The only way to solve this is to do a hard reboot. Phsyically rebooting the server. What could be causing this? This only started to happened when using the RT kernel. Is there an option that may be conflicting with it, however our 3rd and 4th box, with the same configuration has no issues like this. Soft reboots work great.
Here is the message log.
Feb 19 04:00:02 server530 shutdown[25342]: shutting down for system reboot Feb 19 04:00:02 server530 init: Switching to runlevel: 6 Feb 19 04:00:03 server530 smartd[3037]: smartd received signal 15: Terminated Feb 19 04:00:03 server530 smartd[3037]: smartd is exiting (exit status 0) Feb 19 04:00:09 server530 ntpd[20917]: ntpd exiting on signal 15 Feb 19 04:00:09 server530 rpc.statd[2570]: Caught signal 15, un-registering and exiting. Feb 19 04:00:09 server530 portmap[25711]: connect from 127.0.0.1 to unset(status): request from unprivileged port Feb 19 04:00:10 server530 auditd[2469]: The audit daemon is exiting. Feb 19 04:00:10 server530 kernel: audit(1203415210.158:8204): audit_pid=0 old=2469 by auid=4294967295 Feb 19 04:00:10 server530 pcscd: pcscdaemon.c:529ignal_trap() Preparing for suicide Feb 19 04:00:10 server530 pcscd: hotplug_libusb.c:361:HPEstablishUSBNotifications() Hotplug stopped Feb 19 04:00:11 server530 pcscd: readerfactory.c:1350:RFCleanupReaders() entering cleaning function Feb 19 04:00:11 server530 pcscd: pcscdaemon.c:489:at_exit() cleaning /var/run Feb 19 04:00:11 server530 kernel: Kernel logging (proc) stopped. Feb 19 04:00:11 server530 kernel: Kernel log daemon terminating. Feb 19 04:00:12 server530 exiting on signal 15
Oh and this is to reboot the server nightly at 4am, when this issue occurs.
I have been trying to change an IP address on a customers Linux(RH9) server and I am getting errors, Can some on point/push me in the correct direction. I am editing /etc/sysconfig/network-scripts/ifcfg-eth0 and am getting this message,
"1. Quit editing this file, because another edit session is active on this file.Continuing to edit will result in two versions of the same file. The one that is written last will overwrite the other one, resulting in loss of changes. The text "ifcfg-eth0" indicates that the process editing this file runs on the same computer. When working over a network you will not see this message, because the process will be running on another computer.
2. Recover a previously crashed edit session."
This is a stand alone server and noone else uses this server.
I have tried to use the vim rercover command but no luck.
I am more use to using pico than vi, but pico is not installed.
Are there any special practices to reboot a node in PPA?
So far a simple "shutdown -r now" hasn't broken anything but I want to make sure PPA doesn't make assumptions about the nodes being up at any point. (both management and service)...
I am being rejected by Hotmail when sending mail from my VPS. I want to send mails from punbb and OSCommerce, with various website hosted on one VPS/Cpanel/LAMP solution. And with sendmail or SMTP, it'a always the same : passing almost every ISP except Hotmail/Gmail. I also always get this part in my email header regardless of which website i'm sending email from :
Code: Received: from host.locker4adream.com ([74.200.75.7]) by host.locker4adream.com with esmtpa (Exim 4.68) So I think it's the host.locker4adream.com part that makes me rejected. Because it's almost the only line in the email header that is different when I am using Outlook/Thunderbird to send mail. This ip (74.200.75.7]) is mine and I never spammed or anything.
So i asked my host ro add rDNS. And I added this line to my DNS zone on my mail domain: Code:
lockeradream TXT "v=spf1 mx a ptr ip4:74.200.75.7/32 ip4:74.200.81.156/32?all" I am really out of solutions! Can anyone tell me if the SPF record stated above is ok?
I was checking this tutorial and thank the lord I did this all correct before I saw this thanks to all of you here on WHT (you all rock!) but right at the end of the tutorial it talks about setting up PTR dns... what exactly are they for? And are they needed?
[url]
Also does anyone know how to check/configure the reverse DNS settings?
I have just ran easyapache to update from 5.2.4 to 5.2.5 and selected suhosin.
I can see no evidence of it by viewing phpinfo scripts such as vbulletin's.
i should be able to see something like this yes? [url]
and there is nothing new in php.ini other than:
Directory in which the loadable extensions (modules) reside. extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20060613" zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.2.so" zend_extension_ts="/usr/local/IonCube/ioncube_loader_lin_5.2_ts.so" extension="suhosin.so"
Via SSH i get this
# php -v PHP 5.2.5 (cli) (built: Apr 26 2008 06:45:31) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies with Suhosin v0.9.23, Copyright (c) 2007, by SektionEins GmbH with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
# /usr/bin/php -v PHP 5.2.5 (cgi) (built: Apr 26 2008 06:49:11) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies with Suhosin v0.9.23, Copyright (c) 2007, by SektionEins GmbH with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
to run my mail through the main IP of my server, which has reverse DNS. At present my mail is running through an other IP address on the same server.
I need someone to show me hows to set it up correctly. My host has alerted me to the problem but their support doesn't include doing this kind of work.
I will pay someone who knows what they are doing, to do this work for me.
I had a small question about ODBC. I created a new connection to a MySQL database with the 'ODBC Data Source Administrator' on my Win 2008 / IIS 7 webserver.
In this administration panel the ODBC data source works just fine. When I fill in the required values I receive the list of available databases and pressing the "test" button results in a successful connection.
But when I want to use this connection in other software, a C++ application and a PHP application, they supply me with errors "Couldn't connect to database", etc.
So the ODBC connection is correct (so are the credentials in the software 100% sure of that), but software can't use the connection. Because the software worked perfectly on an older server I think I'm missing out on some sort of setting which enables applications to use the connection (or something like that).
DNS test . . . . . . . . . . . . . : Failed [WARNING] The DNS entries for this DC are not registered correctly on DNS se rver 'DNS.FIRST.IP.HERE'. Please wait for 30 minutes for DNS server replication. [WARNING] The DNS entries for this DC are not registered correctly on DNS se rver 'DNS.SECOND.IP.HERE'. Please wait for 30 minutes for DNS server replication. [FATAL] No DNS servers have the DNS records for this DC registered.
configuration:
Server is a DC/AD. It has 2 IP's, both are static of course. the DNS Servers are manually added into the network configuration properties, as these are provided by the hoster.
I am running a CentOS 6.6 (Final) with Plesk 12.0.18 Update #27 on my dedicated server. I was advised to upgrade my server to one that has a SSD due to better performance. What they failed to tell me was that I would need to perform additional configurations so that Plesk stores the subscription files in the /HDD-var/ directory and NOT the /SDD-var/ directory. Current server
Here are my questions:
1. How difficult would it be (I am a quick learner and can follow exact steps or directions very well) to make Plesk store the files on the HDD rather than the SDD? 2. Is this something I should undertake or is this very difficult to do? 3. If I perform these changes, will they revert to the old way if I perform Plesk updates? Or will the changes I make become permanent?
SSH: df -h
Filesystem Size Used Avail Use% Mounted on /dev/md1 4.0G 916M 3.1G 23% / /dev/mapper/ssd-usr 3.9G 1.9G 1.8G 51% /usr /dev/mapper/ssd-var 3.9G 3.7G 2.7M 100% /var (Plesk is storing data here) /dev/mapper/ssd-home 3.9G 792M 2.9G 22% /home (Would also like this data to be on the HDD)
We are planing to implement a spam appliance like the mailfoundry for our 60 cpanel servers.
What is the best and easiest way to replace the standard cpanel mx entry in the dns zonefiles with our two new MX entries?
Additionaly we need to enable the option "Always accept mail locally even if the primary mx does not point to this server." for all the dnszonefiles where we use the new MX entries.
The problem is, that some customers are using already own mx entries, therefore we can not change all of them, but only the entries which point to the cpanel server.
Does someone have a script for this, or how would you change this?
Everything is working fine, except that a lot of excotic letters and symbols on the site are not displayed correctly. Most of the special letters in Swedish, Russian or Polish are replaced by a '?' or a small square. It is a serverside problem, as the same texts are displayed correctly on another, older webserver.
I assume it has something to do with a character set or font that I need to install. But I don't know the exact name of this option, so searching on google doesnt give much relevant results.
Yesterday i was putting a website to manage in localhost but i had to abilitate the usage of mod_rewrite. when i'm in the index and i try to open links i have this message..The requested URL /c3click.php was not found on this server.Here are the steps that i followed:
1) Search for LoadModule ReWrite and decommenting 2) Search for Servername localhost
<Directory /> AllowOverride all Require all granted </Directory>
3) Search for C:/wamp/www
Options all
# # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # AllowOverride FileInfo AuthConfig Limit # AllowOverride all
# # Controls who can get stuff from this server. # # Require all granted # onlineoffline tag - don't remove Order Deny,Allow Allow from all Allow from 127.0.0.1 Allow from ::1 Allow from localhost
4) Reboot the server
In the beginning of my .htaccess file there's written
RewriteEngine On RewriteBase / Options -Multiviews
My configuration is Windows 7, Apache 2.4.4 on Wamp Server 64bit.
In the apache_error.log file i discovered this
[Wed Oct 02 10:33:47.582049 2013] [:error] [pid 2412:tid 1496] [client 127.0.0.1:50195] script 'C:/wamp/www/c3click.php' not found or unable to stat, referer: http://localhost/Lavoro/C3click/01-10-2013_Sito/
Microsoft Windows Server 2012 Panel version 11.5.30 Update #47
The Webadmin app does not install all the folders it needs to run correctly. I have downloaded and repaired the install as noted in [URL] ..... This did not repair the install. All the folders that are needed in the application directory in the vhosts folder are still missing. I have attached the install log.
I have domainA and domainB. domainA hosting files, for security ALL browser access should denied.. EXCEPT domainB make in php call with readfile() to a file on domainA. This should allowed.
domainB => readfile(http://domainA/myfile) => allowed ... all other access should denied.
So I set in vhost of domainA this:
<DirectoryMatch "^/var/www/vhosts/domainA/httpdocs/folder/"> Order deny,allow Deny from all Allow from 127 Allow from server-ipv4 Allow from server-ipv6/128 Allow from ::1/128 </DirectoryMatch>Click to expand...