Ubuntu :: Cssh Not Reading Cluster Tags From .csshrc File?
Feb 8, 2010
When using cssh, I define some cluster tags in my local .csshrc file. Other parameters seem to be picked up by cssh, but the tags are not.I have no /etc/clusters or /etc/csshrc files. I create a fresh, default .csshrc file and append a line like:myhost = frodoWhen executing "cssh myhost", I get: Can't call method "name" on an undefined value at /usr/bin/cssh line 988This is the same message I get if I make up some destination, like: "cssh doesnotexist". So it looks like rather than picking up the tag "myhost" from .csshrc, and translating the command to "cssh frodo", it does a dns lookup on myhost.I've tried making a /etc/csshrc file like this (but without the equal sign), but that doesn't work either. This is all on Ubuntu 9.10 with cssh version 273.
View 1 Replies
ADVERTISEMENT
May 4, 2011
I don't understand the results of a simple performance test I ran using two basic scripts (running on a high end server):
perfVar.zsh :
#!/bin/zsh -f
MYVAR=`cat $1`
for i in {1..10}
[code]...
Performance test result:
> time ./perfVar.zsh BigTextFile > /dev/null
./perfVar.zsh FE > /dev/null 6.86s user 0.32s system 100% cpu 7.177 total
> time ./perfCat.zsh BigTextFile > /dev/null
./perfCat.zsh FE > /dev/null 0.01s user 0.10s system 91% cpu 0.118 total
I would have thought that accessing a VARIABLE was way faster than reading a FILE on the file system... Why this result ?Is there a way to optimize the perfCat.zsh script by reducing the number of accesses to the file system ?
View 3 Replies
View Related
Dec 19, 2010
I have a lot of avis with annoying metadata that show in vlc. Since I cannot figure out how to configure vlc in a way that it won't show the tags, ffmpeg should strip the tags. This is supposed to do the trick:
[Code]...
View 7 Replies
View Related
Sep 1, 2011
I am working in a project that needs to set up an Apache Web Cluster. The cluster needs to be High-availability (HA) cluster and Load-balancing cluster. Someone mentioned the use of Red Hat Cluster Suite, but, honestly, I can't figure out how it works, I haven't been able to configure it correctly. The project currently have two nodes, but we need to support at least three nodes in the cluster.
View 5 Replies
View Related
Oct 8, 2010
Over the years of working with both images (many) and other files (many more) it seems that it is easier to organize images. There are a variety of image software (digikam, gthumb, the new "shotwell") etc. Its easy to organize them with multiple references - date, multiple categories etc. This in fact makes it easy & efficient in our multi disciplinary world to access the same image for multiple needs.
However the same is not true for other files (od formats, pdfs etc etc) the only way we seem to be able to sort them is by what folders we make. Of course we can use meta search engines to find it by other keyword / dates etc. But it is not the same as being able to give multiple tags to a file and later being able to retrieve by that particular tag.So am wondering if such a file tagging / sorting and accessing "thingy" already exists and if so what is it. Or it is available and i don't know where to look.
View 6 Replies
View Related
Mar 16, 2011
If I convert an audio file to a different format (such as mp3) using a pipe I lose the tags.
Code:
ffmpeg -i <filename> -f wav - | lame - output.mp3
If I knew the tags of the input file I could put them back using a program such as id3v2
[code]....
View 7 Replies
View Related
Jul 20, 2011
Totem by default shows some sort of tags (if found) and not file names in the playlist. I don't like this, because I use Totem for video only and videos I get from the web usualy contains URLs and other such nonsense in the tags so I never know which file is which.
Can I somehow force Totem to always display file names?
View 2 Replies
View Related
May 27, 2015
I'm using debian wheezy 7.8 with gnome 3.4.2.
In a random folder, if i right click on a random file for example a pdf file, i can see in the shortcut menu that appears the choice "tags". It is clear how i can create a new tag or associate an existing tag to a specific file.
My question is, how can i search for files that have a specific tag? For example if i have two files that i already gave them the tag "test", can i use some program and find that two files by using the tag "test"?
View 3 Replies
View Related
Nov 6, 2010
I am trying to build GFS2 cluster with 2 or 3 Fedora 14 nodes, but I've encountered some problems from the start. First luci does not work at all in Fedora 14. There is no luci_admin and even if I manage to start luci service, I get a blank white screen when I try to open it from the browser. I've googled a bit and found that I'd might be able to setup GFS if I manage to build cluster.conf manually and start the cluster suite, but I cannot find documentation on how to create cluster.conf anywhere. If anyone knows how to setup GFS2 without a cluster suite or how to configure cluster.conf.
View 9 Replies
View Related
Mar 15, 2011
I'm having a very strange problem with red hat cluster. After testing it in the lab, I tried to install a new cluster and received the following error: cman not started: Cannot start, cluster name is too long or other CCS error /usr/sbin/cman_tool: aisexec daemon didn't start I've checked the internet for that error, but nothing. I decided to to take the example from cluster.conf man, which looks like that :
[Code]...
And still I get the same error. I can find my servers both from DNS (FQDN and short name) and they also appear in /etc/hosts.
View 3 Replies
View Related
Jun 29, 2010
I have a 7.2 GB file (VMWare virtual machine file) that I am trying to copy from its original location to the another folder OR to external hard drive...each time I try to do this, I always get the following error after the copying process reach 'exactly' 1.4 GB
Error reading from file input/output error
And I have to either Cancel or Skip
I've tried to split the files to smaller pieces but the idea didn't work as I still get the same error whenever I try to compress/ split or do any operation with this file. how I can copy this file?
View 2 Replies
View Related
Oct 17, 2010
I have some music files (.mp3 and .flac) which have unmodifiable tags: After I change the tags, they revert to their original values automatically. It's not related to access permissions (using Linux) as in a same directory, with the same permissions, some files have modifiable tags and other not. Is there such a thing as "protected" or "unmodifiable" tags? Are there solutions to force modification ?
View 2 Replies
View Related
Jun 17, 2010
I just began using amarok as a media player and I have a bunch of untagged files which show up in the local collection as Untitled -> Untitled, but since there are multiple files I can't see what they are, and I can't play them. If I go to edit it, it edits all the untitled files to whatever I set it to, because there's a bunch of untitled files. Is there a way for me to add tags to them in amarok one at a time?
View 1 Replies
View Related
Jun 21, 2010
Using a list of names (over 4000 of them) painstakingly gleaned from the source file years ago for a database file, I want to match the names against the source file so that they can be updated with the tags <forename></forename> in the original source file.
I placed the list of names in @forenames (only posted a few of them here).
Perl script is:
I am able to get the name bracketed by the tags to appear on the console screen but don't know how to apply the output to the source file. Perhaps I need to do a match on the words then some kind of edit to surround the matching words with the xml tags? I'm a rank novice doing this as a labour of love for a friend.
View 3 Replies
View Related
Sep 3, 2010
configure a separate NIC for the heartbeat. what i need to add to cluster.conf to achieve this?
View 1 Replies
View Related
Jan 26, 2010
I've tried many, many different ways of setting up the cluster.conf file, but every time I start the cman service I get a message telling me "corosync died: could not read cluster configuration".This means nothing to me, nor can I find logs, or anything on the net about this message. I'm ultimately just trying to run a simple GFS2 config on 2 Ubuntu 9.10 desktop nodes, but I can't even get a basic cluster config going.What am I missing? I've been at this for days.
Code:
<cluster name="example" config_version="1">
<clusternodes>
[code]...
View 3 Replies
View Related
Feb 19, 2010
Posted in wrong section. Moved to Linux Servers Forum.
View 2 Replies
View Related
Dec 18, 2009
I put together a 3 PC cluster approx. 6 years ago with Redhat, at that time I was in Grad. School. Now I am in a small company and we are planning to go for a cluster setup. I have chosen to go with Centos5.
The last time around I used NFS, RSH etc. for file sharing, communication etc. Would it be OK for me to go with the same stuff or some new software/technology has come in.
The Centos cluster setup is for high-performance computing.
View 1 Replies
View Related
Jan 28, 2011
I recently set up a server in my house using Apache 2 running off Ubuntu 10.10 Netbook edition (no, the computer is a desktop). I tried running the website on a few computers in house and all the images and scripts seem to load fine but it is unable to read from the data.xml file through javascript. This leaves all of the web pages empty because all of the content is parsed from the xml file through javascript. I tried debugging with google chrome and after running this code to load the xml file:
if (window.XMLHttpRequest) {
// For IE7+, Firefox, Chrome, Opera, Safari
xmlhttp = new XMLHttpRequest();
}
[Code].....
the xmlhttp.responseXML is null and the script crashes. Could this be a permission issue? I tried setting the data.xml file to read-write permission for any user but that didn't work.
View 1 Replies
View Related
May 16, 2010
Running 10.04 64bit. Installed the latest Gnucash from repositories. Using Quicken 2003 and exported an account to a qif file. When trying to import to Gnucash the error "A bug was detected while reading the QIF file." displays. This, at least is more than I was able to do previously (prior to 10.04 and several earlier versions of Gnucash running in 8.04 through 9.10). Before it would cause Gnucash to crash and shutdown. I select a specific account with categories from Quicken to export. I can import to KMymoney and use it but that program is not compatible with the wife and does not do reconciliation reports by default.
View 3 Replies
View Related
Feb 1, 2011
I'm trying to recover movie files from my TNT receiver hard drive but it corrupts its FAT32 allocation table (crappy cheap device...)
Using dosfsck is useless because the correct file length is the cluster length, not the (shorter) one in the table, and dosfsck only proposes to shorten the file, which I won't do.
Question: how to recover a file using the FAT cluster chain instead of using the stored length in the FAT table?
View 1 Replies
View Related
Oct 25, 2010
I'm looking for a write one, read many file synchronization, file system or similar technique. In fact I want a to imitate a zfs_send/zfs_receive similar behaviour on Linux. My requirements are pure local (or in terms of distributed file systems: rack-aware) file handling with remote synchronization. Some random features/requirements I want to achieve are (I use the terms file and "file system" here interchangeable, as I don't care wheter I have to synchronize file based or use full file system supporting that):
Access on files from a specific host is pure local, i.e. the node has a full copy of a file, no parts are distributed. Read and write access is local, the remote side gets synchronized with write changes only Write changes on the remote side are non-blocking and asynchronous No need for concurrent file access, concurrent, distributed locking and so on Every file is changed by a single node only, other nodes have read access The file "owner", thus the node allowed to write files must be changeable Similar techniques (some as technology concept, not usable for me) exist, among those DRBD, MySQL Replication or even pure rsync.
I don't care whether I'm referring to a pure local solution (i.e. between two block devices) or a client/server mode. DRBD won't fit because its a peer to peer solution, I need to synchronize a lot of clients with a central storage through that way where DRBD just mirrors from peer to peer among two nodes and doesn't allow another node to take over the role of the primary node (i.e. node A is master, storage B secondary, I want to change to a thrid node C which becomes master and receives hence a full update from storage B.
Just as a guess, I'd make a local LVM volume on every node where write access happens. In the same time there exists a iSCSI target with multipath to a remote hosts which is shared with every node, again providing a clustered LVM. So I'd need to synchronize a local LVM volume with a remote LVM image. The question is just by which technique I could achieve that (i.e. as RAID 0, where every read and write goes to one node only and doesn't wait the other node to succeed). I could achieve this with rsync by a cyclic push to the remote host, but the problem is, that rsync isn't block based thus I'd need to synchronize every time the whole file, not only changes.
View 2 Replies
View Related
May 20, 2010
i installed kernel 2.6.34 to fix my lid closing issue, and that went great. but now when i go to reinstall my broadcom i get this error. Code: Reading package lists... Done Building dependency tree Reading state information... Done bcmwl-kernel-source is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up bcmwl-kernel-source (5.60.48.36+bdcom-0ubuntu3) ... Removing old bcmwl-5.60.48.36+bdcom DKMS files...
[Code].....
View 9 Replies
View Related
Jul 21, 2010
I am trying to create a script that reads a list of url's from a text file and then executes the same script for each line. This is what I am looking for:
elinks -dump $(url's in file, one by one) | grep "reply" > jobs.txt
View 6 Replies
View Related
Nov 14, 2010
I have 2 Ubuntu machines up & running on a small network. Both are running SAMBA servers. One several years old & has a rather old version of Ubuntu. The other, quite new & has a version about 9 months old.The newest has a problem. When working with large & complex Word documents, it will periodically generate an an error on the work station.
"Word failed reading from this fille (xxx specifies file we are working on). Please restore the network connection or replace the floppy disk drive". The it crashes Word & unsaved work is lost.The error never occurs when using the old server, only the new.
View 1 Replies
View Related
Dec 17, 2010
I am using a backup system with cron + tar. Since the server is very busy, I get often the cron-email: "The file XYZ has changed while reading". This message is a bit annoying and I see it as critical point in my backup system. I believe that this file is then not in my backup. (Is that correct?) Let's imagine the hard disk dies and I have to recover the system and my personal data, and in the night the mysql-table XYZ was not in the backup, because it was in read-usage. I would then have lost this table forever. Is there any way to tell TAR, that it should force the file to be included (if in read-usage, then wait 2 seconds and try again)?
View 9 Replies
View Related
Jun 8, 2011
is there any API to read content of PDF file & store it in buffer?
View 14 Replies
View Related
Nov 17, 2010
been playing around making a server to play some games on running centos 5.5
what ive spent a while looking for (a few days) is a way to make a file which i will call startup this will contain some values
Code:
mod_directory="etpub"
port="27960"
log_name="console.log"
vm="0"
dedicated="2"
[Code].....
View 1 Replies
View Related
Jun 15, 2010
I want to install this file for reading some windows .dat files[URL]...I looked at some code and it looks like its trying to connect to an outside server. This program is supposed to give non-Microsoft e-mail programs the ability to see attachments included in an e-mail message by a Microsoft e-mail composer.
View 3 Replies
View Related
Jun 8, 2010
I am trying to do the cluster storage with the Rock Cluster storage operating system . I have install the rock cluster on the main server . and I want to connect the client with the PXE boot . when I starting the client then it boot from the PXE boot into the mode of compute node. but it ask the where is to be stored the I have give the path..then server says that not able to find the directory path.
Steps:-
1) insert-ethers
2) client is started with the PXE boot.
3) it detects the dhcp .
4) At last it demand where is to be started by cd-rom, harddisk ,nfs etc.
then I started with the nfs and I have given the lanIp of server.and server is detecting the client but client is not finding the filesystem directory. into export partition directory but it is not taking path.
PATH:-
/export/rock/install it is not finding this path then it is not able to start the o/s from PXE boot..Is there any solution and manual of rock or anyother solution then u can reply to me...
View 3 Replies
View Related