Moving MySQL To Secondary Drive
Apr 19, 2007
My server has 2 drives, running on mysql 4.1.21. Can someone give me detailed instructions on how to move mysql to the secondary drive on the same server? The secondary drive has only /backup
View 8 Replies
ADVERTISEMENT
Jan 7, 2008
i moved mysql to another drive, and i am getting these errors
/etc/cron.hourly/modsecparse.pl:
DBI connect('modsec:localhost','modsec',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /etc/cron.hourly/modsecparse.pl line 19
Unable to connect to mysql database at /etc/cron.hourly/modsecparse.pl line 19.
[root@viper ~]# ls -la /var/lib/mysql/mysql.sock
lrwxrwxrwx 1 root root 23 Jan 6 20:11 /var/lib/mysql/mysql.sock -> /home3/mysql/mysql.sock
the socket exists.
in cpanel - service manager mysql looks as down, and eximstats the same.
any idea where is the config for modsec and chkserv so that i could set the new mysql.sock location? maybe that will work.
View 6 Replies
View Related
Mar 29, 2009
The problem is that my hd is failed. Hoster setup new server, also installed the secondary drive but not mounted. So need advice how can i get my data off it?
View 3 Replies
View Related
Jun 4, 2007
Recently I adquired a new HD for one of my cpanel servers because the primary one was almost full at 90%, now i wanna create accounts in the new secondary HD. This HD is already monted as /home2 and ready to work, but I just dont know how to create the new accounts in WHM to use the secondary HD.... can anyone tell me how to do it using WHM ?
View 3 Replies
View Related
Feb 28, 2007
added a secondary hd to my box and i want the ftp files to be stored on there, how would i go about this? i'm using pureftp,
View 8 Replies
View Related
Mar 5, 2007
I've recently got a server with DA panel and a secondary SCSI 15K to put on mysql which I believe should improve the preformance.
View 1 Replies
View Related
Aug 5, 2008
question regarding hard disk performance.
Right now i have a busy running forum Running on a Single Xeon 5335 with 4GB of RAM,
single 73GB SCSI 15K. And the site seems running fine most of the time except at peak.
The load sometime goes up to 8 for about 1 hour. So i am looking to upgrade my server.
The next server i am thinking about is
Single C2Q 9300, 8GB of RAM, 1x750GB SATAII as primary drive for for webserver, 1x150GB Raptor 10K to serve MYSQL only.
I wonder if the HDD performance on my current server server with future server be the same of better? Since the future server has better CPU and RAM, the only thing i worry is the HDD performance.
So in short, Single SCSI 15K V.S Combination of SATA + RAPTOR. What do you guy think?
i am using Litespeed as webserver and i also will be using litespeed on future server.
View 10 Replies
View Related
Apr 21, 2008
We have a powerful server for our databases, 8 cores, 4gb ram etc because we have a huge amount of MySQL data. We store the data on a standard SATAII 500GB drive, would we notice a dramatic performance improvement if we stored the data on a SA-SCSI 10/15k drive?
View 2 Replies
View Related
Oct 31, 2009
I have a server that is running linux with cpanel and I am running out of space on a partition.
I was getting this error:
Drive Warning: /dev/sda3 (/var) is 83% full
I looked in the folder and went to /var/lib/mysql and noticed that I have about 6 databases that are a little over 1 GB each. The sda3 partition only has a capacity for 9.9 GB and I was suggested to configure mysql to hold my databases on another partition that has more space..
View 3 Replies
View Related
Jan 26, 2007
1- i did Os Reload with new Hard drive for "home"
2- data "backups" drive lost
3- replaced the old home drive as "/old drive"
4- " /old drive " is now the secondry drive in my server and it has the all sites usres and evry thing
5- what i need , to trasfer, copy this sites from " /old drive " to "home"
but data center said
The /olddrive/home directory contains the contents that were previously in the /home directory. You can copy files from this directory to any other directory on your server.
The command to copy files in the UNIX environment is the "cp" command.
The user directories in /olddrive/home directory contain the web page files for the users. However, simply copying the contents over will not recreate the users or domain entries in DNS/httpd. If you wish these back you will need to recreate them manually or restore them from backups.
View 14 Replies
View Related
Feb 16, 2007
Primary drive (centos/cpanel) is corrupt
The server is displaying these errors when I tried to do an FSCK:
Bad inode IO
ext3-fs error (device(8,3)) IO Failure
I am having a new primary installed and old primary set as 2nd drive. I need to recover the cpanel domain accounts from this 2nd drive after I mount it with the method below:
mkdir /backup
mount /dev/sdb1 /backup
However, how do I actually recover these accounts in an automated process via whm? I've done this before with the same matter (corrupt primary drive, mount as 2nd, etc) but cannot exactly remember the proper steps.
View 14 Replies
View Related
Dec 28, 2007
I just purchased a brand new 10K 150GB drive. How can I take an exact copy of my current drive and transfer everything over to the new drive? I think I need to create a snapshop, or mirror it somehow.
What software will do this? I was told trueimage, but its very pricy, is there anything else?
View 8 Replies
View Related
Jul 9, 2007
I have a dedicated box and I started getting Input/output errors today.
I tried:
# fsck
fsck 1.40-WIP (14-Nov-2006)
e2fsck 1.40-WIP (14-Nov-2006)
/dev/hda2: recovering journal
fsck.ext3: unable to set superblock flags on /dev/hda2
then I tried:
# fsck -a -t ext3 /dev/hda2
fsck 1.40-WIP (14-Nov-2006)
/dev/hda2: recovering journal
fsck.ext3: unable to set superblock flags on /dev/hda2
My data is backed up, so was going to ask for a reimage, but is this an indication of bad hardware? Should I ask for a replacement drive? Is there anything else I should try on my own before going to the host?
View 6 Replies
View Related
Feb 6, 2007
I have a Win2K3 server which has 2 hard drives. I was considering backup options and I thought that I might try mirroring Drive A ==> Drive B. I would think that, then, if Drive A has a hardware failure, I could simply switch Drive B into the Primary slot (A) and the server would continue to hum along as nothing has happened. This would reduce the downtime, hopefully.
I have 3 questions.
1. Is this idea practical (will it work)?
2. What is a good software program to use fto handle the mirroring?
3. Any considerations, warnings, technical advice in regard to this method?
View 4 Replies
View Related
Sep 29, 2008
Is there any cheap / stable VPS vendor in UK likes cheapvps.co.uk? I just need a minimum VPS (128MB RAM?) for secondary DNS.
View 4 Replies
View Related
Dec 2, 2007
I signed up with cheapvps.co.uk a month ago, and I'm very happy with them . Now I'm looking for a very small VPS to host a secondary DNS server, and maybe a backup MX server.
It's just for personal use.
I think 5GB disk space would be enough, and I would like not to spend more than $10 USD/month. Do you know any VPS that suits my needs?
View 7 Replies
View Related
May 22, 2009
We need a secondary DNS for our cPanel server, as we want to have separate nameservers. What is the cheapest vps anyone knows that is hosted outside of Bluesquare House (UK). Global location isn't important.
View 2 Replies
View Related
Jun 13, 2008
I have a VPS with LXADMIN Hostinabox single server and want to use this VPS as a secondary/slave DNS server. My primary/master DNS is hosted elsewhere.
Does the LXADMIN Hostinanox interface facilitate the ability to setup the secondary zone?
View 2 Replies
View Related
May 20, 2008
mount secondary H.D.D to /backup, but i have following error after run "mount /dev/sdb1 backup"
mount: unknown filesystem type 'ntfs'
How can change secondary hard disk file system to linux?
View 11 Replies
View Related
Mar 28, 2007
I have searched for setting up automatic secondary DNS, but couldn't find anything, if I missed it, please post a link
I have 2 VPS's one running cPanel/WHM with about 15 low traffic sites on it. The other is a very slow spec VPS, hopefully just for DNS services.
I only have 1 domain server running currently, this is on the same server as the all the websites, what I want is a secondary DNS mirroring that of the DNS on my cPanel VPS, automaitically....
I was thinking of writting a little script to scp all the .db files in /var/named/ to my secondary server, then login to the secondary server and restart BIND?
View 6 Replies
View Related
Jul 22, 2008
What happens if your primary nameserver goes down? Meaning that it goes completely off the net, not even denying dns requests but completely ignoring them.
I'd guess that resolvers would query the secondary NS after a specified timeout, but what is that timeout set to? Does it differ from ISP to ISP? How much of a slowdown are we looking at for end users?
View 0 Replies
View Related
Jul 5, 2007
would it be possible to have my main box running apache, a second box for dns/other and an offsite secondary dns such as DNS1.PUBLIC-DNS.NET?
Is it possible to authenticate the primary and offsite secondary nameserver so the zone is transferred to the secondary? Would i need to pay for a special service, or do free ones exist? Are there any security implications with zone files being transferred out over the public internet, would a vpn need to be configured or can the process be encrypted via the transfer procedure?
Finally, how would this affect the way the entire virtual hosting works? I know when the nameserver on the host machine serves resolves a name request for a computer trying to browse the site in question, but when the actual http request goes to the web server does it incldue the domain it is looking at also?
View 4 Replies
View Related
Jul 29, 2007
I just ran into something about Secondary DNS services.
What exactly is that?
Is that where if my primary name server goes down, a secondary name server kicks in and resolves all my donmains to another server somewhere?
I've been thinking about getting setup with some kind of fail safe setup in case my primary name server goes down.
Would Secondary DNS services take care of that?
If so, anybody know where I can find a reliable, affordable secondary DNS service?
View 9 Replies
View Related
Apr 18, 2009
I got 4 IP from server.lu
A friend install windows 2008 on top of the vmware.
Then I noticed that the connection is not very right.
So I go to network connection in the hope of changing the DNS.
I just right click the connection and found out that I lost my connection to the server.
Restarting the server allow me to ssh and ping the main IP but none of the secondary IPs work.
View 5 Replies
View Related
Apr 22, 2009
I have the following three servers, which I'll call A, B, and C:
Server A - Web hosting server that uses cPanel on CentOS.
Server B - Free subdomain service (similar to afraid.org but on a much smaller scale), using PowerDNS with a MySQL database backend, on Debian.
Server C - Backup DNS server for the cPanel web hosting server, using the free cPanel "DNS Only" on CentOS.
Originally I had just A and B set up (they're two separate VPSes on the one dedicated server, I own the dedi and some friends and I have VPSes on it). Now I've got a VPS at a different data centre, and am using that for C.
To have a secondary DNS server for server B, I believe I can use MySQL replication to replicate the PowerDNS database to another server, then have a PowerDNS install on that server. My question is, is it possible to have server C as a backup DNS server for both server A (cPanel server) and server B (PowerDNS server)? ie. is there a way to check both PowerDNS and the cPanel BIND9 for domains (have them on different ports, and make one query the other if the lookup fails, perhaps)? Or perhaps use both the MySQL backend and the bind backend simultaneously in PowerDNS, and replace bind with PowerDNS (although I guess cPanel wouldn't like this)?
View 1 Replies
View Related
May 26, 2008
i have just bought a dedicated server with 2 ips.
i already put type master in named.conf along with a zone file having 2 nameservers pointing to A records
ns1 IN A 1.3.5.7
ns2 IN A 2.4.6.8
how do i setup ns2 (secondary nameserver)? how do i know it is running?
View 9 Replies
View Related
Aug 14, 2007
I have two nameservers, each running physically on a different server on different networks. Now I've noticed that whenever the primary NS goes down, clients requesting authoritative NS record lookups refuse to connect to the secondary NS, which I know is certainly up and running. The secondary NS has its own zone files and when you specifically request that server to resolve NS requests, it does the work. But generic NS lookups without specifying the server appears to fail when the primary server is down.
Does anyone know what might be happening here? I know that the domain registrar has both nameservers recorded for the domains I'm trying to resolve, but what is the point of a secondary NS, when it isn't contacted when the primary nameserver is down?
View 0 Replies
View Related
May 20, 2008
My sites all respond very slow (VPS) at the initial loading, that's why I try to check all dns settings.
My current resolv.conf
nameserver 64.235.32.203
that is the ns of my hosting provider.
Would I have an advantage if I add another and if so can I simply add my own nameservers?
View 8 Replies
View Related
Apr 14, 2008
How would I go about using sendmail with my server's secondary IP address?
It would seem that sendmail automatically sends with the primary
View 1 Replies
View Related
Jun 13, 2007
I am developing a site for a new company that will run under a medical engineering firm. I'm currently the only employee and am setting up websites and graphics for the company, but working out of the same office as everyone else. We currently have a VPS through iPower to host our site on, and everything is dandy. However we only own one IP address on the VPS, and I want to be in charge of my secondary nameserver, as I will also eventually use it as a secondary MX server. I have never done this before so I have a few questions about it. My previous experience has all been graphic design and web design, not much on the hosting side of things.
1.Is it possible to run a server on a XP desktop just using Apache or similar software (and a dynamic DNS service)?
2. Would it be possible to run this through the company LAN and router to make it accessible via the web without any serious tinkering on their network? (it has to stay up, and I have no idea what kind of routers or firewalls they are using currently). Basically given the standard setup how hard is it to open up the ports on the router(s)? I've done this only on a home router before, so I assume it can't be much different.
3. How do you go about doing it?
View 3 Replies
View Related
Mar 22, 2007
clarification on DNS.
We currently have gps devices which report x,y coords. The devices currently report to a fully qualified name: servername.mydomain.com. And only one fully qualified name.
We would like to have redudancy, so if the main server goes down, then the secondary takes over. I assume this is accomblished via DNS.
So out first task is to create name servers at our domain registar and have them register them, for example:
ns1.mydomain.com -> FIRSTSERVERIP
ns2.mydomain.com -> SECONDSERVERIP
Then on the both servers we setup DNS to accept the a record of servename.mydomain.com points to? This is where I get confused. Does the firstserver DNS say point to itself, and the second DNS server point to itself?
View 2 Replies
View Related