Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: jpl on August 31, 2007, 12:14:34 PM
-
New contrib smeserver-hwinfo
Purpose :
This contrib adds a new Hardware Info panel in the server-manager to launch and display a detailed report about your server's hardware using lshw.
Downloads :
[RPMS]
http://mirror.contribs.org/contribs/jpl/smecontribs/smeserver-hwinfo/smeserver-hwinfo-1.0-1.el4.eos.noarch.rpm
http://apt.sw.be/redhat/el4/en/i386/RPMS.dag/lshw-2.11.1-1.el4.rf.i386.rpm
[SRPMS]
http://mirror.contribs.org/contribs/jpl/smecontribs/smeserver-hwinfo/smeserver-hwinfo-1.0-1.el4.eos.src.rpm
http://apt.sw.be/redhat/el4/en/i386/SRPMS.dag/lshw-2.11.1-1.rf.src.rpm
Installation :
yum localinstall lshw-2.11.1-1.el4.rf.i386.rpm smeserver-hwinfo-1.0-1.el4.eos.noarch.rpm
/sbin/e-smith/expand-template /etc/e-smith/web/common/css/hwinfo.css
/sbin/e-smith/expand-template /etc/e-smith/web/common/head.tmpl
/etc/e-smith/events/actions/navigation-conf
-
Nice I will have a look at it. A few remarks though...
Installation :
rpm -i lshw-2.11.1-1.el4.rf.i386.rpm smeserver-hwinfo-1.0-1.el4.eos.noarch.rpm
Please use 'yum localinstall' instead of 'rpm -i' as this is the preferred installation method on SME Server as of release 7, as a bonus it will also try to resolve the necessary dependencies against the enabled repositories.
/sbin/e-smith/expand-template /etc/e-smith/web/common/css/hwinfo.css
/sbin/e-smith/expand-template /etc/e-smith/web/common/head.tmpl
/etc/e-smith/events/actions/navigation-conf
Perhaps you can integrate this in to the smeserver-hwinfo RPM (preferably in the %post section of your spec file) that way users will not have to worry about manually expanding templates. and regenerating the navigation panel of the server-manager.
-
Nice I will have a look at it. A few remarks though...Please use 'yum localinstall' instead of 'rpm -i' as this is the preferred installation method on SME Server as of release 7
You are right. Corrected...
Perhaps you can integrate this in to the smeserver-hwinfo RPM (preferably in the %post section of your spec file) that way users will not have to worry about manually expanding templates. and regenerating the navigation panel of the server-manager.
Considered, but generates some errors if the package is included in a customized iso. Have not found the way to do it without errors on iso install when including them in %post section (and all the nescessary is done by iso post-intall/upgrade scripts in this case)
-
Just tried, - works like a charm!
Thanks for your good work :-P
-
http://beta.free-eos.org/sme/RPMS/smeserver-hwinfo-1.0-1.el4.eos.noarch.rpm
http://apt.sw.be/redhat/el4/en/i386/RPMS.dag/lshw-2.11.1-1.el4.rf.i386.rpm
I would suggest you rename your contrib rpm 'smeserver-lshw' to more clearly define the relationship to the core 'lshw' rpm.
Darrell
-
Darrell,
Pertinent suggestion. I have thought about smeserver-lswh but in my mind I think about a contrib which provides hardware information, and not only provides lswh integration in SME.
lshw is presently the only way used to do it, but perhaps will not be the only one (I have looked at libhd from OpenSuse hwinfo, but port to SME7 seems difficult. Perhaps more easy with SME8)
If I decide to restrict it to lshw, name of the contrib should become smeserver-lshw as you suggest.
-
If I decide to restrict it to lshw, name of the contrib should become smeserver-lshw as you suggest.
Perhaps it would be better to package all different packages with an implementation for SME Server and make one general package that draws everything in, e.g.:
smeserver-hwinfo
+-smeserver-lshw
| +-lshw
+-smeserver-package2
| +-original CentOS/RHEL4 packages
| +-it's dependencies
+an so on...
-
I have translated this to a HowTo in the Wiki:
http://wiki.contribs.org/Hwinfo
Please edit, correct and improve!
/Per
PS. I read about lshw command in a magazine, tried it in SME -Not there, searched this forum -BAM, ended up here instantly. Thanks for your contrib. DS
-
I followed (my own) HowTo, but it don't work :oops:
I go to server-manager and hardware info.
But it's empty!
Where did I go wrong? Or is it possibly something about the fact that I have a IBM machine?
On my other test-machine (also IBM) I got this in server-manager menu:
82baf74da9c73b8e52d91da2d19924f5
fa5668feef78a9d2bffb27005596ee3e
8db6639bb041fac6f9a0e7d420304679
d3baaf8ef9f14dbf9069845698eb48da
ac300845fc754ab874257ab0d6afff19
9af3fa082156e05df9a3123f2a592abe
eh-uh? /Per
-
On my other test-machine (also IBM) I got this in server-manager menu:
82baf74da9c73b8e52d91da2d19924f5
fa5668feef78a9d2bffb27005596ee3e
8db6639bb041fac6f9a0e7d420304679
d3baaf8ef9f14dbf9069845698eb48da
ac300845fc754ab874257ab0d6afff19
9af3fa082156e05df9a3123f2a592abe
.
eh-uh? /Per
This is a known issue and the solution is described in bug 3586, comment 5 (http://bugs.contribs.org/show_bug.cgi?id=3586#c5).
-
Thanks, that fixed those unknown lines...
-
I installed the rpm onto my Dell Poweredge Server and it seemed to install properly. I get the Hardware information link in Server-Manager but the only info I get is:
"SME Server 7.2
Copyright 1999-2006 Mitel Corporation
All rights reserved.
Copyright 2006 SME Server, Inc."
I don't get any of the extraneous lines like the previous post. What do I do to get the detailed reports?
-
That's just as far as I have come too....
The page shows but no hardware info. :-(
I will test on a third (non IBM) server tonight or tomorrow.
EDIT: Tested and failed, same result again; page shows but no info...... Somebody Help!
Or should I file a bug? I wait a little in case some wise guys are popping by. It's most likely something wrong about the HowTo I did.
-
Works fine here - PowerEdge SC430
Nice contrib - thx 8-)
-
Hi all,
Same result only:
SME Server 7.2
Copyright 1999-2006 Mitel Corporation
Alle Rechte vorbehalten.
Copyright 2006 SME Server, Inc.
regards
fpausp
-
Works fine here - PowerEdge SC430
sognenovski -> Did you install as described in the wiki HowTo or did you do anything different to succeed?
-
per, followed your first post with the edit …
Note: I’m using SME 7.1.3 for this,
To recap
yum localinstall lshw-2.11.1-1.el4.rf.i386.rpm smeserver-hwinfo-1.0-1.el4.eos.noarch.rpm
/sbin/e-smith/expand-template /etc/e-smith/web/common/css/hwinfo.css
/sbin/e-smith/expand-template /etc/e-smith/web/common/head.tmpl
/etc/e-smith/events/actions/navigation-conf
server-manager shows CPU, memory, PCI, USB,HDD (RAID 1) and lots, lots more. 8)
I’ll give it try over the weekend on a test server (PowerEdge 350) with a fresh install of 7.2.
Cheers
Steve
-
It obviously works on 7.1.3, but I cannot get it working on 7.2 either...
:???: :???: :???:
-
Same over here (SME 7.2)
lshw segfaults when you run it from the command-line:
DMI
PA-RISC
device-tree
SPD
memory
/proc/cpuinfo
CPUID
PCI (sysfs)
ISA PnP
PCMCIA
PCMCIA
kernel device tree (sysfs)
USB
Segmentation fault
There are two bug reports on segfaulting in http://ezix.org/project/wiki/HardwareLiSter#Knownproblemslimitations (http://ezix.org/project/wiki/HardwareLiSter#Knownproblemslimitations) but I'm not sure if they are related.
Sjef.
-
I have filed a bug report about it here: http://bugs.contribs.org/show_bug.cgi?id=3670
And I added a note about it in the wiki contrib HowTo.
-
Install problem solved! :P
The latest lshw-version did the trick!
For more info, see bug report: http://bugs.contribs.org/show_bug.cgi?id=3670
and HowTo: http://wiki.contribs.org/Hardware_Info
-
Confirmed working!
Since I had installed the previous version, I did:
wget http://apt.sw.be/redhat/el4/en/i386/RPMS.dag/lshw-2.12.1-1.el4.rf.i386.rpm
and updated with a:
yum localupdate lshw-2.12.1-1.el4.rf.i386.rpm
Many thanks!
-
Did the lshw update on 7.1.3, working fine. May I suggest adding the following,
Requires: lshw >= 2.12
to the smeserver-hwinfo.spec. yum should take care of the rest, providing the right repository (dag I think) is enabled.
-
Working for me now as well! Thanx
-
New contrib smeserver-hwinfo
Purpose :
This contrib adds a new Hardware Info panel in the server-manager to launch and display a detailed report about your server's hardware using lshw.
Hi there - apology if this is a bad place to ask the question: I can find no other.
The contrib downloads for SME8 (8b6) do not appear to be at their link,
please advise.
regards Robert
ps If I can install it, I am happy to report the results back to you if you want
-
Don't know why it disappear.
Will be back ASAP
-
Thank you.
I am happy to wait
Rob
-
Hi there - apology if this is a bad place to ask the question: I can find no other.
The contrib downloads for SME8 (8b6) do not appear to be at their link,
please advise.
regards Robert
ps If I can install it, I am happy to report the results back to you if you want
there's no contrib repo for SME8b6
did you read this (http://wiki.contribs.org/SME8.0_Contribs_QA#Setup) wiki page?
-
there's no contrib repo for SME8b6
did you read this (http://wiki.contribs.org/SME8.0_Contribs_QA#Setup) wiki page?
yes I did read that Stefano,
and down at the bottom is says the following
but the links are not available,
hence my question,
regards Rob.....
SME 8
Packages for SME 8 are available :
http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/jpl/smecontribs/smeserver-hwinfo/lshw-2.14-1.el5.rf.i386.rpm
http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/jpl/smecontribs/smeserver-hwinfo/smeserver-hwinfo-1.0-19.el5.eos.noarch.rpm
http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/jpl/smecontribs/smeserver-hwinfo/smeserver-hwinfo-1.0-19.el5.eos.src.rpm
-
Packages will be available again as soon as mirrors synchronyze.
http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/jpl/smecontribs/smeserver-hwinfo/lshw-2.15-1.el5.rf.i386.rpm will be available, but not yet tested
-
Packages will be available again as soon as mirrors synchronyze.
http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/jpl/smecontribs/smeserver-hwinfo/lshw-2.15-1.el5.rf.i386.rpm will be available, but not yet tested
thanks jpl - I will check in a day or two and let you know the result.
-
Since I had installed the previous version, I did:
wget http://apt.sw.be/redhat/el4/en/i386/RPMS.dag/lshw-2.12.1-1.el4.rf.i386.rpm
and updated with a:
yum localupdate lshw-2.12.1-1.el4.rf.i386.rpm
Simpler and tidier would be:
rpm -Uhv http://apt.sw.be/redhat/el4/en/i386/RPMS.dag/lshw-2.12.1-1.el4.rf.i386.rpm
No need to use yum when there are no additional dependencies.
-
Simpler and tidier would be:
rpm -Uhv http://apt.sw.be/redhat/el4/en/i386/RPMS.dag/lshw-2.12.1-1.el4.rf.i386.rpm
Make that:
rpm -Uhv http://apt.sw.be/redhat/el4/en/i386/rpmforge/RPMS/lshw-2.12.1-1.el4.rf.i386.rpm
or
rpm -Uhv http://apt.sw.be/redhat/el4/en/i386/rpmforge/RPMS/lshw-2.14-1.el4.rf.i386.rpm
-
thanks jpl - I will check in a day or two and let you know the result.
Done. SME8 packages are available again
-
Please don't host packages in your repo area that are already available (or maintained) in CVS. The lshw packages for sme8 (from dag) are already in the smecontribs repo for sme8. The sme7 version of the smeserver-hwinfo package should install cleanly on a sme8 box. If there are issues with that please raise a bug.
If you have changes that need to be made to the packages in CVS please raise bugs and post patches so they can be applied. By splitting packages out all over the place nobody knows where to get the most up-to-date package.
Looking at your package against what is in smecontribs, the only difference is that translations have been applied to the package. The master translation server uses what is in CVS as a basis for creating patches so applying locale patches outside of CVS isn't of much use. If you want translations applied to a package either apply the patch in CVS yourself (if you have rights) or raise a bug for them to be applied and someone that has rights will do it for you.
-
Please don't host packages in your repo area that are already available (or maintained) in CVS. The lshw packages for sme8 (from dag) are already in the smecontribs repo for sme8. The sme7 version of the smeserver-hwinfo package should install cleanly on a sme8 box. If there are issues with that please raise a bug.
Shad,
difficult to follow you !
You always said no to me when asking to put sme8 versions of contribs in smecontribs CVS : it was not desirable while sme8 was in beta.
So I put only sme8 contribs in my repo. Setting such contribs seemed (always) conform to the wiki Releasing Contribs page.
But if you could open the smecontribs cvs for sme8 version of smeserver-hwinfo, and others of my contribs It would be great.
-
We haven't moved any of the packages from CVS into contribs8 yet. However I have put all the dependencies of existing contribs into the smecontribs repo. This makes it possible to install the sme7 version of the contrib but pull the correct dependencies for sme8. The wiki page above list a lot of contribs that have all their dependencies already in the smecontribs repo for sme8. smeserver-hwinfo is one of them. If there are changes that are required for the contrib to work in sme8 then a bug needs to be raised.
The non-sme packages in your repo are already in smecontribs repo. The smeserver-hwinfo package you have in your repo only has translation info applied to it. It doesn't need to be there either. If you want newer translations for a package already in CVS just request someone to apply the translation patch (created daily) to it or do it yourself if you have rights. Either way there isn't a need for any of the packages in your contribs are to be there.
-
We haven't moved any of the packages from CVS into contribs8 yet. However I have put all the dependencies of existing contribs into the smecontribs repo. This makes it possible to install the sme7 version of the contrib but pull the correct dependencies for sme8.
So folks,
which is the most appropriate way for me to install this onto sme8b6 ?
[as said before I am more than happy to try it, and feedback any issues]
regards Rob,
-
But if you could open the smecontribs cvs for sme8 version of smeserver-hwinfo, and others of my contribs It would be great.
I'd be surprised if there were an sme8 version of smeserver-hwinfo. I don't know of any reason that the same rpm could not work in either version.
-
I'd be surprised if there were an sme8 version of smeserver-hwinfo. I don't know of any reason that the same rpm could not work in either version.
Thanks CharlieB,
FYI I did three things ...
1. yum --enablerepo=smecontribs install lshw
(as the yum in the documentation did not work, and the above was the name resulting from
yum --disablerepo=* --enablerepo=smecontribs list available)
2. signal-event post-upgrade; signal-event reboot
3.yum info installed lshw, and got the 'Version 2.15' etc.
At a quick glance
a. it works on the command line - works VERY nicely too -which is enough for me.
b. it is not in the ServerManager Cofiguration List: is this because of the download I did not updating like the 'real one' (which was not found)
A great contribution thanks jpl
and thanks for comment CharlieB
-
b. it is not in the ServerManager Cofiguration List: is this because of the download I did not updating like the 'real one' (which was not found)
No, that is because you most likely have not set the repository to visible and/or have not enabled to manage individual packages.
-
We haven't moved any of the packages from CVS into contribs8 yet. However I have put all the dependencies of existing contribs into the smecontribs repo. This makes it possible to install the sme7 version of the contrib but pull the correct dependencies for sme8. The wiki page above list a lot of contribs that have all their dependencies already in the smecontribs repo for sme8. smeserver-hwinfo is one of them. If there are changes that are required for the contrib to work in sme8 then a bug needs to be raised.
Thanks.
-
No, that is because you most likely have not set the repository to visible and/or have not enabled to manage individual packages.
No, it's because the 'navigation-conf' action hasn't been run, so the tables which generate the server-manager menu links have not been regenerated.
Run:
/etc/e-smith/events/actions/navigation-conf
then log out, log in to the server-manager.
Or do:
signal-event post-upgrade ; signal-event reboot
-
No, it's because the 'navigation-conf' action hasn't been run, so the tables which generate the server-manager menu links have not been regenerated.
That might as well be the case, but I was under the assumption OP meant her could not see the package in order to install it.
-
FYI I did three things ...
1. yum --enablerepo=smecontribs install lshw
(as the yum in the documentation did not work, and the above was the name resulting from
yum --disablerepo=* --enablerepo=smecontribs list available)
2. signal-event post-upgrade; signal-event reboot
3.yum info installed lshw, and got the 'Version 2.15' etc.
If that is all you did, then you have not installed the smeserver-hwinfo contrib, which explains why nothing is visible in the Configuration section of the server-manager.
-
You didn't follow the directions at the top of the sme8 contribs wiki page. If you follow those instructions then you will end up with a sme7contribs repo that points to where the smeserver packages reside. You then need to enable smecontribs and sme7contribs and install the smeserver-hwinfo and it will pull in the correct dependencies for sme8.
-
If that is all you did, then you have not installed the smeserver-hwinfo contrib, which explains why nothing is visible in the Configuration section of the server-manager.
That's what I figured Charly,
I initially looked up wiki.contribs.org/SME8.0_Contribs_QA which said "install as per wiki, works as expected "
but the wiki.contribs.org/Hardware_Info says to
"yum install --enablerepo=smecontribs smeserver-hwinfo" which results in
"No package smeserver-hwinfo available."
So then I tried
"yum --enablerepo=smecontribs list" which has no hwinfo in the list, only lshw: so I installed that,
recognising the result of a command line only outcome,
but I am at a lose to know what else to do.
any advice on where my thinking went astray would be appreciated
regards Rob
-
That's what I figured Charly,
I initially looked up wiki.contribs.org/SME8.0_Contribs_QA which said "install as per wiki, works as expected "
but the wiki.contribs.org/Hardware_Info says to
"yum install --enablerepo=smecontribs smeserver-hwinfo" which results in
"No package smeserver-hwinfo available."
Once again as slords already said:
You didn't follow the directions at the top of the sme8 contribs wiki page. If you follow those instructions then you will end up with a sme7contribs repo that points to where the smeserver packages reside. You then need to enable smecontribs and sme7contribs and install the smeserver-hwinfo and it will pull in the correct dependencies for sme8.
If you follow the above you should be able to install the pacakge using something like this:
yum install smeserver-hwinfo --enablerepo=smecontribs --enablerepo=sme7contribs
-
Once again as slords already said:
If you follow the above you should be able to install the pacakge
Thanks Cactus for the reminder
And My apology to all for my missing a point,
( I am not 100% at the moment eh!).
And again thanks for a great contrib: from what I see it works fine on sme8
Rob
-
I am having the same problem of getting "package not found" for the inputs posted on the hwinfo page. I am running SME Server 8.0beta6.
I tried running the commands listed here:
http://wiki.contribs.org/SME_Server_8#Pointing_repositories_to_SME_8
but I got the same results.
I haven't run this code,
http://wiki.contribs.org/SME_Server_8#Performing_the_upgrade
because my system is already upgraded.
What am I missing? Should I run that 'upgrade' code? What installation commands should I use?
Even simpler, I want to know how much space I have left on my hard drive. Will hwinfo do that?
-
Even simpler, I want to know how much space I have left on my hard drive. Will hwinfo do that?
Not sure, but if you login as root and issue the following command you will also know the answer to your question:
df
-
I am having the same problem of getting "package not found" for the inputs posted on the hwinfo page. I am running SME Server 8.0beta6.
And you also enabled the smecontribs7 repository as detailed in http://wiki.contribs.org/SME8.0_Contribs_QA#Setup
-
OK, I did that and applied:
yum install smeserver-hwinfo --enablerepo=smecontribs --enablerepo=sme7contribs
and it appears to have installed correctly.
And no, this contrib does not appear to be able to tell me how much room is left on my hard drive.
-
I think this (http://wiki.contribs.org/Diskusage) is what you search... :)
-
I think this (http://wiki.contribs.org/Diskusage) is what you search... :)
Thanks, that's exactly it.