Week ago I decided to rent another dedicated box , install CentOS 5 64Bit and use LiteSpeed as a web server. What seemed to be trivial at start became nightmare later.
I was unable to compile PHP 5 with --with-litespeed and --with-curl directives. If I removed one of them it was ok but together it didn't work.
Tried to search forums but nothing helped, so I decided to go back to Centos 5 32bit and try there. It compiled OK.
So I'm in trouble now. I wanted to have server with 64bit OS + LiteSpeed because of its speed, system resources consumption and good DOS protection.
I asked several questions about advantages of 64bit over 32bit OS and the most important thing was how much issues can I expect on 64bit OS (libraries availability). Almost every reply said that it's without issues to go with 64bit OS. My experiences say it's not as easy as I expected.
I didn't find any good protection against DOS for Apache so far, mod_evasive doesn't work as I expected. What do you recommend ? Should I stay with apache on Centos 64bit + apache with everything installed via yum (should work OK) or go with CentOS 5 32bit + LiteSpeed there ? LiteSpeed I'm talking about is Enterprise edition.
I really had a hard time in setting red5 on my VPS in /usr/local/red directory, I have done all the installation steps but still the port tester does not show success, I am using centos5 with cpanel installed, i have the installation steps from red5 forum but pretty much unsure what needs to be done after installation
1. I have only iptables installed and even if I remove iptables the port tester does not work properely
I can't get access to a certain site. I always get the page with:
network time out - server at *** takes to long to respons. More people have noticed this and apparently it only happens to people with certain specific providers. And not all the time. Some times they DO get access eventy to they belong to the same ISP. So I guess an ISP isn't blocking access to it otherwise it would be permenantly/The site administrator insists that certain ISP's are blocking his site. He's hosting it on his own server. The domain belongs is registered at namecheap.com.
If an ISP is blocking this site (if that's possible?), that would lead to that 'network timeout' page wouldn't it?
What is the most likely reason for getting a timeout page anyway?
The server is going down from time to time, every 12 days or so the site hosted there is no longer accesible, everything starts with the site slowing don and down and then is not longer reachable, what we do is to request a power cycle, and with this we start all over again till next power cycle, so on so on, of course, here are my server details and more info on this:
- MySQL - 5.1.41-3ubuntu12.10 - Apache - 2.2.14-5ubuntu8.4 - PHP - 5.3.2-1ubuntu4.9 - operating system: Ubuntu Server 10.04 LTS
After some time emailing the support guys to barely check about what's going on, we received an email with a few things:
1.- found a few errors that likely would cause issues with Apache. The first error is: [Mon Feb 04 05:03:10 2013] [error] mod_fcgid: fcgid process manager died, restarting the server and the next error is: [Mon Feb 04 14:32:34 2013] [error] server reached MaxClients setting, consider raising the MaxClients setting ...
Both these errors seem to indicate that you have a process that is running out of control on your server. We were unable to determine what script on your site is running caused your connections to be maxed out however it does appear that before these errors were generated there was a WordPress plugin referenced in your access logs...
2.- Additionally during our review we did find that your error log for mercadodedinerousa.com is 45 GB's which is excessively large and can cause problems when Apache is trying to write a such a large file.
3.- The majority of the errors being logged are: [Wed Feb 06 12:12:31 2013] [error] [client 200.76.90.5] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/mercadodedinerousa.com/httpdocs/index.pl, referer: [URL]
am getting new server with 2 (73GB) hard drives i need to know the following:
1.I need to put /home in one hard drive 73GB and the other partitions like /boot, /tmp,/usr and /var on the other drive
where should i put /home? on the primary or or secondary drive?is there any effect on the speed?
2. Am used to servers with 1 drive. is there any difference when it comes to security aplications such as APF,BFD,mod security and other aplicatuions settings?
3. in general should i take the same actions when handling a server with 1 drive and server with 2 drives?
it looks like dell sell sas mainly without scsi now, with high load server,scsi and sas will better than sata, but the price of sas is higher a lot, i want to ask if you use sas hdd to run your hosting server? and if it is worth to use sas now?
What is the best way to setup my server hard drives for shared hosting? I have yet to purchase the hard drives. I was thinking of using two 250GB HD's or maybe a single 500GB HD. What is your experience with this in the past? Should I aim to use SATA or IDE? My thoughts are its better to have two drives for redundancy and performance.
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.
Not sure if I labeled that correctly, but I am looking to setup a multi-server where I offer a cloud ssd hosting plan, and sata hosting plan. The current setup has ssd hosting, but id like to add another ip address, as well as its hard drive to host other websites on that specific server, which is sata based.
For example, I add a domain to my plesk 12 admin account and choose the added Ip address (the sata based one), where it points to that server to access the files for that specific website.
At the moment, cloudflare handles all of my dns settings.. but I am totally lost on how this needs to be setup and if I am required to purchase another plesk license. I am trying to avoid purchasing another plesk license and having to setup a whole new plesk installation just to do this.. This is a vps by the way, not a dedicated server...
I have a new CentOS 7, with Plesk 12, CentOS 7 by default has XFS filesystem.
I try migrate sites from another Plesk Server but Plesk agent say: "hard disk quota is not supported due to configuration of server file system" (my CentOS 7)
I added "usrquota,grpquota", then mount -o remount / ; but when I try quotacheck -fmv / I gest this:
[root@ns ~]$ quotacheck -fmv / quotacheck: Skipping /dev/mapper/centos-root [/] quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.
but quotaon command works:
[root@ns ~]$ quotaon / quotaon: Enforcing group quota already on /dev/mapper/centos-root quotaon: Enforcing user quota already on /dev/mapper/centos-root
The problem here is why Plesk does not recognize quotas as enabled on CentOS 7??
I have big problem, In my HyperVM i've change time to EUROPA/Sarajevo but in WHM still going 24 hours in forward. Please help me to resolve this. This is very important...
i have 1 decent server hosted by netriver, managed by PSM, for the past 3 weeks, my server down every night at the same time, during the day the load was really low ( below 1 ) and suddenly just before 3 oclock in the morning it goes up upto 2000 and the system crash, and need to reboot, then it will back to normal again, PSM doesnt know what causing it and just advised me to install PRM ( which i tried before and really give me headache ), what you guys think causing it ?
After being with KnownHost for a while, I decided to make the jump to a real Dedicated Server. KnownHost does offer a Hybrid Server -- but it isn't a real Dedicated Server. So I gave up my Hybrid at KH to experience the real thing.
After much research, I selected ManageMyBox (MMB)-- their current special is awesome with a managed Dual Core AMD with lots of disk space and generous bandwidth. My only concern about MMB was some of the discussion threads about their support, but if you read long enough, you will find the same support issues at all hosting companies.
I just wanted to let you guys know that so far in day two with MMB, I'm ecstatic to report that my server was set up correctly from the very beginning in less than the 24-48 hours they advertise (mine was less than 24 , and I have alrerady opened a support ticket to get another software installed -- and within 30 minutes, the software was installed and the ticket closed. This all happened tonight -- a Saturday night.
I'm not getting paid to post this -- but I do believe in giving credit where credit is due. I will report followups if things do take a turn for the worse, but so far, its not just good -- it's GREAT!
i have a reseller package with a small company for like almost a year but now is full so decide to get a 2 servers from The Planet and now i all ready have 2 servers one is for sell hosting and my other is for install a script like youtube for a site videos .
Ok now im new with servers and i need to setup my domain with the server now can you guys tell me step by step how i can get it work because i all ready try to do it and don't work im very frustrate
First i get the domain from godaddy now lets work with this example domain [ mydomain.com ] how i can add this domain to setup my servers i have 2 servers
server1 this is for star selling hosting
server2 this is for my video script
Now how i can setup this 2 server with my domain and the dns step by step and this things so i can star selling hosting
I have to reboot this server each day. It seems to crash (or freeze if you call it) around 11:55 pm server time (central US). How do I trace the cause of this? I installed CSF / LFD in replacement of APF/BFD.
This is a centos 3.9 / cpanel 11 box.
crontab -e shows nothing out of the default ordinary
/var/log/messages shows this
Nov 23 19:14:00 server sshd(pam_unix)[29523]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com Nov 23 19:14:02 server sshd(pam_unix)[29533]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com user=gopher Nov 23 19:14:02 server sshd(pam_unix)[29541]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com user=gopher Nov 23 19:14:02 server sshd(pam_unix)[29553]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com user=gopher Nov 23 19:14:02 server sshd(pam_unix)[29570]: check pass; user unknown Nov 23 19:14:02 server sshd(pam_unix)[29570]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com Nov 23 19:14:05 server sshd(pam_unix)[29580]: check pass; user unknown Nov 23 19:14:05 server sshd(pam_unix)[29580]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com Nov 23 19:14:08 server sshd(pam_unix)[29584]: check pass; user unknown Nov 23 19:14:08 server sshd(pam_unix)[29584]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com Nov 23 19:14:11 server sshd(pam_unix)[29588]: check pass; user unknown Nov 23 19:14:11 server sshd(pam_unix)[29588]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com Nov 23 19:14:13 server sshd(pam_unix)[29592]: check pass; user unknown Nov 23 19:14:13 server sshd(pam_unix)[29592]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com Nov 23 19:14:16 server sshd(pam_unix)[29596]: check pass; user unknown Nov 23 19:14:16 server sshd(pam_unix)[29596]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com Nov 23 19:14:19 server sshd(pam_unix)[29600]: check pass; user unknown Nov 23 19:14:19 server sshd(pam_unix)[29600]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com Nov 23 19:14:22 server sshd(pam_unix)[29605]: check pass; user unknown Nov 23 19:14:22 server sshd(pam_unix)[29605]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com Nov 23 19:14:25 server sshd(pam_unix)[29614]: check pass; user unknown Nov 23 19:14:25 server sshd(pam_unix)[29614]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com Nov 23 19:14:27 server sshd(pam_unix)[29618]: check pass; user unknown Nov 23 19:14:27 server sshd(pam_unix)[29618]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com Nov 23 19:14:30 server sshd(pam_unix)[29622]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com user=mailnull Nov 23 19:14:33 server sshd(pam_unix)[29631]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com user=nfsnobody Nov 23 19:14:36 server sshd(pam_unix)[29635]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com user=rpcuser Nov 23 19:14:38 server sshd(pam_unix)[29639]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com user=rpc Nov 23 19:14:41 server sshd(pam_unix)[29643]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com user=gopher
How can we know that how long it takes our server to respond, in terms of Microseconds. Is it take long time while processing an Ms Access database or SQL Server, Sending flash movies to client.
For example, I can accomplish a task while reading data from server database , also I can accomplish it using an image or flash movie.
Which way should be efficient for my visitors, I am using a paid hosting plan.
Also I have another question.
How could I know that a web hosting provider company's server is a fast machine than other company. I have options like "WebHost Company1" & "WebHost Company2"
I host the same website on both servers, while I request some page in a client machine, How could I measure the efficency & speed of the server, I am sure both servers will not send content to client with same speed.
due to any reasons, may be 1 server has more traffic, has slow hardware, has longer route.
Also which technology is faster, ASP, ASP.Net, PHP, coldfusion. Is there some way to measure these facts about a webserver.
In these cases, how could I choose best server. How to made decession about that.
I have a dedicated server specs: AMD 3500+ 64 Bit CPU, 1 GB Ram, 160 GB Sata Drive. For 1 month, CPU load average reaches 40-50 value. This happens about 5-6 times in a day. When I stop httpd service for 30 seconds everything goes normal. I think this is not a DoS attack because it comes systematic, I dont believe no one makes this regularly except bots.
Maybe its a system service or a cronjob but it stops when I turn off httpd service? How can I be sure about what's making this regularly load?
I also did set up a script which mail me when load average of system goes crazy and restart httpd service. But instant restart is not working to stop load increase.
We've always used open source linux servers up until now. For a variety of reasons we're contemplating adding one windows box.
Is there much practical difference for the average small business between 2003 and 2008?
What's the difference between "authenticated" and "unauthenticated" windows servers?
How is most administration and regular tasks done? I'm used to sshing into my linux servers-- I'm assuming for windows this is gui based? What's the standard software used for this?
Php function was returning wrong time. There was a difference of 1 hour between the server time and the php time. Due to this ,most of the functions on the site were not working properly.
Fix :
For checking the php time, put the following code in a file, say time.php
Code: <?php $time = time(); $result = date(”Y-m-d (D) H:i:s”,$time); echo “Current date and local time on server = $result “; ?> Execute the php script.
Code: [root@localhost ~]# php -a time.php Interactive mode enabled Current date and local time on server = 2017-01-30 (Mon) 18:04:25 To get the server time , issue the following command :
Code: [root@localhost ~]# date Mon Jan 30 17:04:25 IST 2017 You can see the difference of one hour between the server time and the php time. For fixing this, you need to install the PECL timezonedb module.
Code: [root@localhost ~]# pecl install timezonedb
At the end , you might see the following message :
==========================
Build process completed successfully Installing ‘/usr/local/lib/php/extensions/no-debug-non-zts-20060613/timezonedb.s o’ install ok: channel://pecl.php.net/timezonedb-2009.6 configuration option “php_ini” is not set to php.ini location You should add “extension=timezonedb.so” to php.ini ==========================
So , add the line ” extension=timezonedb.so” to the php.ini file and restart apache.
I have a dedicated server that I am renting that appears to randomly respond very slowly for some reason (pings are between 90-4000ms with about 75% packet loss).
This has been happening lately (about once a week for the past 4 weeks) and I thought I had originally found the cause of the problem but it appears I haven't.
Originally, when this problem was happening we were getting an abnormally high about of traffic but a reboot always fixed the issue. I've checked every where I can think of but I cannot find anything out of the ordinary.
ight now we're averaging less than 2Mbps in traffic, the CPU load is less than 0.75, the memory usage is at 55% with no swap being used, Apache connections are normal, no active SSH, FTP, or mail connections, I've restarted all services which had no impact, I've checked the access and error logs but can't see anything out of the ordinary.
I have a ticket open with the data center but I'm trying to figure this out on my own to fix whatever is causing this so I can move my data over to a new server we just got setup over the weekend in a local data center.