ubuntu - cannot start application - Could not create transient scope - ubuntu-22.04

I'm using Ubuntu 22.04
Today, i cannot start many applications (Sublime, whatapps, ...)
I try to search on google, but don't have any solution to resolve this issue.
Please help me! I don't want to re-install my ubuntu :(
May 11 09:46:23 ndt-55555 dbus-daemon[9663]: [session uid=1000 pid=9663] Activating service name='org.gnome.ControlCenter.SearchProvider' requested by ':1.19' (uid=1000 pid=9732 comm="/usr/bin/gnome-shell " label="unconfined")
May 11 09:46:23 ndt-55555 dbus-daemon[9663]: [session uid=1000 pid=9663] Activating service name='org.gnome.Nautilus' requested by ':1.19' (uid=1000 pid=9732 comm="/usr/bin/gnome-shell " label="unconfined")
May 11 09:46:23 ndt-55555 dbus-daemon[9663]: [session uid=1000 pid=9663] Activating service name='org.gnome.Calculator.SearchProvider' requested by ':1.19' (uid=1000 pid=9732 comm="/usr/bin/gnome-shell " label="unconfined")
May 11 09:46:23 ndt-55555 dbus-daemon[9663]: [session uid=1000 pid=9663] Activating service name='org.gnome.Characters.BackgroundService' requested by ':1.19' (uid=1000 pid=9732 comm="/usr/bin/gnome-shell " label="unconfined")
May 11 09:46:23 ndt-55555 dbus-daemon[9663]: [session uid=1000 pid=9663] Successfully activated service 'org.gnome.ControlCenter.SearchProvider'
May 11 09:46:23 ndt-55555 dbus-daemon[9663]: [session uid=1000 pid=9663] Successfully activated service 'org.gnome.Nautilus'
May 11 09:46:23 ndt-55555 dbus-daemon[9663]: [session uid=1000 pid=9663] Successfully activated service 'org.gnome.Characters.BackgroundService'
May 11 09:46:23 ndt-55555 dbus-daemon[9663]: [session uid=1000 pid=9663] Successfully activated service 'org.gnome.Calculator.SearchProvider'
May 11 09:46:23 ndt-55555 nautilus[11712]: Connecting to org.freedesktop.Tracker3.Miner.Files
May 11 09:46:24 ndt-55555 sublime-text_subl.desktop[11766]: env: ‘/snap/bin/sublime-text.subl’: No such file or directory
May 11 09:46:24 ndt-55555 gnome-shell[9732]: Could not create transient scope for PID 11766: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 11766 does not exist.

I try to remove & install gnome-software again. It's resolved.
sudo apt autoremove gnome-software
sudo apt install gnome-software

Related

Artifactory - How to stop "Initializing Replicator registration"

