Koozali.org: home of the SME Server

smeserver gallery2 install problem

Offline kevin861119

  • *
  • 9
  • +0/-0
smeserver gallery2 install problem
« on: February 13, 2008, 11:04:52 AM »
hello everybody when i install smeserver gallery cause some problem and show the following message :

mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
Loading 20mysql_migrate_horde into mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[FAILED]
Loading 21horde.mysql_set_password into mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[FAILED]
Loading 30horde_mysql_create_tables into mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[FAILED]
Loading 40horde_mysql_create_indexes into mysql DBI connect('horde','root',...) failed: Access denied for user 'root'@'localhost' (using password: YES) at /etc/e-smith/events/actions/horde_create_indexes line 46
[FAILED]
Loading 50turba_upgrade into mysql DBI connect('horde','root',...) failed: Access denied for user 'root'@'localhost' (using password: YES) at /etc/e-smith/events/actions/turba_upgrade line 44
[FAILED]
Loading 56horde-3.1_alter_table into mysql DBI connect('horde','root',...) failed: Access denied for user 'root'@'localhost' (using password: YES) at /etc/e-smith/events/actions/horde_alter_table line 46
[FAILED]
Loading 57turba_mysql_reset_addressbook_pref into mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[FAILED]
Loading 77horde_mysql_update_privs into mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[FAILED]

i download rpm file from http://wiki.contribs.org/Gallery2

which configuration need to change before run rpm file??

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: smeserver gallery2 install problem
« Reply #1 on: February 13, 2008, 12:13:51 PM »
hello everybody when i install smeserver gallery cause some problem and show the following message :

mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
Did you perhaps change the root password? You should never do that! You should also not configure applications to use the root password, for more information see the MySQL FAQ section in the wiki.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline kevin861119

  • *
  • 9
  • +0/-0
Re: smeserver gallery2 install problem
« Reply #2 on: February 14, 2008, 03:36:04 AM »
Did you perhaps change the root password? You should never do that! You should also not configure applications to use the root password, for more information see the MySQL FAQ section in the wiki.

But when i run the rpm file, the mysql database and user account should be generated, but i don't known why cause this problem, which configure or command should i using before, like --prefix=...... 

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: smeserver gallery2 install problem
« Reply #3 on: February 14, 2008, 09:47:49 AM »
But when i run the rpm file, the mysql database and user account should be generated, but i don't known why cause this problem, which configure or command should i using before, like --prefix=...... 
You do not need any prefixes, first verify that you can login to MySQL as root user by only issuing the following command:
Code: [Select]
mysqlIf that fails there is something wrong with your installation, if it errors out with the following error you have most likely modified you root password which you should never do as this is a 60+ charachters random string which is automatically supplied when you try to login from the root SME Server shell by issuing above command, see the wiki how to fix this issue.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline kevin861119

  • *
  • 9
  • +0/-0
Re: smeserver gallery2 install problem
« Reply #4 on: February 19, 2008, 08:02:50 AM »
now i have a new problem when install , show the following message:
--15:00:35--  http://mirror.contribs.org/smeserver/contribs/dberteld/gallery2/smeserver-gallery2-2.2-3.noarch.rpm
           => `smeserver-gallery2-2.2-3.noarch.rpm'
Resolving mirror.contribs.org... 75.146.90.141
Connecting to mirror.contribs.org|75.146.90.141|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/smeserver/contribs/dberteld/gallery2/smeserver-gallery2-2.2-3.noarch.rpm [following]
--15:00:35--  http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/smeserver/contribs/dberteld/gallery2/smeserver-gallery2-2.2-3.noarch.rpm
           => `smeserver-gallery2-2.2-3.noarch.rpm'
Resolving ftp.surfnet.nl... 192.87.102.43, 192.87.102.42, 2001:610:1:80aa:192:87:102:43, ...
Connecting to ftp.surfnet.nl|192.87.102.43|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
15:00:37 ERROR 404: Not Found.

can't get the file form internet with command wget.........

any suggestion download link?

thanks. 
« Last Edit: February 19, 2008, 08:05:58 AM by kevin861119 »

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: smeserver gallery2 install problem
« Reply #5 on: February 19, 2008, 08:10:10 AM »
now i have a new problem when install , show the following message:
--15:00:35--  http://mirror.contribs.org/smeserver/contribs/dberteld/gallery2/smeserver-gallery2-2.2-3.noarch.rpm
           => `smeserver-gallery2-2.2-3.noarch.rpm'
Resolving mirror.contribs.org... 75.146.90.141
Connecting to mirror.contribs.org|75.146.90.141|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/smeserver/contribs/dberteld/gallery2/smeserver-gallery2-2.2-3.noarch.rpm [following]
--15:00:35--  http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/smeserver/contribs/dberteld/gallery2/smeserver-gallery2-2.2-3.noarch.rpm
           => `smeserver-gallery2-2.2-3.noarch.rpm'
Resolving ftp.surfnet.nl... 192.87.102.43, 192.87.102.42, 2001:610:1:80aa:192:87:102:43, ...
Connecting to ftp.surfnet.nl|192.87.102.43|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
15:00:37 ERROR 404: Not Found.

can't get the file form internet with command wget.........

any suggestion download link?

thanks. 
You could have found this quite easily: http://wiki.contribs.org/OsCommerce

It states:

Code: [Select]
yum install smeserver-gallery2 --enablerepo=smecontribs
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline kevin861119

  • *
  • 9
  • +0/-0
Re: smeserver gallery2 install problem
« Reply #6 on: February 19, 2008, 09:30:32 AM »
i was successful install gallery, thanks for everybody help.