Red Hat :: "Lost" User Mysql While Updating System
Feb 17, 2010
I ran up2date yesterday and it installed a few new MySQL packages as well as a new kernel.
It got through everything up until it went to install the smp version of the kernel, and up2date spit an error at me and quit.
The problem was that my system keeps old kernels and /boot was full, so it couldn't add the new files there. No problem--I manually removed (via rpm -e) six or seven of the old kernel packages (there might have been a dozen or so), ran up2date again, and it successfully installed the new kernel. Great. So I rebooted the system.
And when it came back up... MySQL didn't start.
I tried to manually start it just to see, and was greeted with "chown: 'mysql:mysql': invalid user" Yikes! Sure enough, a look at /etc/passwd showed NO user "mysql." I quickly tried "useradd mysql" but it wouldn't go for that because there was a GROUP mysql.
I checked to make sure that there was no user with an id matching the group id of mysql and then manually added mysql back to /etc/passwd and /etc/shadow.
After doing that I was able to start the MySQL daemon and it now properly starts up and runs fine after rebooting.
So basically, it's fixed, but I still don't exactly understand what the heck happened. Updating to a new MySQL rpm and having up2date fail while installing a new kernel somehow deletes my "mysql" user from the system? I shouldn't have to be manually modifying /etc/passwd and /etc/shadow because of an up2date error, I wouldn't think.
Edit-- This is a RHEL 4 system now running 2.6.9-89.0.20.ELsmp on a Dell PowerEdge 1750..
View 2 Replies
ADVERTISEMENT
Aug 30, 2010
Having trouble with updating my system 11.3 when loged in as user or as root.When freshly installed update worked, for about twoo or tree weks i cant get it to work annymore.
Same error everytime: An internal error has occured A problem that we were not expecting has occured. Please report this bug in your distribution bugtracker with the error description. More details (Installation aborted by user)
View 9 Replies
View Related
May 27, 2011
I'm using dovecot pop3 server in my website. I tried to create a virtual user system with mysql. But it didn't work. Next I tried to debug my work with reading of dovecot log. I enabled logging in it by changing this values in /etc/dovecot/conf.d/10-logging.conf:
Code:
log_path=/var/log/dov
auth_verbose = yes
auth_debug = yes
auth_debug_passwords = yes
After that I tried to login to the pop3 via telnet and it failed as usual. After I checked the log file (/var/log/dov), but it does not contain any information about that failed login. Only there was some information about starting up of dovecot! Does any body know that what is the problem and why dovecot doesn't log that?
View 8 Replies
View Related
Aug 7, 2010
How do I create a new mysql user and a mysql database at the shell prompt?
View 1 Replies
View Related
Oct 24, 2010
My PC lost power while updating. After booting, I run update once again and everything seems to be fine, except the message "could not do simulate: coreutils-libs-8.4-8.fc13.i686 requires coreutils = 8.4-8.fc13 : Success - empty transaction".
When I try using "yum update", I receive the error message below.
Loaded plugins: refresh-packagekit
Setting up Update Process
Resolving Dependencies
--> Running transaction check
[Code]....
View 11 Replies
View Related
Aug 2, 2010
I'm trying to setup wordpress on my server, which of course I need mysql for. I setup a database the other day, which worked perfectly, but I had to start again as I put some information in wrong. Now, I can create a database fine, but when I run
Code:
GRANT ALL ON wordpress.* TO wordpress@localhost IDENTIFIED BY "password";
I get the output:
[code]...
View 13 Replies
View Related
Apr 30, 2010
I cant change my user settings (password, login screen settings etc) after upgrading to 10.4 on my desktop pc. It says I don't have rights. I'm the only user, no other profiles. Otherwise seems to be working fine!
View 1 Replies
View Related
Mar 18, 2011
I partial updated the ubuntu packages after repeated messages. Finally it asked me to delete obsolete files and I clicked Ok. After some time the wireless internet Icon on the top right corner disappered.
Now I cant connect to internet by my router either wireless or wired. My wlan drivers are ok too. There seem to be no network whatsoever.
View 1 Replies
View Related
Apr 28, 2011
I installed ubuntu 10.10, dual boot with winxp then I ran the update manager and now I don't have the option to boot into windows.
View 5 Replies
View Related
May 3, 2011
I was using dual boot (windows 7 and ubuntu 10.10) and it was going well. Couple of days ago I updated to Ubuntu 11.04 and everything was OK. Yesterday I cought some virus in windows, installed Microsoft security essentials which asked to update Windows. After update, dual boot is gone. It boots to windows directly with no option to choose between OS.
Quote:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Windows is installed in the MBR of /dev/sda
sda1: __________________________________________________ _______________________
File system: ntfs
[Code]....
View 7 Replies
View Related
Mar 29, 2010
I am using Ubantu9.04 and before few days I have tried installing amsn.It prompted to dependencies for following packages :
1. farsight2-0.0.17
2. gstreamer-0.10.27
After installing that I have lost sound,and the error was :
"The volume control did not find any elements and/or devices to control. This means either that you don't have the right GStreamer plug-ins installed, or that you don't have a sound card configured."
aplay -l
gives output - sound card not found
but lspci -v - list the sound card
View 1 Replies
View Related
Feb 4, 2010
I have CentOS 5.4 installed with lighty and MySQL installed via yum. not a problem. The issue become when I'm having problem with the current mysql that I installed via yum which I believe its currently at version 5.1.42-2. So I'd like to upgrade it to the latest available version of mysql. Except I can't figure out whether to download the generic glibc32 version or just get the RHEL5 version or find the mysql enterprise version somewhere. So, not knowing what I'm doing, I downloaded the RHEL5 version since it's closer to CentOS 5.4. Except for whatever reason the mysqli is not installed or configured properly and I'm not sure how to fix it.
Any suggestion? Everything was working nicely when I used yum to install, except the problem with the version of mysql that's offered in the repository. So I'd like to request a suggestion on how to either somehow upgrade mysql using yum and there's a different repository that I didn't know, or perhaps download a proper latest and greatest mysql, install and have it configured so that mysqli work properly.
View 6 Replies
View Related
May 30, 2011
As it says in the title I need to use the scalpel file recovery tool, or something similar to be able to recover a lost mysql storage folder.. The system crashed, and I really need these files as fast as possible. So I would love any help I could get.I have been searching in different search engines (including this forum) for an answer to my question, but I can't seem to find it.How can I configure scalpel, or any other similar application to be able to recover my mysql /var/lib/mysql storage directory. I really need these files... And.. I know, I should have taken backup
View 4 Replies
View Related
Jan 5, 2010
I just updated some user account information on my server and when I log on from a client it the ypcat passwd command shows the old info. How do I make it update? A related question... my NIS users can only log in on client machines using the terminal; it doesn't work at the graphical login screen. Is this normal? I'm new to NIS (just set it up last night) and still getting this stuff sorted out.
View 2 Replies
View Related
Nov 19, 2010
I have lost my password and user name for my installation of Fedora 8, i do not need to get it running again as i am preparing the pc for sale but i have several gigs of photos on there and i would like to rescue them if possible, i thought i might be able to do it with a live cd and copy the files on to a usb stick but wanted to ask firsts i am a real amateur ie i never managed to understand how every thing works really.It is in duel boot with win xp sp3 and i could not get to the photos from there
View 1 Replies
View Related
Mar 2, 2010
I have a number of systems with Fedora on them, they are connected to a network but are not allowed to connect to the internet. So I am trying to find a solution to patch these systems in a simple way.My solution which i thought of, however, still having a problem with is as follows:
1- Download the files from the "repodata" (e.g. for "update" repository) using a machine that is connected to the internet.
2- Copy these files(e.g. using flash drive) to one on of these Fedora systems into the /var/cache/yum/i386/12/updates (or /var/cache/yum/updates for older versions).
3- Run "yum -C check-update" (-C so it will not try to update and will use the local files). (I am having a problem at this step and I get this message "no such table: packages", the solution that i found on the internet suggested cleaning the cache which is not what i want to do!).
4- After getting the list of needed files I will parse the primary.xml.gz file and grab the actual file names then append the base URL to them and save it into a file.
5- take that file to the online machine and run wget to grab all needed patches.
6- Take the files back to the system and put them in (i think /var/cache/yum/i386/12/updates/packages/) and run "yum -C update" However, now i am having a problem with step 3 and also not sure if step 6 is correct.
So does any of you guys know how to solve this, or if there is a better or easier way to do this??* Keep in mind that those machines are not allowed to connect to the internet or even connect to another machine that is connected, but we still need to patch them and keep them secure.
View 4 Replies
View Related
Jul 3, 2010
To upgrade the system in preserving with vendor packages How should it?
View 3 Replies
View Related
Jul 18, 2010
Any recommendations for changing or updating the system sounds in Ubuntu? Seriously, love the distro but absolutely cannot stand the stinkin' bongos that go off every time the system boots or I log in.I've tried changing them and have some of the sounds updated in 10.04, but, can't seem to get them all.
View 3 Replies
View Related
Sep 17, 2010
I just updated ubuntu a few minutes ago, and now my sound system is not responding. I checked up updates, installed the updates then it told me I had to restart (no big deal, that happens with every other update), so I did. And when my computer booted back up, I noticed my volume icon looked different, so I went to un-mute it, and there was no option to un-mute it. I clicked sound preferences to try and get an idea of what the problem was, and a window appeared that said "waiting for sound system to respond". I've been waiting quite a while now, and it has not responded. My sound was working fine before I updated. Here is a screen shot of the window that appears when I try to enter sound preferences:
View 3 Replies
View Related
Apr 25, 2011
I have an old RHEL3 machine that we didn't update before it went end of whatever redhat calls it, and now when I run an up2date -l, it says "This system may not be updated until it is associated with a channel." Is there any way to give it a channel so I can get whatever updates we missed before they turned it off?
View 2 Replies
View Related
Jul 7, 2011
I was updating slackware-current via slackpkg and while it was downloading/installing latest kernel (and other apps) my battery went off and now the system can't boot. I was thinking to boot through a live cd and through chroot command to re-install all the new packages. Would it work?
View 6 Replies
View Related
May 21, 2010
I am having fedora 12 with php and mysql rpms installed on my computer.. but I am unable to log in...nether create an user?
View 3 Replies
View Related
Dec 8, 2010
It has worked in the last week or so. Not sure when I ran it last. Now only root can run Open Office. The menu and a quick start Icon both give no response but su can call from the command line. I,user, can't. Seems there was a big OO update in the last several days, this might be the cause. I spoke too soon. Now su will not get it either. I tried su -l and su with no success. Also an Icon for OO quick start has gone away.
View 2 Replies
View Related
May 28, 2011
I started from a Fedora 14 installation with user specific desktop setting, i.e. background, menu items, and so on.The upgade worked fine, but while loggin on I found a new environment (Gnome 3) an no user specific desktop settings.How can I upgrade from F14 to F15 without losing my desktop settings and without insatlling Gnome 3?
View 3 Replies
View Related
Apr 28, 2011
I'm getting the following error on my webpage :Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /var/www/vhosts/...When I use the default MySQL port 3306, then I have no error.But when I use port 33060, then I get the error !My /etc/my.cnf :
Code:
[mysqld]
datadir = /var/lib/mysql
[code]...
View 1 Replies
View Related
May 30, 2011
I was updating grub and for some reason the system hanged. Going to a tty did not solve any problems. At the end I had to do a hard reboot and came up with the following on the grub boot
reloc offset is out of segment Entering rescue mode grub rescue >
Googling for the above I landed on this page.
[URL]
While I'm going to try the later part, is there anything else I need to know about ?
Didn't have to do much, took the the Squeeze 6.10.a DVD, asked it to run into rescue mode and then did grub-install giving the MBR (hd0) as the place to be. Things worked nice after that.
Upon booting had to run
dpkg --configure -a
and it updated grub to 1.99-5 among other updates. Did not know that Squeeze had a rescue method as well (just like Ubuntu live CDs have). Now just have to wait for Debian to get Live CD/DVD as default
View 2 Replies
View Related
Feb 5, 2011
I have always used apt-get to update the system. Yesterday, I was doing some tests and one of them was to try to update the system using the aptitude command, instead. I ran aptitude update and then aptitude safe-ugrade. I thought that wouldn't be a problem, but I was wrong. This morning I found the computer just can't boot.
I get this message:
I have Squeeze in another partition on that computer. I can access the system through the terminal (the graphic is screwed). Is it possible to try my Lenny from this partition? If not, I also have a live cd for Squeeze. Right now I'm on another computer.
View 3 Replies
View Related
Apr 30, 2010
But I feel like I should warn everyone that upgrading (with PackageKit) a Kubuntu 9.10 (64-bit) to Kubuntu 10.04 LTS, completely breaks the system and makes most everything useless ... In my case it found errors in the upgrading process, and also the bug rapport tools didn't work My 9.10 was only a few weeks old and I have done nothing unusual with the system. (My computer is a Compaq 615 laptop). If there are solutions to repair the system, then I would like 2 know.
View 3 Replies
View Related
Jun 22, 2010
Windows won't boot on Grub after I just updated Ubuntu. I tried to follow the solutions to other people who have had similar problems, but I can't get them to work for me. I am assuming you will want to see this code...
View 5 Replies
View Related
Aug 3, 2010
Ubuntu tried to update, but some problems occurred. The triangle with an exclamation point in it showed up and I rolled my mouse over it.This is what it says:
"The update information is outdated. This may be caused by network problems or by a repository that is no longer available. Please update manually by clicking on this icon and then selection 'Check for updates' and check if some of the listed repositories fail."
I did what it says and this came up:"The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct."
and in the white box below the message:"Failed to fetch url 404 Not Found
Some index files failed to download, they have been ignored, or old ones used instead."
View 9 Replies
View Related