Re: [CentOS] How should I reinstall CentOS?
On Wed, 30 Oct 2013, Les Mikesell wrote: On Wed, Oct 30, 2013 at 3:22 PM, Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: 2616 was in gdm.pid . --nodaemon? Here is the result of strace on it: restart_syscall(... resuming interrupted call ...) = 1 read(3, l\4\1\1\36\0\0\0\17\0\0\0\211\0\0\0\1\1o\0\25\0\0\0/org/fre..., 2048) = 380 read(3, 0x87d3eb8, 2048)= -1 EAGAIN (Resource temporarily unavailable) That seems odd. If you do : ls -l /proc/2616/fd/3 you should see the file it is trying to read.(maybe loading a shared library, but the read should not be short like that. This time it was pid 2859 and file descriptor 4, which pointed to pipe[20775] . From lsof: gdm-binar 2859 root4r FIFO0,8 0t0 20775 pipe gdm-binar 2859 root5w FIFO0,8 0t0 20775 pipe Both ends of the pipe appear to be in the same process. While gdm was hanging, I did a startx -- 4 from virtual terminal 4. It seemed to work, but crapped out while I was composing an e-mail. From Xorg.4.log: (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 1317.695] Initializing built-in extension MIT-SCREEN-SAVER [ 1318.593] (EE) PreInit returned 8 for HDA ATI HDMI HDMI/DP,pcm=3 [ 1318.593] (EE) config/hal: NewInputDeviceRequest failed (8) Don't know what that means. 'Tis something I've looked for before without learning anything. -- Michael henne...@web.cs.ndsu.nodak.edu On Monday, I'm gonna have to tell my kindergarten class, whom I teach not to run with scissors, that my fiance ran me through with a broadsword. -- Lily ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
Michael Hennebry wrote: On Wed, 30 Oct 2013, Les Mikesell wrote: On Wed, Oct 30, 2013 at 12:28 PM, Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: gdm hangs. [...] user had insufficient privilege That likely means that the pid file for the process you are about to start exists in /var/run/ but it is unreadable. You should be running as root at that point, so that's odd, but maybe you have file system corruption or some other cruft there. I don't think should cause a hang, though.If you switch to a virtual console can you tell what process is hung and see what strace says it is waiting for? I know what strace does, but where should I use it? strace -p PID of gdm mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On Wed, 30 Oct 2013, m.r...@5-cent.us wrote: Michael Hennebry wrote: I know what strace does, but where should I use it? strace -p PID of gdm I've made three posts since then. Two of them mentioned using strace on gdm. Are you not getting my posts? -- Michael henne...@web.cs.ndsu.nodak.edu On Monday, I'm gonna have to tell my kindergarten class, whom I teach not to run with scissors, that my fiance ran me through with a broadsword. -- Lily ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
-Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Tuesday, October 29, 2013 5:25 PM To: CentOS mailing list Subject: Re: [CentOS] How should I reinstall CentOS? On Tue, Oct 29, 2013 at 3:47 PM, Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: SNIP I'm not willing to put in another week of effort out of a probably vain hope of discovery. You might try running 'rpm -Va' to see if there are any surprises in the list of differences between the current state and what was installed. -- Les Mikesell lesmikes...@gmail.com Note on the rpm -Va... I had an issue recently where a package (openoffice) would not work correctly and: yum reinstall openoffice\* #did not help rpm -Va #did not find ANY issues (which surprised me when I did figure out what was wrong) however doing a (I did a more restricted, to openoffice files, version of) find /usr/ -not -perm -o+r -exec ls -lhd {} + find /usr/ -type d -not -perm -g+x -exec ls -lhd {} + find /usr/ -type d -not -perm -o+x -exec ls -lhd {} + found files that were not even set to write for ROOT (and in general had NO permission for anyone else)! The idea is basically that almost all files in /usr/ should be READABLE by any user and almost all directories should be READABLE EXECUTABLE by all so that they can list and read the files in them. I don't know if the commands at http://www.cyberciti.biz/tips/reset-rhel-centos-fedora-package-file-perm ission.html would have fixed the issue, because I brute forced the perms to root writeable and then reinstalled the packages again. BTW, I still feel a little confused on what the OP's original problem was and why they are headed in the direction of a 'reinstall the system'. Seems a bit overkill for most problems. Even when this disclaimer is not here: I am not a contracting officer. I do not have authority to make or modify the terms of any contract. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On Wed, 30 Oct 2013, Denniston, Todd A CIV NAVSURFWARCENDIV Crane wrote: BTW, I still feel a little confused on what the OP's original problem was and why they are headed in the direction of a 'reinstall the system'. Seems a bit overkill for most problems. gdm hangs. All attempts at diagnosis or repair have failed. I've done a yum reinstall \* Most recently I did an explicit uninstall of gdm and its dependents. After installing them again I issued the following command: [root@localhost] hennebry# telinit 5 [root@localhost] hennebry# Calling the system activity data collector (sadc): Starting portreserve: [OK] Enabling p4-clockmod driver (passive cooling only): [OK] Starting irqbalance:[OK] Retrigger failed udev events: [OK] Enabling Bluetooth devices user had insufficient privilege After I got back from another virtual terminal, the subsequent lines had appeared. I do not have any bluetooth devices. I really hate having to reinstall the system. It's giving up, but I'm beaten. What is worse, I do not even know whether the reinstall will work. -- Michael henne...@web.cs.ndsu.nodak.edu On Monday, I'm gonna have to tell my kindergarten class, whom I teach not to run with scissors, that my fiance ran me through with a broadsword. -- Lily ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On Wed, 30 Oct 2013, Reindl Harald wrote: Am 30.10.2013 18:28, schrieb Michael Hennebry: On Wed, 30 Oct 2013, Denniston, Todd A CIV NAVSURFWARCENDIV Crane wrote: BTW, I still feel a little confused on what the OP's original problem was and why they are headed in the direction of a 'reinstall the system'. Seems a bit overkill for most problems. gdm hangs. All attempts at diagnosis or repair have failed. I've done a yum reinstall \* and the same will happen on the rfresh install A repetition of the past would be an impovement. I had several months before gdm started hanging. Most recently I did an explicit uninstall of gdm and its dependents. After installing them again I issued the following command: [root@localhost] hennebry# telinit 5 [root@localhost] hennebry# Calling the system activity data collector (sadc): Starting portreserve: [OK] Enabling p4-clockmod driver (passive cooling only): [OK] Starting irqbalance:[OK] Retrigger failed udev events: [OK] Enabling Bluetooth devices user had insufficient privilege After I got back from another virtual terminal, the subsequent lines had appeared. I do not have any bluetooth devices. so disable Bluetooth services would be a start to solve the problem chkconfig --help chkconfig --list in general: disable *all* unsued services do you use NFS? if not why portreserve get started? After getting rid of portreserve, nfslock and bluetooth, the only change was that Enabling Bluetooth devices no longer appeared. -- Michael henne...@web.cs.ndsu.nodak.edu On Monday, I'm gonna have to tell my kindergarten class, whom I teach not to run with scissors, that my fiance ran me through with a broadsword. -- Lily ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On Wed, Oct 30, 2013 at 12:28 PM, Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: gdm hangs. [...] user had insufficient privilege That likely means that the pid file for the process you are about to start exists in /var/run/ but it is unreadable. You should be running as root at that point, so that's odd, but maybe you have file system corruption or some other cruft there. I don't think should cause a hang, though.If you switch to a virtual console can you tell what process is hung and see what strace says it is waiting for? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On Wed, 30 Oct 2013, Les Mikesell wrote: On Wed, Oct 30, 2013 at 12:28 PM, Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: gdm hangs. [...] user had insufficient privilege That likely means that the pid file for the process you are about to start exists in /var/run/ but it is unreadable. You should be running as root at that point, so that's odd, but maybe you have file system corruption or some other cruft there. I don't think should cause a hang, though.If you switch to a virtual console can you tell what process is hung and see what strace says it is waiting for? I know what strace does, but where should I use it? -- Michael henne...@web.cs.ndsu.nodak.edu On Monday, I'm gonna have to tell my kindergarten class, whom I teach not to run with scissors, that my fiance ran me through with a broadsword. -- Lily ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On Wed, Oct 30, 2013 at 2:40 PM, Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: On Wed, 30 Oct 2013, Les Mikesell wrote: On Wed, Oct 30, 2013 at 12:28 PM, Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: gdm hangs. [...] user had insufficient privilege That likely means that the pid file for the process you are about to start exists in /var/run/ but it is unreadable. You should be running as root at that point, so that's odd, but maybe you have file system corruption or some other cruft there. I don't think should cause a hang, though.If you switch to a virtual console can you tell what process is hung and see what strace says it is waiting for? I know what strace does, but where should I use it? Either ssh in from somewhere else or log in on a virtual terminal (e.g. alt+F2) so you still have access if the main console hangs when you 'telinit 5'. Use ps in the other session to see if you can find the hung process and then 'strace -p pid' will show if it is waiting for some system call to complete. Does 'startx' work at the console from runlevel 3? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On Wed, 30 Oct 2013, Les Mikesell wrote: On Wed, Oct 30, 2013 at 2:40 PM, Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: On Wed, 30 Oct 2013, Les Mikesell wrote: On Wed, Oct 30, 2013 at 12:28 PM, Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: gdm hangs. [...] user had insufficient privilege That likely means that the pid file for the process you are about to start exists in /var/run/ but it is unreadable. You should be running as root at that point, so that's odd, but maybe you have file system corruption or some other cruft there. I don't think should cause a hang, though.If you switch to a virtual console can you tell what process is hung and see what strace says it is waiting for? I know what strace does, but where should I use it? Either ssh in from somewhere else or log in on a virtual terminal (e.g. alt+F2) so you still have access if the main console hangs when you 'telinit 5'. Use ps in the other session to see if you can find the hung process and then 'strace -p pid' will show if it is waiting for some system call to complete. root 2616 1 0 14:46 ?00:00:00 /usr/sbin/gdm-binary -nodaemon root 2636 2616 0 14:46 ?00:00:00 /usr/libexec/gdm-simple-slave --display-id /org/gnome/DisplayManager/Display1 root 2638 2636 0 14:46 tty7 00:00:00 /usr/bin/Xorg :0 -br -verbose -audit 4 -auth /var/run/gdm/auth-for-gdm-q5Pjv4/database -nolisten tcp gdm 2654 2636 0 14:46 ?00:00:00 [dbus-launch] defunct gdm 2657 1 0 14:46 ?00:00:00 /usr/bin/dbus-launch --exit-with-session gdm 2658 1 0 14:46 ?00:00:00 /bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session root 2728 2666 0 14:52 tty2 00:00:00 strace -o /tmp/gdm.strace -p2616 root 2999 2736 0 15:05 tty3 00:00:00 grep -e org -e gdm 2616 was in gdm.pid . --nodaemon? Here is the result of strace on it: restart_syscall(... resuming interrupted call ...) = 1 read(3, l\4\1\1\36\0\0\0\17\0\0\0\211\0\0\0\1\1o\0\25\0\0\0/org/fre..., 2048) = 380 read(3, 0x87d3eb8, 2048)= -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}], 2, 0) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}], 2, 0) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}], 2, -1) = 1 ([{fd=3, revents=POLLIN}]) read(3, l\4\1\1\36\0\0\0\21\0\0\0\211\0\0\0\1\1o\0\25\0\0\0/org/fre..., 2048) = 190 read(3, 0x87d3eb8, 2048)= -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}], 2, 0) = 0 (Timeout) ... poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}], 2, 0) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}], 2, -1) = 1 ([{fd=3, revents=POLLIN}]) read(3, l\4\1\1\36\0\0\0\31\0\0\0\211\0\0\0\1\1o\0\25\0\0\0/org/fre..., 2048) = 190 read(3, 0x87d3eb8, 2048)= -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}], 2, 0) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}], 2, -1) = 1 ([{fd=3, revents=POLLIN}]) read(3, l\4\1\1\35\0\0\0\32\0\0\0\211\0\0\0\1\1o\0\25\0\0\0/org/fre..., 2048) = 189 read(3, 0x87d3eb8, 2048)= -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}], 2, 0) = 0 (Timeout) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}], 2, -1 BTW after issuing messages, telinit lets me use the console. Does 'startx' work at the console from runlevel 3? I'll try it. -- Michael henne...@web.cs.ndsu.nodak.edu On Monday, I'm gonna have to tell my kindergarten class, whom I teach not to run with scissors, that my fiance ran me through with a broadsword. -- Lily ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On Wed, 30 Oct 2013, Les Mikesell wrote: I know what strace does, but where should I use it? Either ssh in from somewhere else or log in on a virtual terminal (e.g. alt+F2) so you still have access if the main console hangs when you 'telinit 5'. Use ps in the other session to see if you can find the hung process and then 'strace -p pid' will show if it is waiting for some system call to complete. Does 'startx' work at the console from runlevel 3? Yes. As root it complains, but does it. If I su to myself, 'twon't run. If I login as myself, it seems to run correctly. Got to go right now. -- Michael henne...@web.cs.ndsu.nodak.edu On Monday, I'm gonna have to tell my kindergarten class, whom I teach not to run with scissors, that my fiance ran me through with a broadsword. -- Lily ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On Wed, Oct 30, 2013 at 3:22 PM, Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: 2616 was in gdm.pid . --nodaemon? Here is the result of strace on it: restart_syscall(... resuming interrupted call ...) = 1 read(3, l\4\1\1\36\0\0\0\17\0\0\0\211\0\0\0\1\1o\0\25\0\0\0/org/fre..., 2048) = 380 read(3, 0x87d3eb8, 2048)= -1 EAGAIN (Resource temporarily unavailable) That seems odd. If you do : ls -l /proc/2616/fd/3 you should see the file it is trying to read.(maybe loading a shared library, but the read should not be short like that. Does 'startx' work at the console from runlevel 3? I'll try it. It might make the machine usable to do that instead of a gdm login. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
Les Mikesell wrote: On Wed, Oct 30, 2013 at 2:40 PM, Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: On Wed, 30 Oct 2013, Les Mikesell wrote: On Wed, Oct 30, 2013 at 12:28 PM, Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: gdm hangs. [...] user had insufficient privilege That likely means that the pid file for the process you are about to start exists in /var/run/ but it is unreadable. You should be running as root at that point, so that's odd, but maybe you have file system corruption or some other cruft there. I don't think should cause a hang, though.If you switch to a virtual console can you tell what process is hung and see what strace says it is waiting for? I know what strace does, but where should I use it? Either ssh in from somewhere else or log in on a virtual terminal (e.g. alt+F2) so you still have access if the main console hangs when you 'telinit 5'. Use ps in the other session to see if you can find the hung process and then 'strace -p pid' will show if it is waiting for some system call to complete. Does 'startx' work at the console from runlevel 3? Interesting question: can you run xinit with twm? How about kde? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On Mon, 28 Oct 2013, Mark LaPierre wrote: On 10/28/2013 05:44 PM, Michael Hennebry wrote: On Sat, 26 Oct 2013, Michael Hennebry wrote: Absent other ideas, I might try re-installing CentOS or re-installing X. I did a yum reinstall \* . gdm or something still hangs. The gdm log suggests it is happy. After the install, I would restore the directory that listed all my repositories. This is a step I am not sure about. I have a vague recollection that that is not sufficient. What else would I need to do? Is there a command that I could use to record the repositories I am using and restore them after the install? I would use the yum listing to install everything I have now. Does this seem like a good plan? See: http://www.centos.org/modules/smartfaq/faq.php?faqid=50 Thank you, but my concern is not specific to X. X I can easily get from install options. I have repositories that are not listed in the install options. My recollection is that there is more to it than restoring a yum directory. There is a bunch of Berkely DB stuff under /var/lib/rpm . Would restoring /etc/yum.repos.d and /var/lib/rpm/Pubkeys be sufficient to activate all the repos from my old install? -- Michael henne...@web.cs.ndsu.nodak.edu On Monday, I'm gonna have to tell my kindergarten class, whom I teach not to run with scissors, that my fiance ran me through with a broadsword. -- Lily ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
Michael Hennebry wrote: On Mon, 28 Oct 2013, Mark LaPierre wrote: On 10/28/2013 05:44 PM, Michael Hennebry wrote: On Sat, 26 Oct 2013, Michael Hennebry wrote: Absent other ideas, I might try re-installing CentOS or re-installing X. I did a yum reinstall \* . gdm or something still hangs. The gdm log suggests it is happy. After the install, I would restore the directory that listed all my repositories. This is a step I am not sure about. I have a vague recollection that that is not sufficient. What else would I need to do? Is there a command that I could use to record the repositories I am using and restore them after the install? Actually, you could just look at /etc/yum.repos.d. In there, you can also check to see if the repo is enabled, or if there's includes or excludes. We do that here, because there are systems we do *NOT* want some things updated without someone doing it manually, like the ones with very old NVidia cards, where we have to manually rebuild the proprietary drivers, or production systems, where the teams want to test the updates before they go into production. snip mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
The nesting is getting a little deep. Michael Hennebry wrote: After the install, I would restore the directory that listed all my repositories. This is a step I am not sure about. I have a vague recollection that that is not sufficient. What else would I need to do? Michael Hennebry wrote: Is there a command that I could use to record the repositories I am using and restore them after the install? On Tue, 29 Oct 2013, m.r...@5-cent.us wrote: Actually, you could just look at /etc/yum.repos.d. In there, you can also check to see if the repo is enabled, or if there's includes or excludes. We do that here, because there are systems we do *NOT* want some things updated without someone doing it manually, like the ones with very old NVidia cards, where we have to manually rebuild the proprietary drivers, or production systems, where the teams want to test the updates before they go into production. Maybe I was not clear. I'm refering to reinstalling CentOS. My current CentOS hangs after trying to start gdm. My diagnostic efforts have been for nought, so I want to more or less start over. I already have a list of all the repositories I want. It's the contents of the aforementioned /etc/yum/repos.d . I could try to install every single repository by hand. I don't remember how I installed most of them, but I could try. I would probably succeed, but its not a certainty. Following that, I could install all the packages by hand. I could edit my list of installed packages and make a massive yum command. -- Michael henne...@web.cs.ndsu.nodak.edu On Monday, I'm gonna have to tell my kindergarten class, whom I teach not to run with scissors, that my fiance ran me through with a broadsword. -- Lily ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
Michael Hennebry wrote: The nesting is getting a little deep. Michael Hennebry wrote: After the install, I would restore the directory that listed all my repositories. This is a step I am not sure about. I have a vague recollection that that is not sufficient. What else would I need to do? Michael Hennebry wrote: Is there a command that I could use to record the repositories I am using and restore them after the install? On Tue, 29 Oct 2013, m.r...@5-cent.us wrote: Actually, you could just look at /etc/yum.repos.d. In there, you can also check to see if the repo is enabled, or if there's includes or excludes. We do that here, because there are systems we do *NOT* want some things updated without someone doing it manually, like the ones with very old NVidia cards, where we have to manually rebuild the proprietary drivers, or production systems, where the teams want to test the updates before they go into production. Maybe I was not clear. I'm refering to reinstalling CentOS. My current CentOS hangs after trying to start gdm. My diagnostic efforts have been for nought, so I want to more or less start over. I already have a list of all the repositories I want. It's the contents of the aforementioned /etc/yum/repos.d . I could try to install every single repository by hand. I don't remember how I installed most of them, but I could try. I would probably succeed, but its not a certainty. Following that, I could install all the packages by hand. I could edit my list of installed packages and make a massive yum command. Ok. What we use here at work are, besides the default repos, rpmfusion (free and non-free), epel, and Adobe (you know why...). For *very* special cases (like NVidia cards that *are* supported), I've got elrepo (with only the things needed for the NVidia card and xorg included from elrepo). mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On Tue, Oct 29, 2013 at 11:59 AM, Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: Maybe I was not clear. I'm refering to reinstalling CentOS. My current CentOS hangs after trying to start gdm. My diagnostic efforts have been for nought, so I want to more or less start over. I already have a list of all the repositories I want. It's the contents of the aforementioned /etc/yum/repos.d . I could try to install every single repository by hand. I don't remember how I installed most of them, but I could try. I would probably succeed, but its not a certainty. Following that, I could install all the packages by hand. I could edit my list of installed packages and make a massive yum command. Most repositories will have a 'name-release.rpm' where name is the name of the repository. This will install the entry under /etc/yum/repos.d and set up the gpg key for the rpms. If you have a URL to the repo release rpm, yum can install for you with: yum install URL However, note that your current problem may be related to something you've pulled from a 3rd party repository so you should avoid blindly repeating the process. I'd install/update the package list from the base repositories first, then add EPEL and others with a policy of not overwriting base packages and make sure everything works before installing anything from repos that may overwrite any base packages. I normally keep any in the latter category set as 'enabled = 0' in the repo file and use --enablerepo= on the yum command line when I want something from them. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On Tue, 29 Oct 2013, Les Mikesell wrote: Most repositories will have a 'name-release.rpm' where name is the name of the repository. This will install the entry under /etc/yum/repos.d and set up the gpg key for the rpms. If you have a URL to the repo release rpm, yum can install for you with: yum install URL Thank you. That is likely to be useful. However, note that your current problem may be related to something you've pulled from a 3rd party repository so you should avoid blindly repeating the process. I'd install/update the package list from the My system had been running for a while without my adding anything new. My expectation is that something glitched and changed something in a manner that had gdb waiting for something that will never happen. I'll never know. I'm not willing to put in another week of effort out of a probably vain hope of discovery. One change I will make is that I will install and use priorities sooner. base repositories first, then add EPEL and others with a policy of not overwriting base packages and make sure everything works before installing anything from repos that may overwrite any base packages. I normally keep any in the latter category set as 'enabled = 0' in the repo file and use --enablerepo= on the yum command line when I want something from them. -- Michael henne...@web.cs.ndsu.nodak.edu On Monday, I'm gonna have to tell my kindergarten class, whom I teach not to run with scissors, that my fiance ran me through with a broadsword. -- Lily ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On Tue, Oct 29, 2013 at 3:47 PM, Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: However, note that your current problem may be related to something you've pulled from a 3rd party repository so you should avoid blindly repeating the process. I'd install/update the package list from the My system had been running for a while without my adding anything new. My expectation is that something glitched and changed something in a manner that had gdb waiting for something that will never happen. I'll never know. But did yum update any packages? There's a certain amount of risk in having uncoordinated 3rd party repos enabled when you do updates even if you aren't intentionally adding/changing anything.Does /var/log/yum.log show anything around the time your problem started. I'm not willing to put in another week of effort out of a probably vain hope of discovery. You might try running 'rpm -Va' to see if there are any surprises in the list of differences between the current state and what was installed. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On Tue, 29 Oct 2013, Les Mikesell wrote: On Tue, Oct 29, 2013 at 3:47 PM, Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: However, note that your current problem may be related to something you've pulled from a 3rd party repository so you should avoid blindly repeating the process. I'd install/update the package list from the My system had been running for a while without my adding anything new. My expectation is that something glitched and changed something in a manner that had gdb waiting for something that will never happen. I'll never know. But did yum update any packages? There's a certain amount of risk in having uncoordinated 3rd party repos enabled when you do updates even if you aren't intentionally adding/changing anything.Does /var/log/yum.log show anything around the time your problem started. No updates for almost a month. -- Michael henne...@web.cs.ndsu.nodak.edu On Monday, I'm gonna have to tell my kindergarten class, whom I teach not to run with scissors, that my fiance ran me through with a broadsword. -- Lily ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On Tue, 29 Oct 2013, Les Mikesell wrote: Most repositories will have a 'name-release.rpm' where name is the name of the repository. This will install the entry under /etc/yum/repos.d and set up the gpg key for the rpms. If you have a These, for example: [hennebry@localhost rpms]$ ls atrpms-repo-6-6.el6.i686.rpm rpmforge-release-0.5.3-1.el6.rf.i686.rpm epel-release-6-8.noarch.rpm [hennebry@localhost rpms]$ ? URL to the repo release rpm, yum can install for you with: yum install URL -- Michael henne...@web.cs.ndsu.nodak.edu On Monday, I'm gonna have to tell my kindergarten class, whom I teach not to run with scissors, that my fiance ran me through with a broadsword. -- Lily ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
Michael Hennebry wrote: On Tue, 29 Oct 2013, Les Mikesell wrote: Most repositories will have a 'name-release.rpm' where name is the name of the repository. This will install the entry under /etc/yum/repos.d and set up the gpg key for the rpms. If you have a These, for example: [hennebry@localhost rpms]$ ls atrpms-repo-6-6.el6.i686.rpm rpmforge-release-0.5.3-1.el6.rf.i686.rpm epel-release-6-8.noarch.rpm [hennebry@localhost rpms]$ ? Urp. I have had conflicts with rpmforge, with (thinking back) epel and/or rpmfusion. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On Tue, Oct 29, 2013 at 5:20 PM, Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: On Tue, 29 Oct 2013, Les Mikesell wrote: Most repositories will have a 'name-release.rpm' where name is the name of the repository. This will install the entry under /etc/yum/repos.d and set up the gpg key for the rpms. If you have a These, for example: [hennebry@localhost rpms]$ ls atrpms-repo-6-6.el6.i686.rpm rpmforge-release-0.5.3-1.el6.rf.i686.rpm epel-release-6-8.noarch.rpm [hennebry@localhost rpms]$ ? Yes you can use a local copy of the rpm and either 'rpm -Uhv' it or 'yum localinstall' it. or: URL to the repo release rpm, yum can install for you with: yum install URL If you have the http URL that you used to download the rpm manually, you can just 'yum install URL. Older versions of yum could not do that so the documentation may not mention the simple approach. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On 10/29/2013 4:13 PM, Les Mikesell wrote: [hennebry@localhost rpms]$ ls atrpms-repo-6-6.el6.i686.rpm rpmforge-release-0.5.3-1.el6.rf.i686.rpm epel-release-6-8.noarch.rpm [hennebry@localhost rpms]$ ? Yes you can use a local copy of the rpm and either 'rpm -Uhv' it or 'yum localinstall' it. or: URL to the repo release rpm, yum can install for you with: yum install URL If you have the http URL that you used to download the rpm manually, you can just 'yum install URL. Older versions of yum could not do that so the documentation may not mention the simple approach. you also can... # rpm -ivh http://path.to/yum/repo/epel-release-6-8.noarch.rpm and rpm will wget the URL then install the downloaded file. this has worked for a LONG time. -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On Tue, 29 Oct 2013, Les Mikesell wrote: On Tue, Oct 29, 2013 at 5:20 PM, Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: On Tue, 29 Oct 2013, Les Mikesell wrote: Most repositories will have a 'name-release.rpm' where name is the name of the repository. This will install the entry under /etc/yum/repos.d and set up the gpg key for the rpms. If you have a These, for example: [hennebry@localhost rpms]$ ls atrpms-repo-6-6.el6.i686.rpm rpmforge-release-0.5.3-1.el6.rf.i686.rpm epel-release-6-8.noarch.rpm [hennebry@localhost rpms]$ ? Yes you can use a local copy of the rpm and either 'rpm -Uhv' it or 'yum localinstall' it. or: I should have been more clear: Are the above .rpm's repository install rpm's? I was hoping someone could tell me for sure. URL to the repo release rpm, yum can install for you with: yum install URL If you have the http URL that you used to download the rpm manually, you can just 'yum install URL. Older versions of yum could not do that so the documentation may not mention the simple approach. I do not. I started at the base urls given in .repo files and started looking for files that had the right names. -- Michael henne...@web.cs.ndsu.nodak.edu On Monday, I'm gonna have to tell my kindergarten class, whom I teach not to run with scissors, that my fiance ran me through with a broadsword. -- Lily ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On Tue, 29 Oct 2013, m.r...@5-cent.us wrote: Michael Hennebry wrote: On Tue, 29 Oct 2013, Les Mikesell wrote: Most repositories will have a 'name-release.rpm' where name is the name of the repository. This will install the entry under /etc/yum/repos.d and set up the gpg key for the rpms. If you have a These, for example: [hennebry@localhost rpms]$ ls atrpms-repo-6-6.el6.i686.rpm rpmforge-release-0.5.3-1.el6.rf.i686.rpm epel-release-6-8.noarch.rpm [hennebry@localhost rpms]$ ? Urp. I have had conflicts with rpmforge, with (thinking back) epel and/or rpmfusion. I have rpmforge's priority set to 50, epel defaults to 99. Standard centos repos are set to 1. -- Michael henne...@web.cs.ndsu.nodak.edu On Monday, I'm gonna have to tell my kindergarten class, whom I teach not to run with scissors, that my fiance ran me through with a broadsword. -- Lily ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On 10/29/2013 4:49 PM, Michael Hennebry wrote: I should have been more clear: Are the above .rpm's repository install rpm's? those rpms install the yum.repos.d file along with the GPG keys for the repository, so by installing the repo RPM, you can then use yum to install anything in that repo. -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On Tue, Oct 29, 2013 at 6:49 PM, Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: Yes you can use a local copy of the rpm and either 'rpm -Uhv' it or 'yum localinstall' it. or: I should have been more clear: Are the above .rpm's repository install rpm's? I was hoping someone could tell me for sure. Yes. They will install an entry under /etc/yum/repos.d with default settings that you may want to edit before using if you want to set priorities or leave it disabled. If you want to check the contents of an rpm before installing, you can use: rpm -qp --list filename. If you have the http URL that you used to download the rpm manually, you can just 'yum install URL. Older versions of yum could not do that so the documentation may not mention the simple approach. I do not. I started at the base urls given in .repo files and started looking for files that had the right names. When you find the name, you've found the URL to get it... Most browsers would have a right-mouse, 'copy link' menu option to put the URL on the clipboard to paste elsewhere. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On Mon, Oct 28, 2013 at 5:44 PM, Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: On Sat, 26 Oct 2013, Michael Hennebry wrote: Absent other ideas, I might try re-installing CentOS or re-installing X. I have a pretty good idea how to do the former, but the latter might be harder despite, in principle, being less intrusive. Reinstalling everything with xorg in its name did not help. I don't know how to find out what the trouble with X is. Well, you can probably uninstall X doing yum groupremove 'X Window System' But, since I am late in the show I dunno what's the deal with X11 that is causing you such suffering. To reinstall CentOS, I would back up things that needed backing up. I would use yum to list all installed packages. I would use my grub menu to select the same stanza that I used to do a net-install of CentOS. It might be nice to use a kickstart file, but I do not know how. After the install, I would restore the directory that listed all my repositories. This is a step I am not sure about. I have a vague recollection that that is not sufficient. What else would I need to do? Is there a command that I could use to record the repositories I am using and restore them after the install? IMHO, you could just copy/tar the /etc/yum.repos.d/ and then bring it back in the new install in one way or another. I would use the yum listing to install everything I have now. Does this seem like a good plan? -- Michael henne...@web.cs.ndsu.nodak.edu On Monday, I'm gonna have to tell my kindergarten class, whom I teach not to run with scissors, that my fiance ran me through with a broadsword. -- Lily ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
Michael Hennebry wrote: On Sat, 26 Oct 2013, Michael Hennebry wrote: Absent other ideas, I might try re-installing CentOS or re-installing X. I have a pretty good idea how to do the former, but the latter might be harder despite, in principle, being less intrusive. Reinstalling everything with xorg in its name did not help. I don't know how to find out what the trouble with X is. To reinstall CentOS, I would back up things that needed backing up. I would use yum to list all installed packages. I would use my grub menu to select the same stanza that I used to do a net-install of CentOS. It might be nice to use a kickstart file, but I do not know how. snip A trick I learned last week, fighting fedora: yum reinstall \* BE SURE to use the backslash; otherwise, it thinks you want to reinstall the directories you're in when you issue the command. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How should I reinstall CentOS?
On 10/28/2013 05:44 PM, Michael Hennebry wrote: On Sat, 26 Oct 2013, Michael Hennebry wrote: Absent other ideas, I might try re-installing CentOS or re-installing X. I have a pretty good idea how to do the former, but the latter might be harder despite, in principle, being less intrusive. Reinstalling everything with xorg in its name did not help. I don't know how to find out what the trouble with X is. To reinstall CentOS, I would back up things that needed backing up. I would use yum to list all installed packages. I would use my grub menu to select the same stanza that I used to do a net-install of CentOS. It might be nice to use a kickstart file, but I do not know how. After the install, I would restore the directory that listed all my repositories. This is a step I am not sure about. I have a vague recollection that that is not sufficient. What else would I need to do? Is there a command that I could use to record the repositories I am using and restore them after the install? I would use the yum listing to install everything I have now. Does this seem like a good plan? See: http://www.centos.org/modules/smartfaq/faq.php?faqid=50 -- _ °v° /(_)\ ^ ^ Mark LaPierre Registered Linux user No #267004 https://linuxcounter.net/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos