Re: [CentOS] CentOS-6.8 fsck report Maximal Count
On Tue, Mar 14, 2017, 7:41 AM James B. Byrnewrote: > On Fri, March 10, 2017 11:57, m.r...@5-cent.us wrote: > > > > > Looks like only one sector's bad. Running badblocks should, > > I think, mark that sector as bad, so the system doesn't try > > to read or write there. I've got a user whose workstation has > > had a bad sector running for over a year. However, if it > > becomes two, or four, or 64 sectors, it's replacement > > time, asap. > > > > > Bear with me on this. The last time I did anything like this I ended > up having to boot into recovery mode from an install cd and do this by > hand. This is not an option in the present circumstance as the unit > is a headless server in a remote location. > > If I do this: > > echo '-c' > /fsckoptions > touch /forcefsck > shutdown -r now > > Will this repair the bad block and bring the system back up? If not > then what other options should I use? > > The bad block is located in an LV assigned to a libvirt pool > associated with a single vm. Can this be checked and corrected > without having to deal with the base system? If so then how? You'll need to search the smartmontools site for their doc on bad sectors. There's a how to, to find what file is affected by the bad sector so you can replace it. That's the only way to fix the problem. This gets tricky going through LVM. Chris Murphy ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] usb 3.1 support in CentOS 7
On Tue, Mar 14, 2017, 6:11 PM Jerry Geiswrote: > Hi All - Been trying to find out if USB 3.1 support is in CentOS 7 and > kernel 3.10 ? > > I see its in the 4.X kernel - but what about CentOS 7? USB 3.1 Gen 1 is the same thing as USB 3.0. USB 3.1 Gen 2 is a different thing entirely as I expect it needs a much newer kernel. I don't think it strictly requires USB-C, but in practice that's the only form factor I've seen it appear in so far. Chris Murphy ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] upgrading Mysql 5.0.95
On Sun, 2017-03-19 at 10:24 -0400, Mark Weaver wrote: > Heavens no... I love my CentOS 5 server. I going to try and keep it > around as long as possible. I like and admire C5 too. Httpd applications on C5 also run, without problems in my experience, on C6. -- Regards, Paul. England, EU. England's place is in the European Union. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS-es] Postfix o Exim ?
Buen dia Lista. Soy usuario de muchos a~os de Postfix, pero ultimamente a incrementado mi necesidad de mantener un Postfix con mayores directrices de seguridad para mejorar la experiencia del usuario a al hora de recibir y enviar correos. Uno de los dolores de cabeza mas grandes en mi proceso como Sysadmin de Postfix es que no existe la forma de limitar el numero de relays permitidos por usuario, vaya, que por ejemplo "micue...@micorreo.com" solo pueda sacar un maximo de 1,000 (un mil) correos diarios, de esta forma prevengo ataques de spam desde dentro de mi servidor hacia fuera. *si existe la mera, diganme porque jamas la encontre :S* Por otro lado, tambien he tenido detalles con la parte del maillog, tuve que hacer una interface peque~a web para tener una mejor referencia del uso del MTA, ams que nada para detectar posibles ataques a las cuentas de mis usuarios y tambien detectar alza de usos indebidos del SMTP por cuentas de correo internas. Leyendo el manual oficial de Exim encuentro que este MTA si contiene mas directrices de seguridad que permiten a un sysadmin un mejor control del servidor de correo y uso del mismo, pero hasta aqui he llegado (simple lectura). Me gustaria saber su opinion ya que el par de servidores que tengo usan postfix, uno como SMTP y el otro como Relay. Saluods ! -- M.S.I. Angel Haniel Cantu Jauregui. Celular: (011-52-1)-899-871-17-22 E-Mail: angel.ca...@sie-group.net Web: http://www.sie-group.net/ Cd. Reynosa Tamaulipas. ___ CentOS-es mailing list CentOS-es@centos.org https://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS] upgrading Mysql 5.0.95
On 03/19/2017 01:06 PM, Robert Nichols wrote: On 03/19/2017 07:32 AM, Mark Weaver wrote: I'm getting things ready to upgrade my aging installation of MySQL 5.0.95 on my CentOS 5 LAMP server. With the impending EOL date of 3.31 fast approaching my sense of doom and urgency is increasing. Packages don't disappear after 3/31. They just get moved to vault.centos.org, where they will remain, never to be updated again. Heck, you can still get CentOS 2.1 packages from there. -- Bob Nichols "NOSPAM" is really part of my email address. Do NOT delete it. It's ok... its all a mute point because earlier today I did everything in true linux tradition: I fixed it until I broke it and I broke it but good. MySQL no longer runs on that LAMP server. Now it's just a LA_P server. :-) and doing a fine job running Sendmail I might add. I've just had to move all the databases over to the host I'm migrating to a little earlier than I'd planned. Mark ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] upgrading Mysql 5.0.95
On 03/19/2017 07:32 AM, Mark Weaver wrote: I'm getting things ready to upgrade my aging installation of MySQL 5.0.95 on my CentOS 5 LAMP server. With the impending EOL date of 3.31 fast approaching my sense of doom and urgency is increasing. Packages don't disappear after 3/31. They just get moved to vault.centos.org, where they will remain, never to be updated again. Heck, you can still get CentOS 2.1 packages from there. -- Bob Nichols "NOSPAM" is really part of my email address. Do NOT delete it. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] upgrading Mysql 5.0.95
On 03/19/2017 10:43 AM, Jonathan Billings wrote: On Sun, Mar 19, 2017 at 10:24:27AM -0400, Mark Weaver wrote: On 03/19/2017 10:00 AM, Jonathan Billings wrote: >On Sun, Mar 19, 2017 at 08:32:38AM -0400, Mark Weaver wrote: >>I'm getting things ready to upgrade my aging installation of MySQL >>5.0.95 on my CentOS 5 LAMP server. With the impending EOL date of 3.31 >>fast approaching my sense of doom and urgency is increasing. > >It isn't clear to me, but are you migrating away from CentOS 5 as part >of this MySQL update? > Heavens no... I love my CentOS 5 server. I going to try and keep it around as long as possible. I've got another machine in the rack that I've got CentOS 7 installed on, but there are differences in that OS and the items running on it that I don't like at all. SELinux comes to mind... No, I definitely have plans on running CentOS5 for while long. Mostly because there's an issue with one of the web apps I'm running on my C5 server that is having problems running correctly on C7. I haven't figured out why yet. I figured that since you mentioned the EOL date of 3.31, you understood that meant no new updates for CentOS 5. No more support for CentOS 5. That means you'd be putting in all this work to migrate mysql on a platform that isn't supported anymore. Why bother updating mysql then? Its going to be living on an unsupported platform anyway, with no bug fixes or security patches. I think I explained that above... There are issues with one of my main web applications on my CentOS 7 box that are taking a lot more time resolving then was anticipated, so I'd like to upgrade MySQL on the CentOS 5 server while I'm working things out. Guess I'll stumble through this as well... ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] upgrading Mysql 5.0.95
On Sun, Mar 19, 2017 at 10:24:27AM -0400, Mark Weaver wrote: > On 03/19/2017 10:00 AM, Jonathan Billings wrote: > >On Sun, Mar 19, 2017 at 08:32:38AM -0400, Mark Weaver wrote: > >>I'm getting things ready to upgrade my aging installation of MySQL > >>5.0.95 on my CentOS 5 LAMP server. With the impending EOL date of 3.31 > >>fast approaching my sense of doom and urgency is increasing. > > > >It isn't clear to me, but are you migrating away from CentOS 5 as part > >of this MySQL update? > > > > Heavens no... I love my CentOS 5 server. I going to try and keep it around > as long as possible. I've got another machine in the rack that I've got > CentOS 7 installed on, but there are differences in that OS and the items > running on it that I don't like at all. SELinux comes to mind... > > No, I definitely have plans on running CentOS5 for while long. Mostly > because there's an issue with one of the web apps I'm running on my C5 > server that is having problems running correctly on C7. I haven't figured > out why yet. I figured that since you mentioned the EOL date of 3.31, you understood that meant no new updates for CentOS 5. No more support for CentOS 5. That means you'd be putting in all this work to migrate mysql on a platform that isn't supported anymore. Why bother updating mysql then? Its going to be living on an unsupported platform anyway, with no bug fixes or security patches. -- Jonathan Billings___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] upgrading Mysql 5.0.95
On 03/19/2017 10:00 AM, Jonathan Billings wrote: On Sun, Mar 19, 2017 at 08:32:38AM -0400, Mark Weaver wrote: I'm getting things ready to upgrade my aging installation of MySQL 5.0.95 on my CentOS 5 LAMP server. With the impending EOL date of 3.31 fast approaching my sense of doom and urgency is increasing. It isn't clear to me, but are you migrating away from CentOS 5 as part of this MySQL update? Heavens no... I love my CentOS 5 server. I going to try and keep it around as long as possible. I've got another machine in the rack that I've got CentOS 7 installed on, but there are differences in that OS and the items running on it that I don't like at all. SELinux comes to mind... No, I definitely have plans on running CentOS5 for while long. Mostly because there's an issue with one of the web apps I'm running on my C5 server that is having problems running correctly on C7. I haven't figured out why yet. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] upgrading Mysql 5.0.95
On Sun, Mar 19, 2017 at 08:32:38AM -0400, Mark Weaver wrote: > I'm getting things ready to upgrade my aging installation of MySQL > 5.0.95 on my CentOS 5 LAMP server. With the impending EOL date of 3.31 > fast approaching my sense of doom and urgency is increasing. It isn't clear to me, but are you migrating away from CentOS 5 as part of this MySQL update? -- Jonathan Billings___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] upgrading Mysql 5.0.95
Hi All, I'm getting things ready to upgrade my aging installation of MySQL 5.0.95 on my CentOS 5 LAMP server. With the impending EOL date of 3.31 fast approaching my sense of doom and urgency is increasing. I see that the necessary packages are available in @base and @updates - mysql51 and mysql55 respectively but from all the information I've read on the matter so far I'm left with a few questions I don't yet have answers to.' What I've done so far and thankfully was able recover from: 1. installed and enabled to epel repo - ran yum remove mysql - this command wanted to remove a few things I wanted to keep in place like dovecot and a few php53 packages. I didn't want to have to go back and clean up any messes that would create. So, I used the rpm -e --nodeps command to remove the MySQL packages. - because this was a redhat repo it installed the binaries in a total different place AND tossed all my existing data directories. and yes I spit coffee all over my laptop screen and yes, I did have data dir backups and a dump of MySQL data. HOLY CRAP! 2. removed the epel packages - disabled this repo - for ever at least for now... 3. reinstalled the old MySQL 5.0.95 packages - because I was hyper-ventilating - reset roots password - imported all the databases from the dump and checked my web apps - everything working again. - I did have to recreate the mysql.servers table to be able to flush privileges. I understand that mysql51 is available in @base for the sole purpose of upgrading old MySQL and mysql55 is in updates for getting to 5.5, however here is where things get a little fuzzy for me: Steps for Upgrading (as I understand them): 1. Take a dump of all mysql database using mysqldump --add-drop-database --all-databases 2. Stop mysql services 3. make a backup of data directories: /var/lib/mysql (but its not _supposed_ to remove the data directories.) 3. yum remove mysql mysql-server (again, it will include a few things I don't want removed. so, i'll have to use rpm -e --nodeps and list the packages for removal then issue yum clean all.' 4. yum install mysql51 5. start mysql service 6. run command mysql_upgrade... (here's where things start getting fuzzy) Question #1: is this command to be run from the commandline or should I log into mysql as root user and run the command? Question #2: at this point I will have mysql 5.1 installed and running but to get up to 5.5 am I expected to yum remove 5.1 and then yum install 5.5 from @updates and repeat steps 5 and 6 OR simply run the command yum update mysql51* to catch all already installed mysql51 packages to and then run the mysql_update command to bring data up to date with the current mysql install? THank you for your kind attention... -- Mark ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Up to date guide/information Sendmail SMTP Auth
On 03/09/2017 10:58 AM, Paul Heinlein wrote: Usually, testsaslauthd needs a service name. In this case, testsaslauthd -u username -p mypassword -s smtp If your password has any characters a shell might misinterpret (*, !, <, >, &, ...), make sure you enclose it in quotation marks. What have you seen in your logs (usually /var/log/maillog on CentOS systems)? If sendmail is having trouble setting up TLS/SSL, it will let you know! You may have to post the entire contents of your sendmail.mc (the m4 file), redacted as necessary to obscure any non-relevant bits that may be sensitive. Alexander... Paul, My apologies for taking so long to reply. I did get everything worked out and if I'm honest I had to go through all the crap I went through to get everything work; including TLS. Working with MS Exchange and other MS server environment products, not to mention all the other things included in that, have made my linux skills rather rusty. Now that I've done it and actually understand what's going on I can't believe how blasted easy it really is and feel a little foolish; mostly for allowing my Linux skills to get rusty to begin with. Hell! my CentOS 5 server simply runs, doesn't complain, doesn't break down or choke and puke on updates. (thats one of the reasons I use to justify my skills getting rusty. ;P ) But, thank you gentlemen for your assistance. It is appreciated. Now... one last question: Is it better to use self-signed certs for Sendmail, or is it better to get CA Authority signed certs for sendmail? I get all my web server certs from Go Daddy, but from what I've read so far Sendmail seems to experience issues with CA Authority signed certs that contain a common name and I /believe/ certs from places like Go Daddy require the common name field no be empty. thanks in advance... ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos