[CentOS] CentOS 4.5 - mounting remote windows fileserver using smb or cifs

2008-05-01 Thread Tom Brown

Hi

I need to mount a windows share on a CentOS 4.5 box running stock kernel 
etc - I have tried using cifs and also smbfs


My fstab looks like

//share/name/mount/pointsmbfs   
username=user,password=password,uid=useridhere 0 0

or the same using cifs

When i try and mount that i get the following errors depending on the share type

smbfs: mount_data version 1919251317 is not supported

CIFS VFS: cifs_mount failed w/return code = -22

i would have thought that cifs was the way forward but any ideas? These use 
creds are being used on an ancient 7.3 box and they work fine

thanks





___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 4.5 - mounting remote windows fileserver using smb or cifs

2008-05-01 Thread Ian Blackwell

This works for me...
In /etc/fstab:-
//share/name/mount/point   cifs
_netdev,credentials=/etc/samba/cred.txt 0 0

In the credentials file:-
username=your-windows-user
password=XXX


Make sure the credentials file is owned by root and only readable by root.

Regards,

Ian


Tom Brown wrote:

Hi

I need to mount a windows share on a CentOS 4.5 box running stock 
kernel etc - I have tried using cifs and also smbfs


My fstab looks like

//share/name  /mount/pointsmbfs
username=user,password=password,uid=useridhere 0 0


or the same using cifs

When i try and mount that i get the following errors depending on the 
share type


smbfs: mount_data version 1919251317 is not supported

CIFS VFS: cifs_mount failed w/return code = -22

i would have thought that cifs was the way forward but any ideas? 
These use creds are being used on an ancient 7.3 box and they work fine


thanks





___
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] DVD reader: Hardware problem or OS glitch?

2008-05-01 Thread Lanny Marcus
On 29 April 2008, "John"  wrote:
>Message: 42
> Date: Tue, 29 Apr 2008 17:43:43 -0400
 > Message-ID: <006901c8aa42$1a387450$0700a8c0 at ethan27>

 >Also please post you fstab and mtab files. It may be helpful in pointing out
> the problem. Also have you run yum update on the machine?

(fstab and mtab files posted previously)

I ran "yum update". The box is now 100% up to date. The problem did not go away.
On CentOS 5, the Teac DV-516D  DVD/CD reader can mount a CD, without
any problem. However, it sees a DVD as blank. On Windows XP, it works
perfectly, with CD and DVD media.  I sent an email to Teac Tech
Support, asking for the URL where I could download their Diagnostics
for the drive and got this reply:

>Unfortunately, no diagnostics are available as checking the read
capabilities within >Windows XP is most than acceptable.   If the
drive does not work properly within >Windows  or any other PC, then
the drive needs to be repaired or replaced.

Disappointing and I will probably never purchase Teac components
again. The box is dual boot (WinXP & CentOS 5). Years ago, I purchased
SystemSuite 4. I installed that and ran their generic diagnostics on
the Teac DVD/CD reader and it passed. I am not positive the Teac drive
is working perfectly, but I have a high level of confidence in it.

My belief is that somewhere, there is either no support for the Teac
DV-516D in CentOS 5, or, that something required to automount a DVD in
it is not configured properly. It can mount a CD without any problem.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 4.5 - mounting remote windows fileserver using smb or cifs

2008-05-01 Thread Akemi Yagi
On Thu, May 1, 2008 at 2:22 AM, Tom Brown <[EMAIL PROTECTED]> wrote:
> Hi
>
>  I need to mount a windows share on a CentOS 4.5 box running stock kernel
> etc - I have tried using cifs and also smbfs
>
>  My fstab looks like
>
>  //share/name/mount/pointsmbfs
> username=user,password=password,uid=useridhere 0 0
>
>  or the same using cifs
>
>  When i try and mount that i get the following errors depending on the share
> type
>
>  smbfs: mount_data version 1919251317 is not supported
>
>  CIFS VFS: cifs_mount failed w/return code = -22
>
>  i would have thought that cifs was the way forward but any ideas? These use
> creds are being used on an ancient 7.3 box and they work fine

This wiki page may help you:

http://wiki.centos.org/TipsAndTricks/WindowsShares

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 4.5 - mounting remote windows fileserver using smb or cifs

2008-05-01 Thread Tom Brown



This works for me...
In /etc/fstab:-
//share/name/mount/point   cifs
_netdev,credentials=/etc/samba/cred.txt 0 0

In the credentials file:-
username=your-windows-user
password=XXX


Make sure the credentials file is owned by root and only readable by 
root.




i have managed to get this working now using smbfs - there were 2 issues 
it seems


1 - samba-client was not installed, that was an oversight on my behalf

2 - on the RH7.3 box the domain is not needed for the user but on the 
CentOS 4 machine something is different in the samba client as without 
the domain i get an 'Accedd Denied' issue. So for me using smbfs and 
DOMAIN\username works


thanks

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 4.5 - mounting remote windows fileserver using smb or cifs

2008-05-01 Thread Akemi Yagi
On Thu, May 1, 2008 at 3:53 AM, Tom Brown <[EMAIL PROTECTED]> wrote:
>
>  i have managed to get this working now using smbfs - there were 2 issues it
> seems
>
>  1 - samba-client was not installed, that was an oversight on my behalf
>
>  2 - on the RH7.3 box the domain is not needed for the user but on the
> CentOS 4 machine something is different in the samba client as without the
> domain i get an 'Accedd Denied' issue. So for me using smbfs and
> DOMAIN\username works

I am using cifs without having the domain on a C4 box.  I think
something is not right with your setup.

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 4.5 - mounting remote windows fileserver using smb or cifs

2008-05-01 Thread Tom Brown




I am using cifs without having the domain on a C4 box.  I think
something is not right with your setup.
  


i could not agree more but i do not admin the windows side so they 
suggested i use the domain and that seems to work for this issue.


We have many domains and i wonder if that causes complexity - either way 
using the domain works so i am happy with that.


thanks

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] determining correct size for LV copy operations

2008-05-01 Thread Kai Schaetzl
John R Pierce wrote on Wed, 30 Apr 2008 13:56:32 -0700:

> I'd probably use dump ... | restore ...   to copy it, assuming its an 
> e2fs/e3fs on that logical volume.   then the volume sizes are immaterial.

Well, these are mostly xen volumes with xvda. It's indeed the difference in 
physical extent. I can check the size of the PE with vgdisplay. Most vg's 
have 4MB, but the ones on small disks have 32MB (which is a bit surprising, 
I would expect the opposite). Then I can check with lvdisplay the actual 
number of extents and multiply that with the PE size. Gives me a difference 
of 4 MB. So, I better set the PE size on small disks in the future. And for 
existing volumes I can use -l instead of -L which sets the size in physical 
extents and not in bytes.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] case insensitive file system

2008-05-01 Thread John
On Wed, 2008-04-30 at 10:12 -0500, Les Mikesell wrote:
> Ruslan Sivak wrote:
> > Jim Perrin wrote:
> >> On Wed, Apr 30, 2008 at 10:07 AM, Ruslan Sivak <[EMAIL PROTECTED]> wrote:
> >> Does the entire filesystem need to be case insensitive, or is this a
> >> web based product, where you can do some apache rewrite-fu to make
> >> this work instead?
> >>
> >>   
> > It is a web based product, but I'm not sure rewriterules would help.  
> > Lets say it's something like this
> > 
> > http://www.domain.com/index.php?action=foo
> > 
> > And inside index.php it does something like
> > 
> > 
> > 
> > This is a gross simplification, but it's my understanding that if the 
> > file was named 'foo.php' and someone typed in
> > 
> > http://www.domain.com/index.php?action=Foo
> > 
> > It would still work on windows, but not on linux because of case 
> > sensitivity.
> 
> How do the files get there?  I'd probably use a brute force approach 
> like lowercasing everything on the way in, or if case needs to be 
> preserved store the real files in one place but build a symlink tree 
> somewhere else of all-lowercase names pointing to the real file, then 
> lowercase the reference and access the name in the symlink directory.
> 
> If you absolutely have to do it through the filesystem, I think you 
> could samba-mount a directory (perhaps even shared from the same 
> machine) with the case insensitive option.

Yes samba will give you this option. Then you are looking at a
performance hit.
"case sensitive = True"

> 
-- 
~/john

OpenPGP Sig:BA91F079

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-05-01 Thread Lanny Marcus
On 29 April 2008, Alan Bartlett"  wrote:

>Message: 38
><[EMAIL PROTECTED]>

> However, if you're using Gnome then please have a look at System -->
> Preferences --> Removable Drives and Media
 >I know that there is a difference in the automount of a data CD/DVD when the
 >user is root (basically it doesn't, you would have to right-click on the
 >icon and select mount manually) and when the user is a normal user
 >(automount err automounts).

I use GNOME 99% of the time, but KDE is also installed and the problem
is the same, with either Desktop.

System > Preferences > Removable Drives and Media shows:

The top three (3) boxes are checked, for Removable Storage
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] X just died then restarted

