All Questions
608
questions with no upvoted or accepted answers
5
votes
0
answers
452
views
Files being created with the wrong owner
I'm using AWS sagemaker and today I went to commit some files and got this error:
Bad owner or permissions on /home/sagemaker-user/.ssh/config
fatal: Could not read from remote repository.
Please ...
5
votes
0
answers
8k
views
Failed to adjust OOM score of renderer with pid X: Permission denied
I'm not sure what exactly causing, but I'm getting following error:
Apr 11 12:30:00 X alacarte-made-2.desktop: [1712:1735:0411/123000:ERROR:zygote_host_impl_linux.cc(162)] Failed to adjust OOM score ...
5
votes
0
answers
1k
views
Memory Usage of `yum update`
I was updating a slightly out of date server with yum update and ran into memory issues. It appears that yum requires enough free RAM to download each package.
Updating single packages was not a ...
5
votes
0
answers
2k
views
mdadm RAID monitoring no DegradedArray email
So, I have a couple of MDADM RAID arrays and I want to set up monitoring with email notifications for drive failures through sSMTP but I can't seem to get it working.
The system in question is a ...
4
votes
0
answers
1k
views
How to find out which client has file lock on NFS
We have a Centos 7 cluster backed by NFS4. There are some files on it
that running flock with LOCK_EX blocks (and with LOCK_NB returns
resource temporarily unavailable). Only a handful of files, ...
4
votes
1
answer
3k
views
How to set up Postfix to save the message body in the log file?
I need all the body of incoming and outgoing messages are written to the log file. How to setup Postfix to do that?
4
votes
0
answers
262
views
Need noacpi in CentOS 6.4, not in RHEL 6.4
I've been trying to fix a rather odd problem that I've seen on our new Dell R5500 (Xeon based workstations).
We want to run CentOS 6.4 64 bit on them. We did a base install which worked fine, however ...
4
votes
0
answers
1k
views
CentOS Freezes on Startup
I'm very new to Linux, so please go easy!
I created a Linux install on VMWare Workstation 8 in order to install a piece of software called OpenClinica. The program is Java based and depends on ...
4
votes
2
answers
2k
views
How do I install the latest gcc 4.7.0 on centos 6.2?
[root@localhost dyliu]# yum list gcc
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos.mirrors.tds.net
* extras: centos.mirrors....
3
votes
1
answer
2k
views
Setting NVreg_RestrictProfilingToAdminUsers=0 on Centos 7
I've run both nsight profiler and nsight compute and i get the same issue:
nvprof log: /home/centos/nvvp_workspace/.metadata/.plugins/com.nvidia.viper/launch/0/nvprof_21332.log
==21332== Warning: ...
3
votes
1
answer
3k
views
Allow users to download files via SFTP, delete files, but not add or modify
I have an SFTP server on CentOS 7.4 (through the standard sshd), and I want to adjust the server so that users can download files in their directory, delete files in their directory, but cannot upload ...
3
votes
1
answer
2k
views
uninstalling vim-minimal also uninstalls sudo in Centos 7.4
Setting up a new CentOS 7.4 machine. I installed vim using sudo yum install vim, and then I uninstalled vim-minimal with sudo yum remove vim-minimal. Now sudo has been uninstalled:
$ sudo
-bash: /...
3
votes
0
answers
3k
views
OCI8 extension not loading in PHP 5.4, CentOS 7
I have a CentOS environment running as a VM guest. It runs and Oracle 12.1 Database, along with PHP 5.4.16, on Apache 2.0.
I've gone through the installation steps to ensure that the correct OCI ...
3
votes
1
answer
2k
views
Can't install python requests library on Centos 5.11
I'm running Centos 5.11. I'm trying to install the python requests package. But pip keeps giving me syntax errors.
pip help returns
[root@32437-201824 bin]# pip help
Traceback (most recent call ...
3
votes
1
answer
5k
views
Kiosk mode and auto login and single application mode in CentOS
We have a machine running CentOS 7, GDM, KDE 11 (installed from CentOS DVD)
We have been struggling a few days with this issue, tried to search for a solution but unfortunately most of the material'...
3
votes
1
answer
2k
views
CentOS 7 Can ping but cannot browse
I have install CentOS 7, I unable to update unless I add the mirror list into my /etc/hosts.
I can ping to what ever domain but cannot browse unless I put the address in my hosts file.
The ping ...
3
votes
0
answers
2k
views
Problems with postfix and sending mails
I have ran into problems while configuring my postfix for my CENTOS machine.
Note:The mailserver itself should be localhost only and only be able to send mail internally.
the following shows up when ...
3
votes
0
answers
783
views
How do I recompile Python in VirtualEnv?
I built virtualenv and it adds Python 2.7 by default in it. After reading this solution to a bug I have, it says I have to recompile Python with the option --enable-shared. So should I rm -rf Python ...
3
votes
2
answers
1k
views
Which package contains the `most` command
I feel extremely dumb for asking this, but:
On CentOS, which package should I install to have the most command (a really nice pager)? A google search turns up way too many irrelevant results. A ...
3
votes
2
answers
4k
views
Creating a USB stick for installing centos 6.x using DVD1 and DVD2 iso files
First, we create 2 partitions on the USB stick that
is let's say 16GB.
first partition is let's say only 1GB
and the second partition is the rest of what is available.
after we "w" write the changes,...
3
votes
1
answer
1k
views
Wicd set up on centos
I am having difficulties with wicd on start up on CentOS 6. When it starts up it complains that it cannot connect to the DBus and that the daemon has shut down. When I check the log file there is ...
3
votes
0
answers
1k
views
Is my CentOS library multiarch? And what does that mean?
On CentOS release 6.4, I am trying to run a binary. However, it gives the following complaint:
(...) requires "/lib/libuuid.so.1" to function.
From a quick search, I can see that the only similar ...
3
votes
1
answer
21k
views
How to force `yum reinstall` to overwrite changed files in a `/var` sub-directory?
I have a software package[1] that is already being used by multiple users.
Its RPM is created with Cmake.
For historical reasons, the software package installs some files in a subdirectory of /...
2
votes
0
answers
125
views
Easiest way to set up a "proper" VPN on a CentOS server, allowing an Ubuntu or Windows client to connect to it
I am using Ubuntu at home. I have a server in the US with CentOS.
With my system administrator days long gone (about 25 years ago), the question is: what's the easiest, least painful way to make a ...
2
votes
1
answer
5k
views
Installing keytool without JDK
I am trying to install keytool in a docker image based on centos but I get an error.
Example to reproduce Dockerfile:
FROM centos:7.9.2009 ...
2
votes
1
answer
438
views
Create new SSH user and give him permission to an existing directory
Im trying to create new user called svecias and give him permission to connect via SFTP only to existing directory and deeper (/usr/share/nginx/itsupply).
Currently directory is owned by nginx in ...
2
votes
0
answers
347
views
Installing three nginx dynamic modules when Nginx itself is installed via yum/dnf
We have a limitation on the server to only install Nginx via DNF. This currently (as of this date of writing) installs Nginx v1.18.0. We cannot compile our own Nginx.
I understand that with this we ...
2
votes
0
answers
795
views
bashtop and bpytop do not display properly in putty
I have installed bashtop or bpytop (on a minimal CentOS install) but I just get a jumbled mess of colour blocks on the screen. I've made sure to do sudo yum upgrade and rebooted, but still garbled ...
2
votes
0
answers
24
views
Routing - Route specific Internal IP''s over VPN device
I'm running OpenVPN with some configs on a centOS7 machine. They connect to remote VPN sites and sometimes they change ip after a reboot. They are called tun0, tun1 etc.
Now i need some devices to go ...
2
votes
0
answers
110
views
Wordpress Home page only works. The rest of the pages and post returns Nginx 404. CentOS Linux 7.6.1810
I had successfully installed a wordpress site using the webmin but the problem is after i changed the permalinks settings of wordpress to '%postname%' the rest of the pages except the home page ...