Author Topic: What does "yum reinstall cwpsrv cwpphp" do?  (Read 588 times)

0 Members and 1 Guest are viewing this topic.

Offline
**
What does "yum reinstall cwpsrv cwpphp" do?
« 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
I love CWP

Offline
****
Re: What does "yum reinstall cwpsrv cwpphp" do?
« Reply #1 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.
« Last Edit: July 23, 2018, 09:45:29 AM by bullten »

Offline
**
Re: What does "yum reinstall cwpsrv cwpphp" do?
« Reply #2 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.
I love CWP

Offline
*
Re: What does "yum reinstall cwpsrv cwpphp" do?
« Reply #3 on: July 26, 2018, 06:19:38 AM »
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.

Offline
**
Re: What does "yum reinstall cwpsrv cwpphp" do?
« Reply #4 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/
I love CWP

Offline
*
Re: What does "yum reinstall cwpsrv cwpphp" do?
« Reply #5 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
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.

Offline
**
Re: What does "yum reinstall cwpsrv cwpphp" do?
« Reply #6 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
I love CWP

Offline
*
Re: What does "yum reinstall cwpsrv cwpphp" do?
« Reply #7 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
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.