HowTO : Troubleshooting Ran Out Of Working CPAN Mirror/Mirroring In WHM Error
Mar 10, 2005If you receive the following errors while trying to install a Perl Module through the WHM ...
View 1 RepliesIf you receive the following errors while trying to install a Perl Module through the WHM ...
View 1 RepliesOn a CentOS5 VPS I have access to "yum update" barely working due to the base mirror "styx.biochem.wfubmc.edu" being tremendously slow.
I'm trying to find out how to disable that mirror possibly via a mirror exclude setting in yum.conf or some other way. I've been searching but I've not found any documentation on this so hopefully somebody out there will know how to make this change.
A great insight to alot of my research and thank you in advance for any advice given.
I have a server based in HK(with WHMCS) and host several websites. The speed and availability serves the Asia Pacific market/viewers well; but we have several new websites that also targets the European and North American viewers.
I have been researching on getting a dedicated server based in US to mirror our server. Therefore allowing the US/European market to access the website faster. Although we have a few problems (and very little budget to solve it too ;p)
1. We need to sync the two servers in real time ; rsync seems to be the best but is there any other reccomendations?
2. We will make the IP address in each servers the same, so our clients need not change their dns. Do we need IPcast/anycast?
3. Is there anything else that I may have oversight?
My company requires a Mirrored Server setup. I hope someone can direct me to the right solution which guarantees the least downtime.
- We have 20+ php/mysql websites.
- We need two dedicated servers hosted in 2 different datacentres.
- Users are directed to the first server.
- If the first server is down the users are automatically directed to the 2nd server @ the 2nd datacentre.
- The software/hardware which redirects the users need to be fail proof or have an instant backup which takes over incase that goes down too.
- Data (databases and files) needs to be synced correctly to avoid data not being mirrored correctly.
I've done some reading and there is alot of mention of the DNS round and load balancers.
However, it seems these two options are also not fail proof.
Would appreciate if someone could simply outlining what system would be best for us for 100% uptime incase of server failure.
i am new to this and am in need of some help.. i have vbulletin 3.5.0 installed with photopost gallery and phpprobid auction...
I am hosted with fasthosts on a linux dedicated server, it is crap! it has been down 3 times in 1 month, the support is terrrible.. I have already movedit from pipex hosting due to lack of support for mysql. i canot keep moving my site, my brain will melt out of my ears ...
Can i link to my original install.. so if the fasthost server goes down,, could i have it directed to the old server? and can i keep the 2 databases current?
Hope i have explained it well enough... basically need a backup server setup for my vbulletin so, i dont lose potential new members..
2 servers in 2 different continent. One will be primary and the other is redundant. It will be controlled by DNS fail over service.
Question:
1. What is the things that i need to consider before setting it up?
2. What is the best way to sync the data and databases?
I have a DB server, running mysql 64bit. I would like to add another server to the mix to build some kind of redundancy if the 1st one were to go down.
View 7 Replies View RelatedI have two dedicated servers on two different countries. My idea is having one of them fully active and the other as a backup server so that in case the first crashes or something I only have to redirect the domains to the second server.
Can you help me on how this can be done?
There are some Download Manager Programs that have a option like Find alternate URLs through mirror list file when giving a file for downloading. Where can I insert such a file in my site so that download programs can add other mirrors to it from my list of mirrors?
View 0 Replies View RelatedDoes anyone run a setup where 2 or more cPanel servers (perhaps in a shared hosting environment) are dynamically mirrored for high availability?
How have you configured this? Does cPanel play nicely?
I was wondering if anyone knows of any provider that provides RAID VPS Mirrored Hosting.
So if one drive goes down, the site will immediately switch over to the next one in the cluster.
We are expanding our photo sharing business and are revising our Unix-based server architecture. We're looking to develop a standard server configuration so that we can easily add servers when necessary.
Our ISP has recommended a configuration with mirrored web servers and mirrored RAID5 NAS boxes. I've read about Google's server architecture which consists of identical mirrored servers; when a drive or part from one of those servers goes down, data is served from the mirrored servers and the bad machine is repaired or replaced.
Comparing the two architectures with similar storage sizes, the overall cost of the hardware itself is about the same, with the identical mirrored machines being slightly cheaper. The monthly co-location fees (rack, power, etc.) are higher for the NAS solution.
I'm interested to hear your thoughts and experiences with similar solutions. I know the web/NAS solution is popular, and it's probably the one we'll go with, initially at least. Has anyone here implemented a Google-like identical mirrored server solution?
Keeping mirrored backups...anything better than rsync?
I'm keeping mirrored backups of my servers. Does anyone know of any solution better than rsync to update the files on the backup server?
I've noticed that when running rsync it can cause a lot of disk i/o, which can slow down a running server.
Does anyone have any suggestions on how to decrease disk i/o or another solution to keeping mirrored backups on a secondary server?
I currently have a mirror site set-up on a seperate server (with a seperate web hosting company) for risk management purposes.
For zero downtime dependability, a load balancer cluster checking both servers in real time, and directing traffic at only servers that were online has been suggested.
However this option is rather expensive. Does anyone know of any other options?
I was asked earlier today by one of the tech people at the university that I go to if I knew of any hosts that would offer some space/bw/access for a website that already exists. From what I was told, the host would not be the primary server for the website, so it would not require very much bandwidth, and the entirety of the website is only 300MB, so space isn't really an issue either (As most hosts now a days offer 1GB+). The catch is that they were planning on using rsync to update the mirror host, with the latest content from the live website, every 3 hours or so. Preferably, they want to spend as little money as possible on this and not buy a dedicated server or VPS somewhere, as that would be very costly.
So, does anyone here know of a host that would offer such a thing and allow SSH access to setup the rsync?
I am trying to find a piece of software that will allow me to mirror the online files of my companies domain. There are a number of contributers to the domain, so files are not stored offline in one location. I want to create an exact mirror of the contents that perhaps I schedule to mirror once every week.
I cant seem to find anything that would allow me to do this.... can anyone point me in the right direction?
I have a LAMP server running and would like to have the exact mirror running on another location. I would like to sync the web files and database in either real time (upon any update) or in delayed mode (x minutes after the update).
For MySQL, I believe replication can do the job unless anybody has better recommendation. What would you guys suggest for web files? Can I use different Linux flavor but maintain back the same LAMP version?
Is there any "online" 3rd party load balancing service that I could use to load balance the traffic to both servers?
I'm having an issue with a client site and I am not sure what to do at this point. Conversations with the host (GoDaddy) haven't led to a solution and to be honest, I'm not sure it's their issue to handle although I will be firing off an email to their domain dispute department shortly. I spoke with a couple of supervisors there and they were as baffled as I am.
Here's the situation:
When people Google the name of the client's business, it returns their site but on a different domain. The entire site is there, nothing is changed but the URL. It's like having an unintentional mirror site except that none of the forms work which is what tipped off the users that something was wrong but of course, they don't notice that they're not actually on 'www.clientsite.com' so they think it's just a form error when in actuality, they're not even at the right domain.
There is really no way for this other domain to profit from mirroring the client's site; it's just a business profile type of thing with a few forms for contact, employment applications and vendor applications. No secure info is transmitted other than perhaps the occasional email address but we're not talking a heavy volume site, it's a niche market and really not something that would be a typical target. There's no eCommerce, no subscriptions, no financial info.
I'm at a total loss. Could this happen if this other site is hosted on the same server as my client's site? Could it be an actual error of some sort or would it have to be intentional?
The whois for this bogus site leads to DomainsbyProxy.com and I'll be sending them a letter as well but I'd really appreciate any input you all might have on HOW this could happen. Should I also contact Google?
We damaged a file on a windows server 2003 system which caused us to get a grey screen where the login windows should be (it was setup as a domain controller)
We tried booting it in safe mode and all the other modes etc etc.... but to no avail... we couldn't get it to work.
So we wanted to replace the file manually using another pc (by inserting one of the harddrives into the pc, and copying the file to it).
We used a windows XP machine.... imported the harddrive using disk management..... we had to un mirror the drive to be able to access it.
Once the mirror was broken i gave it a drive letter, copied the the new file to it, and, removed the drive letter i assigned it, and tried booting with *just* that drive in the windows 2003 server.
Now it wont boot, it just reboots everytime i tries to start up, probably because we broke the mirror on a different machine.
It still boots from the other untouched drive... that was in the mirror, but we have no way to edit the files on there.
So is there any way to actually get this, once mirrored drive, to boot now its a single disc?
We recently began to mirror a large number of open source projects with a dedicated mirror server on our network and I was surprised not only with how popular the mirror server has become, is, but also of the ability of the hardware we're using to keep up with the load.
At an given time, the mirror seems to be pushing at least 50 Megabits of trafficthe server is also an IRC server (irc.igsobe.com) for customers and internal staff communications.
The hardware is a low end Dell Pentium 4 @ 2.66 GHZ server, running with 512MB of RAM and a 400 GB ATA hard drive. CentOS v5.3 is the operating system.
If you're interested, you can view the HTML logfile analysis here but that doesn't tell the full story as FTP users make up a good portion of the traffic. We've received over a quarter million hits in the first few days of November alone.
18:14:15 up 65 days, 9:04, 5 users, load average: 0.31, 0.69, 0.56
The only change that I made to the default configuration was lowering the maximum number of Apache servers to 128.
Just thought I'd share this information as I wouldn't have thought a server with such a small amount of RAM would be able to serve up so much data, even though we are talking strictly static HTML files.
I'll definitely keep this in mind when clients ask me for those "what type of dedicated server should I use for XXX" type discussions that are had all too often with clients.
I'm trying to install some basic cpan modules to use ASSP with. On my other server, this all went without a hitch, but on this one (Centos), it it a pain. First off, every time I start up cpan, it's asking me to do some sort of reconfiguration..every time (running as root)...
Secondly, after I'm in the cpan shell, and I issue this:
install Compress::Zlib
I get a whole slew of errors, and ultimately, nothing is done...Here is the last portion of what is shown on the screen
Quote:
Global symbol "$gzerrno" requires explicit package name at t/14gzopen.t line 481.
Global symbol "$gzerrno" requires explicit package name at t/14gzopen.t line 499.
Global symbol "$gzerrno" requires explicit package name at t/14gzopen.t line 502.
Bareword "Compress::Zlib::zlib_version" not allowed while "strict subs" in use at t/14gzopen.t line 38.
Bareword "ZLIB_VERSION" not allowed while "strict subs" in use at t/14gzopen.t line 38.
Bareword "Z_FINISH" not allowed while "strict subs" in use at t/14gzopen.t line 98.
Bareword "Z_STREAM_END" not allowed while "strict subs" in use at t/14gzopen.t line 110.
Bareword "Z_STREAM_END" not allowed while "strict subs" in use at t/14gzopen.t line 111.
Bareword "Z_STREAM_ERROR" not allowed while "strict subs" in use at t/14gzopen.t line 446.
Bareword "Z_STREAM_ERROR" not allowed while "strict subs" in use at t/14gzopen.t line 461.
Execution of t/14gzopen.t aborted due to compilation errors.
# Looks like you planned 217 tests but only ran 2.
# Looks like your test died just after 2.
t/14gzopen......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-217
Failed 217/217 tests, 0.00% okay
t/99pod.........skipped
all skipped: Test:od 1.00 required for testing POD
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/000prereq.t 4 1024 6 4 1 3-4 6
t/01version.t 255 65280 2 3 1-2
t/03zlib-v1.t 255 65280 394 785 1-394
t/05examples.t 255 65280 ?? ?? ??
t/06gzsetp.t 255 65280 ?? ?? ??
t/08encoding.t 255 65280 16 31 1-16
t/14gzopen.t 255 65280 217 432 1-217
1 test skipped.
Failed 7/8 test scripts. 633/635 subtests failed.
Files=8, Tests=635, 1 wallclock secs ( 0.72 cusr + 0.27 csys = 0.99 CPU)
Failed 7/8 test programs. 633/635 subtests failed.
make: *** [test_dynamic] Error 255
PMQS/Compress-Zlib-2.004.tar.gz
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Failed during this command:
PMQS/Compress-Raw-Zlib-2.004.tar.gz : make NO
PMQS/IO-Compress-Zlib-2.004.tar.gz : make_test NO
PMQS/Compress-Zlib-2.004.tar.gz : make_test NO
I have a FreeBSD server crashing a few times per week sometimes 2 or 3 times in one day, then 3 days fine sometimes each other day...
/var/log/messages shows nothing related to the reboot when looking at the server screen after a crash, it showed kernel panic
any ideas on how to troubleshoot that with the minimum downtime possible? DC already tried swapping memory, but it didn't solve
I am on a freebsd semi managed dedicated server (semi managed in that they dont really do out lol i just dont have root access, ssh though) unsing DirectAdmin
I need to find a way where i can monitor the processes that each account is using.
In the Service Monitor its showing all the services thats running for example, at present httpd is showing this:
httpd httpd (pid 96703 96702 96700 96698 96697 96696 96695 96694 96693 96692 96691 96690 96689 96688 96687 96686 96685 96684 96683 96682 96662 )I need to find more info about each of the pid's as i would like to know who is using what. does that make sense?
The other day (above httpd is normal) there was at least 10 times that amount and the server was dead slow, but i could not find any information as to who was using what and what cause the server to die....
I also have a customer that usually uses about 400mb to 500mb bandwidth per day, since the 28th of march this has gone sky high to nearly 2gb, he says he does not have any attachments fro download, nothing new has been added and no extra traffic, yet this has happened, this is why i need to find more info about such things, I have had a look at the logs but again, i do not really understand what any of it means...
i read this somewhere, but i dont think it works on my server...
Quote:
Look at the PID of the process using the most resources. Then use "ls -alh /proc/PID".
Ya'll get something like:
root@server02 [/]# ls -alh /proc/10231
total 0
dr-xr-xr-x 3 nobody nobody 0 Jan 17 15:35 ./
dr-xr-xr-x 144 root root 0 Dec 29 09:48 ../
-r--r--r-- 1 root root 0 Jan 17 15:35 cmdline
-r--r--r-- 1 root root 0 Jan 17 15:35 cpu
lrwxrwxrwx 1 root root 0 Jan 17 15:35 cwd -> /home/USERNAME/public_html/
-r-------- 1 root root 0 Jan 17 15:35 environ
lrwxrwxrwx 1 root root 0 Jan 17 15:35 exe -> /usr/local/apache/bin/httpd*
dr-x------ 2 root root 0 Jan 17 15:35 fd/
-r-------- 1 root root 0 Jan 17 15:35 maps
-rw------- 1 root root 0 Jan 17 15:35 mem
-r--r--r-- 1 root root 0 Jan 17 15:35 mounts
lrwxrwxrwx 1 root root 0 Jan 17 15:35 root -> //
-r--r--r-- 1 root root 0 Jan 17 15:35 stat
-r--r--r-- 1 root root 0 Jan 17 15:35 statm
-r--r--r-- 1 root root 0 Jan 17 15:35 status
The cwd -> will tell you what folder is being accessed. That should let you know what user.
You can also from SSH on Cpanel boxes use something like "lynx localhost/whm-server-status" to see connections to specific URLs.
I've been concerned that my cPanel email address on my dedicated server hasn't been receiving emails. This was confirmed when an email sent by request from a friend did not arrive. The address is fosterd(***at***)pcfastlane.com if anyone would like to send me a test email.
What are the steps I can take to see if my cPanel email software is running correctly? I have already looked into my mail statistics, and it seems as though there are messages not being delivered, a fair amount which seem to be spam, but others that may not be.
I noticed all of my sites were down earlier.. so I tried restarting apache via WHM.. and that didn't work, said the following:
Waiting for httpd to restart.... . . . . . . . . . . finished.
httpd status
root 8103 0.5 0.8 30892 29264 ? S 12:28 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd
httpd has failed, please contact the sysadmin.
I tried rebooting.. same issue.
how to troubleshoot this? This is very bad!
I have a VPS over at futurehosting, and I'm having some issues with my PHP/MySQL sites loading slowly after a few days of uptime. A restart of the various services (apache/mysql) fixes the issue, but I'd like the issue to not start in the first place.
I know very little of server administration (I'm still learning) so just let me know what info you need to see to do the troubleshooting and I'll get it to you.
Customer wants to move his website in-house along with his email. The hardware guy installed a windows 2003 64-bit exchange server. I logged in with logmein and created a directory c:Inetputwwwroot hewebsite. Copied iisstart.html to the new dir. Put the company name in the iisstart file. Opened IIS6. Went to properties of the default website and pointed to the new directory on the home dir page. Added iisstart.html the Documents page and moved it to the top. Closed everything. Opened Internet Explorer 7 and put in http://localhost. All worked well. Brought up the new start page. Opened IE7 on my pc and put there ip address in and it also brought up the new webpage (tested the port 80 in the router). Said we were ready to go.
The hardware guy sent me an email stating that he was having problems with the 64-bit version and took the server back to the 32-bit version of windows exchange server. I logged back in with logmein and followed the same exact steps as above but it will not show the new webpage. Am getting a page not found error.
I have done the above on several 2003 servers and several xp pro machines. Always works.
Have done one 2003 exchange server. Went to a couple of those servers and made sure the default website settings were exactly the same as the ones that work. Still no help.
Downloaded an iis6 troubleshooting program from microsoft but cannot locate the error. I have been studying the II6 documentation and 2003 exchange server documentation. Went thru all the tutorials in google on iis6 and exchange I can find no help.
*** glibc detected *** double free or corruption (fasttop): 0x09f9f508 ***
*** glibc detected *** double free or corruption (fasttop): 0x0949e508 ***
*** glibc detected *** double free or corruption (fasttop): 0x08a8b508 ***
What does this mean>? i tried rebooting and restarting.. but no go..
error pages i have added manually is not working because vbSEO create new .htaccess file
how can i run both of them ? (vbSEO and error pages) htacess is following
HTML Code:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On
# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums)
#RewriteBase /
RewriteRule ^((urllist|sitemap).*.(xml|txt)(.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.*)$ $1 [L]
RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_FILENAME} !chat
RewriteRule ^(.*.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
RewriteRule ^$ vbseo.php?vbseourl=index.php [L]
RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
Being relatively new to the Linux world, I don't exactly know why my reverse proxy settings are not working. Nothing i have tried has worked.
The code below is from my old windows server what does not seem to be working in my new 1&1 vps server. I have the below code at the moment at the bottom of my httpd_ip_defult.conf file under /var/www/vhosts/system/mydomain.com/conf/
Code:
ProxyPass /cam http://xxx.xxx.xxx.xxx:8008/cam_1.png
ProxyPassReverse /cam http://xxx.xxx.xxx.xxx:8008/cam_1.png
The following errors also show up in my vhosts error log:
Code:
[Sun Oct 12 23:30:56 2014] [error] (70007)The timeout specified has expired: proxy: HTTP: attempt to connect to xxx.xxx.xxx.xxx:8008 (xxx.xxx.xxx.xxx) failed
[Sun Oct 12 23:30:56 2014] [error] ap_proxy_connect_backend disabling worker for (xxx.xxx.xxx.xxx)
I also have mod_proxy.so , mod_proxy_http.so and mod_proxy_html.so all enabled in my main httpd.conf file at /etc/httpd/conf/
Basically, I need to fix this urgently as a core feature of my site relies on this setup.