Samba books
Hi all : Does anyone have an excellent Samba book to recommend ? ( A tutorial / reference book all in one ) I am considering getting that Linux Samba server admin book from the Craig Hunt Library. Any suggestions ? Regards , Jason
permissions for 'dump' procedures
Hi , I have two Red Hat Linux 8 servers connected and talking to one another on a network. I am trying to use the 'dump' command to perform a test backup procedure of a from one machine to the next. I run the command like this : # dump -0 -f hostIPaddress:/target /source I then get a line saying "DUMP: " immediately afterwards , and then after waiting a few seconds I get an error message saying that the login process for root failed. How do I go about setting up trusted access between the two root accounts on the different machines ? I even tried the same process with a lower-level user that existed on both machines , and still the process failed Regards , Jason
Disk space usage analysis
Hi all ; Does anyone know of a tool that I can use to analyse how much disk space a specific directory ( not filesystem ) is using ? in otherwords , something that can allow me to conduct an in-depth analysis of a directory tree , how much space in Mb that tree is using , how many files it has and how large those specific files are ? I am trying to develop a solution to this problem in the form of a shell script , but this is proving painful , because the 'h' option to the ls command does not consistently use the same unit of measurement for sizing ratio reasons. Some of the files are only a few bytes in size , but there are millions of them , and so by adding up the numbers using 'expr' , I end up with a number in exponential form rather than the command being smart enough to convert the figure into a higher-level unit of measurement. Regards , Jason
Configuring SCSI drive/controller card on Red Hat 8
Hi all: I have a fairly quick 'before-the-action' question to ask. I have an Adaptec Ultra160 SCSI controlled card and a compatible Seagate SCSI disk. The question : Will I need to download any special utilities or drivers to get this equipment to work on Red Hat Linux 8, on an Intel PIV 2.0 Ghz platform ? how easy will it be to configure a SCSI disk and controller, and what tools do you recommend I use ? ( P.S. I am using a Gnome desktop as well with all of the system tools installed ) Regards, Jason
External email on RH 8
Hi all: OK, here is the situation. I have an Old Red hat Linux 7 machine which is running exim as a mail server. This machine also acts as out firewall. I am moving the mail services from that firewall machine onto a new Red Hat 8 machine running sendmail. I had the MX record changed to point to the correct IP address of the new sendmail server. This works OK. A traceroute command points you to the correct place. I can send and receive internal mail from and to the new account I set up on the RH8 sendmail server. No problem. I can send mail to the outside world. No problem. The moment I try to receive email from an outside address, the message seems to disappear into cyberspace. I simply don't get those messages. I simply can't figure out whay this is happening. The firewall / old mail server responds to the outside world first before the new server does, so I made sure that I configured Exim to only allow relaying for the domain to which the new mail account belongs. I made sure to remove the domain from the local domains file on the old server. I also made sure that the local domains file on the new mail server was updated correctly. No luck. Does anyone have a vague idea as to what I can check for? is there a way I can check the old mail server for what could be happening ? Regards, Jason to the outside world before the new
Re: External email on RH 8
Yes, I did all of those changes to the sendmail.cf file. In fact, I got everything to work with another domain I am hosting on the new server - Original Message - From: "Thomas Molina" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 17, 2003 12:00 PM Subject: Re: External email on RH 8 > On Mon, 17 Feb 2003, Jason Dale wrote: > > > Hi all: > > > > OK, here is the situation. I have an Old Red hat Linux 7 machine which > > is running exim as a mail server. This machine also acts as out firewall. > > I am moving the mail services from that firewall machine onto a new > > Red Hat 8 machine running sendmail. > > > > Does anyone have a vague idea as to what I can check for? is there a way I can > > check the old mail server for what could be happening ? > > Did you redo the sendmail.cf on the new box? I don't remember when the > change happened, but there is a change in functionality. Now, by default, > sendmail only listens on the local loopback interface. There are > instructions for changing sendmail to accept mail from external > interfaces. > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
External mail on RH8 again
Hi again, Here is a screendump of the errors I am getting when I try to send mail from the outside world to my testmail account. The other scary thing is that even when I send a mail to a completely non-existent account, whether internally or externally, I get the same message as below. What should have happened is that I would have got an error returned immediately saying that the local part 'nosuchuser' in 'domainname' does not exist. Some really strange stuff happening here. This message was created automatically by mail delivery software.A message that you sent has not yet been delivered to all of its recipientsafter more than 12 hours on the queue on mx01.citec.net.The message identifier is: 18kmYb-0001mC-00The subject of the message is: From hotmail to primaryblue !!!The date of the message is: Mon, 17 Feb 2003 16:28:26 +0200The address to which the message has not yet been delivered is: [EMAIL PROTECTED]No action is required on your part. Delivery attempts will continue forsome time, and this warning may be repeated at intervals if the messageremains undelivered. Eventually the mail delivery software will give up,and when that happens, the message will be returned to you.
Re: External mail on RH8 again
Hi Ralph, Thanks for the input. Yes, 209.212.104.70 is the correct IP address. When I type # telnet mail.primaryblue.com 25 I get a connection, which tells me that the outside world cannot access this mail domain. Here is output from the lsof -i command, searching for '25' and for snedmail. # [root@blackhawk log]# lsof -i | grep -i send sendmail 770root4u IPv4 1586 TCP *:smtp (LISTEN) [root@blackhawk log]# lsof -i | grep 25 xinetd 747root6u IPv4 1525 TCP blackhawk:32769 (LISTEN) Is that all OK ? I am hosting a couplpe of domains on this server. How do I check which one is the primary? There are not any TCP wrappers enabled, this mail server is sitting behind at least 2 firewalls. Where does sendmail keeps it's logs, and what do I check for ? Thanks for your help ! Jason - Original Message - From: "Ralf Spenneberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 18, 2003 10:19 AM Subject: Re: External mail on RH8 again > Am Die, 2003-02-18 um 09.06 schrieb Jason Dale: > > Hi again, > > > > Here is a screendump of the errors I am getting when I try to send mail > > from the outside world to my testmail account. > > > This is what I get: > $ host -t mx primaryblue.com > primaryblue.com mail is handled by 5 mail.primaryblue.com. > primaryblue.com mail is handled by 10 mx01.citec.net. > $ host mail.primaryblue.com > mail.primaryblue.com has address 209.212.104.70 > $ telnet mail.primaryblue.com 25 > Trying 209.212.104.70... > Hangs forever I guess. > > $ ping mail.primaryblue.com > PING mail.primaryblue.com (209.212.104.70) from 192.168.0.202 : 56(84) > bytes of > data. > 64 bytes from 209.212.104.70: icmp_seq=1 ttl=44 time=702 ms > 64 bytes from 209.212.104.70: icmp_seq=2 ttl=44 time=715 ms > 64 bytes from 209.212.104.70: icmp_seq=3 ttl=44 time=681 ms > > Hangs forever I guess. > Is mail.primaryblue.com your primary mailserver? > Is 209.212.104.70 the correct IP address? > Type "lsof" -i and see if the port 25 is opened by sendmail > Do you have tcpwrappers enabled (/etc/hosts.deny: "ALL:ALL") > > Restart sendmail and send the logs > > Cheers, > > Ralf > -- > Ralf Spenneberg > RHCE, RHCX > > IPsec/PPTP Kernels for Red Hat Linux: > http://www.spenneberg.com/.net/.org/.de > Honeynet Project Mirror:http://honeynet.spenneberg.org > Snort Mirror: http://snort.spenneberg.org > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: External mail on RH8 again
Thanks to both Ralph and Jay Seems it was a firewall issue after all. The nitwits did not open the port like we asked them to ! and here I am pulling my hair out .. Jason - Original Message - From: "Ralf Spenneberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 18, 2003 11:01 AM Subject: Re: External mail on RH8 again > Am Die, 2003-02-18 um 09.44 schrieb Jason Dale: > > Hi Ralph, > > > > Thanks for the input. > > > > Yes, 209.212.104.70 is the correct IP address. > > > > When I type > > > > # telnet mail.primaryblue.com 25 > Ok. me too after some time, but it looks weird: > Connected to mail.primaryblue.com. > Escape character is '^]'. > 220 > 2**2200*2*** ***0200 > helo localhost > 250 localhost.localdomain Hello 212-204-016-082.dsl1.versanet.de > [212.204.16.82], pleased to meet you > mail from: [EMAIL PROTECTED] > 250 2.1.0 [EMAIL PROTECTED] Sender ok > rcpt to:[EMAIL PROTECTED] > 250 2.1.5 [EMAIL PROTECTED] Recipient ok > data > 354 Enter mail, end with "." on a line by itself > This is testdata. > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
network backups with tar
Hello, 1) When I do a man page on 'tar', the screen comes up all garbled. I believe this was discussed on the list a while back, but I can't seem to find those mails that will shed some insight on why this is happening. Does this have something to do with the $TERM variable? 2) I am using 'tar' to create a backup of a directory structure to another Linux server on the same LAN. Here is a screen dump: # tar -cvzf -f 209.212.123.157:/usr/backups /tmp/testdir Gives this output tar: 209.212.123.157\:/usr/backups: Cannot stat: No such file or directorytar: Removing leading `/' from member namestmp/testdir/tmp/testdir/testfile1tmp/testdir/testfile2tar: Error exit delayed from previous errors I am trying to backup the directory /tmp/testdir and copy the archive onto the server substituted by the IP address 'IP'. Where am I going wrong here? Regards, Jason
Re: network backups with tar
Hi all, Thanks for the input thus far. I forgot to mention that I had a working solution by piping the output of a find command to cpio, which creates an archive file on the other server. The problem is that the recipient server keeps asking me for a friggin' password, which means I have to babysit my backups rather than be able to run them from the cron system. Is there a way I can set up the machines so that the root password between these two machines in a LAN does not get asked for, or alternatively find a way to specify a username and password on the command line ? (Yes, I know that is not safe ...) BTW, when I run the command # tar cvzf - /tmp/testdir | ssh [EMAIL PROTECTED] 'cat > ~/backup.tgz' It asks me for a password, and when I type the correct root password in, ( I logged into the 'sending' server as root ) , it tells me "Permission denied, please try again". I have spent literally weeks looking for a simple easy-to-use tool that can run on RH 8 and RH 7 which has the following characteristics: 1) Does not need a GUI 2) Relatively simple to setup and use 3) Can backup to a network drive, WITHOUT user intervention. 4) Can be run in the task scheduler 5) Can compress archives 6) Allows you to backup directories as well as filesystems. ( Unlike dump !) Ideally, I want to use tools that are already apart of the system, but I am willing to compromise. ( I will look into using 'flexbackup' , which someone suggested ) Regards, Jason - Original Message - From: "Toni Erdmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 19, 2003 6:26 PM Subject: Re: network backups with tar > Aaron Konstam wrote: > > On Wed, Feb 19, 2003 at 06:11:53PM +0200, Jason Dale wrote: > > > >>Hello, > >> > >>1) When I do a man page on 'tar', the screen comes up all garbled. I believe > >> this was discussed on the list a while back, but I can't seem to find those mails > >> that will shed some insight on why this is happening. Does this have something to > >> do with the $TERM variable? > >> > >>2) I am using 'tar' to create a backup of a directory structure to another Linux server > >>on the same LAN. Here is a screen dump: > >> > >># tar -cvzf -f 209.212.123.157:/usr/backups /tmp/testdir > >> > >>Gives this output > >> > >>tar: 209.212.123.157\:/usr/backups: Cannot stat: No such file or directory > > > > I am unaware that tar will send a file to another machine as your > > are trying to do. This can be done using rsh or probably ssh but not > > directly. Also tar files for sanity sake should end in a .tar > > extension. > > what about: > > tar cvzf - /tmp/testdir | ssh [EMAIL PROTECTED] 'cat > ~/backup.tgz' > > tar puts everything to STDOUT ('-') which then is passed to ssh, > where cat puts everything from STDIN to backup.tgz in user's home > directory > > Toni > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: network backups with tar
I am thinking about this purely from my UnixWare 7 experience. Trying to set up trusted hosts on UnixWare 7 was achievable, except that you could not set up trusted access with the root account across the two servers. I suspect that similar applies for Linux. I am not sure about the SSH only being available in one direction though. I assure you that out of everyone on this list, my knowledge is pretty pathetic. Pretty soon I will be getting an award for being the dumbest user on the list. ;) Pity there isn't a backup solution for dummies. Jason - Original Message - From: "Ryan McDougall" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 20, 2003 3:41 PM Subject: Re: network backups with tar > > > BTW, when I run the command > > > > # tar cvzf - /tmp/testdir | ssh [EMAIL PROTECTED] 'cat > ~/backup.tgz' > > > > It asks me for a password, and when I type the correct root password in, ( I > > logged into the 'sending' > > server as root ) , it tells me "Permission denied, please try again". > > > I hate to say this, because I feel that your linux knowledge is more than mine, > but is root login restricted via ssh to the recieving server? I know that I > have done that on my box. Just a thought and please forgive me if I am way off > base here. > > Ryan > > __ > Do you Yahoo!? > Yahoo! Tax Center - forms, calculators, tips, more > http://taxes.yahoo.com/ > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: network backups with tar
Yup, I did use root, but I still had a typo after root, so it could not find the user name. Thanks, *looking very sheepish* I don't suppose there is a way to supply the root passwpord on the command line? this would be great, because I could then run this command in the task scheduler Jason - Original Message - From: "Toni Erdmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 20, 2003 4:40 PM Subject: Re: network backups with tar > Ryan McDougall wrote: > > > > > >>BTW, when I run the command > >> > >># tar cvzf - /tmp/testdir | ssh [EMAIL PROTECTED] 'cat > ~/backup.tgz' > > > replace 'user' by 'root' and use root's password of 209.212.123.157 > (just to be sure that we mean the same thing) > > >> > >>It asks me for a password, and when I type the correct root password in, ( I > >>logged into the 'sending' > >>server as root ) , it tells me "Permission denied, please try again". > > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: network backups with tar - cannot generate passwordless SSH key
Hi A.J Thanks for taking the time and the effort to write up your solution ! I really appreciate it :) Unfortunately, still no joy. I assume that I am putzing up somewhere, so I will give you a summarized log of exactly what I did on my servers. The two test servers I am using: 'blackhawk' - Red Hat Linux 8 [ server that needs to be backed up] 'firewall' - Red Hat Linux 6.2 [ server that I am using for the 'backups' (not really, just to test connection)] When I do the real backup on Saturday, the server to be bached up is on Red Hat Linux 7.2, and the serverI will be storing the backup archives on is Red Hat 8. Action log -- 1) On firewall machine I created a user called 'backup' using the webmin interface. The normal account password was also 'backup' 2) Logged into firewall machine as user backup. 3) ran the 'ssh-keygen' program. Here is the output : ( I accepted the defaults with spaces ) # ssh-keygen [backup@firewall backup]$ ssh-keygen Initializing random number generator... Generating p: ..++ (distance 18) Generating q: ...++ (distance 74) Computing the keys... Testing the keys... Key generation complete. Enter file in which to save the key (/home/backup/.ssh/identity): Enter passphrase: Enter the same passphrase again: Your identification has been saved in /home/backup/.ssh/identity. *very long number* backup@firewall Your public key has been saved in /home/backup/.ssh/identity.pub 4) Checked that 'backup' home directory was not group and world writeable: $ ls -ld ~backup drwxr-xr-x3 backup backup 4096 Feb 21 15:42 /home/backup 5) Chmod the .ssh directory to 700 : $ ls -ld ~backup/.ssh drwx--2 backup backup 4096 Feb 21 15:43 /home/backup/.ssh 6) Did a listing for ~backup/.ssh to see what was there: $ ls -l ~backup/.ssh -rw---1 backup backup530 Feb 21 15:43 identity -rw-rw-r--1 backup backup334 Feb 21 15:43 identity.pub -rw---1 backup backup512 Feb 21 15:42 random_seed ( Strange. the file iscalled 'identity' and not id_dsa. I will just use the file in the same way, though. ) 7) Copied the file 'identity' to 'authorized_keys' $ cp ~backup/.ssh/identity ~backup/.ssh/authorized_keys $ ls -ld ~backup/.ssh/ -rw---1 backup backup530 Feb 21 16:03 authorized_keys -rw---1 backup backup530 Feb 21 15:43 identity -rw-rw-r--1 backup backup334 Feb 21 15:43 identity.pub -rw---1 backup backup512 Feb 21 15:42 random_seed 8) Copied the file 'identity' file to the blackhawk server ( Server to be backed up ) $ scp ~backup/.ssh/identity root@blackhawk:/root/.ssh/backup ( the file gets copied and saved as 'backup' in root's .ssh directory 9) Logged onto blackhawk server as root to verify that file was transferred : # ls -l /root/.ssh/backup -rw---1 502 502 530 Feb 21 15:45 /root/.ssh/backup ( The ID's for user and group are probably because 'backup' does not exist on the archive / blackhawk server ) 10) Ran the following command ( From blackhawk ) as root # ssh -i /root/.ssh/backup backup@firewall I still get prompted for a password, and I even made sure that /root/.ssh is also 700 in permissions. Can you see any obvious way in which I am going wrong? Regards, Jason --- - Original Message - From: "A.J. Werkman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 20, 2003 7:37 PM Subject: Re: network backups with tar > I use the following structure: > > On the server where I store the backup files I created a user "backup". > > Then as the user backup on that machine I did "ssh-keygen". The program > askes for the key name. I use the default name ( key gets stored in > ~/.ssh/id_dsa; public key in ~/.ssh/id_dsa.pub). On the question for a > password, just type . Then you don't have to use a password on the > system to be backed-up. Be sure the home directory of the user backup is > not group- and world writable, otherwise key-authentication doesn't work. > Also be sure the "~/.ssh"-directory has mode 700. > > Further I copied the file ~/.ssh/id_dsa to ~/.ssh/authorized_keys. This way > the backup user accepts login authentication with the private key made in > the previous step. > > Then I copied the file ~/.ssh/id_dsa to the system to be backed-up and > renamed it there to /root/.ssh/backup. > > To check if everything works login on the system to be backed-up as root. > Then type: ssh -i /root/.ssh/backup backup@. > Now you should get a $-prompt on the backup server without being asked for > a password. > > If this works your up and running. To backup your system or directory, > login on the machine to be backed-up as root or make an entry to the root >
Internet content on RH8
Hi all, 1) Does anyone know where Red Hat 8 keeps all of it's temporary files, cookies, cache files that show where you have been surfing on the net? much like the content cleanup programs that you get for Windows? 2) Where can I find a filtering service to prevent 'objectionable' websites from being accessed in situations where a network of people access the internet via your Red hat Linux server? by 'objectionable' I mean any content including violence, pornography, etc. Regards, Jason
Re: Ext3 vs Ext2
Hi There! Ext3 came into the picture from around RH 7.2, and it comes with some Journaling features designed to make your file system recover from crashes better than ext2 did. Because of this journaling, there will be a performance decrease, which is probably what you are experiencing. Jason Dale - Original Message - From: "JD" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 11, 2003 5:01 AM Subject: Ext3 vs Ext2 > Hallo list, > I have a "feeling" that ext3 is much slower than ext2. My hadrdrive > blinks more often after I let RH8 formatted it with its favorite ext3; > not to mention the noise from the harddrive rotation. > As I said, it's just a "feeling" so please don't flame me for feeling it. > Am I justified anyway? Is it true that ext3 fs is somehow inferior in > practice that ext2? > JD > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
FTP Error/exit codes
Hi all, I have checked my resources and books and cannot seem to figure out what error code 87 is in FTP. I can't seem to find my answer Where on my Red Hat system can I check for some sort of index containing a list of these codes, and what they mean, preferably for each type of program? Any help or advice much appreciated Regards, Jason
Re: Very weird : X not loading just for one user !!!
I'll see if I can find a solution to this, as it does sound pretty wierd. This probably won't work either, but it's worth a try ... Backup all of the important data and programs and then remove the user account and related directories: # userdel -r [account] If I am talking nonsense, someone will correct me soon. My reasoning here is that if this does not resolve the problem, then the hassle does not have anything to do with the profile script/s sitting in the home directory Jason - Original Message - From: "Cédric Chausson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 13, 2003 10:00 AM Subject: Very weird : X not loading just for one user !!! > Hello all, > > I have a weird problem. I cannot start X anymore with my user on my RH > 8.0 box. > > I can get X started under root or under my wife's user but not mine. > > I always start in console mode and type startx. When I do this under my > user, X starts loading but stops with a black screen and the mouse > pointer with an X form. > > Tried rebooting several times but to no avail. I looked into the logs > but have seen no real errr messages. > > Any ideas where to look or what to do ? > > Thanks in advance, > > > -- > "A fanatic is one who can't change his mind and won't change the > subject." - -- Winston Churchill > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Fw: Very weird : X not loading just for one user !!!
. Once you remove the account, recreate it with something like # useradd -m [account]. Then reset the passwords as necessary If reomving and recreating the account does not work, then this may require a Linux Jedi to solve :) > - Original Message - > From: "Jason Dale" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, March 13, 2003 10:22 AM > Subject: Re: Very weird : X not loading just for one user !!! > > > > I'll see if I can find a solution to this, as it does sound pretty wierd. > > > > This probably won't work either, but it's worth a try ... > > > > Backup all of the important data and programs and then remove > > the user account and related directories: > > > > # userdel -r [account] > > > > If I am talking nonsense, someone will correct me soon. My reasoning > > here is that if this does not resolve the problem, then the hassle does > not > > have anything to do with the profile script/s sitting in the home > directory > > > > Jason > > > > - Original Message - > > From: "Cédric Chausson" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Thursday, March 13, 2003 10:00 AM > > Subject: Very weird : X not loading just for one user !!! > > > > > > > Hello all, > > > > > > I have a weird problem. I cannot start X anymore with my user on my RH > > > 8.0 box. > > > > > > I can get X started under root or under my wife's user but not mine. > > > > > > I always start in console mode and type startx. When I do this under my > > > user, X starts loading but stops with a black screen and the mouse > > > pointer with an X form. > > > > > > Tried rebooting several times but to no avail. I looked into the logs > > > but have seen no real errr messages. > > > > > > Any ideas where to look or what to do ? > > > > > > Thanks in advance, > > > > > > > > > -- > > > "A fanatic is one who can't change his mind and won't change the > > > subject." - -- Winston Churchill > > > > > > > > > > > > -- > > > Psyche-list mailing list > > > [EMAIL PROTECTED] > > > https://listman.redhat.com/mailman/listinfo/psyche-list > > > -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: Mozilla Personal Address Book Corrupted
What type of mail user agent program are you using? Jason - Original Message - From: "Alessandro Oliveira" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 13, 2003 2:30 PM Subject: Mozilla Personal Address Book Corrupted > Hi guys, > > I know that this is not psyche specific, but I have a user that has an > address book corrupted, is there any way to recover at least part of it ? > > Thanks for any thoughts, > > Alessandro Oliveira > > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: Mozilla Personal Address Book Corrupted
You can get many types of MUA's of which Mozilla can be one, and you also get other programs like evolution, etc. I have done some reading up, and I am wondering if the ${HOME}/.mozilla/default/*/Mail/hostname/inbox file is built and mainted the same way sendmail builds the mail queue in /var/spool/mail/[username]. My understanding of mozilla is hazy, because I personally don;t use it at all. What I am thinking is that if you can go into the mozilla file above, it might be structired the same way that sendmail would build it - several messages all in the same file. You could try backing up the file, and then removing message blocks one at a time to try and single out the offending message. Don;t take my word for it - I am just making a shot in the dark based on my sendmail experiences Jason - Original Message - From: "Neil Bird" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 13, 2003 4:13 PM Subject: Re: Mozilla Personal Address Book Corrupted > Around about 13/03/2003 12:30, Alessandro Oliveira typed ... > > I know that this is not psyche specific, but I have a user that has an > > address book corrupted, is there any way to recover at least part of it ? > >The .mab files /are/ text, but not exactly friendly! Your best bet > is probably the moz newsgroup(s). > > -- > [EMAIL PROTECTED] ~]# rm -f .signature > [EMAIL PROTECTED] ~]# ls -l .signature > ls: .signature: No such file or directory > [EMAIL PROTECTED] ~]# exit > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Linux Slapper worm - New variants ?
Hi all, My ISP has advised me of possible Linux slapper worm activity on one of our Linux servers, running Red Hat Linux 6.2 This machine does NOT have apache or any ssl / ssh package installed. To my knowledge, Linux slappers exploit vulnerabilities in openssl libraries. I have searched my system for the files of the variants .A, .B and .C. Nothing unusual has been found. I checked the /tmp directory. Here are the slapper variants that I personally am aware of: # Linux.slapper '.A' variant# --## UDP listening port: 2002# uuencoded file: .uubugtraq# Source code file: .bugtraq.c# Compiled binary file: .bugtraq # Linux.slapper '.B' variant# -## UDP listening port: 1978# uuencoded file: .cinik.uu# Source code file: .cinik.c# Compiled binary file: .cinik # Linux.slapper '.C' variant# -## UDP listening port: 4156# uuencoded file: .unlock.uu# Archive file (.tgz format): .unlock# Source code files: .unlock.c, .update.c# Compiled binary files: httpd, update The hassle is that we seem to have a very unstable personal mail server that seems to keeping giving denial of service 'attacks'. Out of the blue, people who connect to this server are not able to establish a connection, or the connection just get's interrupted. Does anyone know of a tool I can use to scan my system to be sure? Are there any new variants out there that are not discussed on Redhat or Symantec? Any suggestions welcome Are there any commands that I can run on the command line to check for any erratic network card activity ? which logs can I check? Jason -Jason DaleSenior programmer / Unix administrator Maxxess Solutions (Pty) LtdAMR office parkbuilding 2Concorde road EastBedford View2008Johannesburg , South Africa Contact information : Switchboard : 27 (0) 11 455 2295fax : 27 (0) 11 455 5737Cell : 27 (0) 83 556 8256-
Re: Linux Slapper worm - New variants ?
Sorry didn't realize that inserting lines was done in HTML. I realize that Psyche is for RH8. I have 3 Linux machines in my Network all interconnected and running RH8 as well as RH6.2. My RH8 box DOES have both Apache and SSL/SSH, so I figured the RH8 box is more likely the culprit. That is why I posted the message here rather on zoot. Let's face it - Linux worms and viruses affect EVERYONE, and they don't care about your distro - only about your vulnerabilities. RH8 list users just seem to be far more up-to-date in their knowledge. However, I don't want to step on anybody's toes, so I will not post zoot stuff here again. As per the Slapper issue, thanks for the tips - I will definitely look into them. Apologies again for the inconvenience. As soon as I find any more info on what this shindig is all about, I will let everyone know just for safety's sake. Better safe than sorry. Jason - Original Message - From: "Tony Nugent" <[EMAIL PROTECTED]> To: "Redhat 8. 0 Psyche Mailing List" <[EMAIL PROTECTED]> Sent: Friday, March 14, 2003 12:15 PM Subject: Re: Linux Slapper worm - New variants ? > On Fri Mar 14 2003 at 11:08, "Jason Dale" wrote: > > > Content-Type: text/html; > > charset="iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > Please, no html to mailing lists. please? > > > My ISP has advised me of possible Linux slapper worm activity on one of > > our Linux servers, running Red Hat Linux 6.2 > > rh6.2 is highly stable, but it does require many updates to keep it > secure. (I thought that this list was for rh8.0, zoot-list is for > 6.2, but no matter). > > > This machine does NOT have apache or any ssl / ssh package installed. > > To my knowledge, Linux slappers exploit vulnerabilities in openssl > > libraries. > > Hmmm... I haven't notice any recent mention of this on bugtraq. > > > I have searched my system for the files of the variants .A, .B and .C. > > Nothing unusual has been found. I checked the /tmp directory. > > > Does anyone know of a tool I can use to scan my system to be sure? > > Are there any new variants out there that are not discussed on Redhat or > > Symantec? > > > chkrootkit -- "locally checks for signs of a rootkit" > >http://www.spenneberg.org/chkrootkit-mirror/index.html > > > Any suggestions welcome > > > > Are there any commands that I can run on the command line to check for > > any erratic network card activity ? which logs can I check? > > tcpdump, or iptables on a nearby router. > > There are other tools too, such as portsentry: > >http://www.psionic.com/products/portsentry.html > > > Jason > > Do let us know what becomes of all this. > > Cheers > Tony > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: SCO and RedHat?
Hi There, I am a SCO ACE for the UnixWare 7 distro. If you need some help, you are welcome to email me directly at [EMAIL PROTECTED] (post to the list if the questions are relevant to Redhat) Of course, being a SCO ACE does not mean much at all - It just means that I know shell programming and command line UNIX very well ;) Jason - Original Message - From: "Joe Klemmer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 23, 2003 4:07 AM Subject: Re: SCO and RedHat? > On Sat, 2003-03-22 at 12:30, Loeung Vidol wrote: > > > Anyone's got experienced with the SCO UNIX? I'm going to try it next week. > > But I'm a bit curious how it is different from RedHat or other Linux > > distros. > > > > I hope most of the commands and services are the same. Could anyone point > > out some major differences? This will be my first time to use SCO. I'm not > > turning away from RedHat (do not misunderstand); I'd just like to try it as > > a friend of mine asked me to. > > I have OpenUNIX 7 and have played with it a bit. If your only UNIX > experience is with Linux or the BSD's then you will find it very > difficult to do anything on there. The legacy of this flavor of UNIX is > like the olden days where everything is considered an add-on. You get > no dev tools, no apps, no utilities, no nothing. However, it is a > tank. If you need something nearly bulletproof (like for database and > NFS) it's not bad. You will pay a LOT for it. > > If you're looking for a "commercial" UNIX I'd recommend Solaris 9 over > SCO UNIX. With all the GLU tools available for it through > sunfreeware.com it'll be more like what you're used to. > > -- > "It's time to KISS your BOT goodBYYEE!" > -- Metabee, 'Medabots' > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: Red Hat 9
In my part of the world in the southern hemisphere, Linux became an extremely popular server OS at more or less the same time that the Red Hat 7.x series was out. For us, this was partly why 7.3 was the most popular, but RH 7.3 also *seemed* to be the most 'hassle free' Linux OS or there compared to other versions. (At least from what I have seen in my years of service; I could be wrong). The other aspect to consider is that Linux is not a closed-bonnet scenario like Windows, so with enough fiddling you can get just about any distro to the level that you want it to be at. Give it a few months, and many of the sites out there who got Red Hat 8 and have decided to stick with it will eventually ween out all of the bugs and holes and make all of their servers just peachy. The companies around the world that have been using Red Hat since it came out have had to shed crocodile tears in trying to both build and grasp Linux enough to use it properly, and now that they are at the point where they know what they are doing, they seem reluctant to upgrade their distro, and I am inclined to agree with them. Linux can give inexperienced administrators and users alike the shock effect equivalent to that of stepping on the wrong side of a rake. Red Hat 8 was meant to tone down the image of Linux being an OS only for MENSA candidates. Look at the way Red Hat linux 8 was marketed - you will see where I am going with all of this. Administrators are normally placed up on a pedestal as super intelligent and super capable people, and no administrator wants to be the person to prove that perception wrong in their respective companies. The release of Red Hat 8 was appealing not merely because it just looked so nice, but more because the bluecurve desktop seemed to promise all of those point-and-click people out there an avenue of escape, in case they just can't figure out what do in front of that dreaded command line, and may be forced to embarrass themselves on a mailing list just like this one. All said and done, I am still somewhat concerned myself as to why Red Hat 9 is popping up so quickly. Jason - Original Message - From: "Joe Klemmer" <[EMAIL PROTECTED]> To: "Red Hat Users" <[EMAIL PROTECTED]> Sent: Tuesday, March 25, 2003 3:03 PM Subject: Re: Red Hat 9 > On Tue, 25 Mar 2003, naugaranch wrote: > > > With all the problems I've had with Red Hat 8 - particularly on my > > server (still not running correctly and updated fully). I've actually > > considered regressing to 7.2 on my server. > > I would recommend that, if you are going to fall back to the 7.x > series, you go back to 7.3 as it's got enough benefits to make it much > better choice. > > > Sounds like Red Hat is doing a MS-type end around. Abandon the RH 8.x > > series and introduce RH 9 because it doesn't have a bad reputation. > > I doubt that. RH 8 works just fine in most situations. It's not > quite as solid in some server situations as 7.3 was but that's likely to > improve with 9. > > -- > Farewell neighbor. Thank you for giving us a safe place for so many > years. > Fred Rodgers - 1928-2003 > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: Sendmail running but not accepting
I am not sure if you have done all of this before, so I will mention it just in case ;) Check your /etc/mail/sendmail.mc file for the following; dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA') Make sure the line above is commented out. If it's not, add the 'dnl' and then use the m4 program to regenerate the sendmail.cf file. Restrart sendmail for good measure. Also check the file /etc/xinetd.d/ipop3 or a similarly named file, and make sure that the variable disable = no. If you need to change the ipop3 file, run the command afterwards; # service xinetd restart Jason - Original Message - From: "Thomas Chamtieh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 27, 2003 9:04 AM Subject: Sendmail running but not accepting > > I just ran up2date on a newly installed system. All the updates installed > without any erros except one thing. Sendmail was running perfect and > accepting emails without any problems. After the update, sendmail is > running fine, but it refuses any connection from anywhere!! > > Any ideas? > > Thanks, > > -Thomas > > > > -- > This message has been scanned for viruses and dangerous content, and is believed to be clean. > -- > [EMAIL PROTECTED] > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
IP aliasing
Hi, Does anyone know how to add an alias to a network interface? for example, get 'eth0' to respond to more than 1 IP address? do I need to compile this option into the kernel? I assume the system would reflect this as eth0:1, eth0:2 etc for as many aliases that you have on the same physical card. If I reboot the machine, will the system keep these aliases? Lastly, in a machine with multiple network cards, how does the system handle the 'ordering' of the network card names, such as 'eth0' 'eth1' etc? does it select this name according to which PCI slot you use, or according to whichever card was added first, irrespective of the PCI slot? Jason
Re: IP aliasing
Thanks, Jesse I will get an opportunity to try this out at a later stage. I'm sure it will work, on provision that the command works on a 'default' installation with network support. I'm just amazed that even the "100% comprehensive" Red Hat Linux 8 Bible does not appear to make any mention of the netconfig command. Neither do any of my other RH books. There is not even a man page for it on my RH8 system. Hmmm Jason - Original Message - From: "Jesse Keating" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 01, 2003 4:46 PM Subject: Re: IP aliasing > On Tuesday 01 July 2003 07:31, Jason Dale wrote: > > Does anyone know how to add an alias to a > > network interface? for example, get 'eth0' to > > respond to more than 1 IP address? do > > I need to compile this option into the > > kernel? > > netconfig -d eth0:1 > > > I assume the system would reflect this as > > eth0:1, eth0:2 etc for as many aliases that > > you have on the same physical card. > > correct. > > > If I reboot the machine, will the system keep these aliases? > > If configured and a file is made in > /etc/sysconfig/network-scripts/ifcfg-eth0:1 Using netconfig -d eth0:1 will > create this file. (you'll have to ifup eth0:1 once you've configured it). > Note, you shouldn't add another gateway and/or DNS server when configuring > the other addresses. Leave those two feilds blank. > > > Lastly, in a machine with multiple network cards, how does the system > > handle the 'ordering' of the network card names, such as 'eth0' 'eth1' etc? > > does it select this name according to which PCI slot you use, or according > > to whichever card was added first, > > irrespective of the PCI slot? > > Adjust the aliasing in /etc/modules.conf. > > -- > Jesse Keating RHCE MCSE > http://geek.j2solutions.net > Mondo DevTeam (www.mondorescue.org) > > Was I helpful? Let others know: > http://svcs.affero.net/rm.php?r=jkeating > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
Re: HomeDirectory and OpenLdap.
Hi, I am not sure about how OpenLdap works, but perhaps you should try creating the user account and home directory manually by using the command "useradd -m [loginname]" prior to setting up or dealing with the OpenLdap. Unless this issue only happens with a few acccounts, you should check the permissions ( particularly the execute permission ) on the directory '/home' itself. Just a feeble suggestion. Jason - Original Message - From: "Le Ngoc Thach" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, July 09, 2003 12:16 PM Subject: HomeDirectory and OpenLdap. > Hi all, > I have been using OpenLdap for Center Authentication. User's home > directory is presented by attribute "homeDirectory" in OpenLdap. > I have 2 problems: > 1) When a user login Linux (ex: using ssh from remote host), the home > directory is not still created. So there is a error message: > "Could not chdir to home directory /home/$user: No such file or directory. > ($user is real name of user). > > 2) I have 2 Linux Servers named A and B: A is running OpenLdap, B is not > but using OpenLdap in A server for Authentication. When I login to B > server, the home directory is in B. So, for a user, there are 2 home > directory: one in A and one in B. Could I use a network directory for > home directory? > > Best Regards, > Thach Le. > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
Time on server jumps ahead
Hi all, I have noticed that no matter how many times I reset the date and time on my RH8 server, it keeps falling out of synch, and jumps ahead by about 1 hour. It looks like it has something to do with the time zone, but during the installation I made sure to choose the correct country and location. 1) How do I configure my RH8 machine to synch itself according to an atomic clock on the WWW? 2) How do you change the time zone on a Linux server (AFTER the installation) Thanks, Jason -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
root's mail
Hi, Does anyone know how to send mail to an IP address rather than a domain name, for example, sending mail to [EMAIL PROTECTED] I have put the IP address 1.2.3.4 in the 'local-host-names' file and restarted sendmail. Even that did not work. I get "Unrouteable mail domain 1.2.3.4" error messages. Any ideas? Thanks, Jason -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
Port monitoring activity
Hi all, I am looking for a standard run-of-the-mill Linux command that functions similarily to '/usr/sbin/mtr' ( A network diagnostic tool ) except can monitor how many network packets get sent to or from a specific port. For example, I would want to know how much traffic get's sent to and from port 25 on eth0, and how many bytes get transferred with each packet. (A nifty way of finding out who is sending chompy emails). The command can display a screen, much like mtc, which get's updated realtime and/or at set intervals, showing interface/port activity levels. I don't know if any of you guys have been hit by the W32.Blaster.Worm yet, but the kind of tool I am talking about will be very useful in finding out what ports have 'unusual' amounts of activity. Jason. -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
RH8 and mail domain hosting
Hi all, I know that this is more a sendmail question, but there must be a more intelligent way around this problem can can work with more that one mail MTA. Here is the situation: we have a server that hosts mail for '@domain1' and '@domain2'. We have two people by the name of 'Bob' : [EMAIL PROTECTED] [EMAIL PROTECTED] Now if 'Bob' at domain1 sets up his username and password the same as the other Bob, even if the domains are different, you will have mail for both Bob's being delivered to the same computer, on a first-come-first-served basis. Naturally, the other Bob will not be happy about this. Is there anyway to set up the system so that both Bobs can have different passwords, and that their email gets stored seperately in different mailboxes, on the same machine with the same IP address? P.S. This IS an RH8 system :) Jason -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
Re: RH8 and mail domain hosting
OK ... No problem. I answered my own question :) I used the /etc/mail/virtusertable (duh!) 1) Added entry in /etc/mail/virtusertable [EMAIL PROTECTED]bob.domain1 [EMAIL PROTECTED]bob.domain2 In otherwords, the first bob will have the mail sent to account 'bob.domain1' and the second address will deliver mail to 'bob.domain2'. This way, you can maintain seperate folders and account info for both bob's at different domains. Still, if there is a way to achieve this without using MTA specific databases, I'd like to know. ANy suggestions welcome . ;) Jason - Original Message - From: "Jason Dale" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 19, 2003 11:03 AM Subject: RH8 and mail domain hosting > Hi all, > > I know that this is more a sendmail question, but there must be a > more intelligent way around this problem can can work with more > that one mail MTA. > > Here is the situation: we have a server that hosts mail for '@domain1' > and '@domain2'. We have two people by the name of 'Bob' : > > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > Now if 'Bob' at domain1 sets up his username and password the same as > the other Bob, even if the domains are different, you will have mail for > both Bob's being delivered to the same computer, on a > first-come-first-served > basis. Naturally, the other Bob will not be happy about this. > > Is there anyway to set up the system so that both Bobs can have different > passwords, and that their email gets stored seperately in different > mailboxes, > on the same machine with the same IP address? > > P.S. This IS an RH8 system :) > > Jason > > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
Re: RH8 and mail domain hosting
You are right - account names must be unique. It IS extremely obvious. One point I seemed to fail to make clear is that the '[EMAIL PROTECTED]' with it's corresponding account name and password get set up on the workstations that connect to the Linux server. The same applies for Bob at domain2. I set up a similar scenario on my Windows PC, where I had an account called 'testmail' on the Linux server, and sent email to [EMAIL PROTECTED] and then [EMAIL PROTECTED], knowing full well that the mails were going to be delivered to the same mail folder on the Linux server. What I wanted to see was if I downloaded mail just for [EMAIL PROTECTED], whether or not I would receive both emails. I did, because the username and password were the same for both email addresses. In Windows, there is nothing to stop you from setting up different email accounts that have different email addresses but use the same authentication username and password. As noted below, I did manage to solve my own problem with the virtusertable. - Original Message - From: "Chris Sechiatano" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 19, 2003 5:55 PM Subject: Re: RH8 and mail domain hosting > I'm pretty sure this is obvious, but you can't have two identical usernames > on the same system. > > You would have to have bobX and bobY as usernames and adjust your > /etc/mail/virtusertable file accordingly. > > > On Tue, Aug 19, 2003 at 12:09:03PM +0200, Jason Dale <[EMAIL PROTECTED]> wrote: > > OK ... No problem. I answered my own question :) > > > > I used the /etc/mail/virtusertable (duh!) > > > > 1) Added entry in /etc/mail/virtusertable > > > > [EMAIL PROTECTED]bob.domain1 > > [EMAIL PROTECTED]bob.domain2 > > > > In otherwords, the first bob will have the mail sent to account > > 'bob.domain1' > > and the second address will deliver mail to 'bob.domain2'. This way, > > you can maintain seperate folders and account info for both bob's at > > different > > domains. > > > > Still, if there is a way to achieve this without using MTA specific > > databases, > > I'd like to know. ANy suggestions welcome . ;) > > > > Jason > > > > > > > > - Original Message - > > From: "Jason Dale" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, August 19, 2003 11:03 AM > > Subject: RH8 and mail domain hosting > > > > > > > Hi all, > > > > > > I know that this is more a sendmail question, but there must be a > > > more intelligent way around this problem can can work with more > > > that one mail MTA. > > > > > > Here is the situation: we have a server that hosts mail for '@domain1' > > > and '@domain2'. We have two people by the name of 'Bob' : > > > > > > [EMAIL PROTECTED] > > > [EMAIL PROTECTED] > > > > > > Now if 'Bob' at domain1 sets up his username and password the same as > > > the other Bob, even if the domains are different, you will have mail for > > > both Bob's being delivered to the same computer, on a > > > first-come-first-served > > > basis. Naturally, the other Bob will not be happy about this. > > > > > > Is there anyway to set up the system so that both Bobs can have different > > > passwords, and that their email gets stored seperately in different > > > mailboxes, > > > on the same machine with the same IP address? > > > > > > P.S. This IS an RH8 system :) > > > > > > Jason > > > > > > > > > > > > > > > -- > > > Psyche-list mailing list > > > [EMAIL PROTECTED] > > > https://www.redhat.com/mailman/listinfo/psyche-list > > > > > > -- > > Psyche-list mailing list > > [EMAIL PROTECTED] > > https://www.redhat.com/mailman/listinfo/psyche-list > > -- > Chris Sechiatano > [EMAIL PROTECTED] > www.chris-s.com > > PGP Key 0x0021EFA0 > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
Re: shut down problem
Title: RE: shut down problem I haven't been following this thread, but 'init 0' is what I use to shutdown my linux servers completely. (If they power back on by themselves, it might be a setting in your BIOS). 'init 0' is not as 'graceful' as shutdown, which does proper housecleaning and allows processes to terminate themselves and their child processes. 'init 6' will reboot your machine. Jason - Original Message - From: Quillen, Channon To: '[EMAIL PROTECTED]' Sent: Wednesday, August 27, 2003 3:36 PM Subject: RE: shut down problem What happens if you 'init 0'? -Channon -Original Message- From: Nick H Johnson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 26, 2003 6:22 PM To: [EMAIL PROTECTED] Subject: RE: shut down problem dave c wrote: > > try "shutdown -h now" > > See if that does it. > > No luck Dave. It simply reboots. Any other suggestions. I'm stumped. thanks Nick -- Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
RPM hangs
Hi all, I just used up2date on the Gnome desktop to upgrade my sendmail packages, but just as the packages were installing, up2date froze dead in it's tracks. Now, when I use the rpm command to query packages, it hangs. Even rpm --rebuilddb does not work, as I suspected that the RPM package database might be corrupted. Any command using the 'rpm' command is liable to produce the same result. Is there anything I can do? Thanks ! -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
Re: RPM hangs
OK ... I found a way to solve the problem. The %&@!&#* up2date program crashed in mid-install while I was doing the latest errata updates, and in so doing actually *did* stuff up the Packages database stored in /var/lib/rpm. (Next time I will backup the database before TOUCHING up2date - serves me right) Here is how I solved it : 1) Copy the 'Packages', 'Basenames', and 'Name' files from /var/lib/rpm to a different location (These all get modified during the up2date procedure) 2) Remove the lock files " __db*" in /var/lib/rpm. This step is IMPORTANT, otherwise attempting to rebuild the bd will fail 3) Rebuild the indices and perform a database sanity check by running the following command # rpm --rebuilddb -vv That produced some horrendous amounts of output, but afterwards my database was fine and I could run package queries and updates again. Had this failed, I would have spent months rebuilding the database, or simply would have had to reinstall the OS. Jason - Original Message - From: "Jason Dale" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 28, 2003 11:40 AM Subject: RPM hangs > Hi all, > > I just used up2date on the Gnome desktop to upgrade my > sendmail packages, but just as the packages were installing, > up2date froze dead in it's tracks. > > Now, when I use the rpm command to query packages, > it hangs. Even rpm --rebuilddb does not work, as I suspected > that the RPM package database might be corrupted. > > Any command using the 'rpm' command is liable to produce > the same result. Is there anything I can do? > > Thanks ! > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
Re: RPM hangs
Thanks for the info y'all :) Micheal, I know the term 'lock files' should be fairly obvious, but what exactly do these files 'lock' ? where can I find more info on these? Thanks a stack, Jason - Original Message - From: "Michael Fratoni" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 29, 2003 3:11 AM Subject: Re: RPM hangs > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Thursday 28 August 2003 12:15 pm, dave c wrote: > > I know this may not be much to add, but I have had this happen to me > > and a simple reboot solved the problem. Of course that might make me > > appear that I'm in the same group as those windoze losers, but > > hey...just thought I would let you know that worked for me. > > > > rpm -rebuilddb wouldn't respond, as well as any other rpm command. > > Something magical must be happening to the rpm database at > > bootup...would be nice to know what it is. > > The magic that happens at boot time is nothing more than removing the > stale lock files. "rm -f /var/lib/rpm/__db*" > > > - -- > - -Michael > > pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt > Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/ > - -- > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.0.7 (GNU/Linux) > > iD8DBQE/TqhYn/07WoAb/SsRAiz6AJ9HjLYr9KiICLB16ibOBC+toe//QgCgo/FS > zQyMLwinnz5RnmGiZQV8hVc= > =aSt6 > -END PGP SIGNATURE- > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
Source RPM's
Hi all, If I have been using Binary RPM's, and then switch to source RPM's to update my packages on the system, how do I go about updating the RPM database so that when I run a package query (rpm -q) I can see the updated version number? Plain and simple - how do you get source RPM software to show up when you type the command 'rpm -qa' ? Thanks, Jason -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
downloading BIG mail folders over 56K
Hi all, We have several clients who have dial-up accounts across a WAN that point to our Linux servers to send and receive their mail. What tends to happen is that they don't download their mail regularly, and their mail folders start growing to huge sizes. Then they try to download all 20+ Megs of their mail over a 56 K connection, all at once. As you might have guessed, this is like trying to suck a golf ball through a garden hose. Does anyone know of a utility that can 'break up' a huge mail folder into seperate messages and store them temporarily somewhere else, and then send one message at a time to the same account, at set intervals ? The way I solve it right now is to download the messages onto my PC across a faster LAN connection, and then manually send them to the recipient one by one. I am looking for a tool that can automate much of the work involved. Must support Sendmail, and if possible, Exim as well. Thanks! Jason -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
Re: disk space
1) 'df -m' This command will show space usage per filesystem 2) 'du -sh /directory' This command will show space usage for 'directory', in summary form. To get a breakdown of space usage for the files and directories within that directory, remove the 's' from the command. 3) I am not sure about what you are looking for exactly in the way of processes running on the system, but there are two commands you can use: a) 'top' This will show you which processes are running on the system and what is using up the most resources. b) 'ps -elf' This will show all processes running on the system, in long format, and lists among other things, PID, PPID, terminal, user, status, etc. Jason - Original Message - From: Muhammad Imran To: [EMAIL PROTECTED] Sent: Saturday, September 13, 2003 3:50 AM Subject: disk space Dear, How I can check that what amount of disk space is used by Linux OS and application running on it and to what extent hard disk space still vacant. thanks!
CD Burners
Hi, The CD burners that shipped with my RH Linux distro don't seem to work properly. Can anyone recommend good CD writing software for Red Hat Linux? something like NERO burning ROM that you get for Windows? Thanks! Jason -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
DVD / CD's on RH
Hi, I know that this is probably impossible, but is there a way for me to 'read' or mount a DVD on a normal CD-RW drive? or at least try to take a snapshot of the data and write it on a normal CD? Thanks, Jason -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
Re: Kill user login session
ps -u "[username]" will show you all of the processes owned by the user. or, if you know what terminal device the user was logged in at, you can use "ps -t [terminal]" You will see output that looks similar to this (ps -u): PID TTY TIME CMD 1542 ?00:00:00 gnome-session 1591 ?00:00:00 ssh-agent 1596 ?00:00:00 gconfd-2 1598 ?00:00:00 esd 1607 ?00:00:00 bonobo-activati 1609 ?00:00:00 gnome-settings- Find the process ID in the PID column, next to the terminal number that he was using, and type the command "kill [PID]" If you are not sure of the terminal that the user was logged in at, I use a command called 'finger' on my intranet UNIX machines that shows me idle time as well. If you have finger installed, just type in "finger" and look for your user with the largest idle time. Get the terminal device, and then do a ps -t on that terminal to get the process ID to kill. Jason On Wed, 2003-10-15 at 14:47, Leonard Miller wrote: > Hi, > I have a user session that has been logged in for a couple of days. > I know the user has logged out, but I can't figure out how to kill > the session. > > Any help would be appreciated. > > Thanks > Leonard > > Automatically inserted lawyer supplied blurb follows > > > **CONFIDENTIALITY NOTICE** > The information contained in this e-mail may be confidential and/or > privileged and is intended for the sole use of the individual or > organization named above. If you are not the intended recipient or an > authorized representative of the intended recipient, any review, copying > or distribution of this e-mail and its attachments, if any, is prohibited. > If you have received this e-mail in error, please notify the sender > immediately by return e-mail and delete this message from your system. -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
Re: Kill user login session
Hi Leonard, I am not sure exactly how your user logged out, if he/she typed 'exit' on the terminal emulator window or whether he/she just clicked the 'X' button ;) Logging out properly with 'exit' should take care of all of the user's processes, unless he or she ran a program in the background that is looping or in a defunct state. A 'ps -elf | grep Z' should show you such processes. If your 'ps -u [username]' simply showed the header line "PID TTYTIMECMD, etc", then that means that as far as the system is concerned, no processes exist that are directly owned by the user. Note that the 'ps' command reads the kernel process table, whereas 'who' reads the 'wtmp' and 'utmp' databases which contain login information. (Look in /var/run and /var/log). This is why you picked up a discrepancy. That user could have spawned other processes that did not terminate when the user's parent processes did. These are sometimes called 'orphaned processes'. This *could* result in the 'finger' showing you what it did, i.e. a process attached to a terminal that has been idle for 287 days (287d). A little digression - there is a daemon process called 'init', which runs on UNIX-type systems, which is meant to inherit these orphaned processes, and terminate them. However, this only happens if the process is running. If a process is defunct, the only way to clear them is to reboot the system, which you did. A defunct process is a process that is still occupying a slot in the process table, but is not actually running. As such, the 'kill' command won't work because there is nothing to 'kill'. One of the list members suggested that you use 'kill -9 [PID]'. I say that you should not be too liberal with using the -9 option. Kill -9 cannot be trapped or ignored by any process, and does NOT allow the process being killed to do proper "house cleaning" and allow that process to wait/terminate all of it's children first. A normal "kill [PID]" (Defaults to kill -15) sends a 'SIGTERM' to the process, which is a software termination signal that is a lot safer to use than kill -9, which you should only use as a last resort. Many administrators use kill -9 all the time, and this is NOT a good practice, and can result in many orphaned processes still running or sleeping on the system, particularly if these processes are waiting for a specific response from their parents. I hope this has helped you! Jason On Thu, 2003-10-16 at 01:36, Leonard Miller wrote: > Thanks for the help. Nothing I tried worked so I just rebooted the > server. ps -ef didn't show any processes for the user. "who" showed > the login date as Oct 13 but there were no processes with that date. So > I just kicked it in the head. > > Thanks again > Leonard > > Automatically inserted lawyer supplied blurb follows. > > >>> [EMAIL PROTECTED] 10/15/03 14:15 PM >>> > if you type "ps -ef" you will see all the processes running from all > users. > If your user is still logged on, look for the shell process id, then you > can use "kill -9 PID" to kill that process. > > ps -ef > > root 20546 1330 0 10:40 ?00:00:00 [sshd] > user 20547 20546 0 10:40 pts/000:00:00 -bash > > kill -9 20546 > > > > **CONFIDENTIALITY NOTICE** > The information contained in this e-mail may be confidential and/or > privileged and is intended for the sole use of the individual or > organization named above. If you are not the intended recipient or an > authorized representative of the intended recipient, any review, copying > or distribution of this e-mail and its attachments, if any, is prohibited. > If you have received this e-mail in error, please notify the sender > immediately by return e-mail and delete this message from your system. -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
viewing/editing files at SMB locations
Hi, This is not an RH8 specific question - it's about the Nautilus 2.2.1 'explorer' if I may call it that. I use Linux as my working OS, in place of a Windows machine. I use Nautilus to connect to the Windows gateway on the LAN, where I keep all of my back-ups and documents. I was able to find the server on the network and access my folder with my Windows username and password, but I notice that I can't actually view or edit the files in-place. I have to copy them to my local drive, make my changes, and then copy them back across. It seems as though the various programs I use to view/edit files, such as Gedit or Vi, are not able to view or access files at SMB locations. Can anyone recommend a good editor that can both view and edit text files and RTF files at SMB locations? Jason -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
Re: viewing/editing files at SMB locations
Hi Peter, Thanks for the info. I guess it's just me then ;) I am not familiar with SMB or Samba at all. Could you possibly give me the guidelines for setting up an smbmount? I am not sure how the whole process works ... Thanks Jason On Thu, 2003-10-16 at 20:32, Peter Larsen wrote: > > It seems as though the various programs I use to view/edit > > files, such as Gedit or Vi, are not able to view or access files > > at SMB locations. Can anyone recommend a good editor that can > > both view and edit text files and RTF files at SMB locations? > > Hmmm - I access several windows networks from several of my linux boxes, and > never saw that problem? What I do is smbmount the shares I need, and from > then on, I never think of the data/files being on a windows network, linux > or anything else. It's just a cd away, and all my programs sees the files as > "usual". > > Only windows (to my knowledge) has the idea of you needing to specify the > physical aspect of a resource location. I like the way Unix has done this > from the get-go - you don't care if your data is on one huge disk, several > small ones, networked, memory based etc. - they are all part of the same > logical structure. It's up to the drivers to find out what to do - not the > application developer/user. > > Best Regards > Peter Larsen -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
Re: viewing/editing files at SMB locations
Thanks again! I got the share to mount with the following command (The other one gave errors) # /usr/bin/sudo /usr/bin/smbmount //maxxsrv/maxxess /mnt/smbmnt -o username=jason,password=jason -u 500 -g 501 I have enabled myself to use root passwords so that I don't have to su first. 500 and 501 are my UID/GID numbers respectively. What I find interesting is that even although I specifically state that the mounted files/directories are to be owned by me, the files still get owned by root, which means I can read the share but can't write to it as a normal user. Is there anyway I can force the smb filesystem contents to be owned by me once mounted? B.T.W. This share is a Windows server shared by all of the employees here. I wanted to be more specific by mounting the share ..maxxsrv/Staff Directories/Jason, but the smbmount command could not find that share, and it does exist! I tried quoting "Staff Directories" and that didn;t work either. I have been at this for over 2 hours now and still no joy. Any suggestions? Thanks a stack !! Jason On Sat, 2003-10-18 at 02:47, Peter Larsen wrote: > > Thanks for the info. I guess it's just me then ;) > > Well - we all start out knowing little to nothing ;) Anyway, I guess if you > expected everything to look like it does in windows, I can see why you might > get a little confused. > > > I am not familiar with SMB or Samba at all. Could you possibly > > give me the guidelines for setting up an smbmount? I am not sure > > how the whole process works ... > > Easiest way is: man smbmount > If you already know how to use a windows share without using smbmount (ie. > using smbclient) then it's not much of a difference. Actually, you could > mount using "mount" instead of smbmount, but smbmount makes it easy to do > non-root mounts of shares. But it doesn't prevent you from using /etc/fstab > to specify permanent smb mount points. > > If you don't use PDC functionality, and just have public accessible shares, > smbmount is straight forward: smbmount //server/share /mnt/point. > However, if you need to specify usernames etc. you solve that either using > smbusers or using the -o parameters (which you'll find in the man page). > > Best Regards > Peter Larsen > > > On Thu, 2003-10-16 at 20:32, Peter Larsen wrote: > > > > It seems as though the various programs I use to view/edit > > > > files, such as Gedit or Vi, are not able to view or access files > > > > at SMB locations. Can anyone recommend a good editor that can > > > > both view and edit text files and RTF files at SMB locations? > > > > > > Hmmm - I access several windows networks from several of my linux boxes, > and > > > never saw that problem? What I do is smbmount the shares I need, and > from > > > then on, I never think of the data/files being on a windows network, > linux > > > or anything else. It's just a cd away, and all my programs sees the > files as > > > "usual". > > > > > > Only windows (to my knowledge) has the idea of you needing to specify > the > > > physical aspect of a resource location. I like the way Unix has done > this > > > from the get-go - you don't care if your data is on one huge disk, > several > > > small ones, networked, memory based etc. - they are all part of the same > > > logical structure. It's up to the drivers to find out what to do - not > the > > > application developer/user. > > > > > > Best Regards > > > Peter Larsen -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
Re: viewing/editing files at SMB locations
Thanks a stack for all the help! much appreciated. The command # /usr/bin/sudo /usr/bin/smbmount //maxxsrv/maxxess /mnt/smbmnt -o username=jason,password=jason,gid=501,uid=500,fmask=664,dmask=755 worked nicely. The man page for smbmount is wrong, because there it talks about using -u and -g, which don't work. Here is the line I put in my /etc/sudoers file (Type in 'visudo' as root ) : %users ALL=/usr/bin/smbmount,/usr/bin/smbumount,/sbin/fuser, NOPASSWD: ALL I edited /etc/group and added myself to the group 'users'. The 'fuser'command is useful for killing any processes attached to the SMB mount when I am tring to un-mount it. Jason /usr/bin/sudo /usr/bin/smbmount //maxxsrv/maxxess /mnt/smbmnt -o > username=jason,password=jason,gid=501,uid=500,fmask=664,dmask=755 On Mon, 2003-10-20 at 18:14, H M Kunzmann wrote: > > I have enabled myself to use root passwords so that I don't have to > > su first. 500 and 501 are my UID/GID numbers respectively. > > What I find interesting is that even although I specifically state > > that the mounted files/directories are to be owned by me, the files > > still get owned by root, which means I can read the share but > > can't write to it as a normal user. Is there anyway I can force > > the smb filesystem contents to be owned by me once mounted? > > Try gid and uid. > You can also use fmask and dmask to set permissions... > > # /usr/bin/sudo /usr/bin/smbmount //maxxsrv/maxxess /mnt/smbmnt -o > username=jason,password=jason,gid=501,uid=500,fmask=664,dmask=755 > > > B.T.W. This share is a Windows server shared by all of the employees > > here. I wanted to be more specific by mounting the share > > ..maxxsrv/Staff Directories/Jason, but the smbmount command could > > not find that share, and it does exist! I tried quoting "Staff > > Directories" and that didn;t work either. I have been at this for over 2 > > hours now and still no joy. Any suggestions? > > You can't mount ..maxxsrv/Staff Directories/Jason since it's not a > share, it's a subdirectory of a share. Perhaps you can create the mount > to the share, and then create a soft link to the subdirectory you want > to use ? -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
Re: viewing/editing files at SMB locations
Hi again, I find that myself too, which is why I use 'ps -elf' to try and pick out which processes where still hanging on to the SMB mount, because um-mounting tends to be unsuccessful because the system still thinks the device/mount is in use even when it's not! Even mounting the SMB share in the file S99local in run-level 5 seems to produce the following process and leaves it in the process table. Sometimes there is more than one instance of the same thing: # ps -elf | grep -i smbmnt 1 S root 1466 1 0 84 0- 1171 pause 13:54 ? 00:00:00 /usr/bin/smbmount //maxxsrv/maxxess /mnt/smbmnt -o username jason password X gid 501 uid 500 fmask 664 dmask 755 # lsof | grep -i smbmnt fam 1616 jason 28r DIR0,8 4096 3 /mnt/smbmnt/.Trash-jason The list open files command reports a file called '.Trash-jason', and I assume this is why there is a sleeping process attached to my smbmount command. It might be waiting around for something to happen to cause it to terminate or do something else. Still looks pretty suspect though, like the SMB share was mounted successfully (it did) but the smbmount command did not catch on. Jason On Wed, 2003-10-22 at 10:10, H M Kunzmann wrote: > > I edited /etc/group and added myself to the group 'users'. > > The 'fuser'command is useful for killing any processes attached > > to the SMB mount when I am tring to un-mount it. > > I've found that sometimes, even fuser doesn't point out everything. > In these circumstances, I've found it useful to use > # lsof | grep > to get the process id of the process using it. -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
Re: viewing/editing files at SMB locations
OK ... I think what I am seeing is normal. The file '.Trash-jason' is exactly what is says it is - a trash or recycle 'bin' if I may call it that. Files you delete on the share get recorded here and placed in your local recycle bin. (That's nifty - my windows 2000 machine didn't do that!) A process needs to run in memory in order to make this happen, but I don't know why such a process would still be attached to my mount command. Still haven't figured that one out! Jay On Wed, 2003-10-22 at 14:07, Jason Dale wrote: > Hi again, > > I find that myself too, which is why I use 'ps -elf' to > try and pick out which processes where still hanging on to > the SMB mount, because um-mounting tends to be unsuccessful because > the system still thinks the device/mount is in use even when it's not! > > Even mounting the SMB share in the file S99local in run-level 5 > seems to produce the following process and leaves it in the process > table. Sometimes there is more than one instance of the same thing: > > # ps -elf | grep -i smbmnt > > 1 S root 1466 1 0 84 0- 1171 pause 13:54 ? > 00:00:00 /usr/bin/smbmount //maxxsrv/maxxess /mnt/smbmnt -o username > jason password X gid 501 uid 500 fmask 664 dmask 755 > > > # lsof | grep -i smbmnt > > fam 1616 jason 28r DIR0,8 4096 3 > /mnt/smbmnt/.Trash-jason > > The list open files command reports a file called '.Trash-jason', > and I assume this is why there is a sleeping process attached > to my smbmount command. It might be waiting around for something to > happen to cause it to terminate or do something else. Still looks > pretty suspect though, like the SMB share was mounted successfully > (it did) but the smbmount command did not catch on. > > Jason > > > > On Wed, 2003-10-22 at 10:10, H M Kunzmann wrote: > > > I edited /etc/group and added myself to the group 'users'. > > > The 'fuser'command is useful for killing any processes attached > > > to the SMB mount when I am tring to un-mount it. > > > > I've found that sometimes, even fuser doesn't point out everything. > > In these circumstances, I've found it useful to use > > # lsof | grep > > to get the process id of the process using it. -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
[Fwd: Sawfish Windows manager + tarballs]
This message was originally sent to the shrike mailing list, (RH9) but I did not get any response. I would appreciate any input! Jay --- Begin Message --- Hi all, I am running Red Hat Linux 9 on an AMD athlon 1.2 Ghz. I have two questions: 1) I am battling to find a way to configure the size/appearance of windows in the GNOME desktop, because it often happens that I will start a program (For example, the K3B cd burner config window) and the window is too darned huge for me to actually get to the bottom where the 'forward', 'back', 'OK', 'cancel' etc. buttons are. What's more, in many cases I can't even resize the menu windows manually. I tried to use the sawfish Windows manager, in 'Preferences --> more preferences --> sawfish windows manager' [ GNOME desktop ]. However, when I try to open any of the programs like Window placement or Window appearance, nothing happens. I access the same set of programs from the 'start here' icon on the desktop, and the same thing - I try to run the application and nothing happens. Any ideas on what could be causing this? 2) Based on 1), I tried upgrading my sawfish package (version 1.2-5) and got a tarball package for sawfish-1.3. I ran ./configure --enable-capplet , make all , make install in the unpacked sawfish directory, according to the README instructions. When running an rpm -qa | grep -i sawfish I notice that the system still shows version 1.2-5 in the rpmdatabase. How do I install in such a way that the system will also update its RPM database? (With source RPM's, one could use rpmbuild to achieve this, but I am not sure how to get it to work with tarballs) Thanks a stack, Jason -- Shrike-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/shrike-list --- End Message ---
Linux commercial backup solution
Hi, I know this is actually an Enterprise Linux question, but I am not receiving a response anywhere else. I am looking for an excellent hardware and software tape backup solution for Red Hat linux that can be ideal for server specs similar to those below: * Compaq 360 G3 (2Gig Memory, 2 * 3GB Processors, 2 * 18 GB Disk Drives) * Compaq 7000 (1 Gig Memory, 2-4 Processors, RAID-5 Hotswappable Disk Bay with up to 9 disk slots.) In otherwords, the "best" tape drive (storage size can vary) combined with the "best" software package that has the following: - An EASY TO USE GUI interface - support for most tape drives - Highly customizeable: full to incremental backups, promtps users for tapes, etc. - Can support backup and restore to and from archives. - Can support backups to hard drives local and/or network hard drives and SMB share locations. Must be able to restore from these locations This must be a commercial hardware and software recommendation, because we need the support, ease of use, stability, etc. This stuff will be used on a platinum mine, and we need a top-notch solution. Freeware products don't have support, and they require you to be a rocket scientist) Thanks :) Jason -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
Procmail auto-responder
Hi all, I would normally use 'vacation' for a job like this, but some of our clients don't want anything installed on their linux servers. Does anyone have a simple '.procmailrc' file that I can use to send an auto-response back to all senders, for vacation notifications, etc? This saves me from having to figure out how to write on myself, as procmail is not easy to master. Thanks, Jason -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
RE: rpm database corrupt
Try adding the '-vv' flag to the rpm --rebuilddb command. The output is more verbose, and that could give you some useful info if all else fails Jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of M A Young Sent: 06 December 2003 07:27 PM To: [EMAIL PROTECTED] Subject: Re: rpm database corrupt On Fri, 5 Dec 2003, Ross Macintyre wrote: > Hi, > I have a machine that has a corrup RPM database. > I tried the usual > rm var/lib/rpm/__db.00*, then > rpm --rebuilddb > which has worked in the past. > This time nothing. If rpm is getting stuck, rather than crashing, that often means some other process has the database locked. Look for such processes, or even reboot before removing the __db files. See also http://www.rpm.org/hintskinks/repairdb/ for further rebuilding hints if necessary. Michael Young -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
RE: Execution of httpd Problem in Root
Have a look inside the log files located in /var/log/httpd for starters. That may help you trace the exact problem. Jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Suresh Babu A. [IT Engineer] Sent: 07 January 2004 11:33 AM To: [EMAIL PROTECTED] Subject: Execution of httpd Problem in Root Dear Team, The deamon for Apache httpd is not executing for the root user, whereas i am able to do the same of other users. Any help in this regard is much appreciated. Thanks in advance !!! Thanks SureshA [EMAIL PROTECTED] -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
RE: Red Hat Linux 8 in Dell Machine
If I recall correctly, you can 'defer' the installation of the network card drivers and deal with that after you have installed the system, even although this is not advisable. As far as the graphics are concerned, have you tried installing the system in text-display mode instead of graphical? you are prompted for this option right at the beginning of the installation. Jason -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of curlybracesSent: 08 January 2004 07:02 AMTo: [EMAIL PROTECTED]; Red HatSubject: Red Hat Linux 8 in Dell Machine hi , i have a DELL Optiplex 760L intell pc. when i install the Red Hat Linux 8 for that i have some problems. it doesn't run the x window ( don't have compatible Video drivers)..! it doen't take the ethernet card drivers .!! so how can i install Linux to this machine ? pls help me thank u
Apache SSL on Red Hat 8
Hi List , I am running an Apache web server ( httpd-2.0.40-11 ) on Red Hat Linux 8. I have recently finished configuring name-based virtual hosts , and I have recently noticed that when I restart my machine , apache does not seem to start properly. Here is what is in my boot log : ( The node name of the server is blackhawk ) Dec 17 19:30:30 blackhawk httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443Dec 17 19:30:30 blackhawk httpd: no listening sockets available, shutting downDec 17 19:30:30 blackhawk httpd_1: httpd startup failed When the machine finishes booting , the httpd daemon is running and my websites do work. I am suspecting that the problem has got something to do with 'ssl' , perhaps an erroneous entry in ssl.conf. The reason I say this is that when I was migrating from Apache 1.3 to 2 , I picked up hassles with name based hosting and somewhere along the line the system started complaining about syntax errors with the file /etc/httpd/conf.d/ssl.conf. I managed to get the name based virtual hosting to work , and am no longer getting any syntax errors with /etc/httpd/conf.d/ssl.conf. However , I am still getting the above errors in the log files. I get a *lot* of these errors in /var/log/httpd/ssl_error_log [Tue Dec 17 19:30:33 2002] [warn] RSA server certificate CommonName (CN) `localhost.localdomain' does NOT match server name!? Does anyone know what could be causing this ? Regards , Jason
Re: Apache SSL on Red Hat 8
Hi Again , I could not find any bogus virtual host entries in the httpd.conf file , but then again I don't really know what to look for. This mess started when I tried to figure out how to configure name based virtual hosting. What would really be nice is if there was an easy front-end to use to figure all off this stuff out , so that I don't have to go straight into the httpd.conf code. As an idiot proof solution , would a re-install of apache help ? How would I go about regenerating a new certificate ? is there a command I can use ? Thanks for your help , Regards , Jason - Original Message - From: "Kevin McConnell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 18, 2002 5:14 PM Subject: Re: Apache SSL on Red Hat 8 > > --- Jason Dale <[EMAIL PROTECTED]> wrote: > > Hi List , > > Hi Jason > > > Dec 17 19:30:30 blackhawk httpd: (98)Address already > > in use: make_sock: could not bind to address > > 0.0.0.0:443 > > Dec 17 19:30:30 blackhawk httpd: no listening > > sockets available, shutting down > > Dec 17 19:30:30 blackhawk httpd_1: httpd startup > > failed > > There could be multiple reasons this is occurring. One > is a wrong directive, as Frank already mentioned. > Another is that your server is trying to bind to the > address/port combination twice. > > > [Tue Dec 17 19:30:33 2002] [warn] RSA server > > certificate CommonName (CN) `localhost.localdomain' > > does NOT match server name!? > > You need to generate a new certificate that matches > the hostname. > > > > = > Kevin C. McConnell --RHCE-- > > __ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: RH8.0
Hi : You can use the 'up2date' facility within your system to get updates from Red Hat. These can be downloaded and installed onto your system. ( You will need to register for an account with the Red Hat Network ). This of course does depend on what types of bugs you are talking about and which packages they affect. Regards , Jason - Original Message - From: "Ekow Oppon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 3:07 PM Subject: RH8.0 > > Hi guys, just talked to someone who mentioned that he had minor > problems running RH8.0 and that there have been patches/fixes to correct > the bugs.. > Can anyone please tell me where I can download the latest version with the > patches > already incorporated? Thanks for your time. > > -- > "A man who won't die for something is not fit to live" > Dr Martin Luther King Jr. > ### > # Dr. Ekow Oppon # > # Dept of Human Genetics # > # Univ. of Cape Town. Med. School # > # Observatory. 7925. # > # South Africa. # > #Tel +27 21 4066506 Cell +27 83 3404277 Fax +27 21 4480906 # > **# > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: antivirus software
Hi Kevin We were looking into using a package called Sophos anti-virus software , which allegedly runs on Linux as well as Unix. Red Hat x.x included , from what I am told. Regards , Jason - Original Message - From: "Kevin McConnell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 20, 2002 9:05 AM Subject: antivirus software > I know this has been asked on previous lists with > previous versions of Red Hat because I looked through > all the archives. I wanted to know what people are > using now on psyche (not other versions) of Red Hat. > This is more or less a survey. so feel free to > email me off list if you feel this is off topic. I'm > curious to know the type of AV software people are > using, the version, and MTA they've integrated with > and how well it's working. I've never had to worry > about viruses before since I've always worked for > companies that have "normal" geeks like myself, who > run only linux. So now that I'm heading out to another > company that most likely uses windoze clients, I feel > I should investigate a little more. Thanks for all > input provided. > > > = > Kevin C. McConnell --RHCE-- > > __ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Re: Red Hat 8 - Instability - AGAIN
I also had a Win98 and Red Hat dual boot environment here at the office. Never had a hitch really , except for the fact that DOS seemed to treat my Linux partitions as extended DOS , and when I ran scandisk , that is when all hell broke loose . Jason - Original Message - From: "Jesse Keating" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 20, 2002 8:26 PM Subject: Re: Red Hat 8 - Instability - AGAIN > On Fri, 20 Dec 2002 16:11:39 -0300 > [EMAIL PROTECTED] wrote: > > > I have to tell you that I love Linux, but sometimes I lose my temper > > with it. I have dual boot ( RH and Win98 ) and my Win98 is much > > more stable than RH. They use the same hardware for 3 years (or more), > > and RH is the only one that hangs !Strange because it suppose be > > Win98... :-))) > > Not really. Win98 seems to be able to run on failing hardware. I've > come across plenty of times where win98 will happily run, and crash > every now and again, or corrupt files every now and again, whereas > Linux, if I tried to compile something, would throw errors. Find it > it's due to a bad stick of ram that has been in the box for a while. I > never knew why certain files would get trashed on Windows, but as soon > as I replaced the ram, everything was happy again. I think it's because > Win98 doesn't put enough checksums or whatnot, and doesn't catch > hardware errors like it should. > > -- > Jesse Keating RHCE MCSE > For Web Services and Linux Consulting, Visit --> j2Solutions.net > Mondo DevTeam (www.mondorescue.org) > > Was I helpful? Let others know: > http://svcs.affero.net/rm.php?r=jkeating > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Season's greetings to all
Hello On Behalf of myself and my family , may you all have a merry Christmas and a happy new year ! Regards , Jason Dale
DOS vs Linux format
Hi : Does anyone know of a command set that can be used to convert Linux format files into DOS/Windows format , and visa versa ? On UnixWare 7 there were commands called 'dtox' and 'xtod' , but I cannot find the equivalent commands on Linux Regards , Jason -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
Sendmail on RH8
Hi All: Question #1 I am in the process of transferring mail server functionality to my new RH 8 machine , and everything seems to be working just fine. However , I need to find a way to 'test' the new mail server , without changing the MX record's IP address on our ISP's DNS servers. Is there a command I can use in Linux to send a mail message from one Linux server to a specific account on another Linux server , referenced by IP address rather than by DNS lookup ? bear in mind that both of these Linux servers are on the same LAN Question #2 Sendmail queues all of it's incoming mail for an account into one large account file in /var/spool/mail. Is there a way I can break these large files down into smaller message sized chunks so that they can be delivered to their recipients' computers individually ? ( naturally , the user must be logged on and must be requesting mail from the server ) Regards , Jason
wvdial and mail access
Hi all : I have been searching for documentation for how to configure a Red Hat Linux server to dial-out to a MAIL server. I found a program called 'wvdial' , but it seems as though this deals with modem connections to your ISP. Could I use a program like weavedial ( Wvdial ) to configure a dial-out to another mail server , which is incidently also Red Hat ? I *know* this is a RH 8 mailing list , but the distro I want to do the configuration on is actually Red Hat 7.2 Thanks a ton , Jason
Re: wvdial and mail access
What I have is a simple no-nonsense PPP connection using an already configured external modem , with an already configured 'chat' program. Basically I have a Windows LAN with workstations that connect over a LAN to the Linux Server , and then the Linux server uses an external modem attached to one of it's COMM ports to dial-out to a Telephone number , with a username and password. Once a successful connection has been made , all of the Windows users have internet access. All I need to do is change the telephone number and account information that the Chat program uses to establish the dial-up connection , because the ISP's have changed. I just don't know where the 'Chat' program keeps this information , and what I need to do once I have found this file and changed all of the necessary details. The other thing I want to try and do is to set up this machine to only dial the ISP on demand , and then to drop the connection automatically when it sits idle for a certain amount of time. The reason I asked about the 'wvdial' is that it seemed easier to configure , in which case I would have rebuilt the configuration on the RH 7.2 server from scratch , but the LATEST development is that I must use the Chat program. There is no wvdial installed , and I am not allowed to install new software. The new ISP will redirect mail requests to the RH 7.2 server , so the only thing I need to worry about is how to change the Chat program's account info Apologies for the confusion. - Original Message - From: "Neil Bird" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 13, 2003 1:25 PM Subject: Re: wvdial and mail access > Around about 13/01/2003 09:24, Jason Dale typed ... > > I have been searching for documentation for how to configure > > a Red Hat Linux server to dial-out to a MAIL server. I found > > a program called 'wvdial' , but it seems as though this deals with > > modem connections to your ISP. > >Not sure what you're trying to do - do you want a Net connection, use > a LAN to get mail, or what? > > -- > [neil@fnx ~]# rm -f .signature > [neil@fnx ~]# ls -l .signature > ls: .signature: No such file or directory > [neil@fnx ~]# exit > > > > -- > Psyche-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/psyche-list
RHCE and RHCT
Hi all : I don't want to remain a Linux nitwit for the rest of my life , so I am looking at getting RHCE certified , perhaps using RHCT as a springboard. I don't have the money right now to afford the expensive tuition fees , so I am looking for a Red Hat 8 book to buy that I can use to develop a high degree of 'real world' competency in Linux , an can also be used to effectively prepare for the RH exams. My problem is that most of these 'highly recommended' books seem to focus on graphical desktops rather than on the good old-fashioned command line. They also seem to assume that Linux machines are all installed the same way with the same packages. A classic example is an old RHCE Sybex book I have that yarns on about the 'Linuxconf' tool for configuring network cards , when most of my clients' machines out there don't even have Linuxconf installed because it is not a default package. What I need is a complete Red Hat 8 book that shows you how to solve real world problems and how to perform the same relevant tasks on the command line by editing files as well as how to use the GUI. I need a book that does not assume that I am already a Linux genius and that I should know what to do with a tarball installation once I have unzipped all of the files. Out of all the people on this list that have forked out their hard earned cash to kill another tree for furthering their education , can any of you recommend a Red Hat Linux book or range of books that I can purchase that teaches both command line and 'GUI' Linux from scratch , and takes you right up to guru level in an orderly and sequential fashion ? ( An ebook or an ecourse would also be useful ) Regards , Jason