Koozali.org: home of the SME Server

phpmyadmin install

kuyaz

phpmyadmin install
« on: March 13, 2007, 01:39:30 AM »
Hello,

I'm using dmays phpmyadmin 2.10.02 which is the most current version and I am having problems installing this version, or at least getting it to run. When I do the install I get the following message and stops there:

[root@e-smith install]# rpm -Uvh *
   1:smeserver-phpmyadmin   warning: user dmay does not exist - using root
warning: group dmay does not exist - using root
warning: user dmay does not exist - using root
warning: group dmay does not exist - using root

Thinking it was complted I go to https://mydomain/phpmyadmin and get a 404, page cannot be displayed.

Any suggestions on how to get this installed?

Thanks in advance.

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Re: phpmyadmin install
« Reply #1 on: March 13, 2007, 03:46:13 AM »
Quote from: "kuyaz"
# rpm -Uvh *
   1:smeserver-phpmyadmin   warning: user dmay does not exist - using root
warning: group dmay does not exist - using root
warning: user dmay does not exist - using root
warning: group dmay does not exist - using root

The above are warnings, not errors. Nothing wrong there.

To see if the rpm installed:

# rpm -ql --info smeserver-phpmyadmin | more

To manually rebuild/load your httpd-e-smith config and check for errors:

# expand-template /etc/httpd/conf/httpd.conf
# svc -t /service/httpd-e-smith

Darrell

Offline haymann

  • *
  • 212
  • +0/-0
phpmyadmin install
« Reply #2 on: March 13, 2007, 04:19:40 PM »
I just installed the same rpm, but I used yum localinstall and had no problems at all. The package was installed and https://server-ip/phpmyadmin works correctly.
Ryan

kuyaz

phpmyadmin install
« Reply #3 on: March 13, 2007, 07:43:41 PM »
Thanks for your help guys! I checked and verified phpmyadmin was not installed, even after doing the expand.

But here's the thing that may be due to the lack of my knowledge. Is there a difference between SRPMS and RPMS packages? I downloaded/installed the SRPMS first which gave me the above errors. After posting here, then I decided to download the RPMS which phpmyadmin worked after then. Mind you I still got the same error message when I installed both...

Again, thanks for your help.

Patrick

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
phpmyadmin install
« Reply #4 on: March 13, 2007, 08:40:47 PM »
Srpm is for developers and it has source files.
You have to install rpm's.
"It should just work" if it doesn't report it. Thanks!

Offline cougar

  • 4
  • +0/-0
phpmyadmin install
« Reply #5 on: March 23, 2007, 12:51:18 PM »
Hi there

I have exactly the same problem ie get 404 not found

Ihave run
# rpm -ql --info smeserver-phpmyadmin | more  

and it tells me that phpmyadmin is not installed.  however if I then run

# rpm -Uvh smeserver-phpmyadmin-multiuser-2.10.0.2-1.noarch.rpm

it tells me that the package is already installed.  

what have I done wrong please

Baz

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
phpmyadmin install
« Reply #6 on: March 23, 2007, 01:17:48 PM »
Quote
I have exactly the same problem ie get 404 not found

Did you use https://ip/myadmin ? Because https won't work.
"It should just work" if it doesn't report it. Thanks!

Offline cougar

  • 4
  • +0/-0
phpmyadmin install
« Reply #7 on: March 23, 2007, 04:55:27 PM »
Many thanks

I have tried all sorts of address permutations but the only time it changes is if I type in http://myip/myadmin  I get Forbidden 403

Offline haymann

  • *
  • 212
  • +0/-0
phpmyadmin install
« Reply #8 on: March 23, 2007, 09:29:44 PM »
You mention "https://ip/myadmin" but I believe it needs to be https://ip/phpmyadmin. That works for me.
Ryan

Offline mdo

  • *
  • 355
  • +0/-0
phpmyadmin install
« Reply #9 on: March 23, 2007, 09:56:52 PM »
Quote
Ihave run
# rpm -ql --info smeserver-phpmyadmin | more

and it tells me that phpmyadmin is not installed. however if I then run

# rpm -Uvh smeserver-phpmyadmin-multiuser-2.10.0.2-1.noarch.rpm

it tells me that the package is already installed.


You are checking details for a package "smeserver-phpmyadmin" but then you want to install (another) package "smeserver-phpmyadmin-multiuser" (which seems to be installed already).

Change your check to be
rpm -ql --info smeserver-phpmyadmin-multiuser | more

Michael
...

Offline cougar

  • 4
  • +0/-0
phpmyadmin install
« Reply #10 on: March 23, 2007, 10:25:52 PM »
Change your check to be
rpm -ql --info smeserver-phpmyadmin-multiuser | more

already figured that out and found all the files in /opt/  will that make a difference?


Baz

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
phpmyadmin install
« Reply #11 on: March 23, 2007, 11:22:38 PM »
Quote from: "haymann"
You mention "https://ip/myadmin" but I believe it needs to be https://ip/phpmyadmin. That works for me.
Ryan

Well it could be. It depends on the rpm. I have one that works like myadmin. :)
You can set it whatever you want and i know that there are two contribs out one that works at myadmin and one that works at phpmyadmin so you're not wrong and neither am i we just have different contribs.
"It should just work" if it doesn't report it. Thanks!

Offline cougar

  • 4
  • +0/-0
phpmyadmin install
« Reply #12 on: March 23, 2007, 11:39:10 PM »
Quote from: "bpivk"
Well it could be. It depends on the rpm. I have one that works like myadmin.      


Well it seems that there is no definitive answer..... I have just been playing around with the permutations again and I managed to open it up with https://mydomain/myadmin/   the last backslash did it.

Many thanks for your input though

Baz

Offline haymann

  • *
  • 212
  • +0/-0
phpmyadmin install
« Reply #13 on: March 24, 2007, 01:33:27 AM »
Quote from: "bpivk"
Quote from: "haymann"
You mention "https://ip/myadmin" but I believe it needs to be https://ip/phpmyadmin. That works for me.
Ryan

Well it could be. It depends on the rpm. I have one that works like myadmin. :)
You can set it whatever you want and i know that there are two contribs out one that works at myadmin and one that works at phpmyadmin so you're not wrong and neither am i we just have different contribs.
That is interesting. Maybe I should switch to the other one, less typing :) !

The rpm from dmay that is mentioned at the start of this thread doesn't work w/ myadmin, I just tried with no success.

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
phpmyadmin install
« Reply #14 on: March 24, 2007, 01:39:26 AM »
There are two phpmyadmin contribs doing the rounds.

One is by Dmay and is /phpmyadmin

The other is by MasterSleepy and is /myadmin

I could be wrong, but both are https

As for the / at the end, /myadmin works for me but my browsers(FF and IE on XP) add the / just before the page is redirected.

What alias do you have...?

Code: [Select]
cat /etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpmyadminmultiAlias

Didn't see your post there Ryan.

Your fragment will be in the same place but with a different name. You could just change the alias, save, expand and restart httpd-e-smith.
Regards,
William

IF I give advise.. It's only if it was me....