All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Need help on Debian 6 Mysql install
this is what I've got trying to install apache2, Any idea how to fix it?
apt-get install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
apache2 is already the newest version.
The following packages were automatically installed and are no longer required:
sendmail-cf sendmail-base
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up mysql-server-5.1 (5.1.63-0+squeeze1) ...
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.1 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.1; however:
Package mysql-server-5.1 is not configured yet.
dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
configured to not write apport reports
configured to not write apport reports
Errors were encountered while processing:
mysql-server-5.1
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
Comments
Have you make some changes to your mysql config?
I didn't, but one of my co-workers were doing something, he said he didn't do any, but probably did some, I have no idea what's going on.
i could give you root passwd if you want to try some..
run free -m?
mysqld failed to start, I'm thinking memory issue but I could be wrong (assuming this is a leb).
Apt-get purge mysql*
add Percona's repo and install their version
www.percona.com
Below is Ram status, trying
free -m
total used free shared buffers cached
Mem: 508 433 75 0 101 215
-/+ buffers/cache: 116 392
Swap: 1023 0 1023
@LAKid: It seems like it doesn't have enough ram at the moment :P
Try running ps aux and pasting it here (using the pre tags please, makes looking at it easier.
apt-get purge mysql*
After this operation, 105 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 89685 files and directories currently installed.)
Removing mysql-server ...
Removing mysql-server-5.1 ...
Stopping MySQL database server: mysqld.
Purging configuration files for mysql-server-5.1 ...
Removing mysql-client ...
Removing mysql-client-5.1 ...
Removing mytop ...
Purging configuration files for mytop ...
Removing libdbd-mysql-perl ...
Removing libmysqlclient15off ...
Purging configuration files for libmysqlclient15off ...
Removing phpmyadmin ...
dpkg: error processing phpmyadmin (--purge):
subprocess installed post-removal script returned error exit status 10
configured to not write apport reports
Removing php5-mysql ...
Purging configuration files for php5-mysql ...
Removing proftpd-mod-mysql ...
Removing libmysqlclient16 ...
Purging configuration files for libmysqlclient16 ...
Removing mysql-common ...
Purging configuration files for mysql-common ...
dpkg: warning: while removing mysql-common, directory '/etc/mysql' not empty so not removed.
Removing mysql-server-core-5.1 ...
Processing triggers for man-db ...
Processing triggers for libapache2-mod-php5 ...
Reloading web server config: apache2[Fri Aug 03 17:15:42 2012] [warn] module negotiation_module is already loaded, skipping
[Fri Aug 03 17:15:42 2012] [warn] NameVirtualHost 81.209.164.168:80 has no VirtualHosts
[Fri Aug 03 17:15:42 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
.
Errors were encountered while processing:
phpmyadmin
E: Sub-process /usr/bin/dpkg returned an error code (1)
Did you happen to recently do a dist-upgrade?
~# ps aux
<
pre>
root 145 0.0 0.0 16744 520 ? S<s Aug02 0:00 udevd --daemon
root 196 0.0 0.0 16740 440 ? S< Aug02 0:00 udevd --daemon
root 243 0.0 0.0 0 0 ? S Aug02 0:00 [flush-202:0]
root 534 0.0 0.2 54164 1516 ? Sl Aug02 0:07 /usr/sbin/rsyslogd -c4
root 558 0.0 1.1 136936 5892 ? Ss Aug02 0:02 /usr/sbin/apache2 -k start
root 585 0.0 0.0 6132 472 ? S Aug02 0:00 /usr/sbin/courierlogger -pid=/
root 588 0.0 0.1 18596 712 ? S Aug02 0:00 /usr/lib/courier/courier-authl
root 611 0.0 0.0 18596 252 ? S Aug02 0:00 /usr/lib/courier/courier-authl
root 612 0.0 0.0 18596 252 ? S Aug02 0:00 /usr/lib/courier/courier-authl
root 613 0.0 0.0 18596 252 ? S Aug02 0:00 /usr/lib/courier/courier-authl
root 614 0.0 0.0 18596 252 ? S Aug02 0:00 /usr/lib/courier/courier-authl
root 615 0.0 0.0 18596 252 ? S Aug02 0:00 /usr/lib/courier/courier-authl
107 626 0.0 0.0 23268 480 ? Ss Aug02 0:00 /usr/bin/dbus-daemon --system
root 648 0.0 0.2 22428 1076 ? Ss Aug02 0:00 /usr/sbin/cron
root 711 0.0 0.4 70872 2552 ? Ss Aug02 0:02 sendmail: MTA: accepting conne
root 739 0.0 0.2 49176 1128 ? Ss Aug02 0:00 /usr/sbin/sshd
proftpd 798 0.0 0.3 71328 1604 ? Ss Aug02 0:00 proftpd: (accepting connection
root 818 0.0 0.2 51864 1328 ? Ss Aug02 0:00 /bin/login --
root 2163 0.0 0.3 19248 2016 ? S Aug02 0:00 -bash
root 4977 0.0 0.2 25324 1504 ? Ss Aug02 0:00 SCREEN -A -m -s redirect ./xhl
root 4978 0.0 0.7 173820 3952 pts/1 Ssl+ Aug02 1:01 ./xhlds
root 12084 0.0 3.1 72500 16260 ? Ss 15:44 0:00 /usr/bin/perl /usr/share/userm
root 12987 0.0 0.0 16740 432 ? S< 15:45 0:00 udevd --daemon
root 13086 0.0 3.3 79476 17256 ? Ss 15:45 0:01 /usr/bin/perl /usr/share/webmi
root 19600 0.0 0.6 70496 3368 ? Ss 17:14 0:00 sshd: root@pts/0
root 19602 0.0 0.3 19244 2032 pts/0 Ss 17:14 0:00 -bash
www-data 20358 0.0 0.4 136936 2448 ? S 17:15 0:00 /usr/sbin/apache2 -k start
www-data 20359 0.0 0.7 137856 4160 ? S 17:15 0:00 /usr/sbin/apache2 -k start
www-data 20360 0.0 0.7 137856 4160 ? S 17:15 0:00 /usr/sbin/apache2 -k start
www-data 20361 0.0 0.7 137856 4160 ? S 17:15 0:00 /usr/sbin/apache2 -k start
www-data 20362 0.0 0.7 137856 4160 ? S 17:15 0:00 /usr/sbin/apache2 -k start
www-data 20363 0.0 0.7 137856 4160 ? S 17:15 0:00 /usr/sbin/apache2 -k start
root 20750 0.0 0.2 16340 1172 pts/0 R+ 17:19 0:00 ps aux
Sheesh, why does xhlds have an RSS of 173 megabytes?
@Damian I believe it's upgraded..
Fixed, thanks.
How?
LAKid I would of personally just used TuxLite or Minstall to install fresh, then build any programs you want, around it.