How can I install a list of timezones in a yocto-base Linux distribution? [closed] - timezone

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 4 months ago.
Locked. This question is not currently accepting new answers or interactions. Learn more.
In my Yocto distribution is installed the systemd-timesyncd service and the program timedatectl.
I have configured a UTC NTP Server in the file /etc/systemd/timesyncd.conf. The systemd-timesyncd service works correctly and synchronizes date and time with the NTP server and so my system time is synchronized with the Universal Time (UTC).
I need to set my timezone and I know that I can use the command: timedatectl set-timezone <timezone>.
When I execute: timedatectl list-timezones to get the list of all timezones available the output of the command is:
> timedatectl list-timezones
UTC
I don't find any file /usr/share/zoneinfo or /usr/zoneinfo.
I think I miss installing something in my distribution but I don't know what..

To add a list of available timezones to a Linux distribution base on yocto it is necessary to add following assignament:
IMAGE_INSTALL_append = " tzdata"
This installs the package tzdata and after this the execution of the command timedatectl list-timezones outpus all timezones available.
In particular in my distribution (get by zeus release of yocto) the info about timezones are stored in /usr/share/zoneinfo.

Related

docker daemon not running and docker desktop is stopped [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 days ago.
Improve this question
can't run docker run command and docker desktop is stopped...
i tried reinstalling and upgraded wsl 1 to 2
Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/create": open //./pipe/docker_engine: The system cannot find the file specified. See 'docker run --help'.
The error suggests that docker is not running or properly installed, if you installed it, check the following.
From the search bar, type "Turn Windows features on or off" and make sure you enable the following:
Windows subsystem for Linux
virtual machine platform
windows hypervisor platform
You may also check the PATH of the docker if it is properly added in the environment variable.
From the search bar type "Edit the system environment variable" then click on "Environment variable" in the bottom right corner then under the System variable section choose "path" in the "variable" column then "edit"
A new window will open. Make sure that the following path is added
C:\Program Files\Docker\Docker\resources\bin
If you have done all these steps. You should make sure that the docker desktop app is running, then try to run docker commands.
If the problem still persists, you may uninstall the app and reinstall it again and it should work

Docker stuck in "Docker Desktop starting..." on Mac [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 months ago.
Improve this question
I can't get Docker to start on my Mac (Intel). It's just stuck in Docker Desktop starting...
Here are the things I have tried:
Running with the desktop installer
Running with the brew installer (brew install --cask docker)
In the debug menu:
Clean /Purge data
Reset to factory defaults
Trying to run docker ps in terminal shows:
Error response from daemon: dial unix docker.raw.sock: connect: no such file or directory
If I quit docker, the com.docker.vmnetd process needs to be killed manually.
This problem started around version 4.5.0 Now I am on version 4.12.0., and still the same issue. If I downgrade to a version far back (with the previous UI), it works. But after a while, Docker forces itself to update, which puts me back in this same problem.
Does anyone have any clue what I can try?

Trying to create docker image and getting following error [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 months ago.
Improve this question
There are two project in the same solution One is Api project and another one is .net core project and I am trying to ship both the to docker, I am doing this by docker-compose up -d and getting following error
Error log
It looks like your Docker container can't form a secure SSL connection to install the Nuget packages because you haven't installed your CA certificate on the container.
You can create your own certificate using Docker's tutorial here.
Installing this will then depend on the OS or your base image. You can find instructions for installing certificates on different Linux OS's here. You'll just have to move the required commands into your Dockerfile before running the nuget restore.

How to enable rails and postgresql on start up in centos [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have a server with centos running rails application each time when I reboot my system I have doing following tasks manually. How to enable all the following tasks in start up
To stop and start my nginx I am using
sudo fuser -k 80/tcp # to stop
sudo /opt/nginx/sbin/nginx # to start
And to start my postgresql I am using following command
service postgresql-9.2 start/stop/restart
Once I connect my server using ssh and try some postgresql command ill get error as
postgresql-9.2: unrecognized service
To avoid this am using command
export PATH=/usr/pgsql-9.2/bin:$PATH
And then ill use postgresql(Doing export command each time when I connect through ssh).
And I am using ghost blog facing same issue whenever I reboot my server I need to run following command to start my ghost blog
NODE_ENV=production forever start index.js
How to solve all these. Can any one help
You can add the process in your init script that is at /etc/init.d/
.You can further read run script on startup

Using NTP to sync jenkins and svn servers [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am trying to synchronize my jenkins slave/node to have the same time as my svn server. I have read this:
http://www.sonatype.com/people/2009/02/the-hudson-build-farm-experience-volume-iii/
but it does not really go into the details of setting it up. But I assume that I need to create a file /etc/ntp.conf with eg. this content (using a location near where I live):
server 0.north-america.pool.ntp.org
server 1.north-america.pool.ntp.org
server 2.north-america.pool.ntp.org
server 3.north-america.pool.ntp.org
Do I need to create this both on my svn server and my jenkins slave and how do I "activate" it?
Yes, you should do this on all servers. NTP keeps the time in sync on a single server, and has no knowledge of other servers you may have.
So long as you install the ntp package it should be working already. You can check your process list that the ntpd daemon is running.
Usually the machine acting as server should be connected to High Stratum Atomic precision clock for accurate time as below. For example, your svn server can be configured as a NTP server synchronized to central NTP server and the svn NTP server could allow other machines like jenkins act as clients requesting time sync.
High Stratum Server <----> svn server ----> jenkins slave
Check the link for simple NTP configuration on linux

Resources