Re: Mysql Database installation problem
- From: anand@xxxxxxxxxxxxxxxxxx
- Date: Sun, 14 Oct 2007 15:18:49 -0400 (EDT)
Thanx for your help,
According to the instructions given my Adrian, i tried to remove
php-sqlite but it throwing the following errors-
localhost:~# apt-get remove -f php-sqlite3
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
php-sqlite3
0 upgraded, 0 newly installed, 1 to remove and 150 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 69.6kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 204026 files and directories currently installed.)
Removing php-sqlite3 ...
Forcing reload of web server (apache2)...apache2: Could not reliably
determine the server's fully qualified domain name, using 127.0.0.1 for
ServerName
httpd (no pid file) not running
apache2: Could not reliably determine the server's fully qualified domain
name, using 127.0.0.1 for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
failed!
invoke-rc.d: initscript apache2, action "restart" failed.
dpkg: error processing php-sqlite3 (--remove):
subprocess pre-removal script returned error exit status 1
Forcing reload of web server (apache2)...apache2: Could not reliably
determine the server's fully qualified domain name, using 127.0.0.1 for
ServerName
httpd (no pid file) not running
apache2: Could not reliably determine the server's fully qualified domain
name, using 127.0.0.1 for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
And also, I checked from synaptic manager that there is only one version
of apache, i.e. 2.2 is installed on my system.
One more thing: Now if am trying to remove any program using apt-get its
showing the same php-sqlite error.
On Sat, Oct 13, 2007 at 05:03:48PM +1000, Adrian Levi wrote:
On 14/10/2007, anand@xxxxxxxxxxxxxxxxxx <anand@xxxxxxxxxxxxxxxxxx>
wrote:
following
I tried to install mysql-server-5.0 using apt-get and I got the
error-
Comments inline.
some more detail on this otherwise good reponse.
The following NEW packages will be installed:
mysql-server-5.0
Your installing one package here.
0 upgraded, 1 newly installed, 0 to remove and 150 not upgraded.installed.)
1 not fully installed or removed.
Need to get 0B/25.8MB of archives.
After unpacking 71.1MB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package mysql-server-5.0.
(Reading database ... 202487 files and directories currently
Unpacking mysql-server-5.0 (from
.../mysql-server-5.0_5.0.32-7etch1_amd64.deb) ...
Setting up php-sqlite3 (0.4-4) ...
But here dpkg has detected packages on your system in an unconfigured
state. possibly you previously tried to install something that
required this package but it was left unconfigured.
Forcing reload of web server (apache2)...apache2: Could not reliablyfor
determine the server's fully qualified domain name, using 127.0.0.1
ServerNamedomain
httpd (no pid file) not running
apache2: Could not reliably determine the server's fully qualified
name, using 127.0.0.1 for ServerName[::]:80
(98)Address already in use: make_sock: could not bind to address
(98)Address already in use: make_sock: could not bind to address0.0.0.0:80
no listening sockets available, shutting down
This looks to me like you are running 2 instances of apache, perhaps
apache and apache2?
probably he is running an apache that was started manually. hence the
start-stop script is unable to find it. or maybe he is running
someother web server ?
Unable to open logs
failed!
invoke-rc.d: initscript apache2, action "restart" failed.
dpkg: error processing php-sqlite3 (--configure):
this is the killer here. With `invoke-rc.d apache2 restart` failing,
you're not going to get anywhere. Find out why apache2 won't restart,
fix that problem and then this should all clear out.
subprocess post-installation script returned error exit status 1
Setting up mysql-server-5.0 (5.0.32-7etch1) ...
Stopping MySQL database server: mysqld.
Errors were encountered while processing:
php-sqlite3
E: Sub-process /usr/bin/dpkg returned an error code (1)
dpkg is unable to configure the packages so it's dying - this AFAIK
has nothing to do with mysql not installing properly it looks to be
due to previous packages in an unconfigured state.
What to do???Whats the problem??
try running
sudo dpkg --configure -a
to configure packages first before installing mysql.
If you don't need it you could try removing php-sqlite3 then doing a
configure then moving on to your installation of mysql.
Adrian
--
24x7x365 != 24x7x52 Stupid or bad maths?
<erno> hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact
listmaster@xxxxxxxxxxxxxxxx
--
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: Mysql Database installation problem
- From: Andrew Sackville-West
- Re: Mysql Database installation problem
- From: Florian Kulzer
- Re: Mysql Database installation problem
- References:
- Mysql Database installation problem
- From: anand
- Re: Mysql Database installation problem
- From: Adrian Levi
- Re: Mysql Database installation problem
- From: Andrew Sackville-West
- Mysql Database installation problem
- Prev by Date: Re: k3b crashing when track added for audio cd
- Next by Date: Many problems.......
- Previous by thread: Re: Mysql Database installation problem
- Next by thread: Re: Mysql Database installation problem
- Index(es):
Relevant Pages
|