gcorder Posted December 5, 2012 Share Posted December 5, 2012 I am reinstalling JR on a computer that had the server software uninstalled. I downloaded JR server cp 4.7.0 and iReport 5.0. iReport 5.0 installed fine but I am getting a error during installation for the server. What can I do to get past this? I don't see an existing tomcat running as a service. I have chosen to install the bundled version of tomcat and postgresql during install. Log started 12/05/2012 at 16:29:03Preferred installation mode : win32Trying to init installer in mode win32Mode win32 successfully initializedPreparing to InstallPreparing to Install[16:29:33] Log: PostgreSQL version 9Creating directory C:Program Filesjasperreports-server-cp-4.7.0Creating directory C:Program Filesjasperreports-server-cp-4.7.0postgresqlCreating directory C:Program Filesjasperreports-server-cp-4.7.0postgresqllibCreating directory C:Program Filesjasperreports-server-cp-4.7.0postgresqllibpluginsCreating directory C:Program Filesjasperreports-server-cp-4.7.0postgresqlStackBuilderCreating directory C:Program Filesjasperreports-server-cp-4.7.0postgresqlStackBuildershareCreating directory C:Program Filesjasperreports-server-cp-4.7.0postgresqlStackBuildersharei18nCreating directory C:Program Filesjasperreports-server-cp-4.7.0postgresqlStackBuildersharei18nzh_CNCreating directory C:Program Filesjasperreports-server-cp-4.7.0postgresqlStackBuildersharei18nfr_FRCreating directory C:Program Filesjasperreports-server-cp-4.7.0postgresqlStackBuildersharei18nsv_SECreating directory C:Program Filesjasperreports-server-cp-4.7.0postgresqlStackBuildersharei18ntr_TRCreating directory C:Program Filesjasperreports-server-cp-4.7.0postgresqlStackBuildersharei18nja_JPCreating directory C:Program Filesjasperreports-server-cp-4.7.0postgresqlStackBuildersharei18nde_DECreating directory C:Program Filesjasperreports-server-cp-4.7.0postgresqlStackBuildersharei18nru_RUCreating directory C:Program Filesjasperreports-server-cp-4.7.0postgresqlshareCreating directory C:Program Filesjasperreports-server-cp-4.7.0postgresqlsharepljavaCreating directory C:Program Filesjasperreports-server-cp-4.7.0postgresqlsharetsearch_data . . . . . . . ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ break ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Unpacking C:Program Filesjasperreports-server-cp-4.7.0postgresqlbinecpg.exe Unpacking C:Program Filesjasperreports-server-cp-4.7.0postgresqlbinpgAdmin3.exe Unpacking C:Program Filesjasperreports-server-cp-4.7.0postgresqlbinpg_dump.exe Unpacking C:Program Filesjasperreports-server-cp-4.7.0postgresqlbinstackbuilder.exe Unpacking C:Program Filesjasperreports-server-cp-4.7.0postgresqlbinmsvcr90.dll [16:31:12] Creating C:Program Filesjasperreports-server-cp-4.7.0/postgresql/data [16:31:12] C:Program Filesjasperreports-server-cp-4.7.0/postgresql/data OK [16:31:12] Before running cacls [16:31:13] postgres_grantedPermissions = [16:31:13] postgres_deniedPermissions = [16:31:13] Running cacls Executing cacls "C:Program Filesjasperreports-server-cp-4.7.0/postgresql/data" /e /c /t /p gcorder:c Script exit code: 0 Script output: processed dir: C:Program Filesjasperreports-server-cp-4.7.0postgresqldata Script stderr: [16:31:15] cacls "C:Program Filesjasperreports-server-cp-4.7.0/postgresql/data" /e /c /t /p gcorder:c" [16:31:15] postgres_grantedPermissions = delete file_append_data file_execute file_generic_execute file_generic_read file_generic_write file_read_attributes file_read_data file_read_ea file_write_attributes file_write_data file_write_ea read_control standard_rights_execute standard_rights_read standard_rights_write synchronize [16:31:15] postgres_deniedPermissions = [16:31:15] Running setWindowsACL [16:31:15] postgres_grantedPermissions = delete file_append_data file_execute file_generic_execute file_generic_read file_generic_write file_read_attributes file_read_data file_read_ea file_write_attributes file_write_data file_write_ea read_control standard_rights_execute standard_rights_read standard_rights_write synchronize [16:31:15] postgres_deniedPermissions = [16:31:15] Initializing database Executing initdb.exe -U postgres -E UTF8 -D C:/PROGRA~1/JASPER~1.0/POSTGR~1/data Script exit code: 1 Script output: Script stderr: Program ended with an error exit code Error running initdb.exe -U postgres -E UTF8 -D C:/PROGRA~1/JASPER~1.0/POSTGR~1/data : Program ended with an error exit code Executing sc stop Script exit code: 1639 Script output: DESCRIPTION: Sends a STOP control request to a service. USAGE: sc stop [service name] = Optional reason code number for service stop formed with the following elements in the format: Flag:Major reason:Minor reason [E.g., 1:2:8 means Hardware: Disk (Unplanned)] Flag Major reason ------------------ --------------------------- 1 - Unplanned 1 - Other 2 - Custom 2 - Hardware 4 - Planned 3 - Operating System 4 - Software 5 - Application 64-255 - Custom Minor reason ----------------------------------- 1 - Other 2 - Maintenance 3 - Installation 4 - Upgrade 5 - Reconfiguration 6 - Hung 7 - Unstable 8 - Disk 9 - Network Card 10 - Environment 11 - Hardware Driver 12 - Other Driver 13 - Service Pack 14 - Software Update 15 - Security Fix 16 - Security 17 - Network Connectivity 18 - WMI 19 - Service Pack Uninstall 20 - Software Update Uninstall 22 - Security Fix Uninstall 23 - MMC 256-65535 - Custom = Optional comment for the reason above (127 characters maximum) Script stderr: Program ended with an error exit code Error running sc stop : Program ended with an error exit code Executing sc delete Script exit code: 1639 Script output: DESCRIPTION: Deletes a service entry from the registry. If the service is running, or another process has an open handle to the service, the service is simply marked for deletion. USAGE: sc delete [service name] Script stderr: Program ended with an error exit code Error running sc delete : Program ended with an error exit code Executing sc stop jasperreportsTomcat Script exit code: 1060 Script output: [sC] OpenService FAILED 1060: The specified service does not exist as an installed service. Script stderr: Program ended with an error exit code Error running sc stop jasperreportsTomcat : Program ended with an error exit code Executing sc delete jasperreportsTomcat Script exit code: 1060 Script output: [sC] OpenService FAILED 1060: The specified service does not exist as an installed service. Script stderr: Program ended with an error exit code Error running sc delete jasperreportsTomcat : Program ended with an error exit code Link to comment Share on other sites More sharing options...
552726 Posted July 18, 2013 Share Posted July 18, 2013 I have this question, too.If you have resolved this, can you tell me how to do? Thanks! Link to comment Share on other sites More sharing options...
isaac.aronov Posted August 3, 2013 Share Posted August 3, 2013 I had an identical issue. The way to work around that was: 1. Either "Run as Administrator" when you invoke the setup2. If that doesn't work, upon the failure of the installation, the folder in the ProgramFiles will already have been created. It will have an Installation.log file. Delete that file, and then add "Everyone" with Full Rights to the jasperreports-server-cp-5.2.0 folder. Re-run your setup, and you'll be fine.The core of the issue is that postgreSQL is trying to invoke NTFS permissions right onto the folder itself, and if it fails for some reason - the whole install fails. By granting full rights to "Everyone", you're avoiding that problem. Of course - be aware of possible security implications of running through such course, and adjust your strategy accordingly.Good luck! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now