CentOS 5 :: Generate Unique Identifier On 5.x?
Jul 30, 2009how can I generate unique identifier on centos 5.x I read some thing about using utility such as uuid or uuidgen
View 1 Replieshow can I generate unique identifier on centos 5.x I read some thing about using utility such as uuid or uuidgen
View 1 RepliesI am looking to understand what would be the optimal or standard way to create a unique id for music files. Something like md5 sum, but taking into consideration that the music files contain some metadata that can be changed.At the end of the day I would like to create a backup database containing all my ratings for the songs. It should be independent from the filename and location.I have seen the libofa, but there does not seem to be much information about it. It is integrated into some GUI tools including Amarok, but they do not do what I want. PUID from Musicbrainz is explicitly closed source based.
View 1 Replies View RelatedEvery single image i try from opensuse 11.2 on usb stick i have the same error: No devices matches MBR identifier "hex number" Before asking me for fdisk or whatever, my MD5 sums are all right and i tried both unetbootin and "dd if=path of=usb_path" methods.
View 1 Replies View RelatedI'm posting because I've read everything I can find on google and in the forum and the man page and still can't get it to work. I did read the FAQ, I hope I have adhered to it.I've tried several things and I don't remember exactly everything I tried and in what order.I've got several (12) HP ProLiant DL140 G3 servers running CentOS 5 that lockup about once a week. These are in a remote colo cage so I all i have access to is the built-in HP lights-out management interface, which includes a console, and ssh. I've been trying to get kdump setup to try to figure out what's going on. As an aside, if I run top on the console (via the management interface) the servers stay up for about a week, if I don't run top they crash within about 48 hours.I've used yum update to update to the latest available kernel (2.6.18-194.26.1.el5.x86_64) and installed the debuginfo and debuginfo-common RPMs from http://debuginfo.centos.org/5/x86_64/I have a single command in the /etc/kdump.conf file:ext3 /dev/sda5
View 4 Replies View RelatedPreviously I have Centos 5.3 installed. Eventually I upgraded the systems to Centos 5.4 Now is it possible to generate an ISO and burn into a DVD to make a new copy of Centos 5.4 installation disk? This is far better than downloading.
View 1 Replies View RelatedI've made a bootable USB with 10.3 live CD. I can boot successfully using a 10.3 live CD as long as the USB stick is not plugged in, but if I try to boot from the USB stick, or from the CD when the USB stick is plugged in, I get "No devices matches MBR identifier: !" where the bit after the colon is 2 spaces followed by the exclamation mark. I've seen this message reported elsewhere but never with a blank for the MBR id.I'm running on a Dell Insprion 9100 with 1.5G RAM.
View 2 Replies View RelatedWhen I do a forced fsck, I would like to have a log file to look at after boot.
When I check /var/log/ there are no files there with fsck output
I've run force fsck in these ways:
shutdown -rF now
-and-
touch /forcefsck
I tried to load a simple driver program. I am using RHEL5. When I tried to compile my 'driver.c' program it shows the following error:
[root@jameslee ~]# gcc -c device.c
device.c:1:25: error: linux/module.h: No such file or directory
device.c: In function 'init_module':
device.c:6: error: 'KERN_INFO' undeclared (first use in this function)
device.c:6: error: (Each undeclared identifier is reported only once
device.c:6: error: for each function it appears in.)
device.c:6: error: expected ')' before string constant
device.c: In function 'cleanup_module':
device.c:12: error: 'KERN_INFO' undeclared (first use in this function)
device.c:12: error: expected ')' before string constant
I was going through this Lex/YACC tutorial: [URL]... and I was working along with it. The Lex examples worked fine, but the YACC one quit white compiling
[Code]...
I have installed php-devel successfully prior to go with the installation (yum install php-devel). Here is what I did;
1.wget "url
2.tar xjvf ffmpeg-php-0.6.0.tbz2
3.cd ffmpeg-php-0.6.0
4.phpize
5../configure
6.make
7.make install
code....
I have a little problem installing src2pkg on my linux from stratch system.
I downloaded the package and saved it on /
After that I did cd /usr/libexec/src2pkg/src2pkg-helpers
There I did a sh src2pkg.setup
But now I'm getting this error message :
/usr/libexec/src2pkg/13-make-description: line 438: 'read_pkg_info_desc : not a valid identifier.
Do anyone have any idea what went wrong ?
I am certain that the problem is not with the CD. It can boot on my laptop. It's the RC2 of OpenSuse 11.3 Gnome. When I try to boot on my PC, I get the error "No devices matches MBR identifier: 0x502eadc3".I had some problems when installing Ubuntu, with HDD partitioning because it's SATA3. I tried several things, chandged from IDE to ACHI in Bios, then after it didn't work I simply plugged out all of the Sata cables but still the same. It should be because of Bios settings I guess.I have Gigabyte X58A-UD3R mainboard. Please help, I really love OpenSuse
View 5 Replies View RelatedIn both CentOS 5.5 and FreeBSD 7.4 when I use
Code:
snmpget -v 1 -c public windows_host system.sysDescr.0
I get the remote windows machine system description just fine. But not in ubuntu.
Searching snmp-net FAQ for the erroe message "Unknown Object Identifier", I got this to work around
Code:
snmpget -v 1 -c public 127.0.0.1 SNMPv2-MIB::system.sysDescr.0
But it not worked either.. Searching "MIB" using apt-file search, I installed "snmp-mibs-downloader", and now
Code:
snmpget -v 1 -c public 127.0.0.1 SNMPv2-MIB::system.sysDescr.0
works.. but
Code:
snmpget -v 1 -c public windows_host system.sysDescr.0
still breaks..
Why it works in CentOS and FreeBSD but not in Ubuntu?
I got some error in make
Code:
bash-4.1# ./configure
checking for a BSD-compatible install... /bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
[code]....
Today I was bored and i tried to put a lot panels in my desktop, but when I put the fifth panel it was blocked so that did not respond at all (I could only move the mouse), so I had to stop with the button. When I turn on the PC it does normally, but in the "log in" screen I put the password and it doesn't do nothing, just move the mouse.
View 1 Replies View RelatedI mean can I set up different Icons on the desktop of each workspace in KDE? Seems that a mirror image of each workspace is a waste.What do I need four identical workspaces for?I want 4,5, or 6 different ones for different types of tasks.No I don't care so much about wall paper.
View 9 Replies View Relatedhen I was still using hardy heron, I made a few posts trying to figure out if there was a way to really take advantage of the separate workspaces/desks.Has any progress been made in this direction? I want to do more than move firefox windows around. I want to dedicate a workspace to different projects or aspects of my life. I want to have different icons up in each one that relate to the project I'm working on and only that project
View 3 Replies View RelatedI am looking for c/c++ code (no third party lib dependency) to get the physical address of ethernet card on mother board.Most of them suggests to use the linux commands and process the output. For example "/sbin/ifconfig eth0".The problem with above command is that when you run this on a linux variant which is running using VirtualBox on windows host, it's not returning the correct mac address. In this case the correct mac address is the one set for individual virtual machine."/sbin/ifconfig eth0" works fine when linux variant is installed normally.There is another case when linux variant is installed normally and if you install virtualization apps such as VirtualBox or VmPlayer, they create a virtual adepter for their own use. In that case running "/sbin/ifconfig" returns all the adepters. (physical and virtual)
View 1 Replies View RelatedI've a lot of websites (100+ directories) I want to create a unique zip with only public subdirectory.
My structure now is like:
- Site 1
--- app
--- tmp
--- log
--- public
[Code]...
I would like to use Caps Lock as its own UNIQUE modifier key (not merely replace it with Ctrl). I have figured out how to do this on windows but not yet in Ubuntu. Here is what I'm looking for:
1. When I press "Caps Lock" on its own, it is equivalent to the Escape key (or at least sends the "escape" command).
2. When I press Caps Lock + <new key>, it does other stuff.
I have figured out how to get EITHER ONE of these to work, but not both at the same time. For example, I have figured out how to turn Caps Lock into the unique "Super" modifier using xbindkeys and xmacro (this achieves #2). I have also figured out how to switch the escape and capslocks keys altogether to achieve #1. But I can't figure out how to get both outcomes at the same time!
Quote:File1:
Hi, My name is John smith
Quote:
File2:
Hi, My name is smith
I want to show only the different or unique word between the two files (John)i was trying to get it with diff, comm, sort, uniq, grep, awk, sed
I am green on linux script. I would like to perform the following operation:String a: 1,2,3,2,4,How to unique this string to become: 1,2,3,4,?
View 3 Replies View RelatedIs it possible to change permissions on symbolic links using the c programming language or any other for that matter? Now, I know what you are thinking, so let me provide some background.I know permission are meaningless. I know that typically permissions are set to 777.The project that I am working on does the following. On HPUX systems, a c binary recreates missing links from a stored image of the filesystem, if they are missing. The problem is that the permissions are 700 when the links are restored (should be 777). The c method to restore the symbolic links is "symlink()" which takes as its argument the target and linkname.The client wants 777 on the links. I do not know why the permissions are different. I would like to know if I can change permissions on the link by code, changing the mode?
Is this a bug somewhere in HPUX 10,x and 11.x os or "symlink" c library method, who knows?There are groups of nodes running HPUX, for example groupA, groupB etc.The problems appears in groupA but not in groupB. Seems the nodes are configured differently.While I would love to know if this is a configuration issue, it appears that way to me, there would be little I could do about it. Politics you know, but that's okay, in time someone would listen.
In linux, I can grep a string from a file using grep mySearchString myFile.txt.
How can I only get the result which are unique?
I read a lot of PDF documents using the default Document Viewer and I am wondering whether there is an application or a hack to have several PDF files concurrently open in one application (maybe like tabs in a browser?) since switching between one application to a specific PDF always takes time.(Especially with more than 4 PDF files concurrently running.)
View 5 Replies View RelatedI recently found myself in possession of a large file (a few million lines in length) of short strings and would like to count the number of lines that are unique to the file. I thought this would be an easy process, but while working on the problem, I encountered the following. Can anyone explain this weird result to me?
Code:
alaric@alaric-laptop:~/Documents/Programming$ grep '^string$' file.txt | uniq | wc -l
1
[code]....
As the title says, I'm interested in two (or more) simultaneous keyboards, each with a unique layout. Everything I've researched indicates this should be possible, but I'm unable to get it to work. Regardless of how I set things up, all keyboards consistently operate as if they share the CoreDevice setting in xorg.conf.
In the above config, both keyboards behave as if they're set for the USA layout. Changing the layout in gnome-keyboard-properties affects all of the connected keyboards equally, but has no provision for altering individual devices.
I am trying to create users accounts reading from a file. I can get it to show if the user already exists but I want it to instead of not creating the user account to create e.g. Scott1 etc.The code i have so far is :
#!/bin/bash
while read line
do
[code]...
Since 2005 when DualCore CPUs came out, you need to create unique multithread algorithms for every particular program? Or you have patterns?
View 4 Replies View RelatedI have a few generic USB sticks lying around, and a few more SD/microSD chips that I use with openSUSE. Is there any way to label/ID them so they mount at unique points in /media, so I don't blast one accidentally? In mkfs.vfat there is a "-n volume-name" that looks promising, but I can't find a way to set that after the mkfs.
View 2 Replies View Related