Koozali.org: home of the SME Server

admin-panel with update-info

Alexander Jesse

admin-panel with update-info
« on: May 05, 2003, 06:58:44 PM »
Hi,

I am in the process of updating my two servers (1 Hot, 1 Spare) to the newest update... First though I wanted to check which update has been installed last on the current hot-server...

I think it would be great to have a admin-panel which tells the admin the current state of the server. Just like the usually does: server-release plus last update installed.

thanks for this great distro

Bill Talcott

Re: admin-panel with update-info
« Reply #1 on: May 05, 2003, 10:58:27 PM »
If you install the Update System contrib, it does show a list of installed RPMs in the Advanced section. You can look at the version of "SMEServer". You can also achieve the same effect with "rpm -q SMEServer" from the command line. Considering the target audience, it would be nice if this info were easily accessible on a main panel though...

Alexander Jesse

Re: admin-panel with update-info
« Reply #2 on: May 05, 2003, 11:57:07 PM »
Hi,

do you have a link for this contrib?

thanks
Alexander

Greg

Re: admin-panel with update-info
« Reply #3 on: May 06, 2003, 02:19:14 AM »
Hi,
Find it here with lots of other usefull stuff...

http://mirror.contribs.org/smeserver/contribs/dmay/mitel/contrib/

Greg

Cyrus Bharda

Re: admin-panel with update-info
« Reply #4 on: May 06, 2003, 02:59:44 AM »
Bill,

I just tried your suggested command,

[root@esmith root]# rpm -q SMEServer
SMEServer-5.5-01
[root@esmith root]#

But the only problem is that I am using 5.5 with update 6, and the command shows 5.5, but does the 01 state that it is update 01. If so then that command is wrong?

Thanks,

Cyrus Bharda

Bill Talcott

Re: admin-panel with update-info
« Reply #5 on: May 06, 2003, 06:17:41 PM »
Cyrus Bharda wrote:
>
> Bill,
>
> I just tried your suggested command,
>
> [root@esmith root]# rpm -q SMEServer
> SMEServer-5.5-01
> [root@esmith root]#
>
> But the only problem is that I am using 5.5 with update 6,
> and the command shows 5.5, but does the 01 state that it is
> update 01. If so then that command is wrong?

[root@mail root]# rpm -q SMEServer
SMEServer-5.5_Update6-02

What you're doing is checking the version of the installed "SMEServer" RPM. You can see the name of this in the update folder - "ftp://ftp.e-smith.com/pub/e-smith/updates/5.5/Update6/RPMS/SMEServer-5.5_Update6-02.noarch.rpm". It's just a dummy file whose sole purpose is to show the current update version. I think it's set up so that the RPM won't install until the other files have been successfully installed. I had a dependency warning or something when I installed, and it didn't show the update as actually being there. I reran the update (rpm -Uvh *.rpm) and it installed the rest of the files, including the Update one. Make sure you really do have the entire update installed... You definitely don't have the dummy file installed, so other parts of the update may not have been installed as well.

Cyrus Bharda

5.5 Update 6 problem wasRe: admin-panel with update-info
« Reply #6 on: May 07, 2003, 03:37:00 AM »
Bill,

Well thanks for the heads up, I went and manually re ran all the rpm files seperatly, not all together like I did and got some scary results, only 3 out of all of the files were installed!!

But also I ran into a bit of a hitch when trying to install the samba rpms:

[root@esmith Update6]# rpm -Uvh samba-2.2.7-3.7.2es2.i386.rpm
error: failed dependencies:
        samba-common = 2.2.7 is needed by samba-2.2.7-3.7.2es2
[root@esmith Update6]# rpm -Uvh samba-common-2.2.7-3.7.2es2.i386.rpm
error: failed dependencies:
        samba-common = 2.2.4 is needed by samba-2.2.4-3
        samba-common = 2.2.4 is needed by samba-client-2.2.4-3
[root@esmith Update6]# rpm -Uvh samba-client-2.2.7-3.7.2es2.i386.rpm
error: failed dependencies:
        samba-common = 2.2.7 is needed by samba-client-2.2.7-3.7.2es2
[root@esmith Update6]# rpm -Uvh SMEServer-5.5_Update6-02.noarch.rpm
error: failed dependencies:
        samba-common >= 2.2.7-3.7.2es2 is needed by SMEServer-5.5_Update6-02
        samba >= 2.2.7-3.7.2es2 is needed by SMEServer-5.5_Update6-02
        samba-client >= 2.2.7-3.7.2es2 is needed by SMEServer-5.5_Update6-02

So which one do I need to force, if any?

Thanks,

Cyrus Bharda

Doug M.

Re: 5.5 Update 6 problem wasRe: admin-panel with update-info
« Reply #7 on: May 07, 2003, 04:18:34 AM »
rpm -Uvh --replacepkgs --nodeps samba*.rpm

rpm -Uvh --replacepkgs SMEServer-5.5_Update6*.rpm

Should get it done for you.

Cyrus Bharda

Re: 5.5 Update 6 problem was Re: admin-panel with update-inf
« Reply #8 on: May 07, 2003, 04:34:45 AM »
Doug,

Thanks did that, but didnt need to do the nodeps on the SMEServer-5.5_Update6*.rpm as its dependants were the samba rpm's, hmmmm that is very weird how I followed the instructions in the readme file:

rpm -Uvh --replacepkgs *.rpm

Then initiate a post-upgrade event followed by a system reboot

    /sbin/e-smith/signal-event post-upgrade
    /sbin/e-smith/signal-event reboot

but most of the files weren't installed :-( ??

Oh well worked this time, thanks Bill and Doug !!

Cyrus Bharda

Bill Talcott

Re: 5.5 Update 6 problem was Re: admin-panel with update-inf
« Reply #9 on: May 07, 2003, 09:08:01 PM »
Cyrus Bharda wrote:
>
> Doug,
>
> Thanks did that, but didnt need to do the nodeps on the
> SMEServer-5.5_Update6*.rpm as its dependants were the samba
> rpm's, hmmmm that is very weird how I followed the
> instructions in the readme file:
>
> rpm -Uvh --replacepkgs *.rpm
>
> Then initiate a post-upgrade event followed by a system reboot
>
>     /sbin/e-smith/signal-event post-upgrade
>     /sbin/e-smith/signal-event reboot
>
> but most of the files weren't installed :-( ??
>
> Oh well worked this time, thanks Bill and Doug !!

Regarding the samba RPMs, you should have been able to just use samba*.rpm. They're all related, so they all need to be installed at the same time.

I had some issue, due possibly to upgrading samba before. Some of the files weren't able to install, so the update didn't finish... I followed the steps, but they didn't actually complete properly. I'm guessing something similar happened to you. If Mitel made the version a bit more visible, hopefully people would notice this sort of thing sooner...

jr

Re: 5.5 Update 6 problem was Re: admin-panel with update-inf
« Reply #10 on: May 20, 2003, 03:20:09 AM »
This is no doubt a cruddy solution - and if it's a bad one please enlighten me - but faced with the error messages on doing an upgrade, I just run the process a few times until I don't get any error messages any more :-)

Usually twice is enough, but on 5.5 up2 I had to run it 3 times on one box....

This is as I said an inelegant way to resolve the dep issues, but it's worked for me so far...