# Spadmin - login error

**URL:** <https://developer.sailpoint.com/discuss/t/spadmin-login-error/44966>\
**Category:** IIQ Discussion and Questions\
**Tags:** identityiq\
**Created:** [April 12, 2024, 10:41pm UTC](https://developer.sailpoint.com/discuss/t/spadmin-login-error/44966 "2024-04-12T22:41:54Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![shrey9](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@shrey9](https://developer.sailpoint.com/discuss/u/shrey9)\
**Post date:** [April 12, 2024, 10:41pm UTC](https://developer.sailpoint.com/discuss/t/spadmin-login-error/44966/1 "2024-04-12T22:41:54Z")

</div>

### Which IIQ version are you inquiring about?

Version 8.4

### Please share any images or screenshots, if relevant.

 ![Screenshot 2024-04-12 232903.png](https://global.discourse-cdn.com/sailpoint/original/2X/0/0d29d0c5b470126a349c0d4b454eb4c70afbed1d.png)  
 ![Screenshot 2024-04-12 233012.png](https://global.discourse-cdn.com/sailpoint/original/2X/d/dd5fe717ba22c87d82c0be87ad9e66d090cff740.png)  
 ![Screenshot 2024-04-13 001705.png](https://global.discourse-cdn.com/sailpoint/original/2X/8/85ebd798dc2f3be7fdc4d981c6890481e2edd69e.png)  
 ![Screenshot 2024-04-13 0818491.png](https://global.discourse-cdn.com/sailpoint/original/2X/8/8690a16350b0805096a665a85fff00992022110b.png)

### Share all details related to your problem, including any error messages you may have received.

- I was getting invalid username or password error when trying to login using default administrator username & password i.e. spadmin & admin respectively.
- When I ran query in database console to check value of password for display\_name=“spadmin” in spt\_identity table I got NULL value, but when checked init.xml file it has password=admin for identity spadmin.
- Then I ran an update query in spt\_identity table in identityiq database → UPDATE spt\_identity SET password=‘1:p+qvPBo4Rig8PYlNWbr3Zg==’ WHERE name=‘spadmin’; After running this query I was able to login but getting exception page instead of home page with error “he system has encountered a serious error while processing your request. See your system administrator.”
- Tried to re-import init.xml using iiq console but it is showing that spadmin does not have console access.
- Can someone please suggest what should be the remedy. All screenshots attached.

---

<div class="post-metadata">

**Author:** ![ajmerasunny1](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@ajmerasunny1](https://developer.sailpoint.com/discuss/u/ajmerasunny1)\
**Post date:** [April 12, 2024, 11:13pm UTC](https://developer.sailpoint.com/discuss/t/spadmin-login-error/44966/2 "2024-04-12T23:13:48Z")

</div>

Do you have any other admin user?If not, then can you try creating another admin, for example iiqadmin with spadmin password and assign system admin capability to see if you are able to authenticate, use below command

iiq console -u iiqadmin -p spadmin

---

<div class="post-metadata">

**Author:** ![shrey9](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@shrey9](https://developer.sailpoint.com/discuss/u/shrey9)\
**Post date:** [April 12, 2024, 11:43pm UTC](https://developer.sailpoint.com/discuss/t/spadmin-login-error/44966/3 "2024-04-12T23:43:30Z")

</div>

Where should I create this new admin user? Directly in spt\_identity table by connecting to mysql?

---

<div class="post-metadata">

**Author:** ![kjakubiak](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/kjakubiak/32/7052_2.png) [@kjakubiak](https://developer.sailpoint.com/discuss/u/kjakubiak)\
**Post date:** [April 13, 2024, 3:17am UTC](https://developer.sailpoint.com/discuss/t/spadmin-login-error/44966/4 "2024-04-13T03:17:07Z")

</div>

Is it fresh iiq instalation? If yes did you run import init.xml?

---

<div class="post-metadata">

**Author:** ![shrey9](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@shrey9](https://developer.sailpoint.com/discuss/u/shrey9)\
**Post date:** [April 13, 2024, 4:18am UTC](https://developer.sailpoint.com/discuss/t/spadmin-login-error/44966/5 "2024-04-13T04:18:06Z")

</div>

Yes, I’ve tried fresh installation so many times for 8.4  
After running init.xml, I check the spadmin identity in mysql server, it’s not taking all the data in the table for that identity.

 ![Screenshot 2024-04-13 141718](https://global.discourse-cdn.com/sailpoint/original/2X/0/0816e084390a39865579abae96705d072417d0eb.png)

---

<div class="post-metadata">

**Author:** ![amansingh](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@amansingh](https://developer.sailpoint.com/discuss/u/amansingh)\
**Post date:** [April 13, 2024, 11:55am UTC](https://developer.sailpoint.com/discuss/t/spadmin-login-error/44966/6 "2024-04-13T11:55:41Z")

</div>

Hey Shrey,

While you were running the DB script did you capture any errors?  
Usually, you might see them when you are running DBScripts generated once you have made modifications within the IdentityExtended or any other extended attribute xml?

Thanks,  
Aman

---

<div class="post-metadata">

**Author:** ![shrey9](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@shrey9](https://developer.sailpoint.com/discuss/u/shrey9)\
**Post date:** [April 13, 2024, 12:19pm UTC](https://developer.sailpoint.com/discuss/t/spadmin-login-error/44966/7 "2024-04-13T12:19:48Z")

</div>

Hi Aman,

Could you please check attached document with this reply where in the end of running import init.xml command I could see some warnings and error. Does it gives some idea on the issue?  
In create\_identityiq\_tables.mysql I’ve commented out mysql commands and uncommented aurora commands for idenityiq & identityiqah db.  
I’m using xampp for which has both application server (tomcat) and database server that support aurora commands.

Thanks,  
Shrey Arora  
[import init.txt](https://developer.sailpoint.com/discuss/uploads/short-url/AntYQffvEzar9FehzMgdXkWAEak.txt) (29.5 KB)  
[create\_identityiq\_tables.mysql](https://developer.sailpoint.com/discuss/uploads/short-url/350lJpZ5oVvSz8Kn9NIhb0FJ599.mysql) (294.8 KB)  
[DBScript.txt](https://developer.sailpoint.com/discuss/uploads/short-url/1DBw2kwKceJFYHXTV9QVy79dhhL.txt) (110.4 KB)

---

<div class="post-metadata">

**Author:** ![amansingh](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@amansingh](https://developer.sailpoint.com/discuss/u/amansingh)\
**Post date:** [April 13, 2024, 12:24pm UTC](https://developer.sailpoint.com/discuss/t/spadmin-login-error/44966/8 "2024-04-13T12:24:43Z")

</div>

Hey Shrey,

If you see the error log that you have shared

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/b/b80c837c8030172ac746a220749b8eb598944d83.png)  
this can happen due to some mishap that could’ve happened while modifying the following:  
Extended.hbm  
Files because if you see it is calling out the following exception:

> SQL Error: 1105, SQLState: HY000  
> 2024-04-13T14:10:53,265 ERROR main engine.jdbc.spi.SqlExceptionHelper:142 - Parameter of prepared statement which is set through mysql\_send\_long\_data() is longer than ‘max\_long\_data\_size’ bytes

I got this issue when I was careless while modifying my IIQ 8.3 extended attributes and the iiq.properties file.

Thanks,  
Aman

---

<div class="post-metadata">

**Author:** ![shrey9](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@shrey9](https://developer.sailpoint.com/discuss/u/shrey9)\
**Post date:** [April 13, 2024, 1:17pm UTC](https://developer.sailpoint.com/discuss/t/spadmin-login-error/44966/9 "2024-04-13T13:17:05Z")

</div>

Issue is resolved now.  
I’ve reinstalled the whole thing and before running commands in sql to create the tables, I have added updated the my.config file in mysql/bin folder.  
 ![myconfig](https://global.discourse-cdn.com/sailpoint/original/2X/1/1b2b93a7619aa55783fb413f9ad26d168774ef0a.png)

Thank you everyone!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [June 12, 2024, 1:17pm UTC](https://developer.sailpoint.com/discuss/t/spadmin-login-error/44966/10 "2024-06-12T13:17:18Z")

</div>

Closed on June 12, 2024, 1:17pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
