Author |
Message |
seanc217
Joined: 23 May 2007 Posts: 272
|
|
Web Console |
|
Hi I am running the multi-platform latest edition.
I have a question about the connection mechanism for the web console.
Does ftp have to be turned on for the connection from the web client to the scheduler to work?
Thanks,
Sean
|
|
Thu Nov 13, 2008 12:10 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7949
|
|
|
|
The console connects to the scheduler using similar mechanism that the scheduler uses to connect to remote agents. The authentication takes place on the target system and the authentication method depends on the settings in the scheduler/agent Options and the target system type. If the target system is Windows based, the scheduler uses Windows native authentication (logon-as-batch-user), if the target is not Windows based (Linux, Unix, etc…), the scheduler uses FTP or PAM, whichever method is selected in the scheduler Options.
|
|
Thu Nov 13, 2008 12:23 pm |
|
 |
seanc217
Joined: 23 May 2007 Posts: 272
|
|
|
|
I am trying to connect from the web console via PAM, I have modified the 3 .pl scripts so a pasword is not required. However when I attempt to connect I get the following:
2008-11-13 11:33:08,055 [Thread-4] ERROR com.softtreetech.jscheduler.business.remotecontrol.RemoteOperationsImpl - An error occurred during authentication
com.softtreetech.jscheduler.common.SchedException:
at com.softtreetech.jscheduler.business.runner.security.SecurityServiceImpl.hasRemoteControlAccess(Unknown Source)
at com.softtreetech.jscheduler.business.remotecontrol.RemoteOperationsImpl.openSession(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.softtreetech.jscheduler.business.remotecontrol.Request.run(Unknown Source)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.softtreetech.jscheduler.common.SchedException:
at com.softtreetech.jscheduler.business.runner.security.SecurityServiceImpl.authNativeUser(Unknown Source)
... 9 more
Caused by: com.softtreetech.jscheduler.common.SchedException:
... 10 more
|
|
Thu Nov 13, 2008 12:40 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7949
|
|
|
|
Did you change rcontrol.pl to always print "OK" message?
|
|
Thu Nov 13, 2008 12:47 pm |
|
 |
seanc217
Joined: 23 May 2007 Posts: 272
|
|
|
|
Yes I did do this. I still get the same message.
Thanks!
|
|
Thu Nov 13, 2008 12:53 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7949
|
|
|
|
Can I see more stuff from the debug log? I want to see whether it is calling PAM or FTP authentication, the exact command and what it is getting back.
PS. If there are specific user names or passwords appearing in the debug log, you can mask them before posting, they are not important.
|
|
Thu Nov 13, 2008 12:59 pm |
|
 |
seanc217
Joined: 23 May 2007 Posts: 272
|
|
|
|
Here's the information from the debug.log
2008-11-13 11:53:44,277 [Thread-2] DEBUG com.softtreetech.jscheduler.business.remotecontrol.PortListener - Client connection requested.
2008-11-13 11:53:44,277 [Thread-20] DEBUG com.softtreetech.jscheduler.business.remotecontrol.SocketConnection - requestId 1
2008-11-13 11:53:44,278 [Thread-3] DEBUG com.softtreetech.jscheduler.business.remotecontrol.RemoteOperationsImpl - Connect called conwaysw _JAVA_ *****
2008-11-13 11:53:44,321 [Thread-20] DEBUG com.softtreetech.jscheduler.business.remotecontrol.SocketConnection - requestId 3
2008-11-13 11:53:44,401 [Thread-20] DEBUG com.softtreetech.jscheduler.business.remotecontrol.SocketConnection - requestId 6
2008-11-13 11:53:44,401 [Thread-20] DEBUG com.softtreetech.jscheduler.business.remotecontrol.SocketConnection - Method name opensession
2008-11-13 11:53:44,401 [Thread-20] DEBUG com.softtreetech.jscheduler.business.remotecontrol.SocketConnection - methodSignature LSSSS
2008-11-13 11:53:44,401 [Thread-20] DEBUG com.softtreetech.jscheduler.business.remotecontrol.SocketConnection - arguments 4
2008-11-13 11:53:44,401 [Thread-20] DEBUG com.softtreetech.jscheduler.business.remotecontrol.SocketConnection - method params [49.80.223.218, conwaysw, *******, *****]
2008-11-13 11:53:44,401 [Thread-4] DEBUG com.softtreetech.jscheduler.business.remotecontrol.RemoteOperationsImpl - Open session called 49.80.223.218 conwaysw *******
2008-11-13 11:53:44,401 [Thread-4] DEBUG com.softtreetech.jscheduler.business.runner.security.SecurityService - hasRemoteControlAccess: /opt/24x7_Scheduler_dev/rcontrol.pl
2008-11-13 11:53:44,408 [Thread-4] DEBUG com.softtreetech.jscheduler.business.runner.security.SecurityService - authNativeUser: /opt/24x7_Scheduler_dev/auth.pl
2008-11-13 11:53:44,415 [Thread-4] DEBUG com.softtreetech.jscheduler.business.runner.security.SecurityService -
2008-11-13 11:53:44,416 [Thread-4] ERROR com.softtreetech.jscheduler.business.remotecontrol.RemoteOperationsImpl - An error occurred during authentication
com.softtreetech.jscheduler.common.SchedException:
at com.softtreetech.jscheduler.business.runner.security.SecurityServiceImpl.hasRemoteControlAccess(Unknown Source)
at com.softtreetech.jscheduler.business.remotecontrol.RemoteOperationsImpl.openSession(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.softtreetech.jscheduler.business.remotecontrol.Request.run(Unknown Source)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.softtreetech.jscheduler.common.SchedException:
at com.softtreetech.jscheduler.business.runner.security.SecurityServiceImpl.authNativeUser(Unknown Source)
... 9 more
Caused by: com.softtreetech.jscheduler.common.SchedException:
... 10 more
|
|
Thu Nov 13, 2008 1:02 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7949
|
|
|
|
What do you get when running the following from command line on the scheduler system?
/opt/24x7_Scheduler_dev/auth.pl your_user_name your_password
/opt/24x7_Scheduler_dev/auth.pl dummy_user_name dummy_password
|
|
Thu Nov 13, 2008 1:05 pm |
|
 |
seanc217
Joined: 23 May 2007 Posts: 272
|
|
|
|
I got it, I was missing the perl directive at the top of the auth.pl script
Thanks for helping me find that!!
Sean
|
|
Thu Nov 13, 2008 1:13 pm |
|
 |
seanc217
Joined: 23 May 2007 Posts: 272
|
|
|
|
I am having one more issue.
If I load up the console on a box with
IE 7 Enhanced Security Configuration, The console loads, but the tree does not show up and I cannot perform any opearations including logging off.
Is there a way to allow this?
Thanks!
|
|
Thu Nov 13, 2008 1:32 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7949
|
|
|
|
Try to refresh the screen. This could be caused by Tomcat not finishing sending complete response expected by IE and IE waiting forever for something. The refresh usually helps.
|
|
Thu Nov 13, 2008 1:36 pm |
|
 |
seanc217
Joined: 23 May 2007 Posts: 272
|
|
|
|
I tried refresh but nothing shows up.
It works OK on IE 6 though.
Any ideas?
Thanks!
|
|
Thu Nov 13, 2008 2:59 pm |
|
 |
seanc217
Joined: 23 May 2007 Posts: 272
|
|
|
|
I got it to work you need to add the site to your trusted sites and then it works!
Thanks for the help!
|
|
Thu Nov 13, 2008 3:19 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7949
|
|
|
|
Cool. Thanks for the info.
|
|
Thu Nov 13, 2008 4:10 pm |
|
 |
|