Author Topic: Missing dirs on install?  (Read 3937 times)

mlewis

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Missing dirs on install?
« on: December 03, 2008, 19:38:38 »
I can't seem to get this installed no matter which repo or version I try. At this point, I am trying to install on a default trixbox 2.6.1.10 and can't get past the following. This is happening on a yum install so one would think the paths being used by the installer would know about it's own tools?

Thanks for any help.

Mike


  Installing: queuemetrics                 ######################### [1/1]
/var/tmp/rpm-tmp.74050: line 1: /etc/init.d/queuemetrics: No such file or directory
/usr/local/queuemetrics/java/bin/java: No such file or directory
ln: creating symbolic link `/usr/local/queuemetrics/tomcat/webapps/queuemetrics' to `/usr/local/queuemetrics/webapps/queuemetrics-1.4.7/': No such file or directory
/var/tmp/rpm-tmp.74050: line 18: /etc/init.d/queuemetrics: No such file or directory


QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Missing dirs on install?
« Reply #1 on: December 05, 2008, 11:15:23 »
You are likely forcing an install? the files needed are in other RPMs that should be automatically installed together with QM, as they are its dependency tree.

If you need to do a manual install, they are (install in this order):
- queuemetrics-java
- queuemetrics-tomcat
- mysql-connector
- queuemetrics

You can donwload them manually from: http://yum.loway.ch/RPMS/

mlewis

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Missing dirs on install?
« Reply #2 on: December 05, 2008, 20:10:02 »
I wondered if the installer would install everything needed so I looked into that and it seems that all of the other components are in fact installed as well.

In fact,

# rpm -q  queuemetrics-java queuemetrics-tomcat mysql-connector queuemetrics
queuemetrics-java-1_5_0_11-16
queuemetrics-tomcat-5.0.28-9
package mysql-connector is not installed
queuemetrics-1.4.7-37

Everything seems to be installed yet I get this error when trying to install the main package. For the heck of it, here's what I've done, uninstalled, then re-installed (I'll edit this later to shorten the thread), but FYI;

# yum remove queuemetrics
Loading "installonlyn" plugin
Setting up Remove Process
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package queuemetrics.noarch 0:1.4.7-37 set to be erased
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Removing:
 queuemetrics            noarch     1.4.7-37         installed         2.0 M

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       0 Package(s)
Remove       1 Package(s)

Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Removing  : queuemetrics                 ######################### [1/1]

Removed: queuemetrics.noarch 0:1.4.7-37
Complete!

]# yum install queuemetrics
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
addons                    100% |=========================|  951 B    00:00
trixbox                   100% |=========================| 1.1 kB    00:00
base                      100% |=========================| 1.1 kB    00:00
trixboxaddons             100% |=========================|  951 B    00:00
updates                   100% |=========================|  951 B    00:00
LowayResearch             100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 4.7 kB    00:00
################################################## 35/35
Excluding Packages from CentOS-5 - Addons
Finished
Excluding Packages from CentOS-5 - Base
Finished
Excluding Packages from CentOS-5 - Updates
Finished
Excluding Packages from CentOS-5 - Extras
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for queuemetrics to pack into transaction set.
queuemetrics-1.5.0-39.noa 100% |=========================|  70 kB    00:00
---> Package queuemetrics.noarch 0:1.5.0-39 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 queuemetrics            noarch     1.5.0-39         LowayResearch     1.2 M

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 1.2 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): queuemetrics-1.5.0 100% |=========================| 1.2 MB    00:04
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: queuemetrics                 ######################### [1/1]
/var/tmp/rpm-tmp.4959: line 1: /etc/init.d/queuemetrics: No such file or directory
/usr/local/queuemetrics/java/bin/java: No such file or directory
ln: creating symbolic link `/usr/local/queuemetrics/tomcat/webapps/queuemetrics' to `/usr/local/queuemetrics/webapps/queuemetrics-1.5.0/': No such file or directory
/var/tmp/rpm-tmp.4959: line 18: /etc/init.d/queuemetrics: No such file or directory
Stopping MySQL:  [  OK  ]
Starting MySQL:  [  OK  ]
.
-----------------------------------------------------------
ATTENTION!!! ATTENTION!!! ATTENTION!!!
===========================================================
If you are installing QM for the first time, run the following
commands to install the database:

cd /usr/local/queuemetrics/webapps/queuemetrics-1.5.0/WEB-INF/README
./installDb.sh

When you are done, point your browser to:
. http://thismachine:8080/queuemetrics
and login as user demoadmin / password demo.

If you are updating from a previous version, just point your
browser to:
. http://thismachine:8080/queuemetrics/dbtest
to check if your database link is working and update the
database to the latest version.
-----------------------------------------------------------

Installed: queuemetrics.noarch 0:1.5.0-39
Complete!

What next?


QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Missing dirs on install?
« Reply #3 on: December 06, 2008, 10:20:03 »
Try this:
Remove all packages:
- queuemetrics-java
- queuemetrics-tomcat
- mysql-connector
- queuemetrics

Look for the RPMs in the ROM cache and delete them, so that yium will do a full download.

And try yum install queuemetrics again. Surely there are missing files in your installation, but everybody else usses the same install packages as you do :-)



mlewis

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Missing dirs on install?
« Reply #4 on: December 11, 2008, 07:14:34 »
Try this:
Remove all packages:
- queuemetrics-java
- queuemetrics-tomcat
- mysql-connector
- queuemetrics

Interesting, it's telling me that the connector was not installed now?

# yum remove queuemetrics-java queuemetrics-tomcat mysql-connector queuemetrics
Loading "installonlyn" plugin
Setting up Remove Process
No Match for argument: mysql-connector
Resolving Dependencies

However, I do see mysql-connector-java 3.1.12-4 installed on the server.

>Look for the RPMs in the ROM cache and delete them, so that yium will do a >full download.

Ok, have done this also.

>And try yum install queuemetrics again. Surely there are missing files in your >installation, but everybody else usses the same install packages as you >do :-)

Did a yum clean, manually deleted the database which was already created, re-installed, had a few issues but it's working now.

Thanks :).

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Missing dirs on install?
« Reply #5 on: December 11, 2008, 15:08:03 »
That's okay. Sometimes people have a few problems with youm, I cannot really understand why, because it happens to very few people.