can't create resource "Solaris: Script failed waiting for "LOGIN:" "
Hi,
I 'm using Identity Manager 7.1.0 and want to create new resources for other solaris servers.
But when I filled the form of Create Solaris Resource Wizard, and click the "test configuration", after a while , the following message displayed,
Resource Parameters
Specify parameters for authentication and to control the behavior of this resource.
Test connection failed for resource(s):
Solaris: Script failed waiting for "LOGIN:" in response "" ==> com.waveset.util.WavesetException: Script processor timed out with nothing to read and the following unprocessed text: "".
The OS is solaris 10 on X86 server, database is mysql 5.0.24, and Sun Java System Application Server Platform Edition 8.2 .
I tried many times but I can't figure out the problem. please advise.
thanks
Message was edited by:
damogyz
[890 byte] By [
damogyza] at [2007-11-27 11:10:18]

# 1
Could somebody help to advise ?
# 2
Could you type out the values that you have provided in the adapter configuration's first page (hostname / IP, port, root user, login, prompt etc.)
looks like there is something incorrect there.
Ankush
# 3
the configuration is :
Host 192.168.2.22
TCP Port 23
Login User root
password*******
Login Shell Prompt #
the others I use the default value.
192.168.2.22 can use 'root' to login from remote.
Also I tried,
Host 192.168.2.22
TCP Port 23
Login User mysql
password*******
Login Shell Prompt $, I use bash for mysql
Root User root
credentials *******
Root Shell Prompt #
Sudo Authentication FALSE
Connection Type Telnet
The show trace log :
the trace of com.waveset.adapter.ScriptedConnection.
20070723 16:16:47.937 httpWorkerThread-8080-4(0x01341244) ScriptedConnectionPool#getConnection() Entry no args
20070723 16:16:47.937 httpWorkerThread-8080-4(0x01341244) ScriptedConnectionPool#getConnection() Exit void
20070723 16:16:47.938 httpWorkerThread-8080-4(0x01341244) TelnetConnection#connect() Entry no args
20070723 16:16:47.938 httpWorkerThread-8080-4(0x01341244) TelnetConnection#connect() Exit void
20070723 16:16:47.938 httpWorkerThread-8080-4(0x01341244) ScriptedConnection#runScript(Script) Entry no args
20070723 16:16:47.938 httpWorkerThread-8080-4(0x01341244) ScriptedConnection#processWaitFor() Entry no args
20070723 16:16:47.939 httpWorkerThread-8080-4(0x01341244) ScriptedConnection#refreshUnprocessedInput(int, int, String, boolean) Entry no args
20070723 16:17:57.990 httpWorkerThread-8080-4(0x01341244) ScriptedConnection#processWaitFor() Info Script failed waiting for "LOGIN:" with the following unprocessed text: ""
Thanks
Message was edited by:
damogyz
Message was edited by:
damogyz
# 4
1. Login manually over telnet, till the point you get a shell. Copy and paste the entire session from putty here. It looks like you have a custom /etc/issue etc, which is getting the adapter confused.
2. If you have SSH running, and root logins are permitted in /etc/ssh/sshd_config, then put in port 22, and connection type SSH, and try again.
The UNIX adapter works on the basis of parsing strings that are the result of connecting to the unix machine and issuing commands. If there is any mismatch between the string that the system outputs and what the adapter expects, you'll get errors like these, where the adapter waits expecting a certain string, but gets something else.
Hope this is helpful.
Ankush
# 5
Thank you for your reply, ankushkapoor .
The telnet login message is :
-bash-3.00$ telnet 192.168.2.22
Trying 192.168.2.22...
Connected to 192.168.2.22.
Escape character is '^]'.
login: testuser
Password:
Last login: Tue Jul 17 18:17:51 from 192.168.2.112
Sun Microsystems Inc.SunOS 5.10Generic January 2005
-bash-3.00$ su
Password:
#
please help that how I fill the create resource form.
Message was edited by:
damogyz
# 6
The following details should work fine:
1. IP: 192.168.2.22
2. TCP Port: 23
3. Login user: testuser
4. password: testuser's_password_here
5. Login shell prompt: -bash-3.00$
6. root user: root
7. credentials: root_user's_password
8. Root shell prompt: #
9. Sudo Auth: False
10. Connection Type: TELNET
let everything else be default. You should now be able to connect.
Ankush
# 7
The result is confusing and frastrated.
I filled the form as you instructed, but still have problem.
Create Solaris Resource Wizard
Resource Parameters
Specify parameters for authentication and to control the behavior of this resource.
Test connection failed for resource(s):
Solaris: Script failed waiting for "LOGIN:" in response "" ==> com.waveset.util.WavesetException: Script processor timed out with nothing to read and the following unprocessed text: "".
the trace log:
20070726 17:25:55.971 httpWorkerThread-8080-2(0x01e5c2cc) TelnetConnection#disconnect() Entry no args
20070726 17:25:55.971 httpWorkerThread-8080-2(0x01e5c2cc) ResourceConnection#disconnect() Entry no args
20070726 17:25:55.971 httpWorkerThread-8080-2(0x01e5c2cc) ResourceConnection#disconnect() Exit void
20070726 17:25:55.971 httpWorkerThread-8080-2(0x01e5c2cc) TelnetConnection#disconnect() Exit void
20070726 21:29:43.968 httpWorkerThread-8080-2(0x01e5c2cc) ScriptedConnectionPool#getConnection() Entry no args
20070726 21:29:43.969 httpWorkerThread-8080-2(0x01e5c2cc) ScriptedConnectionPool#getConnection() Exit void
20070726 21:30:02.525 httpWorkerThread-8080-4(0x01341244) ScriptedConnectionPool#getConnection() Entry no args
20070726 21:30:02.526 httpWorkerThread-8080-4(0x01341244) ResourceConnectionPool#getConnection(args, type, timeout, pooled) Entry no args
20070726 21:30:02.526 httpWorkerThread-8080-4(0x01341244) ResourceConnectionPool#getPooledConnection() Entry no args
20070726 21:30:02.526 httpWorkerThread-8080-4(0x01341244) ResourceConnectionPool#newConnection() Entry no args
20070726 21:30:02.526 httpWorkerThread-8080-4(0x01341244) ResourceConnectionPool#newConnection() Exit void
20070726 21:30:02.526 httpWorkerThread-8080-4(0x01341244) ResourceConnectionPool#getPooledConnection() Exit void
20070726 21:30:02.526 httpWorkerThread-8080-4(0x01341244) ResourceConnectionPool#getConnection(args, type, timeout, pooled) Exit void
20070726 21:30:02.527 httpWorkerThread-8080-4(0x01341244) ScriptedConnectionPool#getConnection() Exit void
20070726 21:30:02.527 httpWorkerThread-8080-4(0x01341244) TelnetConnection#connect() Entry no args
20070726 21:30:02.528 httpWorkerThread-8080-4(0x01341244) TelnetConnection#connect() Exit void
20070726 21:30:02.528 httpWorkerThread-8080-4(0x01341244) ScriptedConnection#runScript(Script) Entry no args
20070726 21:30:02.528 httpWorkerThread-8080-4(0x01341244) ScriptedConnection#processWaitFor() Entry no args
20070726 21:30:02.528 httpWorkerThread-8080-4(0x01341244) ScriptedConnection#refreshUnprocessedInput(int, int, String, boolean) Entry no args
20070726 21:31:11.780 httpWorkerThread-8080-4(0x01341244) Catalog#format() Entry arg1=locale=null key=Script processor timed out with nothing to read and the following unprocessed text: "". parameters=null defVal=Script processor timed out with nothing to read and the following unprocessed text: "".
20070726 21:31:11.780 httpWorkerThread-8080-4(0x01341244) Catalog#format() Info tmp=null
20070726 21:31:11.780 httpWorkerThread-8080-4(0x01341244) Catalog#format() Info msg=Script processor timed out with nothing to read and the following unprocessed text: "".
20070726 21:31:11.780 httpWorkerThread-8080-4(0x01341244) Catalog#format() Exit returned= Script processor timed out with nothing to read and the following unprocessed text: "".
20070726 21:31:11.781 httpWorkerThread-8080-4(0x01341244) ScriptedConnection#processWaitFor() Info Script failed waiting for "LOGIN:" with the following unprocessed text: ""
20070726 21:31:11.781 httpWorkerThread-8080-4(0x01341244) TelnetConnection#disconnect() Entry no args
20070726 21:31:11.781 httpWorkerThread-8080-4(0x01341244) ResourceConnection#disconnect() Entry no args
20070726 21:31:11.781 httpWorkerThread-8080-4(0x01341244) ResourceConnection#disconnect() Exit void
20070726 21:31:11.782 httpWorkerThread-8080-4(0x01341244) TelnetConnection#disconnect() Exit void
Thank you.
# 8
Sad to see this.
I managed to successfully run this at my end. The following screenshots may help you:
http://img408.imageshack.us/my.php?image=adapter71zr6.jpg
http://img337.imageshack.us/my.php?image=loginsequencehl3.jpg
User "ankush" in /etc/passwd is like below:
ankush:x:194:1::/export/home/ankush:/bin/sh
Hope this helps.
The only difference that I can see is that I am connecting to Solaris 9 (x86), and you have Solaris 10 (x86).
Ankush
# 9
I tried to connect a Solaris 9 and a Solaris 8 servers, but the result is same.
can't create resource "Solaris: Script failed waiting for "LOGIN:" "
So sad.
Does some problem in IDM 7.1 ?
# 10
I installed a new IDM 7.1 on another SUN server
SunOS Pandora 5.10 Generic_118822-23 sun4u sparc SUNW,Sun-Fire-V210
root@Pandora # java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
The webserver and application is Tomcat 5.5.
I can create solaris resource easily with same configuration.
So crazy!
Are there some bugs or other reason in IDM7.1 ?
I'm going to test other functions later.