Virtualmin Update issue

6 posts / 0 new
Last post
#1 Sat, 10/07/2017 - 22:54
adamjedgar

Virtualmin Update issue

dpkg: error processing package google-cloud-sdk (--configure): subprocess installed post-installation script returned error exit status 137 Errors were encountered while processing: google-cloud-sdk E: Sub-process /usr/bin/dpkg returned an error code (1)

Now i have lost access to my server dashboard as well as dashboard for virtual servers on this machine.

This site can’t be reached

server3.goannawebhosting.com.au refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED


I have tried clearing browser cache...not a solution

  1. Is the google cloud update failing because dpkg isnt in this directory? (does that mean i should have manually installed dpkg?)

  2. What do i do to regain dashboard access to virtualmin? (solved this question...i am back in)

I will manually install dpkg and run the update again.

UPDATE>>> EH??? according to Webmin>System>Software Packages the following is found...

Package Details
Description Unknown
Package dpkg Class A-E
Version 1.18.24 Vendor Dpkg Developers <debian-dpkg@lists.debian.org>
Architecture amd64 Installed Unknown


Now i am really confused??? Why wont the google cloud update run successfully

Here is a copy of /var/log/syslog

Oct  8 04:10:10 localhost systemd[2496]: Received SIGRTMIN+24 from PID 2501 (kill).
Oct  8 04:10:10 localhost systemd[1]: user@1003.service: Killing process 2501 (kill) with signal SIGKILL.
Oct  8 04:10:10 localhost systemd[1]: Stopped User Manager for UID 1003.
Oct  8 04:10:10 localhost systemd[1]: Removed slice User Slice of goanna... (i have removed last part of this name).
Oct  8 04:10:29 localhost systemd[1]: Starting Cleanup of Temporary Directories...
Oct  8 04:10:30 localhost systemd[1]: Started Cleanup of Temporary Directories.
Oct  8 04:12:21 localhost named[805]: network unreachable resolving 'arin.authdns.ripe.net/A/IN': 2001:500:2e::1#53
Oct  8 04:12:21 localhost named[805]: network unreachable resolving 'arin.authdns.ripe.net/AAAA/IN': 2001:500:2e::1#53
Oct  8 04:12:21 localhost named[805]: network unreachable resolving 'arin.authdns.ripe.net/A/IN': 2620:74:19::33#53
Oct  8 04:12:21 localhost named[805]: network unreachable resolving 'arin.authdns.ripe.net/AAAA/IN': 2620:74:19::33#53
Oct  8 04:12:21 localhost named[805]: network unreachable resolving 'arin.authdns.ripe.net/A/IN': 2001:dc0:1:0:4777::140#53
Oct  8 04:12:21 localhost named[805]: network unreachable resolving 'arin.authdns.ripe.net/AAAA/IN': 2001:dc0:1:0:4777::140#53
Oct  8 04:12:23 localhost named[805]: network unreachable resolving '231.170.in-addr.arpa/DS/IN': 2001:500:13::63#53
Oct  8 04:12:23 localhost named[805]: network unreachable resolving '231.170.in-addr.arpa/DS/IN': 2001:67c:e0::10#53
Oct  8 04:12:23 localhost named[805]: network unreachable resolving '231.170.in-addr.arpa/DS/IN': 2001:500:127::30#53
Oct  8 04:12:24 localhost named[805]: network unreachable resolving '170.in-addr.arpa/DNSKEY/IN': 2001:500:14:6050:ad::1#53
Oct  8 04:12:24 localhost named[805]: network unreachable resolving '44.231.170.in-addr.arpa/DS/IN': 2001:500:31::63#53
Oct  8 04:12:24 localhost postfix/smtpd[2631]: connect from unknown[170.231.44.104]
Oct  8 04:12:28 localhost postfix/smtpd[2631]: warning: unknown[170.231.44.104]: SASL LOGIN authentication failed: authentication failure
Oct  8 04:12:29 localhost postfix/smtpd[2631]: disconnect from unknown[170.231.44.104] helo=1 auth=0/1 quit=1 commands=2/3
Sat, 10/07/2017 - 23:54
Joe
Joe's picture

