By: Jyoti raj Jena user 18 May 2022 at 7:02 a.m. CDT

10 Responses
Jyoti raj Jena gravatar
Hello Team, I have installed **Gluu server 4.4 version in Ubantu 18** and also followed the steps provided for installation in the installation guide. As per my requirement i only selected the oxd-server and Remote Mysql for the installation. After the installation we got the pop-up that "Gluu Server installation Successful! point your browser to **https://abcd.gluu.jdcndjsvn"**. But when i tried to open the website link i am getting **"503. That's an error. The Service you requested is not available at this time. Please try later again**." Kindly help me out for solving this error & also rectify me, if i have left something while installation. Thanks & Regards, Jyoti

By Mohit Mali staff 18 May 2022 at 7:06 a.m. CDT

Mohit Mali gravatar
hi Jyoti raj Jena, please check the identity service is running or not. try ``` systemctl status identity ``` and also please send the oxtrust log files and server configuration. Thanks and Regards Mohit Mali.

By Jyoti raj Jena user 18 May 2022 at 8:20 a.m. CDT

Jyoti raj Jena gravatar
Hello Mohit, When i am trying to run **systemctl status identity**command, i am getting **Unit identity.service could not be found.** but the unit identity.service is present in that directory. Here is the oxtrus.log:- root@gluu-oxd-server:/opt/gluu-server/opt/gluu/jetty/identity/logs# tail -f oxtrust.log 2022-05-18 10:54:37,644 DEBUG [main] [org.gluu.oxtrust.service.AppInitializer] (AppInitializer.java:184) - Initializing application services 2022-05-18 10:54:37,648 INFO [main] [org.gluu.oxtrust.util.BuildVersionService] (BuildVersionService.java:80) - Root element :beans 2022-05-18 10:54:37,649 INFO [main] [org.gluu.oxtrust.service.AppInitializer] (AppInitializer.java:261) - Build date 2022-04-29 11:15. Code revision 0acd2ccdd2fa2e46ffe927eb06fcf36825fe3543 on 2022-04-29T09:58:52+0000. Build 704 2022-05-18 10:54:37,654 INFO [main] [org.gluu.service.config.ConfigurationFactory] (ConfigurationFactory.java:127) - Creating oxTrustConfiguration 2022-05-18 10:54:37,702 DEBUG [main] [org.gluu.service.config.ConfigurationFactory] (ConfigurationFactory.java:273) - ########## fileName = /etc/gluu/conf/gluu.properties 2022-05-18 10:54:37,710 DEBUG [main] [org.gluu.service.config.ConfigurationFactory] (ConfigurationFactory.java:274) - ########## oxtrust_ConfigurationEntryDN = ou=oxtrust,ou=configuration,o=gluu 2022-05-18 10:54:37,727 DEBUG [main] [org.gluu.service.config.ConfigurationFactory] (ConfigurationFactory.java:273) - ########## fileName = /etc/gluu/conf/salt 2022-05-18 10:54:37,728 DEBUG [main] [org.gluu.service.config.ConfigurationFactory] (ConfigurationFactory.java:274) - ########## oxtrust_ConfigurationEntryDN = null 2022-05-18 10:54:37,728 INFO [main] [org.gluu.service.config.ConfigurationFactory] (ConfigurationFactory.java:289) - Loading configuration from 'sql' DB... 2022-05-18 10:54:37,815 WARN [main] [org.apache.commons.dbcp2.PoolingDataSource] (PoolingDataSource.java:110) - PoolableConnectionFactory not linked to pool. Calling setPool() to fix the configuration. Thanks & Regards Jyoti

By Mohib Zico staff 18 May 2022 at 8:24 a.m. CDT

Mohib Zico gravatar
>> s per my requirement i only selected the oxd-server and Remote Mysql for the installation. What remote Mysql server you have? Does it have any other data inside?

By Jyoti raj Jena user 18 May 2022 at 8:30 a.m. CDT

