SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    a fresh, new start... dujmovicv's Avatar
    Join Date
    Aug 2006
    Location
    Earth
    Posts
    559
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Install Webmin newest version via SSH

    Hi All,

    I'm using Virtual Private Server for hosting several of my websites. I have installed Ubuntu and Webmin 1.470 for managing the server. For a few days I can't access the Webmin interface via browser (https://my_domain.com:10000/) and I was thinking about to install the newest version of Webmin, hoped it will 'rewrite' some system files so I will have access to Webmin once again. I downloaded the newest Webmin via SSH successfully but when trying to install, I got this error :
    Code:
    root@viktor:~# ls -l
    total 27752
    -rw-r--r-- 1 root root 13760140 Mar 18  2009 webmin_1.470_all.deb
    -rw-r--r-- 1 root root 14607442 Aug 29 04:24 webmin_1.520_all.deb
    root@viktor:~# dpkg --install webmin_1.520_all.deb
    (Reading database ... 29983 files and directories currently installed.)
    Preparing to replace webmin 1.470 (using webmin_1.520_all.deb) ...
    Unpacking replacement webmin ...
    dpkg: dependency problems prevent configuration of webmin:
     webmin depends on apt-show-versions; however:
      Package apt-show-versions is not installed.
    dpkg: error processing webmin (--install):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     webmin
    root@viktor:~#
    I'm not a Linux guru, so any help will be highly appreciated!!!!

    Full time ADMIN - art community
    Part time coder - dsign

  2. #2
    secure webapps for all Aleksejs's Avatar
    Join Date
    Apr 2008
    Location
    Riga, Latvia
    Posts
    755
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    do
    apt-get install apt-show-versions
    before running that command - that is the package that webmin wants so much

  3. #3
    a fresh, new start... dujmovicv's Avatar
    Join Date
    Aug 2006
    Location
    Earth
    Posts
    559
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I tried
    Code:
    apt-get install apt-show-versions
    the response was :
    Code:
    root@viktor:~# apt-get install apt-show-versions
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run `apt-get -f install' to correct these:
    The following packages have unmet dependencies:
      apt-show-versions: Depends: libapt-pkg-perl (>= 0.1.21) but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    then I typed
    Code:
    apt-get -f install
    Then it asked me to install 2 new packages
    Code:
    The following extra packages will be installed:
      apt-show-versions libapt-pkg-perl
    The following NEW packages will be installed:
      apt-show-versions libapt-pkg-perl
    I confirmed to install and then chosen to install the new Webmin, after that :
    Code:
    Installing new version of config file /etc/pam.d/webmin ...
    Webmin install complete. You can now login to https://my_domain.com:10000/
    as root with your root password, or as any user who can use sudo
    to run commands as root.
    BUT I still cannot access the Webmin interface,
    Code:
    The connection has timed out!
    annoying at the browser...... I tried to restart Webmin, no changes.... I'm desperate.... Any ideas???

    Full time ADMIN - art community
    Part time coder - dsign

  4. #4
    secure webapps for all Aleksejs's Avatar
    Join Date
    Apr 2008
    Location
    Riga, Latvia
    Posts
    755
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    When logged into console, can you connect to localhost port 10000 ?
    Code:
    telnet localhost 10000
    The response should look something like:
    Code:
    Trying 127.0.0.1...
    Connected to 127.0.0.1.
    Escape character is '^]'.
    If you can connect this way, then this is most probably firewall issue and you need to configure it to let others connect to port 10000 on this host.
    if, on the other hand you get response like this:
    Code:
    Trying 127.0.0.1...
    telnet: Unable to connect to remote host: Connection refused
    then most probably the webmin is not started - or it is started, but not on that port. Try browsing through log files.

  5. #5
    a fresh, new start... dujmovicv's Avatar
    Join Date
    Aug 2006
    Location
    Earth
    Posts
    559
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you Aleksejs for your help! I tried to connect to telnet in SSH and the response was
    Code:
    Trying 127.0.0.1...
    Connected to localhost.localdomain.
    Escape character is '^]'.
    so I suppose it's working... My problem is that I'm not familiar with managing the server through the terminal/SSH so I suppose I will have to learn more in this field. How can I view/change the settings of the firewall???

    Full time ADMIN - art community
    Part time coder - dsign


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •