All Questions
15
questions
0
votes
2
answers
154
views
How to permanently remove directory in CentOS?
I have a directory I want to remove in /opt/
[user /] $ sudo su
[root /] # cd /opt
[root opt] # rm -rf tomcat9
[root opt] # ls
[root opt] # ls
tomcat9
But i still cannot seem to remove the tomcat9 ...
0
votes
1
answer
5k
views
Rsyslog keeps writing to /var/log/messages and subfolders
I have a rsyslog on CentOS 8 where I configured several systems to subfolders with this part of config
$template RemoteLogs,"/var/log/hosts/%HOSTNAME%/%$YEAR%/%$MONTH%/%$DAY%/syslog.log"
*.* ...
0
votes
2
answers
2k
views
set permission automatically to all subfolder and subfiles in specific folder
I want to set a folder such that anything created within it (directories, files) inherit default permissions and group , by anyuser (root also)
so , the content of this folder will be deleted by my ...
0
votes
2
answers
184
views
How to upload directory from linux
I'm using Centos 7 Server.
I do have specific directory which am looking to automatically upload everything inside it each time the size of it changed in order to save a copy of it all time.
so i ...
0
votes
0
answers
2k
views
Getting "No such file or directory" But it exists
I'm trying to cd into this directory
/lib/modules/2.6.32-573.18.1.el6.x86_64/build
However, it is saying this directory doesn't exist when it clearly does. When I enter the command ls -l /lib/...
0
votes
2
answers
331
views
CentOS server - where should I store my scripts? [closed]
I have CentOS server with WHM and few cPanel accounts. I connect to it using ssh. All cPanel accounts are stored in /home directory.
centos-release-7-2.1511.el7.centos.2.10.x86_64
I also have ...
0
votes
1
answer
5k
views
cronjob error "/bin/sh: /path/to/file: No such file or directory" [duplicate]
i've installed a python software that allows to run javascript on the server
i've put the binary file (jsrunner) in this address
/usr/local/bin/jsrunner
so in the ssh when i try it it works fine
...
1
vote
1
answer
742
views
Apache Redirecting All Sub directory Sub Folders Back to Root Directory [closed]
I have a website stored in a root folder. example.com correctly brings me to the website stored in /var/www/mainsite. I want to put multiple websites in sub folders. so example.com/website1, ..2, ..3 ...
0
votes
1
answer
532
views
389 Directory Server - Multiple Domains
I have multiple business that i would like to authenticate to a single server for SSO. I am using 389 directory server and have already split each domain into it's own respective OU. I would like to ...
-1
votes
1
answer
2k
views
Directory deleted after server reboot [closed]
I created a directory on the dev with the command mkdir /dev/hddbackup on CentOs powered server. After rebooting the server the directory is gone. I use the command ls to see it but it's not there. ...
1
vote
0
answers
1k
views
Directory index full, is this fsck result OK?
I found these in my /var/log/messages:
kernel: EXT4-fs warning (device md2): ext4_dx_add_entry: Directory index full!
kernel: EXT4-fs warning (device md2): ext4_dx_add_entry: Directory index full!
...
1
vote
1
answer
1k
views
centos6 lost '/etc/pki/tls/' folder
I am trying to learn how to install ssl_mod, but with some wrong operation, I lost /etc/pki/tls/ folder. I am trying to yum remove mod_ssl, yum install mod_ssl, but still can not create anything ...
-4
votes
3
answers
9k
views
Find in all sub directories [closed]
I have a directory with many sub directories,
I want to find a file in this directories so I use this command:
find ./ -name test.php
but this command search just in the top level directory,
how ...
1
vote
0
answers
141
views
can't assign permission for a folder to a group only one owner works
I'm trying to change permissions on a folder as root on Centos server using:
chgrp -Rv ftpusers /var/www/html
seems like everything is right in verbose. I have two users in ftpusers group however, ...
6
votes
4
answers
403
views
Frequently accessed files and I/O usage
I'm curious, from a performance standpoint, is there an advantage in storing all files in one directory versus having each file in a separate directory? I'm not concerned about organization.
Also, ...