Scripting disabled by Server
Hi,
I want to run following script to check SAP-GUI sessions.
In rz11 sapgui/user_scripting_per_user is set to "TRUE" - but the script means, that guiConn.DisabledByServer is true!!
Though I cannot connect to an existing SAPGUI-session.
Any idea?
Tnx.
Now the script
WScript.echo("connecting to SAP GUI")
Set sapGUI = GetObject("SAPGUI")
If(sapGUI Is Nothing) Then
WScript.echo("ERROR: No SAP GUI found")
WScript.Quit 1
End If
WScript.echo("SAP GUI connected, connecting to script engine")
Set guiApp = sapGUI.GetScriptingEngine
If(guiApp Is Nothing) Then
WScript.echo("ERROR: scripting engine not available")
WScript.Quit 1
End If
WScript.echo("Scripting Engine available")
WScript.echo(" Version " & CStr(guiApp.MajorVersion) & "." & CStr(guiApp.MinorVersion) & " Patch " & CStr(guiApp.PatchLevel) & " Revision " & CStr(guiApp.Revision))
WScript.echo(CStr(guiApp.connections.Count) & " connection(s) available")
For Each guiConn In guiApp.Connections
WScript.echo(" connection " & guiConn.description)
WScript.echo(" disabled by server : " & CStr(guiConn.DisabledByServer))
WScript.echo(" connection string : " & CStr(guiConn.ConnectionString))
if(guiConn.Sessions.Count > 0) then
set guiSess = guiConn.Sessions(0)
WScript.echo(" application server : " & CStr(guiSess.Info.ApplicationServer))
WScript.echo(" message server : " & CStr(guiSess.Info.MessageServer))
WScript.echo(" group : " & CStr(guiSess.Info.Group))
WScript.echo(" system name : " & CStr(guiSess.Info.SystemName))
WScript.echo(" system number : " & CStr(guiSess.Info.SystemNumber))
WScript.echo(" client : " & CStr(guiSess.Info.Client))
WScript.echo(" user : " & CStr(guiSess.Info.User))
WScript.echo(" language : " & CStr(guiSess.Info.Language))
WScript.echo(" code page : " & CStr(guiSess.Info.CodePage))
end if
WScript.echo(" sessions : " & CStr(guiConn.Sessions.Count))
For Each guiSess In guiConn.Sessions
WScript.echo(" session " & CStr(guiSess.Info.SessionNumber))
WScript.echo(" busy : " & CStr(guiSess.Busy))
WScript.echo(" session information")
WScript.echo(" transaction : " & CStr(guiSess.Info.Transaction))
WScript.echo(" program : " & CStr(guiSess.Info.Program))
WScript.echo(" screen number : " & CStr(guiSess.Info.ScreenNumber))
WScript.echo(" performance information")
WScript.echo(" response time : " & CStr(guiSess.Info.ResponseTime))
WScript.echo(" interpretation time: " & CStr(guiSess.Info.InterpretationTime))
WScript.echo(" flushes : " & CStr(guiSess.Info.Flushes))
WScript.echo(" round trips : " & CStr(guiSess.Info.RoundTrips))
Next
Next
WScript.Quit 0
And this is the output
Hi,
Not sure if you already found the root cause of the issue,but this message generally comes from blade FEX's when there is an internal communication error or no connection between the FEX HIF's and the server chassis/software. This might come when a port is made "admin up" while is not configured or mapped blade from server perspective.
Thanks,
Ivan.
Similar Messages
-
How to detect whether browser's java script disabled or not from server
How to detect whether browser's java script disabled or not from server side
I would use a hidden parameter created by a javascript. if this is null, javascript is disabled...
-
How to locate Malicious or unwanted scripts in a Server 2008 R2 install?
I am Managing two systems as part of a competition, Windows Server 2008 R2 and a Windows 7 Machine. The competition is the National Collegiate Cyber Defense Competition.
Part of my issue is i normally am very good at research but it's like i am unable to find this bit of info.
I need Answers to several issues.
1. Where can i locate Scripts at in Server 2008 R2?
2. Assuming scripts aren't in one specific directory... Is there a Freeware Tool i can use that can locate and identify what they do? Such as tot ell em if they are malicious or dangerous.
3. Is there a way i can block execution of any scripts in the system not created by a valid source?
Thank you very much for your assistance, regardless if my questions are answered it is nice if i can at least be proactive and actually ask instead of keeping silent. Perhaps future competitors will be helped by this so they don't have to spend months locating
it.1. It is very hard task. Strictly speaking you need baseline and compare every next situation with baseline.
2. There is a base of nice and useful tools in Sysinternals
http://technet.microsoft.com/en-us/sysinternals/bb545021.aspx
3. Basic study material is book written by Mark Russinovich - Windows Internals
http://technet.microsoft.com/cs-cz/sysinternals/bb963901.aspx
4. Expert hackers know how to hide script. Unless all files are digitally signed there is a non zero chance to get in (hypothesis).
These are very special topics that are well behind the scope of this forum ( and my knowledge).
Regards
Milos -
Calling stored procedure from script on remote server
We are migrating our database to a virtual server environment. On the current dedicated environment, the database and scripts(calling stored procedures) are on the same server. In the new envoirnment, the scripts, input and output files will be on a different server. Does anyone have any examples of scripts on one server calling stored procedures on another server. Don't laugh, but the db server is currently running Oracle 9i (part of the new enviornment to move to 11g).
brifry wrote:
sorry my terminolgy is not correct. the stored procedure is in the database and the database is on server a. The script is on server b. In your example you show how to log onto the database. That I know. In your example your example, how would you point to server b so you can log onto the database?Do you want to mean that your procedure (location A) want to call a script from location B ?
make the script located folder as shared and ,You may try this
//server_name/folder_name/file_name.xxxHope this helps -
Execute sql script in oracle server
hi how can i run an SQL script in oracle server in every first day of the month? i dont want to run that script manually every first day of the month.
What OS and version are you running?
You can schedule this from the OS side as well if you don't want to use the scheduler.
In linux you can make use of the crontab:
crontab -e
#then paste the following lines with the path to your scripts
#.---------------- minute (0 - 59)
#| .------------- hour (0 - 23)
#| | .---------- day of month (1 - 31)
#| | | .------- month (1 - 12) OR jan,feb,mar,apr ...
#| | | | .----- day of week (0 - 7) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
#| | | | |
#* * * * * command to be executed
00 01 1 * * /<path to your scripts>/script_name.shThe above script will run on the 1st day of every month at 01h00.
your script (the one you are calling in the cron) will have to call the sql script and should look similar to this:
#export all your environment variables here
# for example
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/<your path>
export ORACLE_SID=ORCL
export PATH=$ORACLE_HOME/bin:$PATH
sqlplus user/password@DB @/path/your_sql_script.sqlHope this helps -
How to create a Script in AW server
Hi all,
Can anybody pla help me with how to create a simpal script in AW server.
Thanks
Ravi SharmaThese products are all based on the GeoTel acquisition.
GeoTel ICR (Intelligent CallRouter) was the base product, enabling many different peripherals (i.e. PBXs like Lucent, Nortel, Rockwell etc. - and IVRs like InterVoice, Periphonics etc.) to be joined together in a functional contact center, although the initial implementation of ICR was in a different context - as a network router for service providers (AT&T, MCI, Optus, BT) through an interface called a NIC.
The NAM was a high-end conglomeration of a Network ICR (NICR) and 1 or more Customer ICR (CICR) suitable for service providers, allowing a hosted solution to be built.
When Cisco bought GeoTel the name was changed to Intelligent Call Manager (ICM) to avoid marketplace confusion with Cisco's existing line of routers. Thus the NAM (the hosted solution) now consisted of a NICM and several CICMs.
Since Cisco had developed their own switch/PBX for VoIP (after the Selsius acquisition) called CallManager, it could also be treated as a peripheral and slotted into an ICM. This became IPCC - IP Contact Center.
A couple of years ago, Cisco branding brought all products under a "Unified" umbrella.
Although the lines are a bit blurry (and I'll probably get corrected on this ), UCCE is IPCC (well, almost), ICM Hosted is the NAM, and the term ICM is mainly used when UCCE is implemented with non-Cisco switches (i.e. not CallManager).
Yeah, it's not that clear cut, but you get used to it.
Regards,
Geoff -
Java - Shared archive: sharing disabled for server vm ?
Hi,
My mac is PowerMac G5(1.8Ghz) + leopard server 10.5.1.
I have a question.
After typing *java -version*, the following messages are shown.
*Shared archive: sharing disabled for server vm*
*java version "1.5.0_13"*
*Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)*
*Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode)*
What is *Shared archive: sharing disabled for server vm* ?
Using my other macs, iMac(Intel 1.8GHz) and PowerBook G4(1.5GHz) + leopard client-10.5.1,
the message is
*java version "1.5.0_13"*
*Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)*
*Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)*
So, the difference is "sharing".
Anyone know what it means?I'm getting the same message. I'm intrigued. This would seem to be something to do with the new version of Java
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)
I don't get the message when doing java -version, but I do get it when starting JBoss:
./run.sh: line 80: ulimit: open files: cannot modify limit: Invalid argument
run.sh: Could not set maximum file descriptor limit: unlimited
=================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /usr/local/jboss-4.0.2
JAVA: java
JAVA_OPTS: -server -Xms256m -Xmx512m -Dprogram.name=run.sh
CLASSPATH: /usr/local/jboss-4.0.2/bin/run.jar:/lib/tools.jar
=================================================================
Shared archive: sharing disabled for server vm
15:42:09,736 INFO [Server] Starting JBoss (MX MicroKernel)...
It doesn't seem to cause any trouble, but it would be good to know what it's all about (man java doesn't help).
Bruno. -
"Java Script Disabled on your browser. Please Enable it."
I tried to log-in to this site:
"http://www.edudel.nic.in/mis/MisAdmin/frmMisLogin.aspx"
but instead got this message:
"Java Script Disabled on your browser. Please Enable it."
I have already enabled JavaScript in settings, but it gives the same error. When I tried doing the same in Internet Explorer (v9), everything was working fine. Please tell me what to do.The problem is there's a glitch in the javascript of http://edudel.nic.in/mis/MisAdmin/frmMisLogin.aspx
There's a form element with an ID of "txtpassword", but in their validation function, they call it with getElementById("txtPassword"). Obviously a case issue, but it apparently works in IE.
I created a workaround for a user I met in #firefox, a simple greasemonkey script that replaces the function with a fixed version.
Here's the link:
http://userscripts.org/scripts/show/102156 -
Need a bat script to check Server status remotly.
Hi,
I need bat script to check server status remotly (Ping) for multiple servers. It should generate a txt file for result.
Thanks.Hi Ravi,
To ping multiple computers and generate report cia cmd, please refer to the script below, the "fnm" is computer name list and the "lnm" is the result, and you can save the script below as .bat file:
@echo off
set fnm=d:\test1\computers.txt
set lnm=d:\test1\ping.txt
if exist %fnm% goto Label1
echo.
echo Cannot find %fnm%
echo.
Pause
goto :eof
:Label1
echo PingTest STARTED on %date% at %time% > %lnm%
echo ================================================= >> %lnm%
echo.
for /f %%i in (%fnm%) do call :Sub %%i
echo.
echo ================================================= >> %lnm%
echo PingTest ENDED on %date% at %time% >> %lnm%
echo ... now exiting
goto :eof
:Sub
echo Testing %1
set state=alive
ping -n 1 %1
if errorlevel 1 set state=dead
echo %1 is %state% >> %lnm%
Refer to:
Explain the Batch script to ping multiple computers
If there is anything else regarding this issue, please feel free to post back.
Best Regards,
Anna Wang
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Hi All,
how can I disable X Server on Oracle Solaris 11 Express 2010.11. I'd like to start only text console, and start X Server manualy when needed.
Best
mpYou have to disable GDM (`svcadm disable gdm`).
If you're using it for a server setup, the best option is to install from the text-install ISO. -
Cisco AP disable PEAP server certificate validation
Hi,
My question if it is possible on Cisco 1600 AP's to disable the server certificate validation on a dot1x peap authentication method (please provide if any the appropiate CLI)
I now the in PEAP for a PEAP user implementation you want to validate the the server as that this is PEAP phase 1.
But we want only user PEAP as machine authentication, which I don't care the validation of the server. hence like in Windows you have a check box, so you can disable the validation of it.
Thanks in advance,
Kind regards,
MichelNot really, let me explain the toplogy;
we want to enable 802.1x on the network switches and let the Cisco AP authenticate the AP (PEAP-MSCHAPv2) on the switch via 802.1x. Therefore we specify the following config on the AP:
eap profile PEAP
method peap
dot1x credentials test
username
password xxxxxx
interface GigabitEthernet0
dot1x pae supplicant
dot1x credentials test
dot1x supplicant eap profile PEAP
The question is the a possebility to disable the server certificate validation (as like in Windows) because we want to verify the AP, and yes I know for PEAP-user implementation it is a good practise to validate the server certificate.
Kind regards,
Michel -
While browsing "http://edudel.nic.in" this site when we enter id and password it gives message"Java Script Disabled on your browser. Please Enable it." but it is allready enabled in Tools-> Options-> Content window
The problem is there's a glitch in the javascript of http://edudel.nic.in/mis/MisAdmin/frmMisLogin.aspx
There's a form element with an ID of "txtpassword", but in their validation function, they call it with getElementById("txtPassword"). Obviously a case issue, but it apparently works in IE.
I created a workaround for a user I met in #firefox, a simple greasemonkey script that replaces the function with a fixed version.
Here's the link:
http://userscripts.org/scripts/show/102156 -
I have alrady enabled java script but my bank website prompt me that java script disabled so for thesame am not able to pay or transfer my funds online.
Java and JavaScript are not the same thing. To ensure the JavaScript is enabled, go to the Options dialog and select the Content panel and make sure that "Enable JavaScript" is selected. There are add-ons that can block JavaScript, if you have an add-on such as NoScript, make sure that it has not blocked your bank site.
If you are still having problems, try running Firefox in [[safe mode|Firefox safe mode]], this will disable add-ons and can be used to see if an ad-on is causing the problem. If it works in safe mode, follow the procedure in the [[Troubleshooting extensions and themes]] article to identify which one is doing this. -
(Error disabled. Reason:Disabled by Server Mgr triggered)
I´ve some ports in my Nexus 5k going to err-disable with the following message:
(Error disabled. Reason:Disabled by Server Mgr triggered)
These ports are connected in HPBlade 7000 through FEX Nexus B22 does someone know about this errors ?Hi,
Not sure if you already found the root cause of the issue,but this message generally comes from blade FEX's when there is an internal communication error or no connection between the FEX HIF's and the server chassis/software. This might come when a port is made "admin up" while is not configured or mapped blade from server perspective.
Thanks,
Ivan. -
Lingering Domain After Disabling Lion Server
I had Lion Server setup with my domain, but after many issues I decided to disable lion server. But every time I try to go to the site (with the domain I previously had setup) it acts like it is trying to access the disabled lion server. The only computer it affects is the one that had Lion Server installed on, and does not affect any other computer on the network. The domain has been successfully setup with another server and functions. I followed the article supplied by Apple to disable the server services. Any help would be very much appreciated.
Ok 1st one. The warning restriction message relates to this line in main.cf:
smtpd_helo_restrictions = permit_sasl_authenticated permit_mynetworks check_helo_access hash:/etc/postfix/helo_access reject_non_fqdn_hostname reject_invalid_hostname permit reject_invalid_helo_hostname
The last reject occurs after the single word "permit" and is ignored.
However, that's not the problem.
I'm not exactly sure what's happening, but this might be a clue.
It would appear that either postfix is not being able to create the socket for private/policy or it's somehow created with the wrong permissions. You might need to ramp up the debug level to get a better idea.
You could check if it's being created by "netstat -a | grep private/policy" in terminal.
My guess is that it's not being created because there is no setup statement in your master.cf file, but I don't understand why postfix would be looking for it if it isn't set up. Private/policy I think relates to grey listing. Maybe gives you a hint.
Maybe you are looking for
-
I keep getting a 'program error' when I try to import an image
I just downloaded photoshop cc and when I try to import an image into my project it keeps giving me a 'program error' Does anyone else have this problem?
-
TS3992 icloud backup won't delete, because it is in use
I have no idea why am i unable to delete the backup from the icloud, it keep saying it can't delete because it is n use. What should i do ?
-
CS6 Service Manager Error 0xc000007b
Have had the problem 0xc000007b caused by ilivid with LR4, easily fixed something I have to do each time there is a software update. My most recent software update of Photoshop is causing a new error message. CS6ServiceManager.exe - Application Erro
-
Could not transfer from one Mac to another with external hard drive
Hello, I have a mid-2010 MBP 13". I just got a new external hard drive (seagate back up plus slim, 1TB). When it asked me, I chose to have it compatible with both Macs and PCs when I first got it and plugged it in. I was able to put my own file on it
-
How to Clone Primary Drive prior to, or after, adding a second drive in Ultrabay
Alright, I have a T510 with a single internal drive. I wish to add a SSD drive and make it my primary drive. I have an Ultrabay and know about the drive adapter for it and plan to use it as the new drive location. My question is how to perform the cl