Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install OAI EPC #13

Open
JorgeVBZ opened this issue Sep 16, 2020 · 9 comments
Open

Install OAI EPC #13

JorgeVBZ opened this issue Sep 16, 2020 · 9 comments

Comments

@JorgeVBZ
Copy link

Hi, I am trying to install the OAI EPC. I was following the OAI Tutorial in Youtube few days ago but due to the change of repositories and license, I don't find where is the executable ./build_cassandra. How can install the HSS now? Is there any script that does it? Thanks in advance,

Regards!

@mwlock
Copy link

mwlock commented Sep 19, 2020

Having the same issue here, I have manually tried to install cassandra but am running into errors...

@JorgeVBZ
Copy link
Author

Hi @matthew-william-lock ,
I fixxed this issue by installing cassandra manually. In this link you can find info about installing the correct version of cassandra... Please tell me if it work properly.

Now I have problems running the elements...

Thanks!

@mwlock
Copy link

mwlock commented Sep 19, 2020

Hi @JorgeVBZ

I have also followed that link to install cassandra and the installation was successful.

I am now following this tutorial and am running into an issue on this step:

for K in "${!HSS_CONF[@]}"; do egrep -lRZ "$K" $PREFIX | xargs -0 -l sed -i -e "s|$K|${HSS_CONF[$K]}|g";done

@JorgeVBZ
Copy link
Author

Hi @matthew-william-lock ,

What is the issue?

Thanks!

@mwlock
Copy link

mwlock commented Sep 19, 2020

Hi @JorgeVBZ

I get the following error:

sed: no input files
sed: no input files
sed: no input files
sed: no input files
sed: no input files
sed: no input files

@JorgeVBZ
Copy link
Author

Hi @matthew-william-lock,

Review if you write correctly the commands, I made a mistake in PREFIX='usr/local/etc/oai' without the first "/".
Repeat the definition of PREFIX variable and run all the commands again and try if it works.

Thanks!

@mwlock
Copy link

mwlock commented Sep 20, 2020

Hi @JorgeVBZ

I have retried everything and now have the followed

Generating a 1024 bit RSA private key
.....................................................++++++
.....................................................................++++++
writing new private key to 'cakey.pem'
-----
Subject Attribute usr/local/etc/oai/C has no known NID, skipped
Generating RSA private key, 1024 bit long modulus
................++++++
.....................++++++
e is 65537 (0x10001)
Subject Attribute usr/local/etc/oai/C has no known NID, skipped
Using configuration from /usr/lib/ssl/openssl.cnf
Check that the request matches the signature
Signature ok
The mandatory countryName field was missing
'hss.cert.pem' -> '/usr/local/etc/oai/freeDiameter/hss.cert.pem'
'cacert.pem' -> '/usr/local/etc/oai/freeDiameter/cacert.pem'
'hss.key.pem' -> '/usr/local/etc/oai/freeDiameter/hss.key.pem'

when running

../src/hss_rel14/bin/make_certs.sh hss ${HSS_CONF[@REALM]} $PREFIX 

@JorgeVBZ
Copy link
Author

Ok, now It works!
My problem now is the oai-hss script doesn't exists in the new directory structure... :(
How can I run that script to run the HSS? That step appears on minute 2:22 in this video tutorial on YouTube about running OAI-EPC.

Thanks!

@dreibh
Copy link
Collaborator

dreibh commented Oct 23, 2020

Hi, I am trying to install the OAI EPC. I was following the OAI Tutorial in Youtube few days ago but due to the change of repositories and license, I don't find where is the executable ./build_cassandra. How can install the HSS now? Is there any script that does it? Thanks in advance,

Regards!

I had the same issues with the Cassandra build and a lack of documentation about how to do this with the latest version of the HSS. So, I created a pull request adding the missing Cassandra build files again: #18 -> #17 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants