@Override
	public void start() throws RemoteException {
		// TODO Auto-generated method stub
		// determine the configure file is existed or not

		if (isExistedFile(midwarePath + "conf", confFile) == false) {

			throw new RemoteException("There is no " + confFile);
		}
		//System.out.println(serverName);
		if (isExistedFile(midwarePath + "sbin", serverName) == false) {

			throw new RemoteException("There is no " + serverName);
		}
		// determine the server is running or not
		if (isRunning() == true) {

			throw new RemoteException("The " + serverName
					+ " is running already. ");
		}

		// result:Used to store the result information of the command execution
		ArrayList<String> result = new ArrayList<String>(0);
		// errorResult:Used to store the error information of the command
		// execution
		ArrayList<String> errorResult = new ArrayList<String>(0);

		// start the nginx
		String cmd = midwarePath + "sbin/nginx -c " + midwarePath
				+ "conf/nginx.conf";// + " && cat " + midwarePath+
									// "logs/nginx.pid"
		// String cmd = midwarePath + "sbin/nginx -v " ;//+ " && cat " +
		// midwarePath+ "logs/nginx.pid"

		// System.out.println(cmd);
		this.reauthInfo.execCommand(conncontroller, cmd, result, errorResult);

		if (result.isEmpty()) {
			if (!errorResult.isEmpty()) {

				throw new RemoteException(errorResult.toString());
			} else {

				// System.out.println("The Nginx start successfully");
			}
		} else {

			// System.out.println(result.toString());
		}
	}