[Leaplist] CentOS question ....

William A. Mahaffey III wam at HiWAAY.net
Thu Jan 18 21:52:30 EST 2007


.... I just upgraded my 2.4 GHz P4 from SuSE 9.2 to CentOS 4.4 from a 
DVD I burned about a week ago. The install went smooth as silk, I 
installed it as a server, plus developement & a few other sundries. I 
wanted to login & install some more stuff from there. I SSH'ed in from 
another box on the LAN as a regular user, then 'su -' to root. I 
inserted the DVD back into the drive & closed it. The dvd did *not* 
automount (is that expected or not (I thought it would) ?), so I tried 
various incantations of mount to get it to mount, but nogo. I have 
SELinux active, but saw *no* messages in the syslog file about not 
letting me mount the DVD. I looked in the /etc/yum.repos.d directory & 
saw that yum was configured to apparently automount the DVD. I tried 
invoking yum enabling that repo, but also nogo (see attached). I 
installed X-windows, but no Gnome or KDE, so I have no automatic menus 
full of configure-menus to drop, just a pretty baren desktop. That is 
OK, I will probably set it to runlevel 3 when I get everything setup, 
but a bit of a challenge now :-). How do I get the DVD to mount where I 
can use it to install more stuff ? TIA ....

-- 

	William A. Mahaffey III

 ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                           -- Gen. George S. Patton Jr.

-------------- next part --------------

	.
	.
	.
	.

[root at cmi2400:/etc/yum.repos.d, Thu Jan 18, 08:36 PM] 148 # yum --enablerepo=c4-media list
Setting up repositories
file:///media/cdrom/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/media/cdrom/repodata/repomd.xml'
Trying other mirror.
file:///media/cdrecorder/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/media/cdrecorder/repodata/repomd.xml'
Trying other mirror.
Cannot open/read repomd.xml file for repository: c4-media
failure: repodata/repomd.xml from c4-media: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from c4-media: [Errno 256] No more mirrors to try.
[root at cmi2400:/etc/yum.repos.d, Thu Jan 18, 08:36 PM] 149 # tail -49 /var/log/messages 
Jan 18 17:32:23 cmi2400 cups: cupsd startup succeeded
Jan 18 17:32:24 cmi2400 sshd: RSA1 key generation succeeded
Jan 18 17:32:24 cmi2400 sshd: RSA key generation succeeded
Jan 18 17:32:26 cmi2400 sshd: DSA key generation succeeded
Jan 18 17:32:26 cmi2400 sshd:  succeeded
Jan 18 17:32:26 cmi2400 xinetd: xinetd startup succeeded
Jan 18 17:32:26 cmi2400 xinetd[3131]: xinetd Version 2.3.13 started with libwrap loadavg options compiled in.
Jan 18 17:32:26 cmi2400 xinetd[3131]: Started working: 0 available services
Jan 18 17:32:27 cmi2400 sendmail: sendmail startup succeeded
Jan 18 17:32:27 cmi2400 sendmail: sm-client startup succeeded
Jan 18 17:32:27 cmi2400 gpm[3170]: *** info [startup.c(95)]: 
Jan 18 17:32:27 cmi2400 gpm[3170]: Started gpm successfully. Entered daemon mode.
Jan 18 17:32:27 cmi2400 gpm[3170]: *** info [mice.c(1766)]: 
Jan 18 17:32:27 cmi2400 gpm[3170]: imps2: Auto-detected intellimouse PS/2
Jan 18 17:32:27 cmi2400 gpm: gpm startup succeeded
Jan 18 17:32:27 cmi2400 crond: crond startup succeeded
Jan 18 17:32:30 cmi2400 xfs: xfs startup succeeded
Jan 18 17:32:30 cmi2400 anacron: anacron startup succeeded
Jan 18 17:32:30 cmi2400 atd: atd startup succeeded
Jan 18 17:32:32 cmi2400 gconfd (root-3270): starting (version 2.8.1), pid 3270 user 'root'
Jan 18 17:32:33 cmi2400 gconfd (root-3270): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
Jan 18 17:32:33 cmi2400 gconfd (root-3270): Resolved address "xml:readwrite:/root/.gconf" to a writable configuration source at position 1
Jan 18 17:32:33 cmi2400 gconfd (root-3270): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2
Jan 18 17:33:51 cmi2400 firstboot:  succeeded
Jan 18 17:33:52 cmi2400 readahead: Starting background readahead: 
Jan 18 17:33:52 cmi2400 rc: Starting readahead:  succeeded
Jan 18 17:33:52 cmi2400 messagebus: messagebus startup succeeded
Jan 18 17:33:53 cmi2400 cups-config-daemon: cups-config-daemon startup succeeded
Jan 18 17:33:53 cmi2400 haldaemon: haldaemon startup succeeded
Jan 18 17:33:54 cmi2400 fstab-sync[3719]: removed all generated mount points
Jan 18 17:33:57 cmi2400 kernel: ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 169
Jan 18 17:33:57 cmi2400 kernel: [drm] Initialized i915 1.1.0 20040405 on minor 0: 
Jan 18 17:33:57 cmi2400 kernel: mtrr: base(0xf0020000) is not aligned on a size(0x800000) boundary
Jan 18 17:33:57 cmi2400 fstab-sync[4385]: added mount point /media/floppy for /dev/fd0
Jan 18 17:34:09 cmi2400 gdm(pam_unix)[4105]: session opened for user wam by (uid=0)
Jan 18 17:34:40 cmi2400 gdm(pam_unix)[4105]: session closed for user wam
Jan 18 17:34:41 cmi2400 kernel: mtrr: base(0xf0020000) is not aligned on a size(0x800000) boundary
Jan 18 17:34:54 cmi2400 gdm(pam_unix)[4105]: session opened for user root by (uid=0)
Jan 18 17:36:00 cmi2400 sshd(pam_unix)[4571]: session opened for user wam by (uid=0)
Jan 18 17:36:10 cmi2400 su(pam_unix)[4600]: session opened for user root by wam(uid=500)
Jan 18 17:41:51 cmi2400 su(pam_unix)[4600]: session closed for user root
Jan 18 17:41:55 cmi2400 sshd(pam_unix)[4571]: session closed for user wam
Jan 18 17:42:00 cmi2400 sshd(pam_unix)[4633]: session opened for user wam by (uid=0)
Jan 18 17:42:17 cmi2400 su(pam_unix)[4663]: session opened for user root by wam(uid=500)
Jan 18 17:44:30 cmi2400 su(pam_unix)[4663]: session closed for user root
Jan 18 17:44:34 cmi2400 sshd(pam_unix)[4633]: session closed for user wam
Jan 18 17:44:39 cmi2400 sshd(pam_unix)[4715]: session opened for user wam by (uid=0)
Jan 18 17:44:47 cmi2400 su(pam_unix)[4737]: session opened for user root by wam(uid=1110)
Jan 18 18:38:35 cmi2400 init: Trying to re-exec init
[root at cmi2400:/etc/yum.repos.d, Thu Jan 18, 08:36 PM] 150 # cat CentOS-Media.repo
# CentOS-Media.repo
#
# This repo is used to mount the default locations for a CDROM / DVD on
#  CentOS-4.  You can use this repo and yum to install items directly off the
#  DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
#  yum --enablerepo=c4-media [command]
#  
# or for ONLY the media repo, do this:
#
#  yum --disablerepo=\* --enablerepo=c4-media [command]
 
