关于“Google Cloud 基础知识:Cloud Storage 和 Cloud SQL 使用入门”的评价
541345 条评价
Aarti G. · 已于 2 days前审核
Sridhar B. · 已于 2 days前审核
Diogo M. · 已于 2 days前审核
Arthur A. · 已于 2 days前审核
MIGUEL IVAN A. · 已于 2 days前审核
Muhammad B. · 已于 2 days前审核
Vidushi Garg A. · 已于 2 days前审核
Julian N. · 已于 2 days前审核
Rodrigo R. · 已于 2 days前审核
Shradheya K. · 已于 2 days前审核
Kaique R. · 已于 2 days前审核
Edwin M. · 已于 2 days前审核
Wanderson W. · 已于 2 days前审核
Adarsh S. · 已于 2 days前审核
Excelente!
Luis A. · 已于 2 days前审核
JESUS RICARDO C. · 已于 2 days前审核
Jay P. · 已于 2 days前审核
compute engine startup script didn't work. Had to add sudo command manually.
Ronan R. · 已于 2 days前审核
CHINNI K. · 已于 2 days前审核
student-04-1305fe4dc26e@bloghost:~$ cd /var/www/html -bash: cd: /var/www/html: No such file or directory student-04-1305fe4dc26e@bloghost:~$ ls student-04-1305fe4dc26e@bloghost:~$ sudo journalctl -u google-startup-scripts.service --no-pager | tail -50 Oct 21 16:01:44 bloghost systemd[1]: Starting google-startup-scripts.service - Google Compute Engine Startup Scripts... Oct 21 16:01:44 bloghost google_compat_metadata_script_runner[1307]: Initialized Metadata Script Runner Compat (version 20260921.00) Oct 21 16:01:44 bloghost google_compat_metadata_script_runner[1307]: Enable core plugin set to: [true], launching script runner for event "startup" from "/usr/bin/gce_metadata_script_runner" Oct 21 16:01:45 bloghost google_metadata_script_runner[1316]: Running metadata script runner (version 20260921.00) for "startup" event Oct 21 16:01:45 bloghost google_metadata_script_runner[1316]: Found startup-script in metadata Oct 21 16:01:45 bloghost google_metadata_script_runner[1316]: Metadata key("startup-script"), command("/bin/bash"): E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1117 (apt-get) Oct 21 16:01:45 bloghost google_metadata_script_runner[1316]: Metadata key("startup-script"), command("/bin/bash"): E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? Oct 21 16:01:45 bloghost google_metadata_script_runner[1316]: Metadata key("startup-script"), command("/bin/bash"): Failed to restart apache2.service: Unit apache2.service not found. Oct 21 16:01:45 bloghost google_metadata_script_runner[1316]: Script "startup-script" failed with error: exit status 5 Oct 21 16:01:45 bloghost google_metadata_script_runner[1316]: Finished running startup scripts Oct 21 16:01:46 bloghost systemd[1]: google-startup-scripts.service: Deactivated successfully. Oct 21 16:01:46 bloghost systemd[1]: Finished google-startup-scripts.service - Google Compute Engine Startup Scripts. Log Analysis Your startup script has a high probability of failing to execute completely, which is why /var/www/html doesn't exist. The core issue is: the script is missing the apt-get update step. There are two key error messages in the logs: E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1117 (apt-get): This means that when your script attempted to install the software, another apt-get process was already running and holding the exclusive lock. On a newly booted Debian/Ubuntu system, unattended-upgrades or other automatic update services often occupy this lock first . Failed to restart apache2.service: Unit apache2.service not found.: Since the previous installation step failed, apache2 was not installed at all, so restarting the service naturally failed
alfred k. · 已于 2 days前审核
Jesus Abraham P. · 已于 2 days前审核
Jorge Jovel G. · 已于 2 days前审核
Yasser B. · 已于 2 days前审核
Harikrishna P. · 已于 2 days前审核
excelente lab para practicar sobre base de datos
Guillermo C. · 已于 2 days前审核
我们无法确保发布的评价来自已购买或已使用产品的消费者。评价未经 Google 核实。