If you executed the commands on the /root folder , that shouldn't be a problem.
However if it was executed on the "/" i would also suggest re-installing the operating system.
Type: Posts; User: InterServed; Keyword(s):
If you executed the commands on the /root folder , that shouldn't be a problem.
However if it was executed on the "/" i would also suggest re-installing the operating system.
Isn't that what you wanted ?
Try to go inside the directory that you wish to search first , like " cd /home/website/public_html/ "
Did a small test with the command i provided you and for me it seems like it should do what you asked for:
-rw-r--r-- 1 root root 6 May 19 14:30 1.asp
-rw-r--r-- 1 root root 6 May 19...
Probably my wrong understanding on what your trying to accomplish.
If you wish the exclude the files that contain your pattern , and you still wish to grep them , that means there should be a...
Hello,
How about this:
cd into the folder you mention having the .asp files.
du -ha | grep -i -o "\./.*asp" | xargs grep -i -n "$1" |grep -v "program by x team"
It should show only the...
You are more than welcome . Glad i could help.
Hello,
You may try the following:
Take a backup of the original file:
cp -a /usr/lib/mailman/Mailman/mm_cfg.py /usr/lib/mailman/Mailman/mm_cfg.py.ori
Open the file with your favorite...
We had the same question and his is a response from cPanel on the Edge-Users list that we received:
"With the new jailshell changes in 11.38, accounts with the shell set to
jailshell or noshell...
You can also use the API calls to facilitate mass enable/disable until this options will be available directly on the WHM interface.
Constructs do exist for enabling or disabling all users within...
Hello,
The call for the new backup system originates at /usr/local/cpanel/bin/backup
If i were to guess , based on cPanel history , i would say between 1 and 2 weeks top.
Hello,
Try this:
cd /usr/pgsql-9.2/bin/; for f in *; do echo $f; [ -e /usr/bin/$f ] && mv /usr/bin/$f /usr/bin/$f.8; ln -s $(pwd)/$f /usr/bin/$f; done
cd /var/lib/pgsql; ln -s 9.2/backups;...
Maybe something like this then:
ls /usr/local/apache/logs/{access_log,error_log} /usr/local/apache/domlogs/*|xargs tail -f
If i understood this properly , and you are looking to grep all logs , then you may try the following:
egrep -R "search string" /usr/local/apache/logs/{access_log,error_log}...
It depends on what you are trying to see. If your looking to see some better apache server status , then you could try the following:
links --dump 1 http://localhost:80/whm-server-status|grep...
Did more tests:
- Tested upgrade from Apache 2.2 to 2.4 (works without problems)
- Tested upgrade to the latest not-released cPanel 11.37 (works without problems)
From the looks of it , i can notice there's no more pdflushd or kjournald problems. Could be Apache and/or MySQL.
If you executed the command i mentioned then there's no need to restart the server or do any other commands.
Hi,
If you wish , you can test the fallowing changes:
edit: /etc/sysctl.conf
add the following:
vm.dirty_background_ratio = 5
vm.dirty_ratio = 15
vm.dirty_expire_centisecs = 500...
Hi,
Is this a virtual machine or no virtualization layer involved ?
Please show the output of the following:
cat /proc/sys/vm/dirty_background_ratio
cat /proc/sys/vm/dirty_ratio
cat...
Apparently I'm out of votes and i cannot vote it yet. Thanks for creating the feature request !
You're more than welcome. Hopefully cPanel will also look into this , carry more tests and maybe offer us this feature.
I haven't experience any problems so far with the openssl upgrade. I will keep...
+1 for this , hope they will take action really fast and not the common slow-style.
Hello again,
As promised , i have returned with results of the tests carried so far:
1) Fresh cPanel installed (11.36.0.18) on CentOS 6.4
2) Install required repository/tools (links are for...