I don't see anything that indicates dpkg is not installed. What gave you that idea? The error can't possibly have happened without dpkg being installed...the first error is from dpkg (I mean, dpkg was run, and it returned an error).

All I see is a network connection error. syslog doesn't give us any useful information about dpkg or apt-get.

Try running the following from the command line:

# apt-get update
# apt-get upgrade

Do you get any errors?

--

Check out the forum guidelines!

Sun, 10/08/2017 - 15:13
adamjedgar

I had to perform apt-get upgrade a second time..i am using galaxy note 5 whilst in bed and forgot to add -y so it wouldnt abort.

[root@server3 ~]# apt-get update Hit:1 http://software.virtualmin.com/vm/6/gpl/apt virtualmin-stretch InRelease Hit:2 http://software.virtualmin.com/vm/6/gpl/apt virtualmin-universal InRelease Ign:3 http://deb.debian.org/debian stretch InRelease Hit:4 http://packages.cloud.google.com/apt cloud-sdk-stretch InRelease Hit:5 http://deb.debian.org/debian stretch-updates InRelease Get:6 http://security.debian.org stretch/updates InRelease [62.9 kB] Hit:7 http://packages.cloud.google.com/apt google-compute-engine-stretch-stable InRelease Hit:8 http://deb.debian.org/debian stretch-backports InRelease Hit:9 http://packages.cloud.google.com/apt google-cloud-packages-archive-keyring-stretch InRelease Hit:10 http://deb.debian.org/debian stretch Release Fetched 62.9 kB in 2s (28.7 kB/s) Reading package lists...

[root@server3 ~]# apt-get upgrade Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Abort.

[root@server3 ~]# apt-get -y upgrade

Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up google-cloud-sdk (174.0.0-0) ... Generating the gcloud CLI and caching in [/usr/lib/google-cloud-sdk/.install/cli/gcloud.py]... ............................done. Killed dpkg: error processing package google-cloud-sdk (--configure): subprocess installed post-installation script returned error exit status 137 Errors were encountered while processing: google-cloud-sdk E: Sub-process /usr/bin/dpkg returned an error code (1)

AJECreative is the home of $5 webhosting, $15/month VPS servers (1cpu,1gb RAM, 25GB storage)
Centos7, Debian9, or Ubuntu18LTS
Available Control Panels = Centos-Webpanel, Cyberpanel, or Virtualmin

https://ajecreative.com.au

Sun, 10/08/2017 - 16:59 (Reply to #3)
Joe
Joe's picture

So, the postinstall script in the google-cloud-sdk package failed. That's Google's problem. I can't fix it.

You could check the /var/log/dpkg.log for more specific details about why configure is failing. You could maybe also try running dpkg --configure google-cloud-sdk, though I don't know if that will give more information.

--

Check out the forum guidelines!

Sun, 10/08/2017 - 23:16
adamjedgar

ok no worries...i imagine that its not something i should be worried about at least? If i am having problems i imagine others are as well. I should try the update on my other machines and see what happens. Thanks Joe.

AJECreative is the home of $5 webhosting, $15/month VPS servers (1cpu,1gb RAM, 25GB storage)
Centos7, Debian9, or Ubuntu18LTS
Available Control Panels = Centos-Webpanel, Cyberpanel, or Virtualmin

https://ajecreative.com.au

Mon, 10/09/2017 - 00:51 (Reply to #5)
Joe
Joe's picture

I'm not sure what's in the google-cloud-sdk or whether it's important. I mean, I think I have it installed locally for managing my one little GCE instance, but I dunno if there's something vital about it on a GCE instance itself.

It's probably possible to uninstall it and re-install it. Maybe they just screwed up their post-install script. Googling didn't reveal anybody else reporting this exact problem, though, so it might be specific to your system.

--

Check out the forum guidelines!

Topic locked