Control Web Panel

WebPanel => Updates => Topic started by: yeknafar on July 23, 2018, 09:29:02 AM

Title: What does "yum reinstall cwpsrv cwpphp" do?
Post 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:

Code: [Select]
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
Title: Re: What does "yum reinstall cwpsrv cwpphp" do?
Post by: bullten on July 23, 2018, 09:43:54 AM
Code: [Select]
yum info cwpsrv
Quote
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

Code: [Select]
yum info cwp-php
Quote
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

Code: [Select]
yum info cwpphp
Quote
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.
Title: Re: What does "yum reinstall cwpsrv cwpphp" do?
Post by: yeknafar on July 25, 2018, 01:58:00 PM
The size of all of them are like what you sent here. Not more than 54 M.
Title: Re: What does "yum reinstall cwpsrv cwpphp" do?
Post by: studio4host on July 26, 2018, 06:19:38 AM
this is probably logs, try to check it
sh /scripts/disk_check
Title: Re: What does "yum reinstall cwpsrv cwpphp" do?
Post by: yeknafar on July 26, 2018, 10:43:55 AM
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/
Title: Re: What does "yum reinstall cwpsrv cwpphp" do?
Post by: studio4host on July 26, 2018, 10:47:09 AM
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
Title: Re: What does "yum reinstall cwpsrv cwpphp" do?
Post by: yeknafar on July 26, 2018, 10:52:11 AM
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
Title: Re: What does "yum reinstall cwpsrv cwpphp" do?
Post by: studio4host on July 27, 2018, 11:48:19 AM
you need to go deeper per folder till the last folder of the big disk usage and then list that folder like this

Code: [Select]
ls -lahS /path/to/folder
Title: Re: What does "yum reinstall cwpsrv cwpphp" do?
Post by: yeknafar on January 12, 2019, 08:43:30 PM
Hello

What does "yum reinstall cwpsrv cwpphp" do?

Does it reinstall CWP?

If yes what is its difference with

Code: [Select]
cd /usr/local/src
wget http://centos-webpanel.com/cwp-el7-latest
sh cwp-el7-latest

Thanks
Title: Re: What does "yum reinstall cwpsrv cwpphp" do?
Post by: studio4host on January 14, 2019, 08:25:20 AM
Hello

What does "yum reinstall cwpsrv cwpphp" do?

Does it reinstall CWP?

If yes what is its difference with

Code: [Select]
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