2008-05-01 Thread John
On Wed, 2008-04-30 at 18:48 -0400, fred smith wrote:
> Just had a weird thing happen that I've never encountered before.
> 
> Running Centos 5.x (updated) on 32-bit (Athlon XP).
> 
> Was going along in Firefox when suddenly my screen went black and the hard
> drive light came on mostly steady for several seconds. After a little bit
> I got back the X login screen. It normally comes up on F7, but F7 was dead
> (with some text I'll paste in below in case it means anything to someone)
> and (since I have another dedicated app on F8) it came up on F9.
> 
> The last few entries in /var/log/messages, which are about the right
> time, are:
> 
> Apr 30 18:34:44 hostname restorecond: Will not restore a file with more than 
> one hard link (/etc/resolv.conf) No such file or directory 
> Apr 30 18:34:52 hostname kernel: NVRM: not using NVAGP, an AGPGART backend is 
> loaded!
> Apr 30 18:35:10 hostname gconfd (username-32302): GConf server is not in use, 
> shutting down.
> Apr 30 18:35:10 hostname gconfd (username-32302): Exiting
> Apr 30 18:36:59 hostname restorecond: Will not restore a file with more than 
> one hard link (/etc/resolv.conf) No such file or directory 
> Apr 30 18:37:22 hostname gconfd (username-8990): starting (version 2.14.0), 
> pid 8990 user 'username'
> Apr 30 18:37:22 hostname gconfd (username-8990): Resolved address 
> "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration 
> source at position 0
> Apr 30 18:37:22 hostname gconfd (username-8990): Resolved address 
> "xml:readwrite:/home/username/.gconf" to a writable configuration source at 
> position 1
> Apr 30 18:37:22 hostname gconfd (username-8990): Resolved address 
> "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration 
> source at position 2
> Apr 30 18:37:27 hostname pcscd: winscard.c:219:SCardConnect() Reader E-Gate 0 
> 0 Not Found
> Apr 30 18:37:27 hostname last message repeated 4 times
> Apr 30 18:37:30 hostname gconfd (username-8990): Resolved address 
> "xml:readwrite:/home/username/.gconf" to a writable configuration source at 
> position 0
> 
> 
> and the stuff on the F7 screen is (hard to read and surely incomplete):
> 
> 
>  b7913000-b7a52000 rw-p b7913000 00:00 0
>  b7a52000-b7a7c000 rw-s 
>  00:08 192315392  /SYSV (deleted)
>  b7a7c000-b7abc000 rw-s d3f9 
> 00:10 6900   /dev/nvidia0
>   b7abc000-b7ac rw-s d050 00:10 6900   
> /dev/nvidia0
>b7ac-b7fc rw-s d000 00:10 6900   /dev/nvidia0
> 
> b7fc-b7fd rw-s e480 00:10 6900   /dev/nvidia0
>  b7fd-b7fd4000 rw-p 
> b7fd 00:00 0
>  b7fd4000-b7fd5000 rw-s e4682000 00:10 6900   /dev/nvidia0
>   
> b7fd5000-b7fd6000 rw-s e468 00:10 6900   /dev/nvidia0
>b7fd6000-b7fde000 rw-s 
> 240bb000 00:10 6900   /dev/nvidia0
> b7fde000-b7fdf000 rw-s 1dc43000 00:10 6900
>  /dev/nvidia0
>  b7fdf000-b7fef000 rw-s 2473 00:10 6900   /dev/nvidia0
>   
> bf864000-bf87f000 rwxp bf864000 00:00 0  [stack]
>   bf87f000-bf881000 rw-p 
> bf87f000 00:00 0
> 
> 
> So since the stuff from /var/log/messages mentions agpgart and this
> stuff from F7 mentions /dev/nvidia, I'm guessing the nvidia drivers had
> some kind of brain fart (:) ??
> 
> FWIW, I'm running the Nvidia 96.43.01 drivers, direct from Nvidia
> and not any repository. 
> 
> Any ideas?

Yes don't force selection of the "agpart" Systems that can't run it will
give you that message. It should use the defauilt provided by the
driver. So if you put it in the xorg.conf file take it out. Check
your /etc/xorg/xorg.conf  to make sure your using the "nvidia" driver
and not the "nv" driver.


> 
> Thanks!
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
-- 
~/john

OpenPGP Sig:BA91F079

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-05-01 Thread Alan Bartlett
On 30/04/2008, Lanny Marcus <[EMAIL PROTECTED]> wrote:
>
> Alan: Today, I removed the Teac DV-516D DVD/CD reader, manufactured
> October 2004, in Japan, from my daughters box. I temporarily hooked it
> up in my box. The exact same problem! I could not see the contents of a
> DVD-R, but, I was able to see the contents of my Knoppix Live CD,
> without any problem. So, I did not bother with the PITA of removing the
> DVD/CD reader from my box, and trying that one in my daughters box.
>
> I booted my daughters box with my Knoppix Live CD V. 5.1.1 and it also
> showed the FC6 Install DVD to be blank.
>
> I suspect:
>
> (a) The Teac DV-516D DVD/CD reader is not supported in this kernel or
> somewhere else in CentOS 5.or
>
> (b) The DVD/CD reader is somewhat faulty.
>
> (c) However, Windows XP shows it to be "OK" and I can see the contents
> of the FC6 install DVD OK, in Windoze. Also, I can boot from the CentOS5
> and FC6 Install DVD's, without any problem. And, I was able to mount the
> FC6 Install DVD, in a terminal and install the RPM I wanted to install,
> without any problems. Thank you, very much, for your time and ideas!


Lanny - Thanks for the update. I would recommend, therefore, that you
replace the CD/DVD-ROM with a modern DVD writer that can cope with
CD-RW/DVD-RW/DVD+RW, etc, formats. When I refurbished this workstation, a
Dell OptiPlex GX1 (manufactured last quarter 1999 :-D ), I replaced its
original CD-ROM drive with a multi-format AOpen DVD/CD rewritable optical
drive, model no. DUW1616L and have had absolutely no problem with it at all.
I seem to recall it cost me UK£41-00. However once you've done the
conversion at the current exchange rate, I don't know if you will think that
is good value - or not.

As for all mentions of Windoze, I would trust/believe that about as far as I
could spit into a high wind!

Alan.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] No module named snack

2008-05-01 Thread Matt Hyclak
On Wed, Apr 30, 2008 at 10:59:46PM -0400, Matt Morgan enlightened us:
> everyone--I'm back on the list after some time not managing any Centos
> machines. It's good to be back.
> 
> I'm trying to switch a server from sendmail to postfix. It's Centos 4.6. I
> installed postfix and system-switch-mail. When I run system-switch-mail, I
> get
> 
> Traceback (most recent call last):
>   File "/usr/sbin/system-switch-mail", line 89, in 
> main()
>   File "/usr/sbin/system-switch-mail", line 76, in main
> from switchmail_tui import mainDialog
>   File "/usr/share/system-switch-mail/switchmail_tui.py", line 36, in
> 
> from snack import *
> ImportError: No module named snack
> 
> "Snack" appears to be a python module provided by a package called newt,
> which is installed:
> 
> # rpm -qf /usr/lib/python2.3/site-packages/snack.py
> newt-0.51.6-9.rhel4
> 
> What am I doing wrong?
> 

Not using python 2.3 perhaps?

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OFF-TOPIC: Job opportunity in Augusta Georgia

2008-05-01 Thread Lanny Marcus
On 30 April 2008, "Jim Perrin"  wrote:
>Message: 4
>Message-ID:
<[EMAIL PROTECTED]>

>WAY Off topic here, but if anyone's in the Augusta, Georgia area and
>wants to work as a web developer(css, html, flash, php, photoshop and
>the other usual goodies), we've got a job opening.

>If you like abuse, long hours, low pay, and lots of stress, we have
>the perfect job for you.

You forgot to include the part about being able to walk on eggs, without
breaking them!:-)   Sounds like a very honest job description.

If nobody on this ML is interested (and qualified) consider posting on 
http://www.dice.com/  Not sure what it would cost you to post the job
requirement there, but it's a very active site. I discovered it last
Saturday.

My background is mostly Aerospace, and after not working for many years,
I need to go back to work. I'm a contractor, and your job description
partially describes what we encounter, when we go to a temporary job
assignment: abuse & lots of stress.  :-)However, we get paid by the
hour and for O.T.   :-)


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-05-01 Thread Lanny Marcus
On 01 May 2008, Alan Bartlett ajb.stxsl at googlemail.com wrote:
> Thu May 1 12:45:38 UTC 2008 

> > (a) The Teac DV-516D DVD/CD reader is not supported in this kernel or
> > somewhere else in CentOS 5.or
> >
> > (b) The DVD/CD reader is somewhat faulty.
> >
> > (c) However, Windows XP shows it to be "OK" and I can see the contents
> > of the FC6 install DVD OK, in Windoze. Also, I can boot from the CentOS5
> > and FC6 Install DVD's, without any problem. And, I was able to mount the
> > FC6 Install DVD, in a terminal and install the RPM I wanted to install,
> > without any problems. Thank you, very much, for your time and ideas!
> 
> 
> Lanny - Thanks for the update. I would recommend, therefore, that you
> replace the CD/DVD-ROM with a modern DVD writer that can cope with
> CD-RW/DVD-RW/DVD+RW, etc, formats. When I refurbished this workstation, a
> Dell OptiPlex GX1 (manufactured last quarter 1999 :-D ), I replaced its
> original CD-ROM drive with a multi-format AOpen DVD/CD rewritable optical
> drive, model no. DUW1616L and have had absolutely no problem with it at all.
> I seem to recall it cost me UK£41-00. However once you've done the
> conversion at the current exchange rate, I don't know if you will think that
> is good value - or not.
> 
> As for all mentions of Windoze, I would trust/believe that about as far as I
> could spit into a high wind!

Alan: Thank you for all of the ideas you've had in this thread! I strongly 
suspect that your
idea of replacing the Teac CD/DVD-ROM with something else, is the only way to 
end this problem. My belief
now is that there is no support to auto mount a DVD in that Teac drive, in 
CentOS 5. Probably, when it was
my box and it worked OK, it was with a prior release of CentOS or Fedora Core 
and something has changed
and the auto mount support for that drive (for DVD media) was removed. I rarely 
use Windoze, but it was very helpful, to be able to test the same
CD/DVD-ROM drive and verify that it works perfectly under Windoze. I was able 
to mount the DVD in a terminal and install the RPM I wanted to
install OK, so that also makes me believe the drive is OK.   Lanny

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-05-01 Thread John
On Thu, 2008-05-01 at 08:50 -0500, Lanny Marcus wrote:
> On 01 May 2008, Alan Bartlett ajb.stxsl at googlemail.com wrote:
> > Thu May 1 12:45:38 UTC 2008 
> 
> > > (a) The Teac DV-516D DVD/CD reader is not supported in this kernel or
> > > somewhere else in CentOS 5.or
> > >
> > > (b) The DVD/CD reader is somewhat faulty.
> > >
> > > (c) However, Windows XP shows it to be "OK" and I can see the contents
> > > of the FC6 install DVD OK, in Windoze. Also, I can boot from the CentOS5
> > > and FC6 Install DVD's, without any problem. And, I was able to mount the
> > > FC6 Install DVD, in a terminal and install the RPM I wanted to install,
> > > without any problems. Thank you, very much, for your time and ideas!
> > 
> > 
> > Lanny - Thanks for the update. I would recommend, therefore, that you
> > replace the CD/DVD-ROM with a modern DVD writer that can cope with
> > CD-RW/DVD-RW/DVD+RW, etc, formats. When I refurbished this workstation, a
> > Dell OptiPlex GX1 (manufactured last quarter 1999 :-D ), I replaced its
> > original CD-ROM drive with a multi-format AOpen DVD/CD rewritable optical
> > drive, model no. DUW1616L and have had absolutely no problem with it at all.
> > I seem to recall it cost me UK£41-00. However once you've done the
> > conversion at the current exchange rate, I don't know if you will think that
> > is good value - or not.
> > 
> > As for all mentions of Windoze, I would trust/believe that about as far as I
> > could spit into a high wind!
> 
> Alan: Thank you for all of the ideas you've had in this thread! I strongly 
> suspect that your
> idea of replacing the Teac CD/DVD-ROM with something else, is the only way to 
> end this problem. My belief
> now is that there is no support to auto mount a DVD in that Teac drive, in 
> CentOS 5. Probably, when it was
> my box and it worked OK, it was with a prior release of CentOS or Fedora Core 
> and something has changed
> and the auto mount support for that drive (for DVD media) was removed. I 
> rarely use Windoze, but it was very helpful, to be able to test the same
> CD/DVD-ROM drive and verify that it works perfectly under Windoze. I was able 
> to mount the DVD in a terminal and install the RPM I wanted to
> install OK, so that also makes me believe the drive is OK.   Lanny
> 
Something I don't think no one has thought of:

[EMAIL PROTECTED] ~]# rpm -qa | grep auto
automake15-1.5-16
autoconf-2.59-12
automake17-1.7.9-7
automake-1.9.6-2.1
automake16-1.6.3-8
automake14-1.4p6-13
autofs-5.0.1-0.rc2.55.el5.3

Make sure you autofs installed: autofs-5.0.1-0.rc2.55.el5.3

Other than that, that's about all


> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
-- 
~/john

OpenPGP Sig:BA91F079

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-05-01 Thread Alan Bartlett
On 01/05/2008, John <[EMAIL PROTECTED]> wrote:
>
> Something I don't think no one has thought of:
>
> [EMAIL PROTECTED] ~]# rpm -qa | grep auto
> automake15-1.5-16
> autoconf-2.59-12
> automake17-1.7.9-7
> automake-1.9.6-2.1
> automake16-1.6.3-8
> automake14-1.4p6-13
> autofs-5.0.1-0.rc2.55.el5.3
>
> Make sure you autofs installed: autofs-5.0.1-0.rc2.55.el5.3
>

I don't think that's it. This is from my system, which behaves as Lanny
wants:

$ rpm -qa auto\* | sort
autoconf-2.59-12
automake14-1.4p6-13
automake15-1.5-16
automake16-1.6.3-8
automake17-1.7.9-7
automake-1.9.6-2.1
$

No autofs!

Alan.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-05-01 Thread John
On Thu, 2008-05-01 at 15:43 +0100, Alan Bartlett wrote:
> On 01/05/2008, John <[EMAIL PROTECTED]> wrote:
> Something I don't think no one has thought of:
> 
> [EMAIL PROTECTED] ~]# rpm -qa | grep auto
> automake15-1.5-16
> autoconf-2.59-12
> automake17-1.7.9-7
> automake-1.9.6-2.1
> automake16-1.6.3-8
> automake14-1.4p6-13
> autofs-5.0.1-0.rc2.55.el5.3
> 
> Make sure you autofs installed: autofs-5.0.1-0.rc2.55.el5.3
> 
> I don't think that's it. This is from my system, which behaves as
> Lanny wants:
> 
> $ rpm -qa auto\* | sort
> autoconf-2.59-12
> automake14-1.4p6-13
> automake15-1.5-16
> automake16-1.6.3-8
> automake17-1.7.9-7
> automake-1.9.6-2.1
> $ 
> 
> No autofs!
> 
> Alan.

