What does "yum reinstall cwpsrv cwpphp" do?

Started by yeknafar, July 23, 2018, 09:29:02 AM

Previous topic - Next topic

yeknafar

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
I love CWP

bullten

#1
yum info cwpsrv

QuoteInstalled 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

QuoteInstalled 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

QuoteInstalled 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.

yeknafar

The size of all of them are like what you sent here. Not more than 54 M.
I love CWP

studio4host

this is probably logs, try to check it
sh /scripts/disk_check
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

yeknafar

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/
I love CWP

studio4host

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
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

yeknafar

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
I love CWP

studio4host

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
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

yeknafar

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
I love CWP

studio4host

Quote from: 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

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
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.