Search found 563 matches

by pjsr2
2021/04/19 07:25:45
Forum: CentOS 7 - General Support
Topic: Backing up complete server
Replies: 2
Views: 111

Re: Backing up complete server

For my VPS, I use rsync over ssh to copy the data once per day (cron task) to an in-house backup server. The technique I use to do this passwordless and secure, is taken from https://www.guyrutenberg.com/2014/01/14/restricting-ssh-access-to-rsync/ Carefully consider which files may be open and/or in...
by pjsr2
2021/04/01 07:09:36
Forum: CentOS 7 - General Support
Topic: Correct Syntax for bash script
Replies: 7
Views: 229

Re: Correct Syntax for bash script

To convert files with Windows style line-endings to Unix style you can use the command

Code: Select all

dos2unix filename
Case it is not installed:

Code: Select all

sudo yum install dos2unix
The package contains dos2unix, unix2dos, mac2unix and unix2mac.
by pjsr2
2021/03/22 13:30:30
Forum: CentOS 7 - General Support
Topic: No locks available
Replies: 5
Views: 334

Re: No locks available

Is there an NFS file system involved?

What is the ouptut of the command

Code: Select all

systemctl status rpc-statd
by pjsr2
2021/03/19 13:45:02
Forum: CentOS 7 - General Support
Topic: Cannot login via GUI, always bounce back to GUI when I select a user
Replies: 10
Views: 586

Re: Cannot login via GUI, always bounce back to GUI when I select a user

What is the output of the following commands: grep -e '(WW)' -e '(EE)' /var/log/Xorg.0.log lsmod | grep -i -e nvidia -e nouveau The first command loooks for error and warnings in the log file of the X server. The second command lists the kernel modules that are loaded for NVidia or Nouveau drivers.
by pjsr2
2021/03/18 15:51:39
Forum: CentOS 7 - General Support
Topic: Cannot login via GUI, always bounce back to GUI when I select a user
Replies: 10
Views: 586

Re: Cannot login via GUI, always bounce back to GUI when I select a user

You need to install one of the kmod-nvidia packages from the ElRepo repository. Do not install the driver from NVidia's web-site. If you already did install that, uninstall it. The kmod-nvidia packages from ElRepo are compiled and packaged specially for CentOS-7 to make sure that the driver works we...
by pjsr2
2021/03/18 11:23:58
Forum: CentOS 7 - General Support
Topic: Unable to disable core dumps
Replies: 8
Views: 238

Re: Unable to disable core dumps

I suppose the problem is that the left single quote is missing in the queryformat I guess that the quote before before /usr pairs up with the one after |%. Single quotes around the format string will be stripped of by the shell when executing the command, so you won't see them on the argument list.
by pjsr2
2021/03/18 11:19:25
Forum: CentOS 7 - General Support
Topic: Unable to disable core dumps
Replies: 8
Views: 238

Re: Unable to disable core dumps

Somebody reported an issue at RedHat: https://access.redhat.com/solutions/5886611
by pjsr2
2021/03/18 08:08:08
Forum: CentOS 7 - General Support
Topic: Cannot login via GUI, always bounce back to GUI when I select a user
Replies: 10
Views: 586

Re: Cannot login via GUI, always bounce back to GUI when I select a user

Are you using the Gnome desktop for the user? Gnome 3 is the default desktop and if you followed standard installation procedure, that is the desktop your user will get. Gnome 3 uses the 3D functions of the video card, whereas the login screen does not need these functions. So it could be a video dr...
by pjsr2
2021/03/18 07:56:07
Forum: CentOS 7 - General Support
Topic: Unable to disable core dumps
Replies: 8
Views: 238

Re: Unable to disable core dumps

Since it is dumping the core in /, the process must be owned by root. For security reasons processes run by root or run suid normally do not dump cores. So this may have been enabled. See /proc/sys/fs/suid_dumpable and descriptions in man 5 core and man 5 proc.
by pjsr2
2021/02/22 08:31:15
Forum: CentOS 7 - General Support
Topic: High Apache memory usage on CentOS 7
Replies: 2
Views: 104

Re: High Apache memory usage on CentOS 7

First explanation is of course that the Apache versions of CentOS 6 and 7 differ. When you get a VPS, it usually comes with a configuration that has been trimmed to the amount of resources (memory, CPU, disk space) that the VPS has. It is likely that at the time you got the CentOS-6 VPS it came was ...

Go to advanced search