Ubuntu Servers :: Can't Reinstall Mysql-server After Power Failure During Aptitude Safe-upgrade

Jun 2, 2010

A week or so ago I ran an aptitude safe-upgrade and while it was updating mysql I suffered a power-failure. Now, this never really happens in Holland but of course this once it happened at the worst possible time.

I've tried a lot of different things to get mysql working again, but am running into all kinds of problems. First mysql won't shut off properly (it does startup with the computer but I can't connect to it at all) during an aptitude purge. If I kill the process mysql seems to purge properly, but I guess this is not the case because I wasn't able to install it then.

Things seem to have gone a bit more smoothly this time, however:

Code:
snek@snek-server:~$ sudo aptitude install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done

[Code].....

View 2 Replies


ADVERTISEMENT

Debian Installation :: Aptitude Safe Upgrade Not Installing Anything

Dec 29, 2010

I am running squeeze. I ran aptitude update and then safe-upgrade. The system detects 104 conflicts and then installs nothing, with no other messages. What can the problem be?

sudo aptitude safe-upgrade Resolving dependencies. open: 794300; closed: 315857; defer: 133767; conflict: 104

View 2 Replies View Related

Debian :: Aptitude Safe Upgrade Removed All KDE 4.3 Packages

Apr 13, 2010

KDE 4.3 squeeze-SID
I've got a strange problem with my last "aptitude safe-upgrade". It had removed all my kde 4.3 and packages I have installed, I don't know why!

This is what aptitude removed :
$ dpkg -l | grep ^rc |awk '{print $2}' | xargs echo .....

I reinstalled kde-full (kde 4) but now with an aptitude safe-upgrade or dist-upgrade. It wants to remove my debian-multimedia keyrings and my wine-unstable and others each time.

# aptitude -s safe-upgrade
Les NOUVEAUX paquets suivants vont etre installs : <<<<<<<<<  #new packages will be installed
libparted0debian1{a} libva1{a} libx264-92{a} libxklavier16{a} mysql-server-core-5.1{a}
Les paquets suivants seront ENLEVES : <<<<<<<< # packages will be remove .....

Here is my pref list :
Package: *
Pin: release o=apt-build
Pin-Priority: 989
Package: *
Pin: release o=Unofficial Multimedia Packages,a=unstable,l=Unofficial Multimedia Packages
Pin-Priority: 988
Package: *
Pin: release o=Debian,a=unstable,l=Debian
Pin-Priority: 987
Package: *
Pin: release o=volatile.debian.org,a=stable,l=debian-volatile
Pin-Priority: 986
Package: *
Pin: release o=Debian,a=stable,l=Debian-Security
Pin-Priority: 985
Package: *
Pin: release o=Unofficial Multimedia Packages,a=stable,l=Unofficial Multimedia Packages
Pin-Priority: 984
Package: *
Pin: release o=Debian,a=stable,l=Debian
Pin-Priority: 983
Package: *
Pin: release o=Debian,a=testing,l=Debian-Security
Pin-Priority: 982
Package: *
Pin: release o=Unofficial Multimedia Packages,a=testing,l=Unofficial Multimedia Packages
Pin-Priority: 981
Package: *
Pin: release o=Debian,a=testing,l=Debian
Pin-Priority: 980

And my sources.list:
# SID [URL]

# LENNY [URL]

# SQUEEZE [URL]

View 6 Replies View Related

Debian :: Aptitude Safe Upgrade - Untrusted Packages

Jul 4, 2010

I am new to Debian (just used Gentoo until now), I run a little server for our company and clients. Unfortunately our hosting company switched us from a Gentoo system to a Debian Lenny box with Confixx and stopped maintaining it. So I will need to do the house keeping, which worries me a bit. Today I started and ran: aptitude update && aptitude safe-upgrade and got a huge list with packages to upgrade. Unfortunately, I am not confident, if I will break something upgrading (Confixx, apache) as I get the following warning message:

WARNING: untrusted versions of the following packages will be installed!
Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that this is what you want to do.
mysql-client mysql-server-5.1 mysql-client-5.1 mysql-common mysql-server-core-5.1 mysql-server libmysqlclient16
Do you want to ignore this warning and proceed anyway?
Is it safe to ignore it and upgrade the needed packages?

View 14 Replies View Related

Debian :: Install Backports With Aptitude Safe Upgrade?

Oct 18, 2010

I see that the backports now is officiel. My question is rather simpel: Is it possible to upgrade with (and how to) the backported packages without to much work? Is is needed to install all backported packages individually? I want to upgrade to any backported package with the command:

apitutude safe-upgrade - if it is possible.

View 2 Replies View Related

Debian Installation :: Packages (Security Sensitive) In Aptitude Safe Upgrade?

Feb 17, 2011

Today I ran
aptitude update && aptitude safe-upgrade
Like I regularly do, and I see these two packages need to be upgraded:
login passwd

Since these packages seem kinda security-sensitive I would like to know exactly why I would need to upgrade them. I checked Debian's security list but couldn't find anything relevant, and the links to the changelog for both packages are broken:
The requested URL /changelogs/pool/main/s/shadow/shadow_4.1.4.2+svn3283-2+squeeze1/changelog was not found on this server.
Where can I see what is changed in these packages so I can safely upgrade?

View 3 Replies View Related

Debian :: Name Of Package That Prints Ncurses Style Dialogs During 'aptitude Safe-upgrade'

Mar 1, 2010

I'm running Debian squeeze and my packages are all up to date. I usually do my updates by typing 'aptitude update' and 'aptitude safe-upgrade' at the command line as root.Sometimes when doing regular updates aptitude, or the package that's being updated, shows a ncurses-style dialog box on the screen, usually to have the user 'OK' a change, or to select which version of a configuration file to keep. Recently I've found these dialog boxes to be slightly messed up... in that the spot at the bottom where I would expect the 'OK' button to be is replaced by nonsensical characters.

There seems to be no problem with the way that the program functions, as I can press the tab key and then the return key, or just the return key alone, and the dialog goes away, seemingly doing it's job. But I would like to know what this program is. It's likely been updated recently, but looking through /var/log/aptitude and /var/log/aptitude.1.gz I cannot figure out which one it is. I'd like to file a bug report, or simply be able to follow the progress of someone else's bug. That's all.

View 10 Replies View Related

Ubuntu Servers :: Unable To Aptitude Install Pure-ftpd-mysql?

Jul 20, 2010

I am having trouble to "aptitude install pure-ftpd-mysql" with my ubuntu server 9 version.

[Code]...

View 9 Replies View Related

Ubuntu Installation :: Power Failure While Upgrade From 9.10 To 10.04?

Aug 21, 2010

I was upgrading my ubuntu(9.10)/xp machine to ubuntu(10.4)/xp . but there was a power failure and was running in backup for 15 min. But after that the system shutdown automatically. Now when i boot, grub appears and after selecting the ubuntu partition i get a error saying cannot find device.

View 1 Replies View Related

Ubuntu Installation :: Power Failure During Upgrade To Lynx - Kernel Panic?

May 2, 2010

I learned yesterday that doing a massive upgrade on my system while moving was a BAAAD idea.The upgrade process was going along just fine, it was all downloaded and was actually installing that last time I saw it. I unplugged my laptop to move a bookcase out, and completely forgot to plug it back in. After I got back from moving a load, I found my computer was off. I tried to boot up, and I got an error that kind of freaked me out. It reads as follows:

Code:kernel panic not syncing vfs unable to mount root fs on unknown-block(0,0)I'm able to get to grub just fine, and my windows partition loads up just fine, but any of the linux kernels fail similarly when I attempt to load them.I'm sure that I can fix this, I just have no idea how. Probably has something to do with a live cd.

View 3 Replies View Related

Ubuntu Servers :: Home Server 10.04 - Upgrade Hangs On Mysql / Resolve This?

Aug 11, 2010

Been trying to upgrade home server for several days and it keeps hanging on the mysql upgrade. Here's the what apt-get says code....

View 3 Replies View Related

Ubuntu Servers :: Lost Months Of Data After Power Failure?

Nov 13, 2010

Running Ubuntu headless server 9.10 with a RAID 1 on ext3. After a power failure (UPS power button was hit accidentally), I logged into the system via ssh and found that I had lost all data since my last reboot, which was 4 months ago. It was as if I had a perfect snapshot of my machine from 4 months ago. Everything, database files, logs, all report as if the machine had been off for 4 months. Fortunately, I have quality backups of all my data so I am able to recover, but I have never had such a problem before and I cannot figure out what happened.

View 4 Replies View Related

Slackware :: Akonadi Failure After MySQL Upgrade To 5.1.42

Mar 7, 2010

There is a known bug with MySQL 5.1.42 that prohibits the QMYSQL driver from functioning properly. I finally found it on the MythTV bug tracker, which links it to the MySQL site. There is a patch available, but the bug was fixed in 5.1.43. To fix it on my system, I grabbed the all of -current/source/ap/mysql except for the actual source, and downloaded the latest version (5.1.44) from [URL].

View 2 Replies View Related

CentOS 5 Server :: Read Only After Power Failure?

Sep 19, 2009

I had a power failure the other day and my server shutdown abruptly. After bringing the server up I noticed that the /var partition came up as read only. I was not able to edit the crontab, not able to write to files within /var/log/ and do other write operations within /var.

I did a mount and it showed that /var was mounted read and write but when trying to run certain operations the system was still saying that it was read only.

[Code]...

View 1 Replies View Related

CentOS 5 :: Failed To Start The X Server After A Power Failure?

Oct 29, 2010

Before to describe my problem I want to say that I searched a lot on the internet and I think I tried all the solutions provided by other users to similar problems.

I've got an IBM xSeries 346 server running CentOS 5.5 with all updates applied with yum.

The video card is an ATI Radeon (lspci says: 01:06.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]).