Puzziling, maybe just get a new dvd drive. 

Would be interesting to know if when he accesses Win$ (Double Clicks
MyComputer) if the system crashes or when he double clicks on the dvd
drive in mycomputer would be a big indicator of the drive being bad or
if it takes a long time to access the drive. All the icons on the
desktop will dissapear when it crashes. 

Another thing Right Click on My Computer Select Manage and look at the
logs for the dvd drive in question. You should see errors there if it's
bad. Also like someone else said it will only auto mount on a user
account and not root. 

If it's not any of the above get a new drive.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
-- 
~/john

OpenPGP Sig:BA91F079

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Package change logs

2008-05-01 Thread Matty
Howdy,

Does anyone happen to know where I can locate the changes that were
integrated into a specific RPM update? I checked the wiki, the rpm
query output and bugs.centos.org, but wasn't able to locate a
changelog for the latest kernel update.

Thanks,
- Ryan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-05-01 Thread William L. Maltby
On Thu, 2008-05-01 at 05:49 -0500, Lanny Marcus wrote:
> On 29 April 2008, "John"  wrote:
> 

> I ran "yum update". The box is now 100% up to date. The problem did not go 
> away.
> On CentOS 5, the Teac DV-516D  DVD/CD reader can mount a CD, without
> any problem. However, it sees a DVD as blank. On Windows XP, it works
> perfectly, with CD and DVD media.  I sent an email to Teac Tech
> Support, asking for the URL where I could download their Diagnostics
> for the drive and got this reply:
> 
> >Unfortunately, no diagnostics are available as checking the read
> capabilities within >Windows XP is most than acceptable.   If the
> drive does not work properly within >Windows  or any other PC, then
> the drive needs to be repaired or replaced.

It's been a long thread, so I don't recall what all you've tried.

1st, /var/log/dmesg (also in messages)? Mine has

   
   Probing IDE interface ide0...
   hda: LITE-ON DVDRW SHM-165P6S, ATAPI CD/DVD-ROM drive
   ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
 .
 .
 .
   hda: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache,
   UDMA(66) Uniform CD-ROM driver Revision: 3.20
   

After inserting media (video in this case), I get

   
   May  1 13:13:17 centos501 kernel: UDF-fs INFO UDF 0.9.8.1
 (2004/29/09) Mounting volume 'SHANGRILA', timestamp 2004/11/11
 05:24 (1f10)
   May  1 13:13:17 centos501 hald: mounted /dev/hda on behalf of uid 500
   May  1 13:14:59 centos501 hald: unmounted /dev/hda from
 '/media/SHANGRILA' on behalf of uid 500
   May  1 13:15:22 centos501 kernel: UDF-fs INFO UDF 0.9.8.1
 (2004/29/09) Mounting volume 'SHANGRILA', timestamp 2004/11/11
 05:24 (1f10)
   May  1 13:15:22 centos501 hald: mounted /dev/hda on behalf of uid 500
   

Any product literature? Is the drive ATAPI (MMC) compatible?
Have you checked on the web to see if there is a prom upgrade available?
A long time ago I found a site that has the upgrades for many drives.
BTW, a google search might get specs if you've no literature.

When you mount a CD, note device (sda, hda, ...) and then stick the DVD
media in. See if you can dd from it like so

dd if=/dev/sdc of =/dev/null count=50

That might get you a clue as to if the CentOS at least handles the
device.

Module  Size  Used by
udf76997  1
autofs424517  2
hidp   23105  2
dm_multipath   21577  0
sg 36061  0 
ide_cd 40033  1
cdrom  36705  1 ide_cd
dm_snapshot20709  0 
dm_zero 6209  0 
dm_mirror  28741  0 
dm_mod 58201  9
dm_multipath,dm_snapshot,dm_zero,dm_mirror
sata_via   15557  3 
libata115833  1 sata_via
sd_mod 24897  5  
scsi_mod  132685  3 sg,libata,sd_mod

Normally, the sg, scsi_mod, cdrom are used for MMC-complioant drives
(ATAPI) to utilize the SCSI command set across the ATA interface.

I think the ide_cd is just a left-over in my grub menu.lst that used to
be needed, but not sure.

> 
> Disappointing and I will probably never purchase Teac components
> again. The box is dual boot (WinXP & CentOS 5). Years ago, I purchased
> SystemSuite 4. I installed that and ran their generic diagnostics on
> the Teac DVD/CD reader and it passed. I am not positive the Teac drive
> is working perfectly, but I have a high level of confidence in it.

I'm with you. Except for possibly having an old prom version in it
and/or needing some loadable modules for it in CentOS, it sounds like
the HW is good enough.

Have you done an lsmod when a CD is in? Then when a DVD media is in?

