Control Web Panel
WebPanel => Updates => Topic started by: yeknafar on July 23, 2018, 09:29:02 AM
-
Hello
Thanks for your attention
I culdn't enter my CWP panel and used this command:
yum reinstall cwpsrv cwpphp
After that the capacity of my hard increased about 2 Gigs.
What does this command do exactly?
When can I use it?
Can it be dangerous?
Why I have about 2 gig files now?
Thanks
-
yum info cwpsrv
Installed Packages
Name : cwpsrv
Arch : x86_64
Version : 1.12.1
Release : 5.3
Size : 1.5 M
Repo : installed
From repo : cwp
Summary : CWP daemon
URL : http://centos-webpanel.com
License : Proprietary License
Description : This package provides cwpsrv service
yum info cwp-php
Installed Packages
Name : cwp-php
Arch : x86_64
Version : 5.6.30
Release : 1
Size : 33 M
Repo : installed
From repo : cwp
Summary : PHP 5.6 for CWP
URL : http://centos-webpanel.com/
License : Proprietary License
Description : PHP 5.6 For CWP
Available Packages
Name : cwp-php
Arch : x86_64
Version : 5.6.37
Release : 1
Size : 8.1 M
Repo : cwp/x86_64
Summary : PHP 5.6 for CWP
URL : http://centos-webpanel.com/
License : Proprietary License
Description : PHP 5.6 For CWP
yum info cwpphp
Installed Packages
Name : cwpphp
Arch : x86_64
Version : 7.0.24
Release : 2
Size : 54 M
Repo : installed
From repo : cwp
Summary : PHP-FPM for cwpsrv
URL : http://centos-webpanel.com/
License : Proprietary License
Description : PHP-FPM Daemon for cwpsrv
So one is cwp server to access control panel and other functions. Second is php for centos web panel. Third is php-fpm for cwp server
You need to check what is taking space.
-
The size of all of them are like what you sent here. Not more than 54 M.
-
this is probably logs, try to check it
sh /scripts/disk_check
-
Thanks
As it seems it's not the log.
I do not know how can I list files and find it.
71M /var/log/
83M /usr/local/apache/logs/
91M /usr/local/cwpsrv/logs/
11M /tmp
1.7M /root
546M /var/lib/mysql/
-
why don't you use disk check tool in cwp you have a link to it in admin area at top od the disk details info
or you can use this example
http://IP:2030/admin/index.php?module=disk_details
-
You are rith. It was not loaded for me before.
Now it says:
/
11G
.channels
36K
.well-known
16K
backup
3.7G
boot
202M
etc
40M
home
2.3G
lost+found
16K
media
4.0K
mnt
4.0K
opt
4.0K
root
1.7M
share
84K
srv
4.0K
tmp
11M
usr
2.9G
var
1.5G
What should I remove in Var and usr?
Thanks
-
you need to go deeper per folder till the last folder of the big disk usage and then list that folder like this
ls -lahS /path/to/folder
-
Hello
What does "yum reinstall cwpsrv cwpphp" do?
Does it reinstall CWP?
If yes what is its difference with
cd /usr/local/src
wget http://centos-webpanel.com/cwp-el7-latest
sh cwp-el7-latest
Thanks
-
Hello
What does "yum reinstall cwpsrv cwpphp" do?
Does it reinstall CWP?
If yes what is its difference with
cd /usr/local/src
wget http://centos-webpanel.com/cwp-el7-latest
sh cwp-el7-latest
Thanks
this what you mention is for clean server installation only
cwpsrv and cwpphp are services that run cwp