Help Installing Zend Server - cp: missing file operand

Asked by Brian McQueen

When I try to install Zend Server on Ubuntu 10.10, I follow the instructions to download and unpack. When I install (tried with and without sudo), I get the below error. Is this an error with the Zend package on 10.10 or can I do something to fix

brian@Merlin-D630:~/install/ZendServer-RepositoryInstaller-linux$ sudo ./install_zs.sh 5.3

Running this script will perform the following:
* Configure your package manager to use Zend Server repository
* Install Zend Server on your system using your package manager

Hit ENTER to install Zend Server, or Ctrl+C to abort now.

cp: missing file operand
Try `cp --help' for more information.
install: missing destination file operand after `zend-server-php-5.3'
Try `install --help' for more information.
Zend Server Installation was not completed. See output above for detailed error information.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Brian McQueen
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Where have you got this method from?

Revision history for this message
Brian McQueen (brian-lee-mcqueen) said :
#2

I am following the instructions on Zend.com below. I could not get past the install.

From zend.com:
Download the package called "Linux x86 Installer (RPM/DEB Setup Script)" from zend.com - http://www.zend.com/products/server-ce/downloads

Locate and extract the package:
ZendServer-X.X.X-RepositioryInstaller-linux.tar.gz

To change to the directory with the installer scripts run:
cd ZendServer-RepositoryInstaller-linux/

Depending on the PHP version, you want to use, run one of the following commands:

For Zend Server Community Edition with PHP 5.2 Support run:
install_zs.sh 5.2 ce

For Zend Server Community Edition with PHP 5.3 Support run:
install_zs.sh 5.3 ce

Revision history for this message
Simon Déziel (sdeziel) said :
#3

Hi Brian,

Apparently you are missing one invocation argument to the install_zs.sh. It should be "sudo ./install_zs.sh 5.3 ce".

*If this still fails* you can try to edit the install_zs.sh script and add a "-x" at the end of the script invocation line (this should be the first one). Ex :

replace :
#!/bin/bash

with :
#!/bin/bash -x

This will print debug information during the script execution that will help you fix script.

Revision history for this message
Brian McQueen (brian-lee-mcqueen) said :
#4

I tried with the ce argument and received the same error. I changed paths and followed the directions for a manual install. I am up and running now. The install script did not work though.

Revision history for this message
MF (mmuruev) said :
#5

This poblem then not installed aptitude. By default in 10.10 this package not selected. Simple before run zend install script run sudo apt-get install aptitude or more correctly rewrite script for apt-get use.