Here's mine with DVD in. Lot's of un-related stuff I'm sure - but I've
snipped out anything I'm sure is not related.


> 
> My belief is that somewhere, there is either no support for the Teac
> DV-516D in CentOS 5, or, that something required to automount a DVD in
> it is not configured properly. It can mount a CD without any problem.

I vote for option two. Now, that *could* be due to the age of the drive
(i.e. the prom revision is missing something that has come to be
considered "universal" by the writers of the CD/DVD code portions).
However, it could also be that, like other manufacturers in the past,
there is some incompatibility in the drive. For more information, and a
serious test of your masochistic bias, install the cdr-tools package and
read the stuff under /usr/share/docs related to it.

> 

HTH
-- 
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Package change logs

2008-05-01 Thread William L. Maltby
On Thu, 2008-05-01 at 13:45 -0400, Matty wrote:
> Howdy,
> 
> Does anyone happen to know where I can locate the changes that were
> integrated into a specific RPM update? I checked the wiki, the rpm
> query output and bugs.centos.org, but wasn't able to locate a
> changelog for the latest kernel update.
> 
> Thanks,
> - Ryan
> 

The --changelog parameter to either an rpm -q or yum should give it to
you.

-- 
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Package change logs

2008-05-01 Thread Akemi Yagi
On Thu, May 1, 2008 at 10:58 AM, William L. Maltby
<[EMAIL PROTECTED]> wrote:
> On Thu, 2008-05-01 at 13:45 -0400, Matty wrote:
>  > Howdy,
>  >
>  > Does anyone happen to know where I can locate the changes that were
>  > integrated into a specific RPM update? I checked the wiki, the rpm
>  > query output and bugs.centos.org, but wasn't able to locate a
>  > changelog for the latest kernel update.
>  >
>  > Thanks,
>  > - Ryan
>  > 
>
>  The --changelog parameter to either an rpm -q or yum should give it to
>  you.

Or take a look at the announcement (for example):

https://rhn.redhat.com/errata/RHSA-2008-0154.html

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-05-01 Thread Lanny Marcus
On 01 May 2008, John jses27 at gmail.com wrote:
> Alan: Thank you for all of the ideas you've had in this thread! I strongly 
> suspect that your
> idea of replacing the Teac CD/DVD-ROM with something else, is the only way to 
> end this problem. My belief
> now is that there is no support to auto mount a DVD in that Teac drive, in 
> CentOS 5. Probably, when it was
> my box and it worked OK, it was with a prior release of CentOS or Fedora Core 
> and something has changed
> and the auto mount support for that drive (for DVD media) was removed. I 
> rarely use Windoze, but it was very helpful, to be able to test the same
> CD/DVD-ROM drive and verify that it works perfectly under Windoze. I was able 
> to mount the DVD in a terminal and install the RPM I wanted to
> install OK, so that also makes me believe the drive is OK.   Lanny
> 
>Something I don't think no one has thought of:

>[root at ethan ~]# rpm -qa | grep auto
>automake15-1.5-16
>autoconf-2.59-12
>automake17-1.7.9-7
>automake-1.9.6-2.1
>automake16-1.6.3-8
>automake14-1.4p6-13
>autofs-5.0.1-0.rc2.55.el5.3

>Make sure you autofs installed: autofs-5.0.1-0.rc2.55.el5.3

I'm on my box now, but I'm sure it will be exactly the same on my daughters 
box, the one with the problem.
Immediately after I updated her box, I updated mine.

[EMAIL PROTECTED] ~]$ rpm -qa | grep auto
autofs-5.0.1-0.rc2.55.el5.3
[EMAIL PROTECTED] ~]$

>Other than that, that's about all

I suspect Alan is correct and that the only solution to this mystery is to buy 
a new
drive. About 6 months ago, I bought an LG DVD Burner for my wife's box and it 
works fine.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re:[CentOS] problem installation of mplayer

2008-05-01 Thread Lanny Marcus
On 30 April 2008, "Mamun"  wrote:

>Message: 55
>Date: Wed, 30 Apr 2008 17:57:47 +0600
>Message-ID: <[EMAIL PROTECTED]>

>I already installed CentOs,but can anyone give a sample of repo files
>and priorities.conf file.
>As for this 2 files i am unable to install mplayer.

You might find this article on the CentOS Wiki helpful. You can copy &
paste the commands shown onto the command line and get multimedia things
up and running, quickly and easily.



