NFS input/output error
Dear all can some one help me to solve this. we have a nfs share from server mounted to desktops. if users try to cp a large file (e.g 30MB) on the nfs share, it says input/output error most of the times, not always though. if the user do the same thing on local dir or logon to the server and do the same thing it works fine. in both cases, no nfs share is involved. we are using RH8.0 kernel 2.4.20-18.8 and applied all the patches on all concerned machines any suggestion are welcome thanks cheng This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
how does POP3 SERVER finds the mailbox for each user
Dear all I would grateful if some one can tell me how to config POP3 SERVER (or is it possible?) so that it will not go to /var/spool/mail/$LOGNAME to retrieve mails. I have configured procmail to deliver mails to $HOME/mbox on the mail server. however, if i use POP3 to access the server and retrieve mails, it always goes to /var/spool/mail/$LOGNAME The question is how do I tell POP3 SERVER to go to $HOME/mbox to retrieve mails? please note that it is the server side, not client. I am using RH9 and the POP3 is installed with IMAP-2001a-18 package. I have checked the package info, but could not find an particular info about the POP3 apart from Washington univ. many thanks cheng This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: backup script
what text editor did you use to write the script? -Original Message- From: Burke, Thomas G. [mailto:[EMAIL PROTECTED] Sent: 03 April 2003 14:22 To: '[EMAIL PROTECTED]' Subject: RE: backup script -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 if I put in the #!/bin/sh, I just get the following: bash: ./backup: No such file or directory ugh. I don't get it. I've seen this problem when things have the wrong style of quote before, but I don't see that as a problem here... or is it? - -Original Message- From: Bret Hughes [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 9:58 PM To: [EMAIL PROTECTED] Subject: RE: backup script On Wed, 2003-04-02 at 13:04, Burke, Thomas G. wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Here's the error when I run the script as is: > > [EMAIL PROTECTED] /backup]# ./backup > : command not found > : No such file or directory > : command not found > ./backup: ./backup: line 7: syntax error: unexpected end of file > > Here's the script: > > BACKUP_DIRECTORY=/backup/tomii > SOURCE_DIRECTORY=/ > > cd $SOURCE_DIRECTORY > > for i in * ; do tar -zcvf "$BACKUP_DIRECTORY/$i.tgz" $i ; done > > I don't see anything wrong with this except we don't know what shell it is running in. I usually put #!/bin/bash as the first line. yep just tested on my machine and killed it before I filled up my drive :) no errors [EMAIL PROTECTED] bhughes]$ cat testscript BACKUP_DIRECTORY=/home/bhughes/backup/tomii SOURCE_DIRECTORY=/ cd $SOURCE_DIRECTORY for i in * ; do tar -zcvf "$BACKUP_DIRECTORY/$i.tgz" $i ; done [EMAIL PROTECTED] bhughes]$ hmmm. Bret - -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -BEGIN PGP SIGNATURE- Version: PGP Personal Privacy 6.5.3 iQA/AwUBPow1jNPjBkUEZx5AEQIsJQCg84MBpU29Ieu549yKRM/Ip1VpEKwAoKQY RDInbUJiPbUQ3yE0r2biWrJA =euK7 -END PGP SIGNATURE- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: Problem with Sound
I have similar problems, the sound card can be probed and configured correctly. BUT the sound "is not coming". In my case, it is the default sound volume too weak and you have to make the room quiet or listen carefully. Then you realise that the thing is working. I, however, did not spend time to work out how to change sound volume from command line or gui. if yours the same and find a way to make the sound come loud enough, please send another message. thanks cheng * Rajeev Asthana > Everything seems to working fine except the Sound. > > Sound is not coming. Linux recognizes the sound card as Intel 810 AC'97 but > sound is not coming. > > I tried running 'aumix' but it gives an error: 'Error opening aumix' Have you tried /sbin/sndconfig (as root)? -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: Mailing list manager for Red Hat 8
mailman -Original Message- From: Michael Mansour [mailto:[EMAIL PROTECTED] Sent: 01 April 2003 13:42 To: [EMAIL PROTECTED] Subject: Mailing list manager for Red Hat 8 Hi, I'm wondering what a good mailing list manager is for Linux. I know of majordomo, but a google search of the thing shows it hasn't been updated for a very long time. Michael. __ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://platinum.yahoo.com -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: mount win shares to Linux automatically - possible?
Hi, CC Thank you very much the excellent solution and I think that we will use winbind in the future. cheng -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of christopher cuse Sent: 31 March 2003 12:17 To: [EMAIL PROTECTED] Subject: RE: mount win shares to Linux automatically - possible? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Zhi Cheng Wang > Sent: Monday, March 31, 2003 10:29 AM > To: [EMAIL PROTECTED] > Subject: RE: mount win shares to Linux automatically - possible? > > > Hi, CC > Thank you for the excellent message. we have a windows > centric system and that cannot be changed, for historical, > political and management reasons. > > As linux in this org started from a few isolated desktops, > when more and more people use it, we set up a centralized > server for auth and nfs services. most Linux users still have > their windows desktops and some use exceed. when people log > into windows, they are authenticated by a win2k domain. when > they log into Linux, auth by a nis server (should migrate to > ldap). The two systems are independent of each other apart > from backup and email, which are communicating via agents. > > this may be not a neat technical set-up, but easy to manage > and support. Then we have this file access problem, when the > linux/windows users log into any system, them want to access > files in both systems. > > What I am trying to achieve here is: > when people log into linux, they do not need to type > \\winserver\users\share and/or supply username and password, > but simply type e.g. "cd /home/user1/mywin" to access her > home folder in widows (like a mapped drive in windows). > > Cheng > Hi Cheng, In this case, I would once again suggest that you look at winbind -- all users, including linux, are setup only on your windows 2k box -- linux logins check there for authorization. > they log into Linux, auth by a nis server (should migrate to ldap). yes and no -- you are probably a good candidate to wait from samba 3.0 which should be supporting active deirectory (assuming that you are running active directory) >\\winserver\users\share from the windbind doc ... template homedir When filling out the user information for a Windows NT user, the winbindd daemon uses this parameter to fill in the home directory for that user. If the string %D is present it is substituted with the user's Windows NT domain name. If the string %U is present it is substituted with the user's Windows NT user name. Default: template homedir = /home/%D/%U it's there! finally, checkout rdesktop (www.rdesktop.org) -- you can have your windows desktop in a linux x window! cheers CC This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: mount win shares to Linux automatically - possible?
Hi, CC Thank you for the excellent message. we have a windows centric system and that cannot be changed, for historical, political and management reasons. As linux in this org started from a few isolated desktops, when more and more people use it, we set up a centralized server for auth and nfs services. most Linux users still have their windows desktops and some use exceed. when people log into windows, they are authenticated by a win2k domain. when they log into Linux, auth by a nis server (should migrate to ldap). The two systems are independent of each other apart from backup and email, which are communicating via agents. this may be not a neat technical set-up, but easy to manage and support. Then we have this file access problem, when the linux/windows users log into any system, them want to access files in both systems. What I am trying to achieve here is: when people log into linux, they do not need to type \\winserver\users\share and/or supply username and password, but simply type e.g. "cd /home/user1/mywin" to access her home folder in widows (like a mapped drive in windows). Cheng > hi cheng, > Hi, Christopher > > we are using windows 2000 servers. we configured samba to use win server to > authenticate users when they access Linux file from windows environment. ok, i am just a wee bit confused then; you have a windows 2000 advanced server running as a domain controller, additionally, you have linux box where samba has been configured to use the windows 2k as it's authentification server. further, you have shares on the linux box available to the network. does this sound about right? there is nothing particularily wrong with this arrangement, although I would have configured linux to be the domain controller and the 2k box as a domain member. this tends to be the preference if ever you decide to activate the terminal services (as microsoft reccommends that a terminal server not be a domain controller at the same time). needless to say, that you do not have to pay the client license when your domain controller is running under samba -- this can be a very persuaive argument to change the role -- i assume then you have pesuasive reason for the 2k server as well -- some sort of application that running there that cannot be migated to linux? (hint) typically, if not always, when a windows client becomes member of a windows domain, it create a hidden share for each drive/partition (i.e. c$, etc.). additionally, the windows client global group administrators is modified to include the domain administrator. once again, there is no need (or desire) to have all of the client passwords maintained somewhere for the administrator -- by having the domain admin declared as a local administrator on the client, the domain admin, from any machine on the network, can access any other domain member machine. to try, logon to w2k as admin, open up explorer, and type\\netbiosname\c$ and hit enter. if the client machine is a member, than no password is required to have full access to the client's disk should you wish to maintain a windows centric solution, than you could consider running winbind, which allows linux logins based on nt security. again, only under special instances would you want to do this ... but you may have a case that justifies it. check out winbind in the samba-howto collection. Cheers CC This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: mount win shares to Linux automatically - possible?
It seems that some folks do not read the whole message. the samba server has been configured to use a win2k as password server and it is ok for people to access Linux files within win environment. -Original Message- From: Jeff Kinz [mailto:[EMAIL PROTECTED] Sent: 28 March 2003 15:47 To: [EMAIL PROTECTED] Subject: Re: mount win shares to Linux automatically - possible? On Fri, Mar 28, 2003 at 03:26:55PM -, Zhi Cheng Wang wrote: > Hi, Christopher > Thank you for your very helpful suggestions. For the time being, I will > write a script to prompt for password when people try to access their > windows shares. It is simply impossible to ask hundreds of people for > their password and put them in a clear text file on hundreds of computers Hi Zhi, Actually the passwords would be placed only in the fstab file on the server. Not hundreds of computers. Also you wouldn't have to ask the users for their passwords, thay can be set to explicit values on the Linux side. this however, creates other detrimental issues. Remeber the Samba share passwords don't have to be the same as their Windows passwords. Which raises the specter of the "multiple logons" issue. Since clear text passwords are always vulnerable have you considered adding an LDAP authentication facility to your network? Or having a Linux box act as a domain controller? > and have to change them from time to time. May be it is a good idea for > some folks, but not me. By the way - here are the user guidelines for this email list. You may want to glance through them to learn how to post in the correct format. http://www.rps2.net/RHLinux/rhil-guide.htm OR: http://kinz.org/rhilg.html http://www.faqs.org/rfcs/rfc1855.html network etiquette http://catb.org/~esr/faqs/smart-questions.html http://expita.com/nomime.html -- Jeff Kinz, Open-PC, Emergent Research, Hudson, MA. [EMAIL PROTECTED] copyright 2003. Use is restricted. Any use is an acceptance of the offer at http://www.kinz.org/policy.html. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: mount win shares to Linux automatically - possible?
Hi, winglion your contribution is highly appreciated. But, I think smbfs implies remote file system. forgive the simple minded man. cheng -Original Message- From: winglion [mailto:[EMAIL PROTECTED] Sent: 28 March 2003 14:45 To: [EMAIL PROTECTED] Subject: RE: mount win shares to Linux automatically - possible? :-)! I am really sorry about my stupid answer! winglion [EMAIL PROTECTED] 2003-03-28 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: mount win shares to Linux automatically - possible?
Hi, Christopher we are using windows 2000 servers. we configured samba to use win server to authenticate users when they access Linux file from windows environment. perhaps if we some how to make use of ldap for authentication, then we would configure samba to use a Linux server to do the authentication when users access windows files from Linux? provided that win2k allows this. can we do both? I do not think any org will allow their sys admin to know everyone's pass word. Cheng -Original Message- From: christopher cuse [mailto:[EMAIL PROTECTED] Sent: 28 March 2003 14:16 To: [EMAIL PROTECTED] Subject: RE: mount win shares to Linux automatically - possible? hi jeff, the smbmount/smbfs has been in samba for some time -- i really don't remember since when. i would tend to concur that ldap is probably the best solution for cheng, although the fact that the windowz user may change his/her password has no impact provided that the samba user is declared locally on the windows box (hence my question about what version of windowz) ... cheers christopher cuse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jeff Kinz Sent: Friday, March 28, 2003 2:54 PM To: [EMAIL PROTECTED] Subject: Re: mount win shares to Linux automatically - possible? On Fri, Mar 28, 2003 at 01:59:00PM +0100, christopher cuse wrote: > hi cheng > > you can mount remote windows shares provided that you have installed samba. > once installed, try a line similar to this in your /etc/fstab file > > //drs1/c$ /mnt/caca smbfs password=mypassword,username=ccuse 0 0 > > where drs1 is the netbios name of the windows box, c$ is the share name, and > username and password accordingly. > Hi Chris - this is a great solution. Extremely useful for most installations. Where did you find it? I know some folks are worried about the clear text password issue but if someone who has root on their system isn't suppoed to be reading the fstab file, then they much bigger problems... :-) For the folks who win users have their passwords changed at "frequent" intervals their is a way to authenticate samba access through authentication facilities on the Linux box. At least one of these is, I believe, LDAP based and the others are PAM based. (AFAIK). Those techniques would be useful for environments which do force password changes. -- Jeff Kinz, Open-PC, Emergent Research, Hudson, MA. [EMAIL PROTECTED] copyright 2003. Use is restricted. Any use is an acceptance of the offer at http://www.kinz.org/policy.html. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: mount win shares to Linux automatically - possible?
Hi, Christopher Thanks. but the plain text passwd is really a concern and also the user's passwd will change periodically on the win sys. it is a quite large org, and the internal security is also an issue. cheng -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of christopher cuse Sent: 28 March 2003 12:59 To: [EMAIL PROTECTED] Subject: RE: mount win shares to Linux automatically - possible? hi cheng you can mount remote windows shares provided that you have installed samba. once installed, try a line similar to this in your /etc/fstab file //drs1/c$ /mnt/caca smbfs password=mypassword,username=ccuse 0 0 where drs1 is the netbios name of the windows box, c$ is the share name, and username and password accordingly. cheers christopher cuse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Zhi Cheng Wang Sent: Friday, March 28, 2003 1:46 PM To: [EMAIL PROTECTED] Subject: RE: mount win shares to Linux automatically - possible? thanks for the suggestion, but I am talking about remote files, I am not that new. cheng -Original Message- From: winglion [mailto:[EMAIL PROTECTED] Sent: 28 March 2003 12:41 To: [EMAIL PROTECTED] Subject: Re: mount win shares to Linux automatically - possible? It is very easy to do that! example : at this live to your fstab : mount -t vfat -o codepage=936,iocharset=cp936 /dev/hda5 /mnt/d this line tell linux to mount the hda5 (which is the D: in M$window) The option next to -o tell linux to support chinese charset filename! Actually,I am a newbe to linux too! Yet,I think you should search for answer on google or some other engines before you sent a mail here! So many knowledges we can find on the internet!:-) >Hi, Gurus > >Is it possible to define something in the /etc/fstab file so that a windows share can >be mounted to Linux box automatically when sys reboot? (or something in /etc/rc.local >without plain text passwd?) > >the scenario: >we have two (ha, more than two) systems in our institute, a few MS file servers and >some Linux file servers. For the Linux users, they want to be able to access windows >files within Linux (the other way around is easier to accomplish using samba). At the >moment, the users have to use smbclient, Nuatilus or command line "mount -t smbfs -o >.. ...". > >it would be much better if the Linux desktops can automatically mount the user's >share to e.g. /home/user1/win > >thanks > >Cheng winglion [EMAIL PROTECTED] 2003-03-28 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: mount win shares to Linux automatically - possible?
thanks for the suggestion, but I am talking about remote files, I am not that new. cheng -Original Message- From: winglion [mailto:[EMAIL PROTECTED] Sent: 28 March 2003 12:41 To: [EMAIL PROTECTED] Subject: Re: mount win shares to Linux automatically - possible? It is very easy to do that! example : at this live to your fstab : mount -t vfat -o codepage=936,iocharset=cp936 /dev/hda5 /mnt/d this line tell linux to mount the hda5 (which is the D: in M$window) The option next to -o tell linux to support chinese charset filename! Actually,I am a newbe to linux too! Yet,I think you should search for answer on google or some other engines before you sent a mail here! So many knowledges we can find on the internet!:-) >Hi, Gurus > >Is it possible to define something in the /etc/fstab file so that a windows share can >be mounted to Linux box automatically when sys reboot? (or something in /etc/rc.local >without plain text passwd?) > >the scenario: >we have two (ha, more than two) systems in our institute, a few MS file servers and >some Linux file servers. For the Linux users, they want to be able to access windows >files within Linux (the other way around is easier to accomplish using samba). At the >moment, the users have to use smbclient, Nuatilus or command line "mount -t smbfs -o >.. ...". > >it would be much better if the Linux desktops can automatically mount the user's >share to e.g. /home/user1/win > >thanks > >Cheng winglion [EMAIL PROTECTED] 2003-03-28 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
mount win shares to Linux automatically - possible?
Hi, Gurus Is it possible to define something in the /etc/fstab file so that a windows share can be mounted to Linux box automatically when sys reboot? (or something in /etc/rc.local without plain text passwd?) the scenario: we have two (ha, more than two) systems in our institute, a few MS file servers and some Linux file servers. For the Linux users, they want to be able to access windows files within Linux (the other way around is easier to accomplish using samba). At the moment, the users have to use smbclient, Nuatilus or command line "mount -t smbfs -o .. ...". it would be much better if the Linux desktops can automatically mount the user's share to e.g. /home/user1/win thanks Cheng This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
redhat-release and version
hi "rpm -q redhat-release" and "cat /proc/version" usually give different version numbers, what does each mean? cheng This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
postgres versions
dear gurus I have a few versions of RH (7.2, 7.3 and 8.0) servers and they need postgres DB. can i install the same version of postgresql on all the servers? thanks This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: ls --full-time
Hi, Tony thanks for the message. but i do not want to add current time, the time stamp of the file is needed cheng -Original Message- From: Anthony E. Greene [mailto:[EMAIL PROTECTED] Sent: 13 March 2003 11:49 To: [EMAIL PROTECTED] Subject: Re: ls --full-time On 13-Mar-2003/09:08 +, Zhi Cheng Wang <[EMAIL PROTECTED]> wrote: > >now i want to backup files by renaming them with their time stamp added >the end of file name. by using "ls --full-time", however, different >version of RH gives different format, which make my scripts not >universally applicable. is there a better way to get the same time stamp >format, or to test which version of Linux (not kernel) is running? currdate=`date +%Y-%m-%d` newfilename=backup.$currdate There are many options for the format of the date. See the 'date' man page. Tony -- Anthony E. Greene <mailto:[EMAIL PROTECTED]> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Messenger: TonyG05HomePage: <http://www.pobox.com/~agreene/> Linux. The choice of a GNU generation <http://www.linux.org/> -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
ls --full-time
Dear gurus thanks for your helpful information on my previous questions, which make the sys admin job more enjoyable now i want to backup files by renaming them with their time stamp added the end of file name. by using "ls --full-time", however, different version of RH gives different format, which make my scripts not universally applicable. is there a better way to get the same time stamp format, or to test which version of Linux (not kernel) is running? cheng This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible.
RE: unable to mount the first file system on start up
of course, portmap starts at 13th and netfs 25th, the same default rh settings for all servers and desktops -Original Message- From: Bart SCHELSTRAETE [mailto:[EMAIL PROTECTED] Sent: 07 March 2003 22:42 To: [EMAIL PROTECTED] Subject: Re: unable to mount the first file system on start up Zhi Cheng Wang wrote: >I have a nfsd running to export more than one file systems. Many desktops and >servers mount them to their local disk. But one dell PE2650 cannot mount the first >nfs file system and the error message is "RPC port mapper failure - RPC: Unable to >receive" and the following nfs file systems are mounted OK. If I change the order of >the nfs files in /etc/fstab, always the first one cannot be mounted. After the system >started up, I can always mount the failed file system manually by typing e.g. "mount >/usr/loc al" > HEllo, Are the rpc daemons started before you're mounting those disks? rgrds, Bart This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: test empty dir
this seems a very good test, but the system says "[: too may arguments" -Original Message- From: Anand Buddhdev [mailto:[EMAIL PROTECTED] Sent: 07 March 2003 09:55 To: [EMAIL PROTECTED] Subject: Re: test empty dir On Fri, Mar 07, 2003 at 08:52:56AM -, Zhi Cheng Wang wrote: > dear gurus > > how can i test if a directory is empty? at the moment i use the following method: > > ls -l /dirname | grep "total 0" > if [ $? ] then This is not a good test. "ls -l" will not reveal dot-files. Use "ls -A" which will list all files, including the dotted ones, but excluding '.' and '..'. if [ -z `ls -A /dirname` ]; then echo "empty"; fi > but I think it is ugly, any pretty way? ... -- Anand Buddhdev http://anand.org -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
test empty dir
dear gurus how can i test if a directory is empty? at the moment i use the following method: ls -l /dirname | grep "total 0" if [ $? ] then but I think it is ugly, any pretty way? ... Cheng This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
unable to mount the first file system on start up
I have a nfsd running to export more than one file systems. Many desktops and servers mount them to their local disk. But one dell PE2650 cannot mount the first nfs file system and the error message is "RPC port mapper failure - RPC: Unable to receive" and the following nfs file systems are mounted OK. If I change the order of the nfs files in /etc/fstab, always the first one cannot be mounted. After the system started up, I can always mount the failed file system manually by typing e.g. "mount /usr/local" any suggestions? Cheng This email is confidential and intended solely for the use of the person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute for Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged & confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: how to load both nic on start up?
I mean both the multi-cpu server and this troubled SAN storage server. What makes me frustrated is that the multi-cpu server is a DELL PE2650 with one bcm5700 and one e1000 nic and I can handled them quite well as i intended to. for the san storage server (with two cpu's), it is an hp proliant DL850 also with one bcm5700 and one e1000 nic and it causes so much troubles -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED] Sent: 03 March 2003 16:37 To: [EMAIL PROTECTED] Subject: RE: how to load both nic on start up? Just to clarify a bit of confusion. You say "more servers and desktops under the same subnet will also need to access these two servers." We are talking about one server here right? Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Zhi Cheng Wang Sent: Monday, March 03, 2003 10:58 AM To: [EMAIL PROTECTED] Subject: RE: how to load both nic on start up? thanks Larry and your reply makes sense. this is the storage server which is used by a multi-cpu server and they are under the same subnet, connected to two switches one using copper cables and other fibre ones. there are many more servers and desktops under the same subnet will also need to access these two servers. ideally i want to disable the nic with copper cable, but if do so, network is not available and any commands will take ages to execute -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED] Sent: 03 March 2003 15:44 To: [EMAIL PROTECTED] Subject: RE: how to load both nic on start up? You need to subnet these two NIC cards. They need to have masks that separate them. Where are they going? Are you trying to achieve more bandwidth than the fiber provides? If so, there would have to be greater than an e1000 on the gateway anyway. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Zhi Cheng Wang Sent: Monday, March 03, 2003 7:55 AM To: [EMAIL PROTECTED] Subject: how to load both nic on start up? there two ether cards, one with UTP CAT 5 cable connected to eth1 (bcm5700) and one fibre cable connected eth0 (e1000). they have different IP on the same network, e.g. 130.88.231.86 and 130.88.231.85 but only the eth1 revealed by netstat. Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 130.88.231.0* 255.255.255.0 U40 0 0 eth1 130.88.231.0* 255.255.255.0 U40 0 0 eth1 127.0.0.0 * 255.0.0.0 U40 0 0 lo default 130.88.231.249 0.0.0.0 UG 40 0 0 eth0 if i disable eth1, no network available and other commands such as "ls -l" will take ages to respond OR to my it in other words, how can i achieve this: Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 130.88.231.0* 255.255.255.0 U40 0 0 eth0 130.88.231.0* 255.255.255.0 U40 0 0 eth1 127.0.0.0 * 255.0.0.0 U40 0 0 lo default 130.88.231.249 0.0.0.0 UG 40 0 0 eth0 any suggestions? many thanks cheng -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: how to load both nic on start up?
thanks Larry and your reply makes sense. this is the storage server which is used by a multi-cpu server and they are under the same subnet, connected to two switches one using copper cables and other fibre ones. there are many more servers and desktops under the same subnet will also need to access these two servers. ideally i want to disable the nic with copper cable, but if do so, network is not available and any commands will take ages to execute -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED] Sent: 03 March 2003 15:44 To: [EMAIL PROTECTED] Subject: RE: how to load both nic on start up? You need to subnet these two NIC cards. They need to have masks that separate them. Where are they going? Are you trying to achieve more bandwidth than the fiber provides? If so, there would have to be greater than an e1000 on the gateway anyway. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Zhi Cheng Wang Sent: Monday, March 03, 2003 7:55 AM To: [EMAIL PROTECTED] Subject: how to load both nic on start up? there two ether cards, one with UTP CAT 5 cable connected to eth1 (bcm5700) and one fibre cable connected eth0 (e1000). they have different IP on the same network, e.g. 130.88.231.86 and 130.88.231.85 but only the eth1 revealed by netstat. Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 130.88.231.0* 255.255.255.0 U40 0 0 eth1 130.88.231.0* 255.255.255.0 U40 0 0 eth1 127.0.0.0 * 255.0.0.0 U40 0 0 lo default 130.88.231.249 0.0.0.0 UG 40 0 0 eth0 if i disable eth1, no network available and other commands such as "ls -l" will take ages to respond OR to my it in other words, how can i achieve this: Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 130.88.231.0* 255.255.255.0 U40 0 0 eth0 130.88.231.0* 255.255.255.0 U40 0 0 eth1 127.0.0.0 * 255.0.0.0 U40 0 0 lo default 130.88.231.249 0.0.0.0 UG 40 0 0 eth0 any suggestions? many thanks cheng -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
how to load both nic on start up?
there two ether cards, one with UTP CAT 5 cable connected to eth1 (bcm5700) and one fibre cable connected eth0 (e1000). they have different IP on the same network, e.g. 130.88.231.86 and 130.88.231.85 but only the eth1 revealed by netstat. Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 130.88.231.0* 255.255.255.0 U40 0 0 eth1 130.88.231.0* 255.255.255.0 U40 0 0 eth1 127.0.0.0 * 255.0.0.0 U40 0 0 lo default 130.88.231.249 0.0.0.0 UG 40 0 0 eth0 if i disable eth1, no network available and other commands such as "ls -l" will take ages to respond OR to my it in other words, how can i achieve this: Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 130.88.231.0* 255.255.255.0 U40 0 0 eth0 130.88.231.0* 255.255.255.0 U40 0 0 eth1 127.0.0.0 * 255.0.0.0 U40 0 0 lo default 130.88.231.249 0.0.0.0 UG 40 0 0 eth0 any suggestions? many thanks cheng -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
ping will kill the network connection
dear all on my newly installed RH7.2 on Compaq Proliant DL580, with one UTP CAT 5 cable and one fibre cable connected, if I ping something, the network connection will die. the server itself can not even be ping'd any suggestions? many thanks cheng Bioinformatics Paterson Institute for Cancer Research Christie Hospital Wilmslow Road Manchester M20 4BX United Kingdom t +44 161 446 3031 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list