Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [google-cloud]

For questions relating to the Google Cloud Platform.

0
votes
0answers
14 views

How to verify my google cloud storage downloads of csv files are successful?

I have created some shell script to put the data into google cloud storage from some source and download that into my local. I am able to do it and the job is also running fine, but my question is, is ...
2
votes
0answers
41 views

Strange difference of disk size

I have a Google Cloud Instance: When i check the disk space with two different command it show: df -H Filesystem Size Used Avail Use% Mounted on /dev/sda2 11G 3.1G 7.5G 30% / ...
0
votes
0answers
33 views

Access permissions for google-compute-engine script

I would like to run a python script on compute engine, which uses a Linux-based operating system ("debian-9-stretch-v20180307"). I am using a bash boot script with code as follows: #! /bin/bash ...
1
vote
1answer
39 views

Process ownership automatically changes to init process on GCP Ubuntu 18.04LTS

We recently moved our development infrastructure from our own old machines running Ubuntu 12.04 to Google Cloud instances running Ubuntu 18.04. Developers usually start some screens and run django ...
0
votes
0answers
31 views

Google Compute Engine: ssh with publickey stops working after logout

From google compute engine instance, connected via ssh with web terminal [gcp-instance] $ ssh-copy-id user@server /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to ...
0
votes
0answers
16 views

Slow and freezing google bucket (Cloud Storage FUSE)

I've a mount the google bucket in my backup server running over CentOS 7. I have an issue with my mounted bucket. The first and most important is that it is SLOW. Any copy done within the file system ...
0
votes
1answer
346 views

Debian 9 stretch-backports signature couldn't be verified [duplicate]

I'm trying to install certbot on my Debian 9 server on Google compute engine VM. Here's what I have done so far: To add backports repository, I have edit the sources.list as: sudo nano /etc/apt/...
2
votes
1answer
90 views

Automating postfix installation

I have been trying to automatically install postfix in a non-interactive way via startup-script on machine boot up. After a bit of research I found out some suggestion that I could try to install it ...
1
vote
0answers
801 views

Connect to VM through SSH (Google Colab and PuTTY)

I want to connect to a Google Colab computer via SSH because it has really shit text editing abilities, and it likes to hide the characters I type in the interactive shell. This is code I have on a ...
3
votes
2answers
260 views

Is it important to fix warnings about martian packets in the kernel ring buffer?

These are the outputs I see when I run dmesg [1373335.656608] device eth0 entered promiscuous mode [1373364.891962] device eth1 entered promiscuous mode [1374537.599978] IPv4: martian source 10.5.0.2 ...
0
votes
1answer
37 views

vsftp user upload files into moved folder outside of allowed folder

Google VM, centos 7, vsftpd server. I have ftpuser, homedir /var/www/html cat /etc/passwd | grep ftpuser ftpuser:x:1001:48::/var/www/html:/bin/bash from root user I have moved folder /var/www/html ...
0
votes
0answers
48 views

Google Cloud SFTP permissions

I am aware that there are multiple posts about this on the Stack Exchange network, however many suggest similar things such as setting everything to 777, which is just plain bad. Problem I am trying ...
0
votes
1answer
37 views

Cloud Shell idle cpu usage seems relatively high (3-6%) - where is this usage coming from?

top - 12:10:09 up 2:18, 6 users, load average: 0.03, 0.03, 0.00 Tasks: 35 total, 1 running, 34 sleeping, 0 stopped, 0 zombie %Cpu(s): 2.1 us, 1.4 sy, 0.0 ni, 96.5 id, 0.0 wa, 0.0 hi, ...
0
votes
0answers
90 views

Setting up classless static routes manually in GCE

In GCE, the DHCP server return the IP address with mask of 32 bits. Making the instance the only one in its subnet. It also return couple of static routes (RFC3442) that need to be configured. Example ...
1
vote
0answers
263 views

Headless OpenGL rendering on Google Compute

I created a GPU instance on Google Compute engine with NVIDIA Tesla K80 attached. I have installed GPU drivers and CUDA based on this guide. nvidia-smi check - ok. nvcc -V check - ok Now I am ...
3
votes
2answers
2k views

GCP: Debian stuck at setting up dbus

I have been trying to install GUI, i.e. gnome and lxde, into Debian 9 stretch in google cloud computing instance. I have even increased the cpu, ram, harddisk size. However, the installation is always ...
0
votes
0answers
29 views

I can't connect to GCE VM from Terminal but it is working in Web SSH

I'm stuck in the same situation as in GCE VM not connecting from Terminal but working in Web SSH Only not for Mac Terminal but for Ubuntu 17.10. Any help please?
0
votes
0answers
176 views

SELinux setsebool command fails on Google compute engine

I am trying to setup my website (LAMP stack, CentOS 6.9) on Google compute engine. I use PHPMailer to send mails (Registration, Singup, Login, etc.) I have setup smtp & all that good stuff in G-...
0
votes
1answer
507 views

Openvpn issues with routing and config pushing

I have recently installed an openvpn server on GCP, in a docker container, from https://github.com/kylemanna/docker-openvpn. The docker-host has packet forwarding enabled. Now I am struggling with ...
1
vote
1answer
343 views

scp not able to write to a mounted volume, complains it's read-only [closed]

(Note: though I'm asking a different question here, this is essentially to diagnose the same problem I reported in this question on StackOverflow). I have a Google Cloud Compute Engine virtual ...
0
votes
1answer
5k views

apache2: Could not reliably determine the server's fully qualified domain name

root@cloudshell:~$ service apache2 start Starting Apache httpd web server: apache2AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.3. Set ...
0
votes
1answer
137 views

Google vm firewall, I have open all port, FTP 425 Can't open data connection

I have a problem with uploading or viewing FTP server. I am able to Connect to FTP server but I can't upload my file to it it says error. 230 User S2ubp92XXh logged in from ::ffff:xx.xx6.xx3.xx8. ...
2
votes
0answers
61 views

“I am alive” for Google Computing Server

What would the best recommendations be to create some sort of "I am alive mechanism" for a google cloud computing instance running linux. I am certain there are many victims who forget to turn off ...
0
votes
1answer
63 views

How to categorize linux servers

This is not the technical problem or issue but just a programming scenario which I am facing and need to work around this and try to solve this so need some hints on this scenario. Our team has to ...
1
vote
0answers
237 views

Can't SSH into Debian (Jessie) on Google Compute After Changes

I am relatively new to Linux/Debian, and I have encountered an issue which I can't find any relevant solutions for despite days of troubleshooting and a variety of Google, StackOverflow, and AskUbuntu ...
1
vote
1answer
310 views

Can't start MySQL after updating folder permission

I accidentally set the permission of my folder to 755. After I restarted the server, I'm getting this error: /opt/bitnami/apache2/scripts/ctl.sh : httpd (pid 2969) already running file '/etc/gonit/...
1
vote
0answers
530 views

Google cloud compute VM cannot change SSH port

I have some experience about linux admin, this issue never happened when I use AWS EC2 or other VPS. After I create centos7 vm on google cloud compute engine, I changed only one line of sshd_config ...
1
vote
0answers
202 views

Open a port on a google cloud instance without ssh access

After enabling ufw on my google cloud instance running ubuntu, I can't ssh into the instance anymore. I didn't open nor close any port, I only ran: ufw enable and restarted the machine (ufw requires ...
0
votes
1answer
556 views

GCE VM not connecting from Terminal but working in Web SSH

Until before couple of days in Mac Terminal I was able to connect to GCE VM without trouble. Now when I tried any VM it is not connecting. Same VMs are connecting from WEB SSH ok. Does it need to be ...
2
votes
0answers
221 views

Postfix stop continuously

I just successfully configured Sendgrid into a Google Cloud Instance which is CPanel installed on CentOS. Here I have done it. When install Postfix I have to remove currently installed exim4. ...
0
votes
1answer
597 views

Setup GCDS (Google Cloud Directory Sync) via terminal

I have a linux (Centos 7) instance without desktop installed and I need to install and setup Google Cloud Directory Sync services. I tried to installed it via ssh and it installed successfully but ...
1
vote
0answers
103 views

Google Compute Engine - wait until systemd service exits with 0 on shutdown

I have couple of instances on Google Compute Engine. There I have systemd service with ExecStop option. Script execution may take a significant time (5-10 minutes). When shutting down GCE instance, ...
0
votes
1answer
1k views

Strongswan VPN not working unless pinging out manually

We have successfully set up a strongswan vpn on our network to communicate with Google Cloud VPN. Sometimes we leave it idle for a while, let's say a night, that's when the issue appear. If I try to ...
4
votes
0answers
470 views

Mount Google storage bucket with autofs

I'm trying to mount GCS buckets on demand with autofs. Closest they have instructions for is SSHFS like this: mntpoint -fstype=fuse,allow_other :sshfs\#user@example.com\: Following that example I do:...
1
vote
1answer
2k views

Unable to ssh from one Google Cloud RedHat/CentOS server to another [closed]

I have created 2 Google Compute servers using Google Cloud. Both are RedHat. (I tried using CentOS as well.) Google by default creates a default user on both the servers. The default user name is ...
1
vote
0answers
149 views

Google Cloud, Gnome via SSH

I'm running CentOS7 via Google Compute and installed Gnome successfully via yum and trying to start the console, but returns this error: xauth: file /home/sublyime/.serverauth.7851 does not exist (...
1
vote
0answers
555 views

Google Cloud Platform: Remove the firewall rule that allowed traffic to all of the instances

What does this mean in practical terms? Firewall rules are only "allow" rules. You cannot create "deny" rules. If you need to restrict traffic from reaching certain instances, create rules that ...
2
votes
1answer
182 views

how does a google cloud compute generated SSH key lookup the VPS instance?

If I manually create a key, rather than using the gcloud CLI console, can I also configure the public key so that it will look-up the connection as this config seemingly does: thufir@mordor:~$ cat ....
0
votes
0answers
628 views

How do I append a SSH key with JSON for Google cloud compute VPS?

For the following dummy key, in relation to adding ssh keys to a google compute cloud project: thufir@mordor:~$ ssh-keygen -t rsa -b 768 -f ~/.ssh/gcloud -C thufir Generating public/private rsa key ...
2
votes
1answer
4k views

SSH publickey permission denied (Google Cloud Platform)

We run a small handful of Debian servers on Google Cloud Platform. New servers we setup, we're able to add SSH keys at the point of creation and access the machines via SSH without a problem. Older ...
4
votes
4answers
3k views

Unable to SSH into Google Cloud Server after Reboot

I was learning to configure a Debian server and familiarising myself with the common command lines. However, after executing the reboot command in SSH, my subsequent SSH connections were refused and ...
4
votes
0answers
1k views

Page gets cut in the half if I print from Chrome or Google Cloud but with Firefox doesn't

I'm setting up print server for custom thermal printer on RaspberryPi running Linux Debian and I have a strange problem. If I print a test page it prints OK, same with web page from Firefox, but when ...