<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Yuvarajan Johnpaul</title>
    <description>The latest articles on DEV Community by Yuvarajan Johnpaul (@yuvarajan_johnpaul).</description>
    <link>https://dev.to/yuvarajan_johnpaul</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F371951%2Ff9647184-2878-47ba-b065-1454696155de.jpg</url>
      <title>DEV Community: Yuvarajan Johnpaul</title>
      <link>https://dev.to/yuvarajan_johnpaul</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yuvarajan_johnpaul"/>
    <language>en</language>
    <item>
      <title>bash: semanage: command not found</title>
      <dc:creator>Yuvarajan Johnpaul</dc:creator>
      <pubDate>Sun, 04 Apr 2021 11:25:41 +0000</pubDate>
      <link>https://dev.to/yuvarajan_johnpaul/bash-semanage-command-not-found-i7o</link>
      <guid>https://dev.to/yuvarajan_johnpaul/bash-semanage-command-not-found-i7o</guid>
      <description>&lt;p&gt;While trying to install semanage and it returns the below error?&lt;br&gt;
[root@yuvarajan]# yum install -y semanage&lt;br&gt;
Failed to set locale, defaulting to C&lt;br&gt;
No package semanage available.&lt;br&gt;
Error: Nothing to do&lt;/p&gt;

&lt;p&gt;To identify which package in the RPM provides a similar option to be available, execute the below command.&lt;br&gt;
$ yum provides /usr/sbin/semanage [OR]&lt;br&gt;
$ yum whatprovides semanage&lt;/p&gt;

&lt;p&gt;It will reveal the list of supporting packages like below.&lt;br&gt;
policycoreutils-python-2.2.5-11.el7.x86_64 : SELinux policy core python utilities&lt;br&gt;
Repo        : rhui-rhel-7-server-rhui-rpms&lt;br&gt;
Matched from:&lt;br&gt;
Filename    : /usr/sbin/semanage&lt;/p&gt;

&lt;p&gt;policycoreutils-python-2.2.5-11.el7_0.1.x86_64 : SELinux policy core python utilities&lt;br&gt;
Repo        : rhui-rhel-7-server-rhui-rpms&lt;br&gt;
Matched from:&lt;br&gt;
Filename    : /usr/sbin/semanage&lt;/p&gt;

&lt;p&gt;Then proceed to install any one of the package further which semanage will be available in the local client.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Processes [PIDs] get re-spawned automatically by the unidentified parent process?</title>
      <dc:creator>Yuvarajan Johnpaul</dc:creator>
      <pubDate>Fri, 25 Sep 2020 07:19:01 +0000</pubDate>
      <link>https://dev.to/yuvarajan_johnpaul/processes-pids-get-respawned-automatically-by-the-unidentified-parent-process-4fac</link>
      <guid>https://dev.to/yuvarajan_johnpaul/processes-pids-get-respawned-automatically-by-the-unidentified-parent-process-4fac</guid>
      <description>&lt;p&gt;The reason behind this problem is the services are crashing into a loop and failed to start for some reason. So, despite clearing the PIDs from the system, the daemon will keep restarting the service.&lt;/p&gt;

&lt;p&gt;If it is an Ubuntu distribution, please use the below commands to disable the service from getting started automatically.&lt;br&gt;
$ systemctl disable [service-name]&lt;br&gt;
$ systemctl daemon-reload&lt;/p&gt;

&lt;p&gt;If it is a RedHat distribution, you may disable the auto-restart by using the below command.&lt;br&gt;
$ chkconfig [service-name] off&lt;/p&gt;

</description>
      <category>operatingsystem</category>
    </item>
    <item>
      <title>Failed to fetch error while trying to pull/install a debian image!</title>
      <dc:creator>Yuvarajan Johnpaul</dc:creator>
      <pubDate>Fri, 24 Jul 2020 09:50:22 +0000</pubDate>
      <link>https://dev.to/yuvarajan_johnpaul/failed-to-fetch-error-while-trying-to-pull-install-a-debian-image-415a</link>
      <guid>https://dev.to/yuvarajan_johnpaul/failed-to-fetch-error-while-trying-to-pull-install-a-debian-image-415a</guid>
      <description>&lt;p&gt;If you see failed to fetch error messages followed by an HTTP error 403 Forbidden, it could be related with the requirement to pull the data via a secure channel.&lt;/p&gt;

&lt;p&gt;Try the below steps.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;apt install apt-transport-https&lt;/li&gt;
&lt;li&gt;apt install 'the actual package you wanted to install'&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This should resolve the problem.&lt;/p&gt;

&lt;p&gt;If the problem persists, kindly edit the corresponding remote source's protocol value from HTTP to https under /etc/apt/sources.list&lt;/p&gt;

</description>
      <category>linux</category>
    </item>
    <item>
      <title>No content to map to Object due to end of input.</title>
      <dc:creator>Yuvarajan Johnpaul</dc:creator>
      <pubDate>Tue, 09 Jun 2020 10:10:46 +0000</pubDate>
      <link>https://dev.to/yuvarajan_johnpaul/no-content-to-map-to-object-due-to-end-of-input-2cpc</link>
      <guid>https://dev.to/yuvarajan_johnpaul/no-content-to-map-to-object-due-to-end-of-input-2cpc</guid>
      <description>&lt;p&gt;You might face this issue while trying to perform REST API executions with the JSON input. This could occur if you are not passing the header along with the request [-H "Content-Type: application/json"]. &lt;/p&gt;

&lt;p&gt;However, this problem also occurs when we miss the -T argument while we are passing the JSON file along with the request.&lt;/p&gt;

</description>
      <category>restapi</category>
      <category>json</category>
      <category>linux</category>
    </item>
    <item>
      <title>Error from Nexus repository: Repository path must have another '/' after initial '/'</title>
      <dc:creator>Yuvarajan Johnpaul</dc:creator>
      <pubDate>Fri, 15 May 2020 09:58:00 +0000</pubDate>
      <link>https://dev.to/yuvarajan_johnpaul/error-from-nexus-repository-repository-path-must-have-another-after-initial-kia</link>
      <guid>https://dev.to/yuvarajan_johnpaul/error-from-nexus-repository-repository-path-must-have-another-after-initial-kia</guid>
      <description>&lt;p&gt;The repository path should include a slash at the end /, this error would occur if the remote URL from where we are trying to download does not include a repository name with a slash at the end.&lt;/p&gt;

</description>
      <category>nexus</category>
      <category>package</category>
      <category>repository</category>
    </item>
    <item>
      <title>ERROR: Existing lock /var/run/yum.pid: another copy is running as pid &lt;PID&gt;</title>
      <dc:creator>Yuvarajan Johnpaul</dc:creator>
      <pubDate>Wed, 29 Apr 2020 15:20:34 +0000</pubDate>
      <link>https://dev.to/yuvarajan_johnpaul/error-existing-lock-var-run-yum-pid-another-copy-is-running-as-pid-pid-1li2</link>
      <guid>https://dev.to/yuvarajan_johnpaul/error-existing-lock-var-run-yum-pid-another-copy-is-running-as-pid-pid-1li2</guid>
      <description>&lt;p&gt;Existing lock /var/run/yum.pid: another copy is running as pid .&lt;br&gt;
Another app is currently holding the yum lock; waiting for it to exit...&lt;br&gt;
  The other application is: yum-cron&lt;br&gt;
    Memory :  23 M *** (418 MB ***)&lt;br&gt;
    Started: Wed Apr 29  2020 - 12:41 ago&lt;br&gt;
    State  : Sleeping, pid: &lt;/p&gt;

&lt;h2&gt;
  
  
  Solution:
&lt;/h2&gt;

&lt;p&gt;$ yum list&lt;/p&gt;

&lt;p&gt;[root@user bin]# yum list&lt;br&gt;
Failed to set locale, defaulting to C&lt;br&gt;
Existing lock /var/run/yum.pid: another copy is running as pid .&lt;br&gt;
Another app is currently holding the yum lock; waiting for it to exit...&lt;br&gt;
  The other application is: yum-cron&lt;br&gt;
    Memory :  23 M *** (418 MB ***)&lt;br&gt;
    Started: Wed Apr 29  2020 - 13:21 ago&lt;br&gt;
    State  : Sleeping, pid: &lt;/p&gt;

&lt;p&gt;Identify the PID from the above output.&lt;br&gt;
State  : Sleeping, pid: &lt;/p&gt;

&lt;p&gt;Now, Kill if it is a stale process to resolve this issue.&lt;br&gt;
$ kill -9 &lt;/p&gt;

</description>
      <category>linux</category>
      <category>processid</category>
      <category>yum</category>
    </item>
    <item>
      <title>Warning message:
package ‘abc’ is not available (for R version 3.6.3)</title>
      <dc:creator>Yuvarajan Johnpaul</dc:creator>
      <pubDate>Wed, 22 Apr 2020 21:55:04 +0000</pubDate>
      <link>https://dev.to/yuvarajan_johnpaul/warning-message-package-abc-is-not-available-for-r-version-3-6-3-1kb3</link>
      <guid>https://dev.to/yuvarajan_johnpaul/warning-message-package-abc-is-not-available-for-r-version-3-6-3-1kb3</guid>
      <description>&lt;p&gt;R client unable to fetch the requested package.&lt;/p&gt;

&lt;p&gt;Have you configured RProfile with the remote mirror from where your package needs to be fetched?&lt;/p&gt;

&lt;p&gt;If yes, Is this the command you are using?&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;install.packages('package_name')&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If that doesn't work, you may directly fetch the mirrors through the install command like below.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;install.packages('package_name',repos='&lt;a href="http://cran.us.r-project.org'"&gt;http://cran.us.r-project.org'&lt;/a&gt;)&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>cran</category>
      <category>repository</category>
      <category>package</category>
      <category>installation</category>
    </item>
  </channel>
</rss>
