Package: drupal6
Version: 6.6-3
Severity: important

Hi,

I attempted to install drupal6 right after a minimal install of lenny,
with something like:

aptitude update && aptitude safe-upgrade
aptitude install apache2
aptitude install drupal6

The drupal6 install seems to have pulled in mysql and php5 dependencies okay.
I answered all the debconf queries.  However the resulting installation does
not function.  I pasted below the drupal6 page from my browser.

Following the above I tried dpkg-reconfigure.  This results in ERROR 1045.

What is the cause of error 1045 ?

Is there some other setup required apart from 'aptitude install drupal6' ?


Many thanks.


----- Paste from http://myhost.com/drupal6 -----

Warning: Table 'drupal6.access' doesn't exist query: SELECT 1 FROM access WHERE 
type = 'host' AND LOWER('86.31.36.218') LIKE LOWER(mask) AND status = 0 LIMIT 
0, 1 in /usr/share/drupal6/includes/database.mysql.inc on line 128

Warning: session_start() [function.session-start]: Cannot send session cookie - 
headers already sent by (output started at 
/usr/share/drupal6/includes/database.mysql.inc:128) in 
/usr/share/drupal6/includes/bootstrap.inc on line 995

Warning: session_start() [function.session-start]: Cannot send session cache 
limiter - headers already sent (output started at 
/usr/share/drupal6/includes/database.mysql.inc:128) in 
/usr/share/drupal6/includes/bootstrap.inc on line 995

Warning: Table 'drupal6.cache' doesn't exist query: SELECT data, created, 
headers, expire, serialized FROM cache WHERE cid = 'variables' in 
/usr/share/drupal6/includes/database.mysql.inc on line 128

Warning: Table 'drupal6.variable' doesn't exist query: SELECT * FROM variable 
in /usr/share/drupal6/includes/database.mysql.inc on line 128

Warning: Table 'drupal6.cache' doesn't exist query: UPDATE cache SET data = '', 
created = 1239606543, expire = 0, headers = '', serialized = 0 WHERE cid = 
'variables' in /usr/share/drupal6/includes/database.mysql.inc on line 128

Warning: Table 'drupal6.system' doesn't exist query: SELECT name, filename, 
throttle FROM system WHERE type = 'module' AND status = 1 AND bootstrap = 1 
ORDER BY weight ASC, filename ASC in 
/usr/share/drupal6/includes/database.mysql.inc on line 128

Warning: Cannot modify header information - headers already sent by (output 
started at /usr/share/drupal6/includes/database.mysql.inc:128) in 
/usr/share/drupal6/includes/bootstrap.inc on line 596

Warning: Cannot modify header information - headers already sent by (output 
started at /usr/share/drupal6/includes/database.mysql.inc:128) in 
/usr/share/drupal6/includes/bootstrap.inc on line 597

Warning: Cannot modify header information - headers already sent by (output 
started at /usr/share/drupal6/includes/database.mysql.inc:128) in 
/usr/share/drupal6/includes/bootstrap.inc on line 598

Warning: Cannot modify header information - headers already sent by (output 
started at /usr/share/drupal6/includes/database.mysql.inc:128) in 
/usr/share/drupal6/includes/bootstrap.inc on line 599

Warning: Table 'drupal6.url_alias' doesn't exist query: SELECT COUNT(pid) FROM 
url_alias in /usr/share/drupal6/includes/database.mysql.inc on line 128



----- Command line output -----

~# dpkg-reconfigure drupal6
dbconfig-common: writing config to /etc/dbconfig-common/drupal6.conf
*** WARNING: ucf was run from a maintainer script that uses debconf, but
             the script did not pass --debconf-ok to ucf. The maintainer
             script should be fixed to not stop debconf before calling ucf,
             and pass it this parameter. For now, ucf will revert to using
             old-style, non-debconf prompting. Ugh!

             Please inform the package maintainer about this problem.