[c4-media]
name=CentOS-$releasever - Media
baseurl=file:///media/cdrom/
        file:///media/cdrecorder/
gpgcheck=1
enabled=0
gpgkey=file:///usr/share/doc/centos-release-4/RPM-GPG-KEY-centos4
[root at cmi2400:/etc/yum.repos.d, Thu Jan 18, 08:37 PM] 151 # df; w; /sbin/swapon -s; free -m; uname -a; date
Filesystem    Type   1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
              ext3    17061756   1908952  14286092  12% /
/dev/hda1     ext3      101086     12617     83250  14% /boot
none         tmpfs     1033400         0   1033400   0% /dev/shm
 20:38:37 up  3:07,  3 users,  load average: 0.00, 0.00, 0.00
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
root     :0       -                17:34   ?xdm?  16.54s  0.08s
/usr/X11R6/bin/twm
root     pts/1    -                17:34    3:03m  0.01s  0.01s bash
wam      pts/2    192.168.0.5      17:44    0.00s  0.20s  0.01s sshd: wam [priv] 
Filename                                Type            Size    Used    Priority
/dev/mapper/VolGroup00-LogVol01         partition       2031608 0       -1
             total       used       free     shared    buffers     cached
Mem:          2018        609       1408          0         31        432
-/+ buffers/cache:        145       1873
Swap:         1983          0       1983
Linux cmi2400 2.6.9-42.ELsmp #1 SMP Sat Aug 12 09:39:11 CDT 2006 i686 i686 i386 GNU/Linux
Thu Jan 18 20:38:37 CST 2007
[root at cmi2400:/etc/yum.repos.d, Thu Jan 18, 08:38 PM] 152 #


More information about the Leaplist mailing list