I'm running a WAMP server, hosting an internal website for my company's use.
Windows XP Home SP3
Apache 2.0
MySQL Server 5.5
PHP 5.?
Last night Microsoft Security Essentials froze while running a scan. I restarted the scan and it froze again, so I rebooted the server. Now Apache won't start, providing the following error ....
i installed wampserver on my remote windows VPS.i opened port 80.after that i try to connect it by typing "h t t p : / / remotelink" on my local machine browser.but i can not connect.
Problem detected! 19:58:32 [Apache] Port 80 in use by "Unable to open process" with PID 4! 19:58:32 [Apache] Apache WILL NOT start without the configured ports free! 19:58:32 [Apache] You need to uninstall/disable/reconfigure the blocking application 19:58:32 [Apache] or reconfigure Apache and the Control Panel to listen on a different port 19:58:32 [Apache] Attempting to start Apache app... 19:58:32 [Apache] Status change detected: running 19:58:33 [Apache] Status change detected: stopped 19:58:33 [Apache] Error: Apache shutdown unexpectedly. 19:58:33 [Apache] This may be due to a blocked port, missing dependencies, 19:58:33 [Apache] improper privileges, a crash, or a shutdown by another method. 19:58:33 [Apache] Press the Logs button to view error logs and check 19:58:33 [Apache] the Windows Event Viewer for more clues 19:58:33 [Apache] copy and post this 19:58:33 [Apache] entire log window on the forums
that is my error message I have changed skype's port from using port 80 and also uninstalled IIS from microsoft I have only installed xampp on its own without wamp server so that they dont conflict.
This morning, apache crashed on the server that I assist a friend of mine (junglecat here) with. We finally managed to get it up and going - for some odd reason, restarting apache/httpd via Cpanel wouldn't get it going, but SSHing and typing via command line would.
I downloaded the apache error log, and it's CHOCK full of this, repeating over and over (and over) again:
DBD::mysql:t bind_columns failed: Statement has no result columns to bind (perhaps you need to successfully call execute first) at email.pl line 55. DBD::mysql:t fetch failed: fetch() without execute() at email.pl line 56. Use of uninitialized value in concatenation (.) or string at email.pl line 59. Use of uninitialized value in concatenation (.) or string at email.pl line 61. Use of uninitialized value in concatenation (.) or string at email.pl line 76.
Have tried searching and either I'm not using the correct terms, or this doesn't happen that much (I am betting on the former). Any ideas?
I have installed wamp for editing word press theme every thing is ok but when I create new data base and start configuring my wordpress project file optional message appear when I click submit what should I do ?
I have put up a WAMP server that is based on Apache2.4.4. I am trying to utilize the rotatelogs.exe to rotate my access log every night. I have this working on IBM HTTP installations. IBM's HTTP is based on Apache 2.2. why the CustomLog command is not working? The command under my Virtual Hosts that I am using is:
my linux server crashed today. I found these are the last line in the log file just before i crashed.
Mar 8 07:21:00 myserver xinetd[5376]: warning: can't get client address: Connection reset by peer Mar 8 07:21:13 myserver xinetd[5395]: warning: can't get client address: Connection reset by peer
I've been with 3 dedicated hosts since 2005 and my sever experienced the first ever crash yesterday. I wanna know if any of you have experienced a crash once and not have it happen again after that time. As this is the first occurence, I'm feeling uneasy about the server stability.
I've set up WAMP on another PC on my home network. Works just fine for browsing via a web browser (i.e. displaying the web pages on the server). However, when I try to use FTP in Notepad++ I cannot establish a connection.
If I change the port to 80, I can get a connection. Change it back to 21 and no connection.
I tried switching off the firewall (inc windows firewall) on the server, and the anti-virus. Not made a difference.
I found phpmotion [url] and thinking about using this script, not only it is free but also it has the funtion that alow direct transfer video files from youtube to my server. Moreover, the phpmotion community is lovely.
The problem is that my hosting provider said this script is bad.
Quote:
While it will run on our servers I have heard nothing but bad things about this software on our servers. For quite a while it has caused issues to the point of crashing our servers but just recently (in the last couple days) we have found ways to put limits on our systems which should effect other programs/processes which will prevent this software from crashing our servers so whether or not this would be ok to run on our servers is a big *maybe* Alot of the issues appear to be related to the fact the software runs php by executing it via shell using the php executable which isn't really good considering that on our servers it will always make it use php4 which might not be what your site is running. PHPMotion is pretty much the only software I have heard discussed and has caused major issues on our servers so if you could avoid it I would definitely suggest you do! If you asked me about any software which is reported to have/cause problems on our servers without even mentioning phpmtion I would have answered phpmotion as that is the only one I have heard of which causes tons of issues.
my questions are:
1. Do you have the same experiences with phpmotion?
2. How can I reduce the problem?
3. If phpmotion is really bad, which video sharing script should be recommended?
I have two servers, one for apache hosting a vbulletin forum, and another one for hosting its database.
Sometimes, I get very high load on the Apache server (>300) and the server stops responding. As a result, I have to stop apache in order to reduce the load and then start it again.
when I query the number of online users using this command:
Code: netstat -an | grep : 80 | wc -l I get about 1500 to 2000
but in the forum statistics, the number of online users is more than 5000. I already made sure that there are no DoS or DDoS attacks.
This is the specs of my apache server:
CPU: GenuineIntel Intel(R) Pentium(R) D CPU 3.40GHz RAM: 2 GB Server OS: CentOS 4.4 Apache Version: 1.3.37
I have just upgraded to Windows Vista Home Premium and am now looking for a WAMP installation whcih is compatible. Any ideas anyone. I used to use WAMP 5 and I knwo this is getting an update but I am in desperate of something similar for the time being.
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.
Does anyone know of any services that can help retrieve data from a crashed server. The server is managed but the support are saying that they are having problems retriving the data. The server had an os reload and they can't slave the old disk.
I have a crashed HD that I want to recover the data. I wonder if there is any method or software out there that can do this for me.
The hard drive is installed with centos and uses ext3 filesystem.
I have tried doing a mount, not if it is done correctly, but I only see "lost+found" on the hard drive.
Usually when this happens on my hard drive w/ windows, I use some data recovery software to extract the data. I don't know which software will do this for me on an ext3 filesystem running centos.
Today my server just crashed instantly... It was running fine with a load of 0.12 but then it went down all the sudden. After a reboot I checked the /var/log/messages file and saw this:
Code: Mar 23 15:57:00 alpha kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000020 Mar 23 15:57:00 alpha kernel: printing eip: Mar 23 15:57:00 alpha kernel: c017292b Mar 23 15:57:00 alpha kernel: *pde = 2085d001 Mar 23 15:57:00 alpha kernel: Oops: 0000 [#1] Mar 23 15:57:00 alpha kernel: SMP Mar 23 15:57:00 alpha kernel: Modules linked in: ipt_TOS iptable_mangle ip_conntrack_ftp ip_conntrack_irc ipt_LOG ipt_limit ipt_multiport ipt_state ip_conntr ack ipt_owner ipt_REJECT iptable_filter ip_tables autofs4 i2c_dev i2c_core sunrpc md5 ipv6 dm_mirror dm_mod button battery ac uhci_hcd ehci_hcd e1000 floppy ext3 jbd ata_piix libata sd_mod scsi_mod Mar 23 15:57:00 alpha kernel: CPU: 0 Mar 23 15:57:00 alpha kernel: EIP: 0060:[<c017292b>] Not tainted VLI Mar 23 15:57:00 alpha kernel: EFLAGS: 00010246 (2.6.9-42.0.3.ELsmp) Mar 23 15:57:00 alpha kernel: EIP is at dnotify_flush+0xe/0x70 Mar 23 15:57:00 alpha kernel: eax: c0446c40 ebx: ca05dd80 ecx: 0046ef00 edx: f1d95300 Mar 23 15:57:00 alpha kernel: esi: 00000000 edi: ca05dd80 ebp: f1d95300 esp: eb3f3fa0 Mar 23 15:57:00 alpha kernel: ds: 007b es: 007b ss: 0068 Mar 23 15:57:00 alpha kernel: Process httpd (pid: 28057, threadinfo=eb3f3000 task=efaf03b0) Mar 23 15:57:00 alpha kernel: Stack: ca05dd80 00000220 f1d95300 eb3f3000 c015a7e5 0000020f bff65b64 bff65af0 Mar 23 15:57:00 alpha kernel: c02d47cb 0000020f 0046eff4 08cd4e6c bff65b64 bff65af0 bff615b8 00000006 Mar 23 15:57:00 alpha kernel: c02d007b 0000007b 00000006 0032a7a2 00000073 00000246 bff61598 0000007b Mar 23 15:57:00 alpha kernel: Call Trace: Mar 23 15:57:00 alpha kernel: [<c015a7e5>] filp_close+0x49/0x5f Mar 23 15:57:00 alpha kernel: [<c02d47cb>] syscall_call+0x7/0xb Mar 23 15:57:00 alpha kernel: [<c02d007b>] packet_rcv+0x17e/0x307 Mar 23 15:57:00 alpha kernel: Code: 00 89 c3 85 d2 74 0e 8b 42 04 8b 12 25 ff ff ff 7f 09 c1 eb ee 89 8b 34 01 00 00 5b c3 55 89 d5 57 89 c7 56 53 8b 40 08 8 b 70 10 <0f> b7 46 20 25 00 f0 00 00 3d 00 40 00 00 75 4d 8d 46 68 e8 fb Mar 23 15:57:00 alpha kernel: <0>Fatal exception: panic in 5 seconds Mar 23 16:06:46 alpha syslogd 1.4.1: restart. So it seems like httpd crashed my server? I checked the Apache error_log and noticed lines like these:
Code: *** glibc detected *** free(): invalid pointer: 0x08872c98 *** [Fri Mar 23 15:57:03 2007] [error] [client x.x.x.x] Premature end of script headers: /home/user/public_html/forum/index.php [Fri Mar 23 15:57:03 2007] [error] [client x.x.x.x] File does not exist: /home/user/public_html/500.shtml When I look at the whole error_log it seems like such errors appear frequently and for different websites and PHP applications. This isn't the only glibc error, there's also stuff like "*** glibc detected *** corrupted double-linked list: 0x088e0bb8 ***". I have recently installed eAccelerator and searched the web: I'm not the only one who has such problems with eAccelerator. Do you think these glibc errors may have caused the server to crash?
Also, lately I noticed a lot of lines like these in the /var/log/messages file:
Code: Mar 23 15:47:45 alpha kernel: post_create: setxattr failed, rc=122 (dev=sda7 ino=4318565) and
Code: Mar 23 15:50:56 alpha ntpd[2958]: sendto(66.111.46.200): Operation not permitted I've done some Google'ing on the first error and it seems like someone with the same error got it fixed by running a filesystem check... By the way /dev/sda7 is my /home directory. But in order to run a filesystem check I need to disable all services and unmount /home? That's kind of a pain in the ***... In general, how long do you think it takes to run a filesystem check? Here's information about my /home partition:
I update the sources.list on server 1 to mirrors of the new debian 4 etc . I run apt-get update and apt-get dist-upgrade . A whole bunch of things get updated (it was long time ago that I did this anyway). After some troubles with /boot/grub/menu.lst the server boots ok, and everything is well. This server used to have loads of 15-25 at peak times, but after the update its running very smooth with loads of 2-3 at the same peak times. I dont know why exactly, as I noticed updates in OS , kernel version (from 2.6.8x to 2.6.18) , apache2 , php (4.4.4-8+etch1) , and I also needed to update eaccelerator from 0.94 to 0.95 .
A few days later I update server 2. Everything seems to go the same, although the kernel version stays at 2.6.8-3-686. I dont think kernel version at start was exactly same at server 1. But the new php version is the same as server 1, and everything else looks the same too.
But when peak times are coming up, this server starts to have troubles. It is quickly rising to total of 200-300 processes , while server 1 always stays stable at 60-70.
Server 2 also reacts slow if I click somewhere on the site. It takes 5-10 seconds to show a new page. However the load stays pretty low at 1-2 . I see no big cpu usage and also no big memory usage. I have the impression that this server 2 is somehow wasting a lot of apache processes and is making things hard for itself without a real reason.
When I check the seperate mysql database server, I also notice a lot of processes.
Around 200-250 whereas it used to be 40-60. Sometimes this adds up so hard, that all webservers are blocked because mysql has too much processes. When I check the mysql connections, I see a few dozen things like 'unauthen ip:port Connect login' just hanging. All of them have the ip of webserver 2. Those extra apache processes are somehow hanging on to the mysql server without really doing something.
I dont know what is happening, but this server is underperforming very badly now. I managed to limit the problem by drastically lowering ServerLimit and MaxClients on webserver 2 , but this is no real solution. The server is still slow, at least now its not bringing down the others.
My question : what should I check for now ? I noticed a different structure in the conf files in debian etch, maybe something new has a bad influence on my old conf files? Is there something wrong with the combination of kernel+php version? I have no idea, please point me in the right direction so I can learn from this.
I deal with a server that gets positivey slammed once a week for a few months per year. I'd tell you how many hits we got tonight, but I'm still waiting for AWSTATS to chew through the 2gb access_log file...
Tonight, I made some changes that SEEM to work, but I"mn not sure what the long-term effects could be. If we have any apache experts on the forums, I'd really like to bend your ear for a few to see what you know.
Obviously, with PHP, we're limited to prefork MPM.
First of all, I dropped Timeout from 300 to 120. That should be MORE than enough time to know that we've timed out. Then I dropped KeepAliveTimeout to 5 from 15.
Here's the radical one. Watching the process list and the load, it seemed that load spiked when the processes hit their end of useful life and respawned. Duh. This was happening every four seconds at the load we were under. MaxRequestsPerChild was set to 10,000. I upped this to 80,000 over a period of hours that we were under the load. I didn't see any significant memory leakage, but it's the change I'm worried about the most. I've seen Apache do some bad things when people allow this to go unlimited, and had always used the relatively low default as a guide.
Besides not loading a bunch of dynamic modules (also done, I usually do this so I'm not worried about it), what else can I do tuning-wise to keep load down? Please note that caching and load-balancing aren't acceptable solutions; I have one server to work with (for now) and the boss says no to caching because of how frequently our information updates. We also have extensive .htaccess files, so there's no LHTTPD in my future.
My server hard disk is crashed badly. The rescue function in the server cannot take part and so I've tried using some recovery software to get back my data.
I've tried using Easy Recovery Professional. It sort all the files by it file type into different folder. I found a folder named .DB, there are also some .ado and . ldb folder too. I guess one of it is my database. The problem now is, i dunno how to read the file.
Do you have any idea to read it? I've tried many recovery system. eg. DiskInternals Linux Recovery, Disk Doctor Linux Recovery.
It seems the servers dns will not resolve and has crashed. When starting the "Named" service, here is the error:
Error in named configuration: zone 0.0.127.IN-ADDR.ARPA/IN: loaded serial 20010622 zone 215.170.107.in-addr.arpa/IN: loaded serial 1433121512 zone lanewgirl.com/IN: NS 'ns.mydomain.com' has no address records (A or AAAA)
zone mydomain.com/IN: not loaded due to errors.
_default/mydomain.com/IN: bad zone
zone mydomain2.com/IN: NS 'ns.mydomain2.com' has no address records (A or AAAA)
I am tried to integrate Apache HTTP server and JBoss app server 7 with mod_jk module plugin in Apache.I have two instances of Jboss running and Apache server sends requests to them.I have added following code in "httpd.conf" of Apache:
But, though I have configured this way, when my worker1 goes down,Apache is not sending requests to worker2 and I get "Service Temporarily Unavailable" message.
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?.
Anyone know of some good server load testers ( commercial )?
Im not looking for application based load testing, I need real web server load testing... need to see how much traffic this one site can take before it cries.
I have a server Athlon 3000+ 64bit, 1GB ram on Debian 3.1 and I have a problem with apache (apache is generating large load). On server are 1 phpbb board with ~80 members online. Frequently cpu load generating by apache jumps to 100%, next apache eats all memory & swap and next server downs. Sometimes in such moments on board are not much people (30-40), so this problem isn't related to online stats. I haven't any idea how fix this problem. Please, help me! I need fast help, because I will departure day after tomorrow and if I don't fix this problem before, my site will down over long time...
My config:
apache2.conf
Quote:
Timeout 100 KeepAlive Off MaxKeepAliveRequests 100 KeepAliveTimeout 15
On 19th of may apache started to make like 3x more load on server. Before in cpanel admin panel load for biggest site was ~5 and now it is 18-30. Also on server peaks are now up to 2-3 and before it was rarely 1. I'm only admin so i know i didnt touch anything from configuration because i wasn't much around. And users said they also didn't modified anything.
So i suspect maybe there was some cpanel update which makes apache to have higher loads.
Traffic is at normal visits per day and hits only load is 3x higher.