Artifactory Pro 7.33.12 Running on SLES 12-SP5
I did not configure the Replicator in system.yaml or somewhere else.
After restart from Artifactory always appears in console.log (No problem. Message exists since installing Artifactory last year):
2022-04-26T10:47:12... [.c.r.ReplicatorServiceImpl:119] [art-init- initializing Replicator Service
2022-04-26T10:47:12..[c.r.ReplicatorServiceImpl:338] [art-init] - Local Replicator is setting up in non-bundled mode
But suddenly appearing messages by restarting Artifactory:
Info: Replicator is starting
Replicator configured successfully
Replicator Version:release/20220124145455-preRelease-jfpdn-7-30-x-rc.1
Supporting mime-type: application/java-archive
Supporting mime-type: application/x-nupkg
Supporting mime-type: application/x-tar
Supporting mime-type: application/zip
registering profiling endpoints:localhost:8041
Initializing internal http client
replicator service id:jfxfer#01fdsky4nnnd301nzwzzey1cb4
Using Artifactory Blob Store in address: http://localhost:8046/artifactory
Replicator listening on localhost:8048
And every minute:
Initializing Replicator registration
url: http://localhost:8046/artifactory/api/replicator/register
token: eyJ2ZXIiOi****
Replicator registration request was forbidden (make sure Enterprise Plus license installed)
$JFROG_HOME/artifactory/app/replicator/bin/replicator.sh status
Replicator is not running
ps -eaf|grep replicator
artifac+ 17911 1 0 15:21 ? 00:00:00 $JFROG_HOME/artifactory/app/replicator/bin/jf-replicator --replicatorHome=$JFROG_HOME/artifactory/app/replicator
To kill the process is no good idea.
Every 5 seconds appears:
Readiness test failed with the following error: "required node services are missing or unhealthy"
The insert in system.yaml
## REPLICATOR TEMPLATE
replicator:
## Set to true if using an Enterprise Plus license
enabled: false
#port: 8048
has no effect.
What happened and how to stop the Replicator?
Does anyone have an answer?

RStudio Server Unable To Connect To Service

When I attempt to login to the server, I get through the username and password screen just fine (it rejects bad username/password combinations, and accepts the correct one). However, once I enter my username and password, it stalls for a moment with a message that reads Unable to connect to service.
Error log is:
Sep 24 12:22:41 ABRILPREDSVR1 kernel: [1495156.302209] ip6_tables: (C) 2000-2006 Netfilter Core Team
Sep 24 12:22:50 ABRILPREDSVR1 rserver[21509]: ERROR system error 2 (No such file or directory) [child-path=/usr/lib/rstudio-server/bin/rsession]; OCCURRED AT: rstudio::core::Error rstudio::core::system::launchChildProcess(std::string, std::string, rstudio::core::system::ProcessConfig, rstudio::core::system::ProcessConfigFilter, PidType*) /home/ubuntu/rstudio/src/cpp/core/system/PosixSystem.cpp:1433; LOGGED FROM: rstudio::core::Error rstudio::core::system::launchChildProcess(std::string, std::string, rstudio::core::system::ProcessConfig, rstudio::core::system::ProcessConfigFilter, PidType*) /home/ubuntu/rstudio/src/cpp/core/system/PosixSystem.cpp:1435
I have accidentally deleted rsession file . What to do now
Also when I am running sudo rstudio-server verify-installation Its returning error.
24 Sep 2019 11:03:10 [rserver] ERROR system error 2 (No such file or directory) [child-path=/usr/lib/rstudio-server/bin/rsession];
OCCURRED AT: rstudio::core::Error rstudio::core::system::launchChildProcess(std::string, std::string, rstudio::core::system::ProcessConfig, rstudio::core::system::ProcessConfigFilter, PidType*) /home/ubuntu/rstudio/src/cpp/core/system/PosixSystem.cpp:1433;
LOGGED FROM: rstudio::core::Error rstudio::core::system::launchChildProcess(std::string, std::string, rstudio::core::system::ProcessConfig, rstudio::core::system::ProcessConfigFilter, PidType*) /home/ubuntu/rstudio/src/cpp/core/system/PosixSystem.cpp:1435
Also while running this sudo rstudio-server status I am getting this
Sep 24 16:59:26 ABRILPREDSVR1 systemd[1]: Failed to start RStudio Server.
Sep 24 16:59:26 ABRILPREDSVR1 systemd[1]: Stopped RStudio Server.
Sep 24 16:59:26 ABRILPREDSVR1 systemd[1]: rstudio-server.service: Start request repeated too quickly.
Sep 24 16:59:26 ABRILPREDSVR1 systemd[1]: Failed to start RStudio Server.
Sep 24 16:59:26 ABRILPREDSVR1 systemd[1]: Stopped RStudio Server.
Sep 24 16:59:26 ABRILPREDSVR1 systemd[1]: rstudio-server.service: Start request repeated too quickly.
Sep 24 16:59:26 ABRILPREDSVR1 systemd[1]: Failed to start RStudio Server.
Sep 24 16:59:26 ABRILPREDSVR1 systemd[1]: Stopped RStudio Server.
Sep 24 16:59:26 ABRILPREDSVR1 systemd[1]: rstudio-server.service: Start request repeated too quickly.
Sep 24 16:59:26 ABRILPREDSVR1 systemd[1]: Failed to start RStudio Server.
Rstudio server was working yesterday ,after that i deleted rsession file on /usr/lib/rstudio-server/bin/ accidentally , and I tried loading rstudio server on browser today and it gives error.
I uninstalled R and other related components form ubuntu 16.04 server and then reinstalled again.

eucalyptus-cloud.service 4.4.4 constantly crashing with JVM memory errors

I'm trying to work through the manual installation guide. When I get as far as registering an admin account for the console (euare-accountcreate) or registering services (euserv-register-service) the eucalyptus-cloud service inconsistently crashes with the same JVM memory error. As an example a few times I've been able to register the UFS or create the admin account but when I move on to perform another step in the install it will fail and checking the service status shows that it has crashed. I don't have experience with Java memory errors and could really use some help understanding whats going on and how to investigate this type of error in general:
[root#cloud ~]# euserv-describe-services ufs-10.0.0.2
euserv-describe-services: error: connection error (('Connection
aborted.', BadStatusLine("''",)))
[root#cloud ~]# systemctl status eucalyptus-cloud -l
● eucalyptus-cloud.service - Eucalyptus cloud web services
Loaded: loaded (/usr/lib/systemd/system/eucalyptus-cloud.service;
enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2018-10-10 08:45:09 EDT;
4s ago
Process: 45951 ExecStart=/usr/sbin/eucalyptus-cloud $CLOUD_OPTS
(code=exited, status=1/FAILURE)
Main PID: 45951 (code=exited, status=1/FAILURE)
CGroup: /system.slice/eucalyptus-cloud.service
├─46206 /usr/bin/postgres -D /var/lib/eucalyptus/db/data -
h0.0.0.0 -p8777
├─46207 postgres: logger process
├─46209 postgres: checkpointer process
├─46210 postgres: writer process
├─46211 postgres: wal writer process
├─46212 postgres: autovacuum launcher process
└─46213 postgres: stats collector process
Oct 10 08:45:08 cloud eucalyptus-cloud[45951]: OpenJDK 64-Bit Server VM
warning: INFO: os::commit_memory(0x00007f496534b000, 12288, 0) failed;
error='Cannot allocate memory' (errno=12)
Oct 10 08:45:08 cloud eucalyptus-cloud[45951]: #
Oct 10 08:45:08 cloud eucalyptus-cloud[45951]: # There is insufficient
memory for the Java Runtime Environment to continue.
Oct 10 08:45:08 cloud eucalyptus-cloud[45951]: # Native memory
allocation (mmap) failed to map 12288 bytes for committing reserved
memory.
Oct 10 08:45:08 cloud eucalyptus-cloud[45951]: # An error report file
with more information is saved as:
Oct 10 08:45:08 cloud eucalyptus-cloud[45951]: #
/tmp/hs_err_pid45954.log
Oct 10 08:45:09 cloud eucalyptus-cloud[45951]: 2018-10-10 08:45:09
45951 ERROR 0574 Service exit with a return value of 1.
Oct 10 08:45:09 cloud systemd[1]: eucalyptus-cloud.service: main
process exited, code=exited, status=1/FAILURE
Oct 10 08:45:09 cloud systemd[1]: Unit eucalyptus-cloud.service
entered failed state.
Oct 10 08:45:09 cloud systemd[1]: eucalyptus-cloud.service failed.
Edit to include some version info:
[root#cloud ~]# cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)
[root#cloud ~]# java -version
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
EDIT to note my point of confusion: This system only has 25G of RAM in use and 223G free. So I need help understanding how java is running out of memory.
try this fix:
echo 1999999 > /proc/sys/vm/max_map_count

Failed to start avahi mDNS/DNS-SD stack

I have configured openldap manually on opensuse 42.3 and it's working fine until i didn't configure LDAP and Kerberos Client. after i configure use a directory as identity provider and checked(BEFORE REBOOT) getent passwd. i was able to see the users and able to login.After reboot the system the below error is coming:
[FAILED] Failed to start Avahi mDNS/DNS-SD stack
see systemctl status avahi-daemon.service for detials
[FAILED] Failed to start wicked AutoIPv4 supplicant service
see systemctl status wickedd-auto4.service for details
[FAILED] Failed to start wicked DHCPv6 supplicant service
see systemctl status wickedd DHCPv6 supplicant service for details
[FAILED] Failed to start wicked DHCPV4 supplicant service
see systemctl status wickedd-dhcp4.service for details
I found the answer for my question?
we have to enter bind_policy soft in vim /etc/ldap.conf file. so you don't get an error further

Fedora 17 - Not able to restart my network service

I am using fedora 17. Whenever i try to restart my network service using sudo /etc/init.d/network restart i get the following error. (NetworkManager enabled and disabled properly) -->
Restarting network (via systemctl): Job failed. See system journal and 'systemctl status' for details.
[FAILED]
how i can successfully restart my network service ?

Resources