LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-06-2010, 10:59 PM   #1
cK`
LQ Newbie
 
Registered: Apr 2010
Location: Orange
Distribution: Unbuntu Server 9.10
Posts: 28

Rep: Reputation: 15
Fail webmin install, E: Package webmin has no installation candidate


Hey, i have had webmin running previously but i just recently installed Unbuntu server and i am now trying to install webmin.

after typing this to install webmin

sudo apt-get install webmin

it started doing its thing and then it halts. Giving me the following message

"Package webmin is not available, but is referred to by another package. this may mean that the package is missing, had been obsoleted , or is only available from another source."


The first thing i did after installing webmin was edit the sources.list

cd /etc/apt/

then i tpyed sudo nano sources.list
I uncommented everything with "deb" in front of it

I also uncommented
deb cdrom:[unbuntu-servers 9.10 _karmic koala_

i then typed this
sudo wget http://prdownloads.sourceforge.net/w..._1.510_all.deb

after getting that i typed this
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl

then i tryed to install it and got that error.




Can any explain to me what is happening here?



I also tryed install it using this tutorial http://www.freelydifferent.com/self-...dministration/

When i got to the part when i need to type

sudo apt-get install update this is what happened

W: Failed to fetch cdrom://unbuntu-server 9.10 _karmic_ koala_ect....
please use apt-cd to make this cdrom recognized by apt.


If anyone could explain to me what is going on it would be much appreciated.

-Thanks!

Last edited by cK`; 04-07-2010 at 12:00 AM.
 
Old 04-07-2010, 12:03 AM   #2
cK`
LQ Newbie
 
Registered: Apr 2010
Location: Orange
Distribution: Unbuntu Server 9.10
Posts: 28

Original Poster
Rep: Reputation: 15
/bump

Someone has gotta have a suggestion right?
 
Old 04-07-2010, 12:26 AM   #3
dudumomo
LQ Newbie
 
Registered: Mar 2010
Posts: 4

Rep: Reputation: 1
Hi cK'!
You get the following error message because you didn't modify your sources.list to add repositories.
To do so, still on the same website, check this link: http://www.freelydifferent.com/self-...nchronisation/ at the end of this article, the part "Modify your sources.list:" will definitively help you.
 
Old 04-07-2010, 12:27 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

First in the /etc/apt/sources.list file comment the cdrom line again by putting a # in front of it. You only need it if you are planning to look for packages on a CD which is hardly used when you have a decent internet connection.

When you run
Code:
sudo apt-get update
you synchronize what you have installed with the repositories online. Then when you run
Code:
sudo apt-get upgrade
you upgrade installed packages to newer versions (if available).

To install a package from the repository you run
Code:
sudo apt-get install <packagename>
If the package is available in the repositories listed in the sources.list it will install along with any necessary dependencies.

It looks like you installed the dependencies needed (not sure because I don't use webmin) but that the webmin package itself is not in the repositories.

But you downloaded it with the wget utility so it's on your drive.

So basically all you need to do is change into the directory where you downloaded the file (deb) and run the following command:
Code:
sudo dpkg -i <packagename>
(substitute <packagename> for the full name of the package file). That should do it. Post any results or errors here.

Kind regards,

Eric
 
Old 04-07-2010, 01:08 AM   #5
cK`
LQ Newbie
 
Registered: Apr 2010
Location: Orange
Distribution: Unbuntu Server 9.10
Posts: 28

Original Poster
Rep: Reputation: 15
Hey eric thanks so much for responding.
I followed your advice and it worked. I have not attempted to login via the internet though because i am "upgrading" packages. i will shortly though


While i was editing my sources.list with nano i noticed some extreme lag
For example if i wanted to move down a few lines with the arrow key it would lagg and say at the bottom (unknown command) sometimes rebooting my server would fix this but sometimes it doesn't.

I never used to have this problem, its kinda weird and irritating.



Hey Dudumom hows it going?? thanks so much for responding to my posts!!!

I cant copy post a list of respositorys because i dont know how to open up web pages in unbuntu server.
But i did follow erics advice and webmin did indeed install!

