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 ...
2
votes
0
answers
43
views
auto mount by service + service not mount the folder automatically
we create the following service on redhat version 7.2
more nfsshare.mount
[Unit]
Description=nfs mount script
Requires=network-online.target
After=network-online.service
[Mount]
What=...
2
votes
0
answers
817
views
Failed to replace stdlibc++ with libc++, linker phase error
I'm currently working on one of my team's project to build LLVM full clang toolchain (Clang, libcxx, libcxxabi) on a CentOS machine.
Previously we compiled our codebase with llvm-toolset-7/clang++, ...
2
votes
0
answers
24k
views
Trying to understand how to set the location of MySQL log files in CentOS
I am having a heck of a time getting this web server to log MySQL errors for me. I just started having issues with MySQL crashing every night and having to restart the service. I am running MySQL on ...
2
votes
1
answer
350
views
Will enabling the debug shell affect the systemd shutdown sequence?
I'm troubleshooting an issue where CentOS stops at "Reached target Shutdown" when I issue a reboot command. In other words the system does not reboot but remains as is after printing the mentioned ...
2
votes
0
answers
493
views
Linux CentOS 7 doesn't allocate over 1024 KiB space for /boot partition
So this is a problem, that I have encountered the second time now.
I am having machines here running dual-boot on Windows and Linux OS. I have managed to successfully install dual boot systems ...
2
votes
0
answers
35
views
Free -m and free -k display same quantities
When running the commands free -m and free -k, they display the same quantity of memory. Furthermore, free --mega and free --kilo display the expected quantities (the correct ones).
What might be ...
2
votes
1
answer
113
views
CentOS - Prevent forwarded connections from NIC #2 through default gateway on NIC #1
I have a CentOS 7 system with 2 NICs (eth0 and eth1).
NIC configurations:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.43.96.210 netmask 255.255.255.192 broadcast ...
2
votes
0
answers
2k
views
Unable to run commands such as hostnamectl in centos 7 Virtual Machine
I have a Centos 7 image running as a virtual machine (not as a Docker image).
When the VM boots up, it uses systemctl to start several services, one of which is my application that tries to set the ...
2
votes
0
answers
2k
views
CentOS - Can't change ifcfg file in /etc/sysconfig/network-scripts
For the life of me, I can't figure out how to change an interface config file in a VM: sudo vim /etc/sysconfig/network-scripts/enp0s3 won't write and sudo bash -c "echo 'dog' >> ./enp0s3" fails ...
2
votes
1
answer
3k
views
How to create Docker Image based on EC2 AMI image?
I installed several things on my CentOS EC2 instance (Java, MySql, gradle, setup local application...).
Also recently created EC2 AMI image out of all that.
Is it possible to create a Docker image ...
2
votes
0
answers
27
views
Vboxmanage resize HDD but not the real size? (CentOS Guest, Windows Host)
I have this situation. whereas the actual is 7.62 GB then i tried to execute the steps given from here Geekwebsite. to make it bigger to 14GB (which is 13.92GB)
Everything smoothly working... until ...
2
votes
1
answer
242
views
Add tool compiled from source to yum
I'm using CentOS(7.2) and I need to compile some tools from source to get some new features on the server. I'm OK with compiling from source, but I have problem with yum. Let's take a look at the ...
2
votes
0
answers
2k
views
Cloned CentOS not booting up
I recently cloned a CentOS6 environment from 1TB HDD and intended to restore its image to a 4 TB space. I used Clonezilla for this.
The clone went successful, but after that when I tried to restore ...
2
votes
0
answers
744
views
CentOS 5.2, set up IP network
Good afternoon,
I'm trying to get GCC installed on a CentOS 5.2 system, and I've been sent from UNIX/Linux forum to network engineering forum "https://networkengineering.stackexchange.com/questions/...
2
votes
0
answers
263
views
Serve auto-generated zip files with small footprint
I currently use mod_zip/nginx(for automatically generating zip files).
The (very very big) issue with mod_zip is - when it accepts range requests - it doesn't pass ranges to subrequests.
What ...
2
votes
0
answers
407
views
Centos 7 KVM cifs mount issues
I am having a issue with Centos changing my KVM images folder from the default to a Cifs Shared folder. Any time I try it, it returns a error like so:
[root@localhost Centos_Atomic]# systemctl status ...
2
votes
0
answers
3k
views
How to mount NFS share in OS X Yosemite?
I have an NFS server (CentOS 6.6 at IP 192.168.1.16) that shares a folder /nfs/share.
I want to mount this folder from a Mac laptop (at mount point /nfs/share).
When I tried the following:
sudo ...
2
votes
1
answer
122
views
Running a process in the background using &
I have created the following script:
#!/bin/bash
while :
do
echo "1" >> test.txt
sleep 1
done
If I run the command using ./exm.sh & it runs on the background as expected and it ...
2
votes
0
answers
1k
views
systemctl do something between stop and start during restart or kill
I have a C++ program that runs as a non-daemon (but could be changed), and I'm controlling it with systemd. That works. Albeit with the ugly that to restart it I need to either be root (to use ...
2
votes
0
answers
2k
views
Make xmodmap Changes Permanent
I made some changes to my keymap by writing:
remove mod4 = Super_L
add control = Super_L
in ~/.Xmodmap
The changes work after running xmodmap ~/.Xmodmap
But they will not stick after restart.
I ...