Jyoti raj Jena gravatar
Hello Mohib, As per your question we are using **Google cloud sql server**. And after the installation the database is migrated and some tables are having some data now. Thanks & Regards Jyoti

By Jyoti raj Jena user 19 May 2022 at 5:51 a.m. CDT

Jyoti raj Jena gravatar
Hello Mohit, Here is the Server configuration:- # server configuration ``` use_client_authentication_for_pat: true trust_all_certs: false trust_store_path: '' trust_store_password: '' enable_jwks_generation: true crypt_provider_key_store_path: /opt/oxd-server/conf/oxd-jwks.pkcs12 crypt_provider_key_store_password: example crypt_provider_dn_name: CN=oxd CA Certificates support-google-logout: true state_expiration_in_minutes: 5 nonce_expiration_in_minutes: 5 db_cleanup_interval_in_hours: 1 rp_cache_expiration_in_minutes: 60 public_op_key_cache_expiration_in_minutes: 60 protect_commands_with_access_token: true accept_id_token_without_signature: false protect_commands_with_oxd_id: [] uma2_auto_register_claims_gathering_endpoint_as_redirect_uri_of_client: false add_client_credentials_grant_type_automatically_during_client_registration: true migration_source_folder_path: '' allowed_op_hosts: [] bind_ip_addresses: - 10.190.0.39 storage: gluu_server_configuration enable_tracing: false # tracer: jaeger or zipkin tracer: jaeger tracer_host: localhost tracer_port: 5775 storage_configuration: baseDn: o=gluu type: /etc/gluu/conf/gluu.properties connection: /etc/gluu/conf/gluu-sql.properties salt: /etc/gluu/conf/salt # Connectors server: applicationConnectors: - type: https port: 8443 keyStorePath: /opt/oxd-server/conf/oxd-server.pkcs12 keyStorePassword: example keyStoreType: PKCS12 keyStoreProvider: SUN trustStoreType: PKCS12 jceProvider: org.bouncycastle.jce.provider.BouncyCastleProvider validateCerts: false adminConnectors: - type: https port: 8444 keyStorePath: /opt/oxd-server/conf/oxd-server.pkcs12 keyStorePassword: example keyStoreType: PKCS12 keyStoreProvider: SUN trustStoreType: PKCS12 jceProvider: org.bouncycastle.jce.provider.BouncyCastleProvider validateCerts: false # Logging settings. logging: # Logger-specific levels. loggers: org.gluu: TRACE org.reflections.Reflections: ERROR # Logback's Time Based Rolling Policy - archivedLogFilenamePattern: /tmp/application-%d{yyyy-MM-dd}.log.gz # Logback's Size and Time Based Rolling Policy - archivedLogFilenamePattern: /tmp/application-%d{yyyy-MM-dd}-%i.log.gz # Logback's Fixed Window Rolling Policy - archivedLogFilenamePattern: /tmp/application-%i.log.gz appenders: - type: console - type: file threshold: TRACE logFormat: '%-6level [%d{HH:mm:ss.SSS}] [%t] %logger{5} - %X{code} %msg %n' currentLogFilename: /var/log/oxd-server/oxd-server.log archivedLogFilenamePattern: /var/log/oxd-server/oxd-server-%d{yyyy-MM-dd}-%i.log.gz archivedFileCount: 7 timeZone: UTC maxFileSize: 10MB defaultSiteConfig: op_configuration_endpoint: '' response_types: [code] grant_type: [authorization_code] acr_values: [''] scope: [openid, profile, email] ui_locales: [en] claims_locales: [en] contacts: [] redirect_uris: [] logout_redirect_uris: [] client_name: '' client_jwks_uri: '' token_endpoint_auth_method: '' token_endpoint_auth_signing_alg: '' request_uris: [] front_channel_logout_uri: '' sector_identifier_uri: '' claims_redirect_uri: [] client_id: '' client_secret: '' trusted_client: false access_token_as_jwt: false access_token_signing_alg: '' rpt_as_jwt: false logo_uri: '' client_uri: '' policy_uri: '' front_channel_logout_session_required: false tos_uri: '' jwks: '' id_token_binding_cnf: '' tls_client_auth_subject_dn: '' run_introspection_script_beforeaccess_token_as_jwt_creation_and_include_claims: false id_token_signed_response_alg: '' id_token_encrypted_response_alg: '' id_token_encrypted_response_enc: '' user_info_signed_response_alg: '' user_info_encrypted_response_alg: '' user_info_encrypted_response_enc: '' request_object_signing_alg: '' request_object_encryption_alg: '' request_object_encryption_enc: '' default_max_age: require_auth_time: false initiate_login_uri: '' authorized_origins: [] access_token_lifetime: software_id: '' software_version: '' software_statement: '' custom_attributes: {} ``` Kindly Please revert me back with the solutions. I had also answered your questions regarding the remote Mysql server. Thanks & Regards, Jyoti

