Tag Info

Hot answers tagged

8

We have a system wher we rsync live servers to backup servers (which are built out of cheap 1TB SATA discs) then take full tape backups of the backup servers. It's excellent: Belt and braces - all the advantages of both backups reduces the IO load on the live servers considerably faster restores if you just want one or two files full set of tapes for the ...


6

GlusterFS is very good for this job, you can also consider Lustre maybe (I have not used that one yet though) GlusterFS is NFS independent software but it would be very easy to move on that. You can also use it for Raid 10 networks which you might need in the future and it is very easy to scale.


5

You have Listen directive for the same socket multiple times. Use grep -r Listen /etc/httpd/conf.d/*.conf /etc/httpd/conf/httpd.conf to find the culprit. From apache documentation: Error condition Multiple Listen directives for the same ip address and port will result in an Address already in use error message.


4

There are several things that you need to do to prevent problems and possibly system crash in the future: Create separate partitions for /var, /var/log, /tmp and possibly others to help your system survive (hopefully) in case of one partition got filled accidentally. Use reasonable logrotate configuration to allow a good amount of logs and not consuming a ...


4

I'm not sure how bpbkar works really, but I would use rsync to backup all the files offsite and then keep them in sync, which would consume very little resources, as only changed files are updated. Naturally, this means it would take quite some time for the initial backup, but you already say you've been 'humming for 18 hours'. You would then simply manage ...


3

If your backups take 18 hours to run normally, deprioritising them probably isn't going to solve the problem (unless you want to run your backups for a couple of days at a time). I'd be inclined to setup a disk replication mechanism to another machine (I like DRBD, myself) and then use LVM to take a point-in-time snapshot, backup that, and move on. Because ...


3

From my experience - and the reason that we do not use logrotate with Log4j is that the way logrotate works is that it renames the files, then instructs the program to close its logs and reopen them with the old file name (which does not exist anymore), normally using the HUP signal. But Log4j cannot be told to reopen its log files, so I see you use ...


3

While remarkably hackish, the route I ultimately ended-up following is this: Using VMware ESXi, add datastores that are NFS mounts (from whereever). Create vdisks on those datastores Add the vdisks to a VM running RHEL (because I'm used to RHEL) Put all of the added volumes into an LVM Export the LVM partition via NFS Pros: simple cheap easy to ...


3

bpbkar is Veritas Netbackups backup client. It supports throttling, so the combination of normal I/O and backup I/O doesn't saturate your disks. Look at here: http://seer.entsupport.symantec.com/docs/265707.htm Is there anything stopping you doing full backups at the weekend, as you say the system is mostly busy weekdays, and incremental backups during the ...


3

If you ran make install and already had the mysql-server package installed, chances are you had a pre-existing mysql database schema in /var/lib/mysql. The version included with RHEL5 is 5.0.77, which could explain the mysql-upgrade error, as that script updates the schema between MySQL versions. The error could also be very similar if you did not create ...


3

LinuxQuestions.org has an answer: You don't want to have less than 256MB of RAM in your system if you want to run RHEL 4, especially with an X desktop. I also wouldn't go much slower than a 500mhz CPU, either.


2

This post is old but i think is better providing a solution if has been discovered. I have solved simply setting the environment variable MALLOC_CHECK_ explicitly to 0: setenv MALLOC_CHECK_ 0 in the RHEL4 Documentationdocs is explained the cause of the problem (in the section Package Specific Notes / glibc).


2

Could be that the directory where ethtool is located is not on the user's path. To check the path: echo $PATH To locate ethtool find / -name ethtool You may need to run the above as root, in case the user doesn't have permission to access the directory ethtool is in. Once you have found ethtool, and made sure its directory is in the users path, you ...


2

Here's a script you could run against the dead.letter file and maybe catch the process creating it. #! /bin/bash if [ $# -eq 0 ]; then echo "Syntax: $(basename $0) <file_to_watch>" exit 1 fi FILE_TO_WATCH=$1 LOGFILE=/var/tmp/$(basename $0).$(date +"%Y-%m-%d").log SLEEP_DELAY=5 if [ ! -e $LOGFILE ]; then echo -e "DATE ...


2

Does that user have a web content tree being served by a web server of this system? Check their content tree for a CGI or something that handles GET/POST submissions. My guess is they have some standard web software installed -- a page layout tool, or something like WordPress. Some 3rd party/ies is using some security hole in that web software to try to ...


2

You probably forget to switch the transfer mode to binary. The UNIX/Linux systems handles end of line different from Windows/DOS systems. The FTP do a conversion if the transfer mode is ASCII. You should read the manual of your FTP kliens how to switch to binary mode. If you are using a command line version you should use the command binary or bin.


2

"Connect timeout". A web app should generally have a connection pool permanently connected to the database. Setting up a database connection (and killing it at the end) is pretty expensive so it is not something you should be doing for each user. Suggest you look at Database Resident Connection Pooling in 11g


2

up2date has support for using yum repositories. Probably better to use that, than to install additional software you don't necessarily need. Edit /etc/sysconfig/rhn/sources Add a line like: yum EPEL http://rhn.sonoma.edu/pub/mirrors/epel/4/$ARCH That's a literal "yum", the repository name you'd like up2date to see it as, then the URL, which has some ...


1

Not too long ago I moved a RHEL 4 system to CentOS for similar reasons. It was a pretty simple process and has worked very well so far. I used these instructions: http://fixlinux.com/2006/04/11/migrate-rhel-to-centos/


1

To install yum on RHEL4, use the instructions here. They describe obtaining all yum's dependencies from http://fr2.rpmfind.net/, and configures the system to use that as a yum repository. Check the individual packages for newer versions, but otherwise it worked just fine.


1

You could use a version compiled for glibc 2.3 In answer to your question I don't think upgrading glibc is a good idea as it may well break everything that relies on glibc 2.3. I had similar problems and the above version worked for me. Obviously you should make your own security assessment before installing software on the recommendation of a forum ...


1

Judging by the command you posted, and looking at the -class and -sched options, it looks like you're running a full backup on Thursday - probably not the best plan considering your usage schedule (900-2300 weekdays). With huge datasets like that, you should look at the timing of your full backup, plus the type of incremental backup you take during the ...


1

A couple suggestions: Do full backups less often. If your data is pretty static, you can probably get away with full backups once a month of every 2 months and cumulative incremental backups the rest of the time. You'd need 2 tapes instead of one but that shouldn't be a big deal. Schedule the backups better. With netbackup, it is possible to ask the ...


1

Do you mean something like UnionFS (which isn't in any way analogous to LVM that I can think of), or just mounting several filesystems all next to each other (like /mnt/fs1, /mnt/fs2, /mnt/fs3)? Also, re-exporting NFS mounts (and even NFS mounting filesystems that have filesystems mounted in them locally -- see the nohide option in exports(5)) is an ...


1

Are you sure you're actually running 64 bit Linux? Try checking uname -m. If you have libaio-0.3.105-2 (i386), don't use -0.3.102 (x86_64). Grab the proper RPM from a CentOS mirror if you don't have access to up2date. The libraries can coexist. Edit: SRPMs are usually rpmbuild -bb. make isn't typically required. Building the SRPM will give you a ...


1

Another vote for rsync. I use it to daily backup 9TB of a very heavy used fileserver. never had an issue. If you're concerned about 'point in time', create an LVM snapshot, mount, rsync, umount, destroy. Somewhat higher load on the server, but still far (far!) less time than a full copy. If the administrator says that it must positively, absolutely be ...


1

There is no direct upgrade support, you must format system partitions. do the user directories and other custom directories that I have installed get overwritten during the installation? If these directories are uncommon or /home - no need, you just need to recreate all the configuration and change uid/gids. Some configuration files from /home might ...


1

As far as cores vs memory, you're talking about 20GB on 16 cores; that's (optimistically) 1.25 GB per core, which is not a tonne of memory if you really are pinning all 16 cores. We are definitely running systems with higher memory/core ratios than 20GB/16, and our vendor keeps trying to sell us on boxes that can be configured with memory into the many ...


1

Linux HA will do exactly this; it's one of its core functions. You will not need to create the virtual interface manually, only put in the haresources file primary.example.com 192.168.0.3/24/eth0 Configuring HA to treat the failure of the application as the failure of the cluster node might be tricky. Since you say you have an alarm process already, I'd ...


1

I've seen this if your /etc/hosts.allow and /etc/hosts.deny are not correct; check those files for a line with portmap in it and either comment it out (unsecure if you're not behind a firewall) or set the line on the client/server to be your specific subnet. So for instance, in /etc/hosts.allow: portmap: 192.168.0.0/16 ...and comment out whatever is in ...



Only top voted, non community-wiki answers of a minimum length are eligible