Everything worked fine until a bad day where there was an environmental power failure and the server crashed.

I turned it on, I manually check the file system, some files went lost and after the reboot the X server didn't start.

After the first boot I had problem with /etc/rc.d/rc.sysinit, sbin/multipath.static and /dev/cpu/microcode, I solved them and now the message it shows is:

"Failed to start the X server (your graphical interface) It is likely that it is not set up correctly. Would you like to view the X server output to diagnose the problem?"

I choose OK and it appears an empty log, if I go in /var/log/gdm and I do an ls -al:

total 0
-rw-r--r-- 1 root root 0 Oct 28 04:44 :0.log.4
-rw-r--r-- 1 root root 0 Oct 28 04:44 :0.log.3
-rw-r--r-- 1 root root 0 Oct 29 04:52 :0.log.2
-rw-r--r-- 1 root root 0 Oct 29 04:52 :0.log.1
-rw-r--r-- 1 root root 0 Oct 29 04:52 :0.log

So a lot of empty log files.

I press enter on the OK that appears at the bottom of the screen and it says: Would you like to try to configure the X server?

I choose Yes, I enter the root password and appears the following messages:

Couldn't start X server on card 0
Couldn't start X server with old config, trying with a fresh configuration

Then another messages:

Trying to restart the X server, I press enter on OK and it loops the initial message ("Failed to start the X server...)

View 1 Replies View Related

Ubuntu Servers :: Mysql Error Stopping MySQL Database Server Mysqld?

Jun 17, 2010

I have installed Mysql in Ubuntu 9, for the use of roundcube database.After installing iam getting the error like this

* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.

So because of this in the roundcube configuration its giving the error message that MYSQL is not installed. So Kindly give me a idea how to solve this.

View 1 Replies View Related

General :: Dell PE1750 Server Not Boot Up After A Power Failure - FS Check With E2fsck

Apr 19, 2010

I have a dell PE1750 server which would not boot up after a power failure. I am thrown to a shell for maintenance after showing an error in file system check. The server was running - Red Hat Enterprise Linux AS release 3 (Taroon). Please let me know if I can try to recover from this error by booting from the 1st CD of a higher version of linux like RHEL5. I ask this because I do not have the old media with which the system was setup. Can the use of latest OS CD cause any problem?

View 2 Replies View Related

Debian Configuration :: Aptitude Wants To Reinstall Uninstalled Packages

Nov 6, 2015

I use Jessie, with the Aptitude curses interface for package management. It seems that every time I successfully uninstall/purge a package (along with its dependencies), then the next time I try to install/uninstall anything else it wants to reinstall that package (and its dependencies). It takes several (I haven't counted) "don't install" instructions from me before it will forget about it.

View 3 Replies View Related

Ubuntu Servers :: Safe To Install Print Server To LAMP On 10.04.1?

Jan 20, 2011

I need to first point out that I am a complete n00b when it comes to Ubuntu Server, and I managed to install Ubuntu Server 10.04.1 (on a screen-less Acer Aspire 5100 laptop) with Apache2, MySQL, OpenSSH, & PHP5. I currently have this server (hosting my website) behind a linksys router with only port 22, and 80 forwarded to its ip address. Now my question is: Would it be safe to configure a print server on the same machine in order to print from the 3 other computers on my router to one printer, or are there security risks involved (like what I have heard with LAMP servers and Samba on the same machine)? I am also wondering if it is safe the way I configured port 80 & 22? It has extremely long passwords, and I also went through the secure installation of one of the programs setting a root password too... But can somebody please help me with my server? I am very surprised I have gone this far in my first 2 weeks of my Web Scripting class too!

View 1 Replies View Related

Debian Configuration :: Way To Reinstall Synaptic / Aptitude And Wipe Slate Clean

Mar 27, 2016

I'm attempting to install some software on my friend's computer. It keeps saying the packages I want aren't there but I know they are. I've been fooling around with this for a while. I may have broken something in the process. Repository names, perhaps?Is there some way to reinstall Synaptic/Aptitude and "wipe the slate clean?"

View 6 Replies View Related

Ubuntu Servers :: Mysql Fails To Start After Upgrade To 9.10?

Feb 18, 2010

I've just upgraded to 9.10, and mysql fails to start. When I do an /etc/init.d/mysql start, I just get
* Starting MySQL database server mysqld ...fail!with no additional errors or information to say what went wrong. I saw this thread http://ubuntuforums.org/showthread.php?t=1322070 but the fix mentioned does not apply, as I don't have the #skip bsd line in my config file.

View 5 Replies View Related

Ubuntu Installation :: X-server Failure Post Upgrade

Mar 14, 2010

I got a root user command prompt - what do I do next? Edit /etc/X11/xorg.conf? How?Do I need to boot up a live CD?

View 1 Replies View Related

Debian Installation :: Aptitude Update And Aptitude Install Aptitude?

Jul 11, 2010

I am trying to upgrade an amd64 lenny system to squeeze.I've got a 2.6.32 kernel running, done aptitude update and aptitude install aptitude.When I try "aptitude safe-upgrade", it sits forever resolving dependencies.it seems to search with the resolver counting up more and more open/conflict/ whatever.I stopped it once it got over 100,000)Is it possible to get aptitude to do a safe-upgrade, perhaps using a command line option?

View 2 Replies View Related

Ubuntu Servers :: Server 11.04 Bash_completion Failure?

Jun 17, 2011

I have an Ubuntu box running server 11.04 that is displaying a weird behavior when logging into the CLI. The message below will scroll for about 15-20 seconds when you first log in, but then it goes to the normal shell and everything seems to work fine.

Code:
Welcome to Ubuntu 11.04 (GNU/Linux 2.6.38-8-server x86_64)
* Documentation: http://www.ubuntu.com/server/doc

[code]....

View 9 Replies View Related

Ubuntu Servers :: Low Power Home Server

Mar 1, 2010

I've been running my Dell SC440 as a home server/workstation for about a year now and whilst it can cope with both roles, it is power hungry, loud and does get a little slow down sometimes. What I am looking to do is create a home server to take away the need of it to be on 24x7.My requirements in a home server would include:

- Media Server (using TwonkyMedia or uShare)
- NZB Downloader (hellaNZB or sabNZB)
- AFP + NFS file serving
- rsync/unison for Linux backups and N900 media sync and backup
- Email/Calendar/Contacts hosting and sync (zimbra or zarafa?)

I would like to achieve this with an Acer Revo and a couple of 1 or 1.5TB external hard disks, I'm unsure if the Atom processor would be strong enough for all of these services, although I could test it using my netbook, if that can cope, the Revo would be able to easily.

View 9 Replies View Related

General :: Virtualising Ubuntu Server Edition - Avoid Having To Reinstall In The Future When Upgrade Hardware

Mar 26, 2011

I want to run Ubuntu Server Edition just at home, however to avoid having to reinstall it in the future when i upgrade hardware, I was thinking of virtualizing it first. Are there any minimalistic virtualisation solutions available at the moment for this sort of purpose? Or even better a linux distro just for this?

View 3 Replies View Related

Ubuntu Servers :: 10.4 Apt-get Install Openssh-server Failure?

May 8, 2010

I'm trying to get openssh-server working so I can stop using the family TV and just SSH from my laptop. I've only just installed 10.4 server edition, and I've made a change to /etc/apt/sources.lst by removing the # in front ofdeb cdrom:[Ubuntu-Server 10.04 LTS Anyway I run:sudo apt-get install openssh-server

Code:
Reading package lists... Done
Building dependancy tree

[code]....

View 7 Replies View Related

Server :: Upgrade MySQL From 5.0 To 5.1?

Jul 24, 2010

I have mysql server 5.0 installed via binary package on RHEL 5 where I have big databases running on it.

I want to upgrade mysql server to 5.1 without backup/restore of DBs. what is the best way to do this?

I tried yum update mysql-server but RH repo doesnt provide mysql 5.1 yet. and I tried to download mysql-server 5.1 binary packages from mysql.com but I got errors when I did rpm -Uvh mysql-5.1.

View 9 Replies View Related

Server :: How To Upgrade Php And MySQL.

May 4, 2010

I tried upgrading mySQL and PHP using up2date and what did it do? Downgraded me from mySQL 4.0.26-standard to 3.23.58 and did nothing with PHP.

[Code]....

View 2 Replies View Related

Ubuntu Servers :: FTP-Server Accounts Storeable In MySQL Server?

Mar 2, 2010

I've just made my old, dusty computer into an Ubuntu Server. So far, i have installed a well functioned LAMP server, to host my Website. I have also installed a FTP-Server (proftpd) and i was wondering if i could manage my FTP accounts in MySQL so i could make an account creation page for it? If yes, how?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved