policy is to backup mysql with mysql-zrm.However at a certain stage it hangs forever. This is at the "flush logs". I tried this manually and it gave the same result. Even after restarting mysql and the host. After some googling and trying I found out "flush tables with read lock" gives the same result. The tables seem to be MyIsam. I tried with a mysqldump on one server and restore it on a test vm. I used the same config and flush logs still hangs. ALso I tried to change some configuration directives... but with the same result
Edit: btw, I checked the logfile and didn't found anything (/var/log/mysqld.log)
Edit2: I also did myisamchk -s *.MYI (in all direcoties with db files;actually did it with find command) and it did not return anything so datafiles seem ok.
Slackware64 13.0 I have a website that has been migrated to a new server. After a few days I'm still pointing at the old server and the hosting company have recommended that I flush my dns cache. A quick google for this in linux seemed to recommend restarting the nscd daemon but nscd -g tells me it's not running anyway. I connect to Virginmedia via wired ethernet to a Belkin N1 router so is there a way I can do this I wonder, either via Virginmedia or Slackware?
I have an HP printer for my Lenny which has worked for some year. But I don't remember what method I used to install it. So this is one piece of the puzzle that I can't see. But like I said the printer works. One day I accidentally printed more than I had papers in the printer-machine. Then I kind of stacked a lot of print jobs in the queue out of frustration. So whenever I reboot the PC/Lenny then it waste some paper by printing things that got stuck in the printer queue. It's not very environmental this weird behavior.
So next time this happens how do I flush the Printer queue so Lenny doesn't remember what happened before the reboot? I followed these instructions earlier but it only switched one weird behavior with another weird behavior. So it didn't work for my Lenny, and I couldn't find any better solutions on the Internet. [URL]...
I believe I have unwanted ' characters left in a 9 element character array that are causing subsequent operations with it to fail. I see wildly differing views on the web on the proper way to flush 'em. It's clearly not as simple as it would appear at first sight. What's currently the best (or else "least deprecated") method?
Poking around reveals that one Dave Chinner, Principal Engineer -- SGI Australian Software Group, submitted a series of patches to deal with preventing the flushing of stale inodes. I'm trying to figure out just how relevant those patches are to the stability of XFS, especially to pre-Lucid Ubuntu systems: are they in danger of data loss? Some quick search results thrown together in an effort to asses this issue:[URL]..Quote:
Dave Chinner (9): xfs: Don't flush stale inodes xfs: Ensure we force all busy extents in range to disk xfs: reclaim inodes under a write lock xfs: Avoid inodes in reclaim when flushing from inode cache
why does my virtual machine freezes when I flush iptable rules. i tried to install virtual machines 3 times and every time I flush iptables on host, virt machine freezes down. What can be the issue? Is it with the host installation or something else?
shell scripting in Fedora14I want a script"Find in curent folder for files, and it copy first file he find with name gived by user, if name already exist then echo error message and finish"command usage " bash scriptname copyASname"
smthing like Code: #!/bin/bash for files in /home/user/* do
I am attempting to write a backup script that will do the following:
1) lock and flush tables on a mysql db 2) dump the db to a file 3) unlock the tables 4) rsync the file to offsite storage
It all seems to be going well. However, obviously I don't want to setup ssh to the storage server on another network as the root user without a password. so I am attempting to su as the backup user inside of the script but when I try to run the script everything happens as it should until I try to so.. then it jumps out of the script .. akss me to login as the backup user.. proceeds to rsync to the offsite storage it does all this and then resumes execiting the script. it is not going to be setup as a cron job. it will be executed manually. assuming that is the case, how can I get the script to run without prompting for a password?
Here is what I've come up with so far... assuming that the script is run as root and the identity of the backup user will need to be assumed inside the script without perstering the user to enter the backup user's password.
On Windows I have used XBBrowser, which provides a custom version of Firefox suited to using Tor.XBBrowser provides a button, flush tor circuit, which will setup an entirely new connection and exit node.I am wondering how to do the equivalent thing on Linux. ALl I can do is restart tor, which does not seem to make any difference.
Going from Fedora 12 to 13. Got to the point where I have to reboot to install, system reboots to 12. This is a triple boot system with Open Suse and Mint, and the grub2 bootloader from Mint is the bootloader for the whole shebang. In the "how to use preupgrade" instructions there's a line that says "dentify the drive and partition of your Fedora /boot folder." How? If that sounds odd, consider that in my set up "computer" shows 4 partitions (and with just three operating systems..?). I can mount them, but have a problem telling which sytem is Fedora, Suse or Mint. And getting the FEDORA bootloader to find the PREUPGRADE kernel ... Momma said there'd be days like this.
cat /etc/fstab just returned /dev/sda1 on /boot. I installed Fedora first, before Suse or Mint, so being on the first drive or partition sounds right, but the multiple drives throws me, and "just guessing" doesn't seem like the way to go.
After upgrading to a new release (Fedora 12, for example), I can no longer reach most of the Web through my browser (Firefox) or mail client (Thunderbird). I've tried running a Live! installation, installing clean from a DVD, and running preupgrade from my working Fedora 10 system, always with the same result -- I can reach a few of the Fedora pages (main, documentation, some others), but nothing else (Google, for example).
What's maddening is that I know I have a good connection, because I can perform a software update, install new software, etc., but only strictly Fedora-related activities; also, I can ping www.google.com and get a good response, so I know the DNS services are working to some extent. But neither Firefox nor Thunderbird can use them in any useful way.
I am trying to install ffmpeg on an amazon linux ami (centOS red hat) and using yum with rpmforge repo added. I cant install ffmpeg because of a dependency error: and/or SDL-devel do not seem to be in the repository, any tips for resolving this dependency error would be much appreciated.
How to find out the series (i series or z series)in redhat enterprise linux If I give uname -a it gives Linux hostname 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux Does this mean that my server is in i series as it says i386..?
Can someone link me to get Fedora 11. I'm looking for it, but I can't find it on the site. I'm also looking for the one that is 700mb. Since the ones I keep finding also on google around 3gb. Don't want to wait that long and I remember downloading one that was around 700mb
My main question is must support for Dynamic Extensions be compiled during install? Specifically Mysql and Mysqli appear not to have been compiled into php despite using the prefix "--with-ysqli=/user/local/mysql/bin/mysql_config".Or can I place the needed call to mysql extension in the php.d and download the .so file adding it to the proper direectory?If I must reinstall, where on the PHP.NET site does it address reinstall? I'm shocked not to find this in the documentation
I've tried installing nvidia's devdriver but I keep getting an error stating the kernel.h file isn't available. I've tried searching for it on my computer but haven't found it and haven't found a copy of it using google either.
how I can go about finding my kernel's source path or a way to getting a copy of the kernel's source so I can install nvidia's devdriver?
I just installed FC4 on a six years old comp and I cant get the dial-up modem (*s) to work. I have one internal and one external, but it doesnt find any of them.... Im using some druid under KDE. it says "error 2".
The latest kernel screwed up my laptop and I would like to reload the previous kernel to get back to where I was but I dont see it as available anymore... Is there an archive to pull previous versions from ?