By Mohit Mali staff 20 May 2022 at 1:33 a.m. CDT

Mohit Mali gravatar
hi Jyoti raj Jena. > When i am trying to run systemctl status identitycommand, i am getting Unit identity.service could not be found. but the unit identity.service is present in that directory. ``` systemctl status identity ``` should be run inside gluu container. You must be running it outside. please login to gluu-server and then try ``` systemctl status identity ``` and ``` systemctl status oxauth ``` to check identity and oxauth service are running properly. if these services are nor running try to run them manually using ``` systemctl restart identity ``` and ``` systemctl restart oxauth ```.

By Jyoti raj Jena user 20 May 2022 at 5:07 a.m. CDT

Jyoti raj Jena gravatar
Hello Mohit, ``` systemctl status identity should be run inside gluu container ``` I am running the **systemctl status identity** inside the gluu container after logging in the gluu server i got this response but getting the error. ``` root@gluu:~# systemctl status identity ● identity.service - Identity service Loaded: loaded (/etc/systemd/system/identity.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/identity.service.d └─override.conf Active: failed (Result: timeout) since Wed 2022-05-18 10:59:15 UTC; 1 day 22h ago Process: 2304 ExecStart=/opt/dist/scripts/identity start (code=killed, signal=TERM) May 18 10:54:14 gluu.iserveu.website systemd[1]: Starting Identity service... May 18 10:54:16 gluu.iserveu.website identity[2304]: Starting Jetty: 2022-05-18 10:54:16.445:INFO :oe.jetty:main: Console stderr/stdout captured to| / May 18 10:59:15 gluu.iserveu.website systemd[1]: identity.service: Start operation timed out. Terminating. May 18 10:59:15 gluu.iserveu.website identity[2304]: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . May 18 10:59:15 gluu.iserveu.website systemd[1]: identity.service: Failed with result 'timeout'. May 18 10:59:15 gluu.iserveu.website systemd[1]: Failed to start Identity service. ...skipping... ``` Also after restarting the **systemctl status identity** it is showing the timeout error. What should do now??. Kindly revert me back. Thanks & Regards, Jyoti

By Mohit Mali staff 20 May 2022 at 5:24 a.m. CDT

Mohit Mali gravatar
hi Jyoti raj Jena, How much ram is provided to your vm ?

By Jyoti raj Jena user 20 May 2022 at 5:47 a.m. CDT

Jyoti raj Jena gravatar
Hello Mohit, RAM provided in our VM is 8 GB. Thanks & Regards Jyoti

By Mohit Mali staff 20 May 2022 at 7:12 a.m. CDT

Mohit Mali gravatar
hi Jyoti i tried to install Gluu-server with remote sql server and i am not able to replicate the issue. there can be few reason for your issue, either your sql server is failing to run or the installation is corrupt. can you please retry the installation on a fresh vm and a fresh sql server and revert back if you get the same error. Thanks and regards Mohit Mali.