Mapepire-IBMi / mapepire-server

Server-side support for Code for IBM i
GNU General Public License v3.0
24 stars 8 forks source link

Implementing Mapepire-server on AIX with Python Client on AIX? #78

Open kraudy opened 2 days ago

kraudy commented 2 days ago

The server i'm using does not have the mapepire repo on the repo.d directory and i don't have authorization to create it. So i need a workaround.

I can not do a wget download from github because it is blocked.

A little check on pub400 showed that mapepire it is indeed on an ibmi-base repo. image

So, now my move is to go to the repo (https://public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo-base-7.3/noarch/), download mapepire-server and the upload it AIX

After that, i'll ask someone with authority to run the ` yum install ./mapepire-server-x.x.noarch.rpm

is there another dependency that i need to add or something that i'm missing so that i only ask once for the favor?

Thanks in advance.

Note: i know the docs (https://mapepire-ibmi.github.io/guides/sysadmin/) use Service Commander for the manual installation but i can not use that route unless i also manually install it

kraudy commented 1 day ago

Well, i jumped the yum part and ran the jar directly. Now, i'm trying to implement the Python client, but i get this error

image

this is the server output image

Any advice?

jonnyz32 commented 1 day ago

It looks like the server was started successfully, but it can't find the value for hostname. Did you specify all the variables in your .ini file? When you run the client with a debugger, is the creds variable containing the right values? @ajshedivy

kraudy commented 20 hours ago

@jonnyz32 This is the .ini file

image

This the variables print image

kraudy commented 20 hours ago

I got it to work

image

This is how the ini file should look image