Last edited by cK`; 04-07-2010 at 01:10 AM.
 
Old 04-07-2010, 01:20 AM   #6
cK`
LQ Newbie
 
Registered: Apr 2010
Location: Orange
Distribution: Unbuntu Server 9.10
Posts: 28

Original Poster
Rep: Reputation: 15
Ok so i got this error when logging in from

username.dyndns.org:1000

Bad Request

Server running in SSL mode Try <serverip:10000>

I clicked on that link and it worked, doesn't this error have something to do with the perl??

I thought all my perl packages were installed correctly, is this an error or user error?
 
Old 04-07-2010, 01:24 AM   #7
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

Glad you got it working. I don't know why you encounter that strange behavior with nano, it never happened to me. Since I'm not familiar with webmin and/or perl I don't have a clue why you got the Bad Request. I'm sure someone else here on LQ can shed some light into that.

If you consider your problem solved (webmin installation) then mark the thread as such using the ThreadTools please.

Kind regards,

Eric
 
Old 04-07-2010, 01:36 AM   #8
cK`
LQ Newbie
 
Registered: Apr 2010
Location: Orange
Distribution: Unbuntu Server 9.10
Posts: 28

Original Poster
Rep: Reputation: 15
Ok, thanks for your help! I think it is a common problem i will try to look it up for myself. If not i guess all start a new thread.
 
Old 04-07-2010, 01:44 AM   #9
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

No problem, glad to be of help. From the error messages you get I assume it has to do with the webserver itself rather then perl or webmin. It looks like it only accepts SSL connections.

Kind regards,

Eric
 
Old 04-07-2010, 02:09 AM   #10
dudumomo
LQ Newbie
 
Registered: Mar 2010
Posts: 4

Rep: Reputation: 1
Quote:
Originally Posted by cK` View Post
Ok so i got this error when logging in from
username.dyndns.org:1000
Bad Request
Server running in SSL mode Try <serverip:10000>
This is very normal !
(I guess you mean username.dyndns.org:10000)

Webmin use SSL encrypton to ensure the security of its panel, then, you are not able to log with: http://username.dyndns.org:10000 because this protocol is not safe. But with https://username.dyndns.org:10000, it will works as it use a secure protocol.

Hence it is just a security feature.

Have fun with it !

PS: You cannot indeed copy and paste a sources.list in this way. But usually, you monitor a server through SSH (Which allow copy and paste).
 
Old 04-07-2010, 02:18 AM   #11
cK`
LQ Newbie
 
Registered: Apr 2010
Location: Orange
Distribution: Unbuntu Server 9.10
Posts: 28

Original Poster
Rep: Reputation: 15
Awesome thanks for the explanation, so i guess that little s matter huh?? hehe.

Anyway i got another question, i am using putty with my windows machine to connect to ssh, and i want to tunnel webmin through ssh ( I belivie this means when i start putty and login to my server i will be able to view port 10000 even though i only have the ssh port open on my router )

I am using this tutorial, http://support.suso.com/supki/SSH_Tutorial_for_Windows


Now at the very bottom there is a section on tunneling.

When i do what it says, put port 10000 in source port, then put username.dyndns.org:10000 in the proper setting and then i login to ssh, But i still cant view webmin.

Is their a diffrent way to tunnel webmin through ssh ( in other words i only want my ssh port open on my router).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup Apache so Webmin can be accessed like abc.com/webmin instead of abc.com:10000 rtoney5 Linux - Software 6 04-08-2010 12:33 PM
webmin: missing /etc/init.d/webmin quarry_06 Debian 9 02-03-2007 09:55 AM
Adding a drive to a RAID 5 array on SuSE with Webmin package Adman Linux - General 1 05-10-2006 09:53 AM
webmin troubles - Failed to write to /etc/webmin/module.infos.cache : No space left o coal-fire-ice Linux - Software 1 07-28-2005 10:08 AM
cron jobs work fine when invoked from webmin but fail on schedule jillu Linux - Enterprise 3 01-20-2005 01:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration