Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Tib on December 21, 2003, 02:35:21 PM

Title: Printerqueue Admin
Post by: Tib on December 21, 2003, 02:35:21 PM
I'm getting an error "You are not authorized to view this page" after I loaded saco-mitel-lprng-monitor-0.0.2-1.noarch.rpm onto V6.0.

I know (admin auth req.) ... I can't remember how to do that .... can someone please help me out here.

It worked on my old machine but now that I have loaded the latest e-smith and reloaded all my extra rpm's I can't seem to get this one going.

Thanks in advance

Tib.
Title: Re: Printerqueue Admin
Post by: Tib on December 22, 2003, 09:29:00 AM
Finally figured out how to search properly on these forums .... so I found my answer :)
Title: Re: Printerqueue Admin
Post by: JB on December 22, 2003, 05:27:47 PM
Tib,

What is the answer.  I loaded this yesterday and got the same error
Title: Re: Printerqueue Admin
Post by: Tib on December 23, 2003, 05:54:07 AM
JB

I found the following fix.

1) Re-downloaded the noarch.rpm and the src.rpm
2) rpm -e saco-mitel-lprng-monitor-0.0.2-1
3) rpm -Uhv saco-mitel-lprng-monitor-0.0.2-1.src.rpm
4) rpm -Uhv saco-mitel-lprng-monitor-0.0.2-1.noarch.rpm

Now it works!

Regards

Tib
Title: Re: Printerqueue Admin
Post by: Graeme Fleming on December 23, 2003, 11:06:57 AM
You might as well remove the src file; its the source file for compiling the binary rpm and serves no purpose on your system.
Title: Re: Printerqueue Admin
Post by: Tib on December 23, 2003, 11:50:18 AM
Well I don't know why it worked then ... but after I did all that it worked fine.

Is'nt the "rpm -e saco-mitel-lprng-monitor-0.0.2-1" the uninstall comand ?

I'm still fairly new to linux.

Origionally I installed it using "rpm -Uvh saco-mitel-lprng-monitor-0.0.2-1.noarch.rpm"
and it didn't work .... as in I had no admin rights ... so it recond.

Then I did a search and found that fix on a thread so thats what I posted here.

It worked.

hmm ... I see the diff "rpm -Uvh " <--- what I did ... and ... ""rpm -Uhv"<--- what the fix said.

Can someone tell me the diff please.

Thanks in advance

Tib
Title: Re: Printerqueue Admin
Post by: jb on December 25, 2003, 07:03:15 AM
Well I can confirm that you don't need to install the src rpm.  But, you do need to install, remove, then re-install the LPRNG package and things start to work.  I didn't investigate why you have to install this package twice.

Tib, thanks for your help.

JB