The application (bin) loads the (service account) credentials fine when it has “normal” permissions. This is the run script: However when bin permission are changed: I get this error: E1003 10:02:07.563899584 60263 credentials_generic.cc:35] Could not get HOME environment variable. E1003 10:02:10.563621247 60263 google_default_credentials.cc:461] Could not create google default credentials: UNKNOWN:creds_path unset {created_time:”2022-10-03T10:02:07.563943484+09:00″} Any advice would be appreciated. Thanks. Answer As
Tag: centos7
An Error has occured during the migrations System.ArgumentNullException: Value cannot be null. (Parameter ‘connectionString’)
I have the following piece of code In my Program.cs, I have the following I did a publish on a CentOs7. When I am running my application using the command: I have the following error: I do not understand why is the value of my connection string null when I hardcoded directly it in the application. What could be the
unzip a list of archives
I need to Unzipped a list of zip archives. These archives are not empty, in each one there are a lot of file. In my directory I have a lot of file zip archive and all have the the name in the same format: batch-download-ccd-1610959358275.zip but change only the numeric part. I can extract each archive with unzip command but
Why is kill -2 not killing the process?
EDIT: From my tests, it seems not to be possible to terminate a process with the SIGINT/SIGQUIT signal from a script. I do not know why though. I am working on Centos 7, with bash. I would like to know why isn’t kill -2 $pid killing the process. I have a master script that starts a subprocess. That subprocess stays
How to increase available filesystem size in /dev/root in Linux Centos 7.7 (AltArch)?
I am running a fresh installation of CentOS 7.7. on my Raspberry Pi 3 and unfortunatly I am running out of size when installing yum packages: The OS is installed on a 16gb SD card, so in principle I should have more than enough space: I figured that I should be able to increase the size of the file system
error while loading shared libraries: libgmock.so: cannot open shared object file: No such file or directory
I am currently facing an issue with a project of mine foudn while configuring CI. Resume The problem faced is the following: error while loading shared libraries: libgmock.so: cannot open shared object file: No such file or directory. For the problem above I am not installing the google test/google mock framework but I am compiling it. Although it says it
Docker overlay2 resource is busy
I need some help with docker! 😀 When I have to deploy my application, sometimes I have this error OR This is my docker info output: Everytime that the resource is busy error appears, I move the HASH’s directory in /var/lib/docker/(containers OR overlay2) to HASH_old directory and retry to deploy the application, used to work, but now the no such
bash script to auto run on boot, make screen, execute a command and detach
I am using Centos 7 and on boot I would like to: Make a screen Execute a command: osrm-routed –algorithm=MLD ~/osrm-backend/profiles/australia-latest.osrm Detatch from screen (possibly not needed, just as long as I can access it myself after its running in future) Here is something I have thought about, although not correct and wont work filename: mapstart.sh Contents of file: With
How to keep service script output from clogging up “messages”
I have a service on Centos7 that runs a script in /usr/local/sbin/restarthelp2.sh and outputs a tunnel check by checking the status of network connection. The output of this ends up in /var/log/messages and makes the file huge. I already have the output being sent to its own log file, how do I keep the output results from the script/service out
RPM SPEC Systemd enable and start
I have created a RPM SPEC file but I am struggeling with Systemd enabling and starting. Updating the package through yum disables and stops the service. The distribution is Centos 7.x I have installed the service under /etc/systemd/system. This is what I have tried so for but it does not work. I have not found any good working examples of