There is also information about the yum priorities plug-in on the Wiki.
There is a link to it, near the top of the above URL. 

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-05-01 Thread John
On Thu, 2008-05-01 at 15:03 -0500, Lanny Marcus wrote:
> On 01 May 2008, John jses27 at gmail.com wrote:
> > Alan: Thank you for all of the ideas you've had in this thread! I strongly 
> > suspect that your
> > idea of replacing the Teac CD/DVD-ROM with something else, is the only way 
> > to end this problem. My belief
> > now is that there is no support to auto mount a DVD in that Teac drive, in 
> > CentOS 5. Probably, when it was
> > my box and it worked OK, it was with a prior release of CentOS or Fedora 
> > Core and something has changed
> > and the auto mount support for that drive (for DVD media) was removed. I 
> > rarely use Windoze, but it was very helpful, to be able to test the same
> > CD/DVD-ROM drive and verify that it works perfectly under Windoze. I was 
> > able to mount the DVD in a terminal and install the RPM I wanted to
> > install OK, so that also makes me believe the drive is OK.   Lanny
> > 
> >Something I don't think no one has thought of:
> 
> >[root at ethan ~]# rpm -qa | grep auto
> >automake15-1.5-16
> >autoconf-2.59-12
> >automake17-1.7.9-7
> >automake-1.9.6-2.1
> >automake16-1.6.3-8
> >automake14-1.4p6-13
> >autofs-5.0.1-0.rc2.55.el5.3
> 
> >Make sure you autofs installed: autofs-5.0.1-0.rc2.55.el5.3
> 
> I'm on my box now, but I'm sure it will be exactly the same on my daughters 
> box, the one with the problem.
> Immediately after I updated her box, I updated mine.
> 
> [EMAIL PROTECTED] ~]$ rpm -qa | grep auto
> autofs-5.0.1-0.rc2.55.el5.3
> [EMAIL PROTECTED] ~]$
> 
> >Other than that, that's about all
> 
> I suspect Alan is correct and that the only solution to this mystery is to 
> buy a new
> drive. About 6 months ago, I bought an LG DVD Burner for my wife's box and it 
> works fine.
> 
Yea, I think you have tried everything under the sun.

> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
-- 
~/john

OpenPGP Sig:BA91F079

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: case insensitive file system

2008-05-01 Thread Szabolcs Szakacsits
Kevin Krieser <[EMAIL PROTECTED]> writes:
>
> I can't think of anything I did special other than using force because  
> I hadn't done a Safely Remove device on Windows last time.

The 'force' mount option can indeed cause corruption. From the ntfs-3g 
manual:

  force  Force the mounting even if the NTFS logfile is unclean. The 
 logfile will be unconditionally cleared. Use this option with 
 caution and for your own responsibility.

Though not necessarily this was the real reason but not using the 
'Safely Remove' on Windows. Typically the manual of an external 
hard disk also warns about this. 

In fact, one can even lose data due to Windows bugs if things are 
done correctly, as for instance this Microsoft article describes:
http://support.microsoft.com/kb/940508

Regards,  Szaka

--
NTFS-3G: http://ntfs-3g.org

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] No module named snack

2008-05-01 Thread Matt Morgan
On Thu, May 1, 2008 at 9:01 AM, Matt Hyclak <[EMAIL PROTECTED]> wrote:

> On Wed, Apr 30, 2008 at 10:59:46PM -0400, Matt Morgan enlightened us:
> > everyone--I'm back on the list after some time not managing any Centos
> > machines. It's good to be back.
> >
> > I'm trying to switch a server from sendmail to postfix. It's Centos 4.6.
> I
> > installed postfix and system-switch-mail. When I run system-switch-mail,
> I
> > get
> >
> > Traceback (most recent call last):
> >   File "/usr/sbin/system-switch-mail", line 89, in 
> > main()
> >   File "/usr/sbin/system-switch-mail", line 76, in main
> > from switchmail_tui import mainDialog
> >   File "/usr/share/system-switch-mail/switchmail_tui.py", line 36, in
> > 
> > from snack import *
> > ImportError: No module named snack
> >
> > "Snack" appears to be a python module provided by a package called newt,
> > which is installed:
> >
> > # rpm -qf /usr/lib/python2.3/site-packages/snack.py
> > newt-0.51.6-9.rhel4
> >
> > What am I doing wrong?
> >
>
> Not using python 2.3 perhaps?


Good call, looks like python is 2.5 (although the typical 2.3 package is
installed). Probably, someone else using this machine needed 2.5 at some
point.

Let's say we still have a good reason to need python 2.5. Is this going to
break a lot of the system-whatever commands? Are there any workarounds?

Thanks again,
Matt
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Re: case insensitive file system

2008-05-01 Thread Joseph L. Casale
>In fact, one can even lose data due to Windows bugs if things are
>done correctly,

Actually, it is "incorrect" to "eject" the usb drive through Explorer in
Vista if it has the NTFS filesystem:) If you perform the steps required
pre-hotfix, your good to go 

jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] strip down install

2008-05-01 Thread Jason Pyeron
What tactics would be recommended to start removing unneeded packages?

I have tried to graph dependences before and using hunches, is there a
better way?

-jason


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited. 
 



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] read only root file system

2008-05-01 Thread Jason Pyeron
I am looking at having a read only box, it will not use a swap partition.
Any recommendations?

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited. 
 



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos