"su: cannot open session: Module is unknown" error when starting JasperServer 8.0.x Community Edition - jasperserver

I'm having some issues after installing JasperServer Community Edition 8.0.
When I try to run ctlscript.sh start, I get the following error message:
su: cannot open session: Module is unknown
<INSTALL_PATH>/postgresql/scripts/ctl.sh : postgresql  could not be started
and the PostgreSQL included in the installation does not start.
I tried debugging the startup code, and it seems that the issue is in file <INSTALL_PATH>/postgresql/scripts/ctl.sh, at line 63:
su postgres -c "$POSTGRESQL_START"
Just to let you have the complete context, I already have a Jasper Server at version 7.8 running on this server, using the same postgres user as the new 8.0 one. I'm not sure if it's a session issue.
Could you please help me figure out what's the problem?
Thanks a lot
Edit: I forgot to mention that the server is running RedHat 8.6

Related

Connection to server at port 5436 failed running on docker

I am trying to install pgAdmin4 in my windows machine. I am getting error message of connection to server failed.
I found a similar kind of issue here but the solution doesn't work. I have been struggling with the issue and didn't found any working solution. Earlier, I have PostgreSql 15 version installed but the 15 version was not compatible with yii2 project of mine. So, I uninstalled the PostgreSQL 15 version and reinstalled PostgreSQL 13. After reinstalling I start getting this error.
I tried to restart the services of postgresql from Task Manager -> Services but didn't worked.
Can anyone suggest me what I am doing wrong or what can I do get this fixed.
Many Thanks.

Postgres sql warning problem running post install step in windows 10 home edition?

When I tried to install Postgres SQL(11/12/13) in my windows 10 home edition when it almost comes near to complete installation showing this error:
Problem Running Post-Install Step. Installation May Not Complete Correctly failed to start the database server.
enter image description here
I googled about this issue but no luck, some of post show the create net postgres user but in windows 10 home edition local user/group options not available.
please help on this issue?

PostgreSQL, WAMP, Laravel 5.5 - "php artisan migrate" throwing "driver not found" exception

I'm getting the "Driver not found" PDO exception when trying to connect to PostgreSQL DB and I can't seem to figure out what's happening. Here are system specs:
WampServer Version 3.0.3 64bit
PHP 7.1.10
Apache 2.4.9
Laravel 5.5
I downloaded PosgtreSQL 10 (Windows x86-64) from here - EnterpriseDB
Here are all the relevant screenshots:
extension_loaded('pgsql')
returns true
The only discrepancy that I see is that I downloaded PostgreSQL 10, and PHP Info says PostgreSQL(libpq) Version is 9.6.2. Could that be an issue?
EDIT:
I replaced PostgreSQL 10 with 9.6.5 (which is the only available 9.6 version), and it didn't fix the issue.
EDIT 2:
$dbh = new PDO("pgsql:dbname=laravel_admin_api;host=127.0.0.1", "postgres", "admin");
echo $dbh ? "connected" : "failed";
returns connected. So it's gotta be a Laravel issue?
EDIT 3:
Ok, so the connection to the database works, I created a table and inserted a row manually through pgAdmin, and then called
\App\User::all()->toArray()
and that worked. So it's actually php artisan migrate that's having issues, and throwing the could not find driver exception. Still stumped on that one.
I was facing the same issue and I tried couple of solutions through the internet. None of those worked for me and finally I could get it to work by installing Apache 2.4 and php 7.2.7 separately instead of using Xamp or Wamp on windows. Sharing most important steps so that it might be helpful for anyone out there.
Install Apache as per https://www.sitepoint.com/how-to-install-apache-on-windows/. In my case I installed Apache 2.4
Install PHP as an Apache module - https://www.sitepoint.com/how-to-install-php-on-windows/ (I downloaded PHP thread safe version for Windows 64)
If you get both of above to work properly. Install Laravel in the htdocs and try php artisan migrate command.

PIA_INSTALL_FAIL during PeopleSoft Server Administration

I'm following the online installation example (https://www.youtube.com/watch?v=7ElSGLkprkY) to install PeopleSoft with PeopleTools on Windows 7 with SQLServer 2008 R2.
My PS and PT installation version differs from the online videos since I'm using most recent available versions:
PeopleSoft HM 9.2
PeopleTools 8.55
Tuxedo 12.1.3.0.0 with VS2012
WebLogic 12.1.3.0.0 64bit
JDK 7u55 x64
SQL Server 2008 R2
I could install each element with no error, excepted one VIEW during HC database creation (PS_EP_APPRMOB_PNDG), but I could re-create the view manually by slightly modifying the SQL query.
Now I'm trying to configure the Web (PIA) Server and I encounter an error while creating the domain. The piainstall_HC.log file contains following:
Tue Sep 20 09:48:32 CEST 2016:Starting PIA installation...
PS_HOME: c:\PT8.55
Install Action : CREATE_NEW_DOMAIN
Creating Domain...
Deploying Web Applications...
Deploying WebLogic Extension files...
Deploying PeopleSoft Site files...
Deploying PeopleSoft Site Doc files...
Completed.
PS_CFG_HOME: C:\PS_CFG_HOME
PIA_INSTALL_FAIL
After intensive googling, I found that some other people got a similar issue which was caused by a wrong version of the JDK: the JRockit jvm was required.
Of course I tried to use JRockit JDK 64bit, but I still get the same error. I also tried several other oracle JDK versions, among others the JDK 7u55 x64, which is provided with PeopleTools installation elements.
Unfortunately, I definitively get the same error and cannot find any other logfile which could give more information on the root cause.
Did someone experienced the same issue and could fix it ?
Thanks for help
I finally could fix the issue.
It seems that my error was to install the wrong weblogic version: originally, I installed weblogic by using the "setup_fmw_12.1.3.0.0_ohs_win64.exe" installer which was provided with PeopleTools.
It appears that the other one (fmw_12.1.3.0.0_wls.jar) was expected. After installing this version (with "Coherence"), the domain could be created successfully.

PostgreSQL ERROR: Could not load library postgis-2.1.dll

I'm using pgAdmin III to connect to my PostgreSQL database (Postgres) and I'm trying to add an extension to the database which is Postgis.
Even though the "missing" file is in the folder the following message error shows:
"ERROR: Could not load library "C:/Program Files/PostGreSQL/9.4/lib/postgis-2.1.dll": unknown error 193."
Can anyone help me?
The windows version is not mentioned. With win 7 check wether postgis is installed. Remove it. From http://download.osgeo.org/postgis/windows/ get the right postgis installer and install new, then start in pgadmin with 'create extension postgis;'.
For me, the error "unknown error 193" occured since I installed a 64-bit version of PostgreSQL but tried to use the 32-bit version of PostGIS (somewhere I read that the 64-bit version would not work properly, but that was in 2011 and now it does).
For me it finally worked when I:
1. removed the existing PostGIS installation (Control Panel -> Programs)
2. shutdown the PostgreSQL service
3. installed the 64-bit version of PostGIS (2.1.3, Postgre in 9.3)
4. restarted the PostgreSQL service
5. installed the extension via PgAdmin III