Compressing Files Into Zip Format

fx-host

Registered
Dec 17, 2003
1
0
151
I understand this isn't exactly a support form but if anyone could help me I'm getting this error when compressing files into zip format using the built in cPanel compressor. Here's the following error.
I understand this isn't exactly a support form but if anyone could help me I'm getting this error when compressing files into zip format using the built in cPanel compressor. Here's the following error.
PHP:
(internal death while parsing ./frontend/x3/filemanager/live_fileop.xml) Tue Aug 11 19:04:14 2009 [30234] error: open3: exec of zip -r /home/fxhost/public_html/player/hsplaylist.xspf.zip hsplaylist.xspf index.html mhsplaylist.xspf failed at /usr/local/cpanel/Cpanel/SafeRun/Errors.pm line 21
	Carp::croak('open3: exec of zip -r /home/fxhost/public_html/player/hsplayli...') called at /usr/lib/perl5/5.6.2/IPC/Open3.pm line 230
	IPC::Open3::_open3('open3', 'Cpanel::SafeRun::Errors', '<&RNULL', 'GLOB(0xb0e4500)', 'GLOB(0xb0e4500)', 'zip', '-r', '/home/fxhost/public_html/player/hsplaylist.xspf.zip', ...) called at /usr/lib/perl5/5.6.2/IPC/Open3.pm line 291
	IPC::Open3::open3('<&RNULL', 'GLOB(0xb0e4500)', 'GLOB(0xb0e4500)', 'zip', '-r', '/home/fxhost/public_html/player/hsplaylist.xspf.zip', 'hsplaylist.xspf', 'index.html', ...) called at /usr/local/cpanel/Cpanel/SafeRun/Errors.pm line 21
	Cpanel::SafeRun::Errors::saferunallerrors('zip', '-r', '/home/fxhost/public_html/player/hsplaylist.xspf.zip', 'hsplaylist.xspf', 'index.html', 'mhsplaylist.xspf') called at /usr/local/cpanel/Cpanel/Fileman.pm line 2251
	Cpanel::Fileman::__ANON__('zip', '-r', '/home/fxhost/public_html/player/hsplaylist.xspf.zip', 'hsplaylist.xspf', 'index.html', 'mhsplaylist.xspf') called at /usr/local/cpanel/Cpanel/Fileman.pm line 2286
	Cpanel::Fileman::_handle_compress('return', 'ARRAY(0x9471054)', '/home/fxhost/public_html/player/hsplaylist.xspf.zip', 'zip') called at /usr/local/cpanel/Cpanel/Fileman.pm line 2875
	Cpanel::Fileman::api2_fileop() called at (eval 9) line 1
	eval '$dataref = [Cpanel::Fileman::api2_fileop(%CFG)];' called at cpanel.pl line 4960
	main::api2_exec('Fileman', 'fileop', 'HASH(0xb0e4488)', 'HASH(0x941a270)') called at cpanel.pl line 1476
	main::cpexectag('
 

thewebhosting

Well-Known Member
May 9, 2008
1,199
1
68
It seems that zip is missing. Try to install zip on your server using the below mentioned command and have a try:

yum install zip