| 1) William L. Maltby Re: [CentOS] CD burning issues & questions |
|
|
| Yes. AFAIK, no mounted FS can be easily (I'm not sure about impossible) "reformatted" or "erased"... |
|
|
|
|
|
|
|
On Wed, 2008-12-31 at 11:09 -0800, MHR wrote: > On Wed, Dec 31, 2008 at 10:37 AM, William L. Maltby > <CentOS4Bill@triad.rr.com> wrote: > > > > As to the "in use" part, I'll make a SWAG (Scientific Wild-Ass Guess). > > > > With a normal desktop, when you insert a CD/DVD that has something > > recognizable on it, an "automount" occurs that gives you access to the > > thing from your desktop. I know notthing about the k3*, so I don't know > > if the following is possible. > > > > Is it possible that it is mounted as another user? If it is mounted at > > all, does k3* allow you to erase, write, etc? I would think that it > > would need to be un-mounted for that to occur. > > > > Actually, I did think of that. I tried running the cdrecord erase > command with sudo (as root) and it made no difference - still couldn't > "lock" the device. > > Should I unmount the disk and then try the erase command? That seems > kind of odd, but I'll try it tonight anyway....
Yes. AFAIK, no mounted FS can be easily (I'm not sure about impossible) "reformatted" or "erased" (both are effectively removing the file system). One of the nice things an OS does (or should do) if prevent destruction of "active" file systems. If mounted, it is active. Try the umount and then working on it. BTW, for DVD if IIRC, you _might_ need to "format". Unsure of that though. I know a "virgin" needs formatting. Maybe the desktop ICON can be right-clicked and cause an unmount without ejecting and making the icon disappear? If so, then that would let you continue to operate on it via the desktop tools. I've not tried that, but it _seems_ it should work. I mean, if the desktop can recognize a "blank" media and allow you to format, burn, etc., even though there is no file system there, it should not (IMO) remove the icon just because it is unmounted. Once unmounted, the media is not "active" and could (s/b IMO) be treated just like a blank media.
|
|
|
| 2) William L. Maltby Re: [CentOS] CD burning issues & questions |
|
|
| As to the "in use" part, I'll make a SWAG (Scientific Wild-Ass Guess). With a normal desktop, when... |
|
|
|
|
|
|
|
On Wed, 2008-12-31 at 10:27 -0800, MHR wrote: > I have been having some strange results trying to burn CDs under > CentOS. I don't think they are hardware related because I have had > some success, in fact most of this usually works. > > I use k3b for most of my CD and DVD writing - it seems to work fairly > well (well, except for wrecking my installation a few weeks ago when > it crashed my installation and I had to reinstall to get it back, but > that's old news). > > Yesterday, of my work desktop (32-bit), I tried to burn a CD with k3b. > The system hung as soon as I clicked on the start button in the burn > menu. I did not want another case of wrecked system, so I rebooted > (no other way to interrupt it) and all went well, except that I didn't > even try to burn the CD. (I used my other, backup desktop, and it > worked fine over there - hmm....) > > Then, last night, on my home desktop (64-bit), which is usually solid > as a rock, no problems whatsoever (I said "usually"), I had similar > problems, though not quite as bad. I was trying to erase some CD-RWs, > and I kept getting errors, both from k3b and cdrecord, claiming that > they could not lock the drive for exclusive access (because another > process was accessing the device). This is really annoying because > I've tried this one several CD-RWs, and they all get the same error. > Since k3b doesn't include a facility to add data to an already written > CD or DVD unless there's a specific project for it (which I don't have > 'cuz the CDs were written under Window$ or with projects I didn't > keep). > > Any ideas/suggestions?
As to the "in use" part, I'll make a SWAG (Scientific Wild-Ass Guess). With a normal desktop, when you insert a CD/DVD that has something recognizable on it, an "automount" occurs that gives you access to the thing from your desktop. I know notthing about the k3*, so I don't know if the following is possible. Is it possible that it is mounted as another user? If it is mounted at all, does k3* allow you to erase, write, etc? I would think that it would need to be un-mounted for that to occur. That's all I can think of. Can you right-click on the icon and see what the system thinks about it? What does a mount command show? > > Thanks.> > mhr> <snip>Sorry I have nothing more knowledgeable. I always use the cdr tools for my stuff. HTH
|
|
|
| 3) William L. Maltby Re: [CentOS] Anaconda crash during Centos 5.2 installation. |
|
|
| Just a thought along another tack: have you verified the hardware is good? That thouyght strikes me... |
|
|
|
|
|
|
|
On Wed, 2008-12-31 at 13:36 +0100, Alain PORTAL wrote: > Le mardi 30 décembre 2008 à19:53, Lanny Marcus a écrit : > > > As Mark (mhr) mentioned, it might not run on that box. I suggest you > > download the "Live CD" for CentOS 5.2 and test it with that. If it > > doesn't run on the Live CD, it probably is not going to run on that > > box..... GL > > Trying in graphical mode and text mode, I get a lot of errors message such as: > SQUASHFS error Unable to read page, block 2a673ccd, srclength 65536 > SQUASHFS error zlib_fs returned unexpected result 0xfffffffd size 5230 > > I verified iso image (sha1sum) before burning it. > k3b (Fedora Core 6) report burn successful. > Is there a way with the Live CD to check the media before using it?
Just a thought along another tack: have you verified the hardware is good? That thouyght strikes me because of the nature of the messages you are getting. I have a mainboard with the VIA 8237 chipset and nvidia graphics (I don't recall which model ATM) and run 5.x w/o problems. If the unit has been around a long time, try re-seating all the memory, cables, PS connectors, etc. Have you run a memtest86(?). Does a visual inspection show any signs of distress on the board (discoloration of capacitors, leaking, etc)? Check BIOS settings too - maybe something set wrongly? Is the CMOS battery good? Do BIOS settings hold? > > Regards,> AlainHTH
|
|
|
| 4) William L. Maltby Re: [CentOS] How to change an executable into a directory |
|
|
| <snip> Having read the rest of the posts, maybe you can recover the critical pieces by going to the... |
|
|
|
|
|
|
|
<snip> Having read the rest of the posts, maybe you can recover the critical pieces by going to the bill site again. Most that I use allow a payment history display. If what you're looking for is a saved confirmation of you activity, maybe that will do. Many of those I use show the post date and confirmation number and amount. Maybe that will suffice? Remember to remove/rename those problem files before doing it. HTH
|
|
|
| 5) William L. Maltby Re: [CentOS] How to change an executable into a directory |
|
|
| Since "file" works by examining a few initial bytes/lines, it can be fooled. You might want to... |
|
|
|
|
|
|
|
On Tue, 2008-12-30 at 10:36 -0800, MHR wrote: > On Tue, Dec 30, 2008 at 10:09 AM, Kai Schaetzl <maillists@conactive.com> wrote: > > Mhr wrote on Tue, 30 Dec 2008 09:57:11 -0800: > > > >> I just discovered that a couple of files on my system are ELF > >> executables when they should be directories. How do I change a file > >> into a directory? I don't think I've ever run into this one > >> before.... > > > > I think you should really explain that a bit. > > > > Yes, quite. > > I save a fair number of web pages (receipts, bill payments, etc.) for > what should be obvious reasons. > > Usually, these come down as an html file and a directory (of "sub-html" files). > > I have two files that correspond to two html files in the right file > name format that seem as though they should be the _files directories, > but they are ELF files: > > [[email protected: mri...@swordfish] mhrdocs]$ file *_files > chv81128_files: ELF 32-bit LSB shared object, Intel 80386, version 1 > (SYSV), stripped > chX81125_files: ELF 32-bit LSB shared object, Intel 80386, version 1 > (SYSV), stripped
Since "file" works by examining a few initial bytes/lines, it can be fooled. You might want to examine them by "strings" or, if they really are executables, readelf. This might give a clue as to what went wrong. I know when I save web pages a related directory is created that contains images and whatnot that are referenced by the page. I presume this is what you expected? AFAIK there is no way to make a directory out of a file on Linux (unlike real UNIX(TM) which has "standard" i-nodes regardless of file or directory being mapped). How did it happen? I could only guess that something ran removed the directory and put a file there or something in the save process went awry and made a file, possibly the real files concatenated. If you can see the structure of the file, maybe some kind of manual edit will let you break out the files. If there's images of various types in there, I wouldn't bet on it. > [[email protected: mri...@swordfish] mhrdocs]$ ll *_files> -r--r--r-- 1 mrichter RnD 596460 May 29 2008 chv81128_files> -r--r--r-- 1 mrichter RnD 43756 May 29 2008 chX81125_filesSee what readelf says about those files. > > These correspond to two html files which do not display correctly> (because the files that are supposed to be in those directories are> not because the directories appear to be executables. I don't really> think I want to try running them....> > So, is there a way to change a file into a directory? Or am I crazy?Not mutually exclusive are they? ;-) No way that I know of. The rename, mkdir, manual breakout is the only possible way I can envision ATM. > > Thanks.> > mhr> <snip sig stuff>HTH
|
|
|
| 6) William L. Maltby Re: [CentOS] yum cannot find bittorent rpm at dag |
|
|
| Yeah, but I'm all for flexibility. I tested and found I could leave both installed. I tested and... |
|
|
|
|
|
|
|
On Mon, 2008-12-29 at 12:23 -0800, MHR wrote: > On Mon, Dec 29, 2008 at 11:22 AM, William L. Maltby > <snip>
> > Note that the "protect=0" is needed for priorities to work. > > > > This is only true if you have both the yum-protectbase and > yum-priorities plugins installed, in which case you should remove the > protectbase plugin - it is recommended that you _not_ run both > together.
Yeah, but I'm all for flexibility. I tested and found I could leave both installed. I tested and found that just disabling protect and setting priorities worked as I wanted. So I ignored the "remove it" suggestions that abound and just disabled. AFAICT, this is equivalent to "remove it" except that I can switch modes more easily.
|
|
|
| 7) William L. Maltby Re: [CentOS] yum cannot find bittorent rpm at dag |
|
|
| Just be aware that that version doesn't have the latest "in the wild" features. When I looked into... |
|
|
|
|
|
|
|
On Mon, 2008-12-29 at 11:07 -0800, MHR wrote: > On Mon, Dec 29, 2008 at 10:44 AM, James B. Byrne <byrnejb@harte-lyne.ca> wrote: > > > > I am trying to get the x86_64 isos of CentOS-5.2. I wish to use > > bittorrent. The last time that I did this I required the bittorent > > package from Dag's repository. > > Try rpmforge - https://rpmrepo.org/RPMforge > > It's there: > > bittorrent.noarch 4.4.0-1.el5.rf rpmforge > bittorrent-gui.noarch 4.4.0-1.el5.rf rpmforge
Just be aware that that version doesn't have the latest "in the wild" features. When I looked into porting the latest some months back, I found too many changes need for my experience level (python. gtk2?, ... and more). If you don't need all the "glitz", maybe one of the others would do? I use and like rtorrent, but there's also this stuff Available Packages ctorrent.i386 1.3.4-3.dnh2.1.el5.kb kbs-CentOS-Testi ktorrent.i386 2.2.1-1.el5.rf rpmforge libtorrent-devel.i386 0.12.0-1.el5.rf rpmforge torrentzip.i386 0.2-1.el5.rf rpmforge There's others that don't have torrent in the package name, but I can't recall them ATM. I saw them when I was running rtorrent to share my 5.2 images though. A browse of the rpmforge site should lead you to alternatives if you have the interest in them.
|
|
|
| 8) William L. Maltby Re: [CentOS] yum cannot find bittorent rpm at dag |
|
|
| I'm 386, but that shouldn't be all that different. Is it possible that bittorrent is only available... |
|
|
|
|
|
|
|
On Mon, 2008-12-29 at 13:44 -0500, James B. Byrne wrote: > I am trying to get the x86_64 isos of CentOS-5.2. I wish to use > bittorrent. The last time that I did this I required the bittorent > package from Dag's repository. I have configured > /etc/yum.repos.d/DagWieers.repo thus: > > [dag] > nameÚg Wieers RPM Repository for Red Hat Enterprise Linux > #Also see URL http://dag.wieers.com/home-made/apt/ > baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag > gpgcheck=1 > # This repo often does not respond in a timely fashion so turned off > # by default. Use yum --enablerepoÚg to use. > enabled=0 > gpgkey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt > includepkgs=bittorrent* perl* > # priority requires yum-priorities. Must also be enabled in /etc/yum.conf > # and /etc/yum/pluginconf.d/priorities.conf. > priority
I'm 386, but that shouldn't be all that different. Is it possible that bittorrent is only available as a 386 package? $ yum list installed \*torrent\* Loaded plugins: allowdowngrade, changelog, downloadonly, fastestmirror, : fedorakmod, kernel-module, priorities, tsflags, versionlock Installed Packages bittorrent.noarch 4.4.0-1.el5.rf installed bittorrent-gui.noarch 4.4.0-1.el5.rf installed libtorrent.i386 0.12.0-1.el5.rf installed rtorrent.i386 0.8.0-1.el5.rf installed The above makes me think (being essentially ignorant about all this rpm stuff) that you might need to over-ride your architecture? And I got then from rpmforge, not Dag's place so I don't know if it's there or not. I'm not sure how current that dag repo is. I know that Dag has been involved in trying to get rpmforge going, some kind of involvement with other repos, etc. FWIW, I've this rpmforge setup. $ cat /etc/yum.repos.d/rpmforge.repo # Name: RPMforge RPM Repository for Red Hat Enterprise 5 - dag # URL: http://rpmforge.net/[rpmforge] name = Red Hat Enterprise $releasever - RPMforge.net - dag #baseurl = http://apt.sw.be/redhat/el5/en/$basearch/dag mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge enabled = 1 protect = 0 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag gpgcheck = 1 priority # includepkgs=rtorrent.i386 libtorrent.i386 libsigc++20.i386 nvidia-x11-drv Note that the "protect=0" is needed for priorities to work. > Then I run yum thus:>> # yum --enablerepoÚg whatprovides bittorent>> But yum cannot find bittorrent.I only use the rtorrent, which has the DHT feature, so I really can't offer any more than what I have above. Sorry. HTH
|
|
|
| 9) William L. Maltby Re: [CentOS] Bash Script for Beginners! oh dear :'( |
|
|
| Ought to work. That's the purpose of the '\;' IIRC. Here's a similar test. -rw------- 1 wild-bill... |
|
|
|
|
|
|
|
On Wed, 2008-12-24 at 01:34 +0100, Matej Cepl wrote: > On 2008-12-23, 12:15 GMT, James Bensley wrote: > > find . -exec grep -q "$1" '{}' \; -print >> ./found_files > > I think you can have only one action (either -exec or -print), > but not sure about it. Anyway, my first instinct when things are
Ought to work. That's the purpose of the '\;' IIRC. Here's a similar test. $ \ > find .mozilla -name 'plugin*' -exec ls -ld {} \; -print-rw------- 1 wild-bill hardtolove 1817 Feb 29 2008 .mozilla/pluginreg.dat- .mozilla/pluginreg.dat- drwxr-xr-x 2 wild-bill wild-bill 4096 Apr 2 2008 .mozilla/plugins .mozilla/plugins -rw------- 1 wild-bill hardtolove 7662 Jun 14 2008 .mozilla/firefox/pluginreg.dat- .mozilla/firefox/pluginreg.dat- -rw------- 1 wild-bill wild-bill 5225 Nov 27 07:18 .mozilla/firefox/iqa6tz9r.default/pluginreg.dat- .mozilla/firefox/iqa6tz9r.default/pluginreg.dat- -rw------- 1 wild-bill wild-bill 5817 Dec 7 08:45 .mozilla/firefox/iqa6tz9r.default/pluginreg.dat-2 .mozilla/firefox/iqa6tz9r.default/pluginreg.dat-2 -rw------- 1 wild-bill wild-bill 5817 Dec 7 08:45 .mozilla/firefox/iqa6tz9r.default/pluginreg.dat .mozilla/firefox/iqa6tz9r.default/pluginreg.dat
|
|
|
| 10) William L. Maltby Re: [CentOS] [OT SOLVED... sort of] Firefox loses plugins, anyone else? Bug? Known? |
|
|
| I figured I better post a SOLVED for this. In the main thread it is still open as to whether a new... |
|
|
|
|
|
|
|
I figured I better post a SOLVED for this. In the main thread it is still open as to whether a new bug should be posted. Short form: don't have FF check and set itself as default browser, rather run gnome-default-applications-properties and select the firefox icon rather than "Custom" command.
On Tue, 2008-12-23 at 10:58 -0500, William L. Maltby wrote: > On Mon, 2008-12-22 at 18:49 -0500, William L. Maltby wrote: > > SYNOPSIS: Bug between Firefox and > > > > gnome-default-applications-properties > > > > somewhere. > > > > When FF is set to check to see if it is the default browser and it is > > not and the user selects "Yes" to make it the default, FF writes the > > full path to the /usr/lib instance in the command and sets the preferred > > browser to "Custom". > > > > This causes the symptoms that have been seen, including the truncation > > of pluginreg.dat. > > > > If the user responds "No" when FF asks if it should be the default > > browser, the settings that were selected in > > > > gnome-default-applications-properties > > > > hold and the adverse symptoms are not seen. > > > > WORKAROUND: tell firefox "No" or to _not_ check to see if it is the > > default browser after running gnome-default-applications-properties and > > selecting it there. > > > > CONCLUSION: The gnome-default-applications-properties apparently gets > > the binary in /usr/bin while FF itself bypasses this binary and goes > > directly to the /usr/lib/ firefox instance. In this case the adverse > > symptoms are seen. > > > > Bug somewhere, I presume FF since the > > > > gnome-default-applications-properties > > > > settings work OK and it accesses the binary in /usr/bin. > > > > More detail that you ever wanted to know follows. > > <snip> > > BTW, I forgot to pull a basic check, so here it is. > > $ rpm -qf /usr/lib/firefox-3.0.5/firefox /usr/bin/firefox > firefox-3.0.5-1.el5.centos.i386 > firefox-3.0.5-1.el5.centos.i386 >
_______________________________________________ CentOS mailing list [email protected: C...@centos.org] http://lists.centos.org/mailman/listinfo/centos
|
|
|
| 11) William L. Maltby Re: [CentOS] tripwire on centos 5 |
|
|
| I didn't hink I was being malicious. I looked again and found lots of combinations of CentOS 5 and... |
|
|
|
|
|
|
|
On Tue, 2008-12-23 at 23:23 +0100, Mariusz wrote: > i checked google.. but i found only on centos 4, my question was: on centos > 5, so please don't be malicious ;)I didn't hink I was being malicious. I looked again and found lots of combinations of CentOS 5 and tripwire. Most would not have helped you, but the ones I looked at mentioned ways to build from source, mentioned that it was not being made available from upstream on CentOS 5 and also recommended some of the same packages that other responders mentioned in this thread. Short summary: what you have been told in this thread was already available in CentOS list archives and forum postings.
|
|
|
| 12) William L. Maltby Re: [CentOS] tripwire on centos 5 |
|
|
| I've never used it anywhere. But I learned from watching the list to google first. tripwire... |
|
|
|
|
|
|
|
On Tue, 2008-12-23 at 22:58 +0100, Mariusz wrote: > Does anybody use tripwire on centos 5? Has anybody checked that:> http://www.linickx.com/archives/281/tripwire-2411-rpm-for-centos-redhat-rhel-4 on centos5?I've never used it anywhere. But I learned from watching the list to google first. tripwire site:centos.org That gave about 175 hits. Maybe that will help you too? | | | |