Replacing config file /etc/drupal/6/sites/default/dbconfig.php with new version
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: 
YES).
unable to connect to mysql server.
error encountered creating user:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: 
YES)
dbconfig-common: drupal6 configure: trying again.
dbconfig-common: writing config to /etc/dbconfig-common/drupal6.conf
*** WARNING: ucf was run from a maintainer script that uses debconf, but
             the script did not pass --debconf-ok to ucf. The maintainer
             script should be fixed to not stop debconf before calling ucf,
             and pass it this parameter. For now, ucf will revert to using
             old-style, non-debconf prompting. Ugh!

             Please inform the package maintainer about this problem.
Replacing config file /etc/drupal/6/sites/default/dbconfig.php with new version
dbconfig-common: flushing administrative password
www-data www-data 0750 /var/lib/drupal6/files
~#


-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-ovz028stab053.14-enterprise (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages drupal6 depends on:
ii  apache2            2.2.9-10+lenny2       Apache HTTP Server metapackage
ii  apache2-mpm-prefor 2.2.9-10+lenny2       Apache HTTP Server - traditional n
ii  curl               7.18.2-8lenny2        Get a file from an HTTP, HTTPS or 
ii  dbconfig-common    1.8.39                common framework for packaging dat
ii  debconf [debconf-2 1.5.24                Debian configuration management sy
ii  exim4              4.69-9                metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light 4.69-9                lightweight Exim MTA (v4) daemon
ii  libjs-jquery       1.2.6-2               JavaScript library for dynamic web
ii  mysql-client       5.0.51a-24            MySQL database client (metapackage
ii  mysql-client-5.0 [ 5.0.51a-24            MySQL database client binaries
ii  php5               5.2.6.dfsg.1-1+lenny2 server-side, HTML-embedded scripti
ii  php5-gd            5.2.6.dfsg.1-1+lenny2 GD module for php5
ii  php5-mysql         5.2.6.dfsg.1-1+lenny2 MySQL module for php5
ii  wwwconfig-common   0.1.2                 Debian web auto configuration

Versions of packages drupal6 recommends:
ii  mysql-server                  5.0.51a-24 MySQL database server (metapackage
ii  mysql-server-5.0 [mysql-serve 5.0.51a-24 MySQL database server binaries

drupal6 suggests no packages.

-- debconf information:
  drupal6/password-confirm: (password omitted)
  drupal6/pgsql/app-pass: (password omitted)
  drupal6/mysql/admin-pass: (password omitted)
  drupal6/mysql/app-pass: (password omitted)
  drupal6/pgsql/admin-pass: (password omitted)
  drupal6/app-password-confirm: (password omitted)
  drupal6/pgsql/manualconf:
  drupal6/db/basepath:
  drupal6/passwords-do-not-match:
* drupal6/mysql/method: unix socket
  drupal6/pgsql/authmethod-user:
  drupal6/internal/reconfiguring: false
  drupal6/pgsql/no-empty-passwords:
  drupal6/purge: false
  drupal6/remove-error: abort
* drupal6/db/app-user: drupal6
  drupal6/database-type: mysql
  drupal6/dbconfig-upgrade: true
  drupal6/pgsql/admin-user: postgres
  drupal6/install-error: retry
  drupal6/upgrade-backup: true
  drupal6/dbconfig-reinstall: false
  drupal6/dbconfig-remove:
* drupal6/mysql/admin-user: root
* drupal6/db/dbname: drupal6
  drupal6/pgsql/authmethod-admin: ident
  drupal6/remote/newhost:
  drupal6/pgsql/changeconf: false
  drupal6/internal/skip-preseed: false
  drupal6/pgsql/method: unix socket
  drupal6/missing-db-package-error: abort
  drupal6/upgrade-error: abort
* drupal6/dbconfig-install: true
  drupal6/remote/port:
  drupal6/remote/host:



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to