partition check
hey guys, I would print you the exact output but as I don't have it in front of me I'll hope this is enough.I'm afraid it will be. My box hangs in the initial part of the boot. Normaly the text moves so fast in this part that it's not readable but now after the lines showing it detects the various drives in the box it stops at the line reading: partition check: hda hda being the master HD where it remains indefinately. Has my drive failed? I can't boot into rescue mode either..I'm stuck. any suggestions would be apreciated. thanks Nick -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
Re: partition check
On jue, 2003-07-31 at 18:31, [EMAIL PROTECTED] wrote: > hey guys, > > I would print you the exact output but as I don't have it in front of me I'll hope > this is enough.I'm afraid it will be. > > My box hangs in the initial part of the boot. Normaly the text moves so fast in > this part that it's not readable but now after the lines showing it detects the > various drives in the box it stops at the line reading: > > partition check: > hda > > hda being the master HD > where it remains indefinately. Has my drive failed? > Have you made a hardware change/upgrade ? Some BIOS setting modified ...? If you did, check your cables...BIOS... > I can't boot into rescue mode either..I'm stuck. If you didn't any hardware change, probably your hard disk has a failure. Try to boot from your Linux RedHat CD #1 passing "emergency" option to kernel, try to verify disk integrity using fsck. > any suggestions would be apreciated. I hope this help > thanks > Nick Hardy Beltran Monasterios [EMAIL PROTECTED] -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
Re: SUDO QUESTION
Gordon, Thanks for the suggestion but I was able to figure out a different way to get the same result. Using sudo I copied the httpd config file to a backup copy and an httpd.tmp file. Then I used changed the ownership of the httpd.tmp file to the user that is running the script, redirected the new config info to the httpd.tmp and the sudo copied the httpd.tmp file to the real httpd.conf file. Thanks for the help. On the desktop - MacOS X In the server room - Linux Windows? In the trash? From: "jim car" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: SUDO QUESTION Date: Wed, 30 Jul 2003 05:10:20 -0700 Gordon - There is a problem with the command you suggested. When you run sudo dd if=./httpd.tmp of=/etc/httpd/conf/httpd.conf the contents of httpd.tmp just overwrites /etc/httpd/conf/httpd.conf Looking at the dd man page I played with the seek and notrunc options. With seek it will keep the original file then add however much blank space until you reach the seek amount and then write httpd.tmp to httpd.conf. Problem then becomes the second time you run the script it will write over what was written during the first run unless I were to delete all of the blank lines. Even though notrunc is listed in the man page and on the little help description of dd, when you try to issue the command there is an error stating that notrunc is not a recognized option of dd. Any ideas? Thanks. On the desktop - MacOS X In the server room - Linux Windows? In the trash? From: Gordon Messmer <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: SUDO QUESTION Date: Tue, 29 Jul 2003 22:12:12 -0700 jim car wrote: Why can't a user issue the following commands using sudo? It always comes back as permission denied. The sudoer's password is accepted. sudo cat ./httpd.tmp >> /etc/httpd/conf/httpd.conf In this example, two things are happening: 1) sudo authenticates the user and runs "cat ./httpd.tmp" as root 2) the user's shell attempts to open /etc/httpd/conf/httpd.conf and write the output of "sudo" into that file. Redirection is not handled by "sudo", or any other command you run: it's a function of the shell in which the redirection was requested. Naturally, you can't sudo that. You can however, accomplish what you want this way: cat ./httpd.tmp | sudo dd if=/dev/stdin of=/etc/httpd/conf/httpd.conf ( useless use of cat, primarily intended to display the use of /dev/stdin ) or more simply: sudo dd if=./httpd.tmp of=/etc/httpd/conf/httpd.conf dd, unlike the shell, will do redirection in a command that can be evoked from sudo. -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
RPM rebuild of Apache - Access Problems
Just wondering if anyone has any suggestions about this. I rebuilt httpd-2.0.40-11.5 from the RPM source to change the content directory to /home/htdocs, so SUEXEC will work from there. Anyways, had no problem rebuilding RPM, installing it and getting SUEXEC to work like I wanted. The problem is that with the rebuilt Apache does not seem to be reading .htaccess and .htpasswd files correctly. The LoadModule directive for both mod_auth and mod_access are uncommented. And Apache is not displaying the .ht files through the browser, so it seems like mod_access is partially working. I tried serveral tests. .htaccess Order Deny,Allow Deny from all The above .htaccess file after restarting Apache did not block access to the directory. .htaccess Order Deny,Allow Deny from all Allow from xxx.xxx.xxx.xxx The above .htaccess file after restarting Apache did not block access to the directory. .htaccess AuthType Basic AuthName "By Invitation Only" AuthUserFile /home/htdocs/samplesite.com/.htpasswd Require valid-user The above .htaccess file after restarting Apache did not make Apache ask for a userid and password before serving the page. Did I miss something in the spec file when rebuilding Apache? Any help would be appreciated. On the desktop - MacOS X In the server room - Linux Windows? In the trash? _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list
Re: Usernames with dots
Lionel, What do you mean that the account is not actually built? One of the servers that I am a sys admin of has accounts with periods in it. We do not use LDAP authentication with it though, so I don't know if that is your problem or not. On the desktop - MacOS X In the server room - Linux Windows? In the trash? From: "Lionel M. Worman" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Usernames with dots Date: Tue, 29 Jul 2003 11:29:35 -0400 We use dots in our usernames for LDAP, sort of like John.Smith But when I try to create a similar account in Red Hat 8.0 so that I can use LDAP authentication the account is never actually built. Any ideas on how to create accounts with dots in the names in Red Hat? Lionel M. Worman Information Technology Coordinator Wittenberg University -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list