Hot answers tagged

5

These steps might help you, yum clean all & yum clean metadata Check the files in /etc/yum.repos.d and make sure that they don't all have enabled = 0 for each repo (there may be more than one per file). Finally you would be able to do yum update and search for desired packages.


5

For CentOS/RHEL 7, autossh is no longer available in Repoforge repository. So you will need to build and compile it from the source, here is what you should do: $ sudo yum install wget gcc make $ wget http://www.harding.motd.ca/autossh/autossh-1.4e.tgz $ tar -xf autossh-1.4e.tgz $ cd autossh-1.4e $ ./configure $ make $ sudo make install


2

If you have set your cron job in a right manner and syntax, you should check for security holes since in this situation only the user root can do the kill, not any normal user. Everything depends on what you have set and how you've done it, plus system configurations and users' privileges. I recommend you read cron and crontab manual page by running man ...


2

The error might occurs due to many reasons. First of all, Use the following command command to display maximum number of open file descriptors: $ cat /proc/sys/fs/file-max Let's pretend the output was 4096, what does it mean? It means, 4096 files a normal user can have open in single login session, you can also display it by checking its Hard and Soft ...


2

When creating the user with useradd use the option -s -s, --shell SHELL The name of the user's login shell. The default is to leave this field blank, which causes the system to select the default login shell specified by the SHELL variable in /etc/default/useradd, or an empty string by default. Give it the value /sbin/nologin. This will prevent ...


1

It may be due to many reasons. /*First of all, I gotta say this is more related to serverfault.com not here.*/ It is so ordinary not being able to access the external address of the network from within the internal network and itself since the traffic from the external address is sent back to the internal network. So it can most likely be DNS issue, and as ...


1

can't create lock file /etc/mtab~60598: No space left on device (use -n flag to override) open("/etc/passwd.63618", O_WRONLY|O_CREAT|O_EXCL, 0600) = -1 ENOSPC (No space left on device) It's definitely a disk space problem. Most filesystems have two limits: a limit on file contents, and a limit on the number of files — the size of the inode table. Since ...



Only top voted, non community-wiki answers of a minimum length are eligible