Author Topic: No space and remove cwp created backup (user account) via SSH  (Read 8954 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hello guys,
I am in trouble, My server is out of space (google cloud VM instance) and now I am unable to connect to the Linux using SSH, because there is no space. I tried "Connect to serial console" but it show PHP FPM stopping due to no space.

before this happened, CWP was taking backup of accounts (around 6 accounts were  in there).
now I want to run startup command on google cloud to remove all the backup of accounts taken by CWP, so I can get space in the server and start it normally, because all the sites in there are down from 2 days and I am unable to extend partition without SSH, because in google cloud, I had increased the partition size but it is not working.

I want the location of the backup (backup directory) so I can wipe all the backups and free some space.

please specify location of all backup so I can remove it without SSH :(

really I trouble.

thank you.
hasan.

Offline
*
Re: No space and remove cwp created backup (user account) via SSH
« Reply #1 on: April 26, 2020, 03:05:44 PM »
This what I see when I connect through serial console:


Apr 26 15:04:38 cloud-hosting systemd: cwp-phpfpm.service: main process exited, code=exited, status=78/n/a
Apr 26 15:04:38 cloud-hosting php-fpm: [26-Apr-2020 15:04:38] ERROR: FPM initialization failed
Apr 26 15:04:38 cloud-hosting systemd: Unit cwp-phpfpm.service entered failed state.
Apr 26 15:04:38 cloud-hosting systemd: cwp-phpfpm.service failed.
Apr 26 15:04:41 cloud-hosting crond: postdrop: warning: mail_queue_enter: create file maildrop/879396.2445: No space left on device
Apr 26 15:04:41 cloud-hosting crond: postdrop: warning: mail_queue_enter: create file maildrop/908680.2872: No space left on device
Apr 26 15:04:41 cloud-hosting crond: postdrop: warning: mail_queue_enter: create file maildrop/909765.2873: No space left on device
Apr 26 15:04:41 cloud-hosting crond: postdrop: warning: mail_queue_enter: create file maildrop/910321.1974: No space left on device
Apr 26 15:04:41 cloud-hosting crond: postdrop: warning: mail_queue_enter: create file maildrop/911333.1975: No space left on device
Apr 26 15:04:42 cloud-hosting crond: postdrop: warning: mail_queue_enter: create file maildrop/26605.1504: No space left on device
Apr 26 15:04:43 cloud-hosting systemd: cwpsrv.service holdoff time over, scheduling restart.
Apr 26 15:04:43 cloud-hosting systemd: cwpsrv-phpfpm.service holdoff time over, scheduling restart.
Apr 26 15:04:43 cloud-hosting systemd: cwp-phpfpm.service holdoff time over, scheduling restart.
Apr 26 15:04:43 cloud-hosting systemd: Stopped The PHP FastCGI Process Manager.
Apr 26 15:04:43 cloud-hosting systemd: Started The PHP FastCGI Process Manager.
Apr 26 15:04:43 cloud-hosting systemd: Stopped The PHP FastCGI Process Manager.
Apr 26 15:04:43 cloud-hosting systemd: Started The PHP FastCGI Process Manager.
Apr 26 15:04:43 cloud-hosting systemd: Stopped CentOS Web Panel service (daemon).
Apr 26 15:04:43 cloud-hosting systemd: cwpsrv.service failed to run 'start-pre' task: No space left on device
Apr 26 15:04:43 cloud-hosting systemd: Failed to start CentOS Web Panel service (daemon).
Apr 26 15:04:43 cloud-hosting systemd: Unit cwpsrv.service entered failed state.
Apr 26 15:04:43 cloud-hosting systemd: cwpsrv.service failed.
Apr 26 15:04:43 cloud-hosting php-fpm: [26-Apr-2020 15:04:43] ERROR: unable to bind listening socket for address '/usr/local/cwp/php71/var/sockets/cwpsrv.sock': No space left on device (28)
Apr 26 15:04:43 cloud-hosting systemd: cwpsrv-phpfpm.service: main process exited, code=exited, status=78/n/a
Apr 26 15:04:43 cloud-hosting php-fpm: [26-Apr-2020 15:04:43] ERROR: FPM initialization failed
Apr 26 15:04:43 cloud-hosting systemd: Unit cwpsrv-phpfpm.service entered failed state.
Apr 26 15:04:43 cloud-hosting systemd: cwpsrv-phpfpm.service failed.
Apr 26 15:04:43 cloud-hosting php-fpm: [26-Apr-2020 15:04:43] ERROR: unable to bind listening socket for address '/usr/local/cwp/php71/var/sockets/cwpsvc.sock': No space left on device (28)
Apr 26 15:04:43 cloud-hosting systemd: cwp-phpfpm.service: main process exited, code=exited, status=78/n/a
Apr 26 15:04:43 cloud-hosting php-fpm: [26-Apr-2020 15:04:43] ERROR: FPM initialization failed
Apr 26 15:04:43 cloud-hosting systemd: Unit cwp-phpfpm.service entered failed state.
Apr 26 15:04:43 cloud-hosting systemd: cwp-phpfpm.service failed.
Apr 26 15:04:47 cloud-hosting crond: postdrop: warning: mail_queue_enter: create file maildrop/204700.3175: No space left on device

Offline
****
Re: No space and remove cwp created backup (user account) via SSH
« Reply #2 on: April 26, 2020, 03:45:49 PM »
i'd suggest removing backups from /backup (Or wherever you store them)

 du -d 1 -h /

should tell you where all of your space is being taken up
« Last Edit: April 26, 2020, 03:50:06 PM by rcschaff »
Google Hangouts:  rcschaff82@gmail.com

Offline
*
Re: No space and remove cwp created backup (user account) via SSH
« Reply #3 on: April 26, 2020, 10:38:22 PM »
Thanks for reply.

I am unable to connect via SSH.
last time when I check disk space, backup was 7Gb and I need full path to the backup folder and I didn't changed the default path of the backup.

I need full path to the backup folder so I can use command like.

rm /path to backup/ *

so all backup files deleted and free some space.

can you check your CWP and provide me full path of backup folder?

I am using centos 7.

thank you.
hasan.

Offline
*
Re: No space and remove cwp created backup (user account) via SSH
« Reply #4 on: April 26, 2020, 11:30:58 PM »
Default backup folder on cwp centos7 is /backup .

You should not delete "/backup/" folder, though. Maybe rm -f /backup/* .

Offline
*
Re: No space and remove cwp created backup (user account) via SSH
« Reply #5 on: July 30, 2020, 06:41:41 PM »
CWP still have one more BUGS and irrationality in OLD and NEW Backup systems.
Please check my new post:

https://forum.centos-webpanel.com/index.php?topic=9378.0