Remote alterations
I'm in Australia and presently look after 6 x SRP 527 W Routers that are connected to Alcatel PABX phone systems. When I need to alter things like static ip addresses for vpn's I have presently have to go to site and alter these setting. I can log in remotely to these routers but every time I make a change the router gives me the message The values are invalid. I enter the same value from on site and it works. What do I have to do to get this to work and can I make the change remotely or will I have to go to site to make these changes?
Please help.
Also are there courses that I can do to learn more about these routers?
Sent from Cisco Technical Support iPad App
Dear Mark,
Thank you for reaching the Small Business Support Community.
Since the same configuration parameter works on one SRP527 but not another, I believe this has something to do with the firmware release version and therefore I suggest you to make sure run the latest one,
http://software.cisco.com/download/release.html?mdfid=282910822&flowid=797&softwareid=282919993&release=1.01.19&relind=AVAILABLE&rellifecycle=&reltype=latest
Data sheets and literature for SRP500 series;
http://www.cisco.com/en/US/products/ps10500/prod_literature.html
Admin guide (with firmware upgrade details on chapter 8);
http://www.cisco.com/en/US/docs/routers/srp520_series/srp521w/administration/srp500_admin.pdf
If remote access is already enabled then you can do the upgrade remotely;
http://sbkb.cisco.com/CiscoSB/GetArticle.aspx?docid=fd998d22d7804f73a717e77ff89f729d_Configure_Remote_Access_through_Web_Access_Management_on_SRP.xml&pid=2&converted=0
Pretty much this admin guide is all we know about this routers, please check it out and let me know if you have any question and/or if there is any further assistance I may help you with.
Kind regards,
Jeffrey Rodriguez S. .:|:.:|:.
Cisco Customer Support Engineer
*Please rate the Post so other will know when an answer has been found.
Similar Messages
-
Guys,
I'm convinced someone/something is remotely altering my hub. Please indulge............
Earlier this week first time ever I see a CWMP Connection Request not allowed this is followed few days later by a "Controlled Kernel Restart" - not initiated by me. .....
Anyways, today, I decided to do a full reset of the Hub - all seemed ok , until about fifty minutes later I get another "Controlled Kernel Restart" .......It seems something didnt like the changes etc to me???. Logs are below - there are some entries that seem weird which Ive highlighted (help explaining these would be good) - for instance lots of CWMP Connection request no allowed ............., odd 198.18.1.1 server noted etc.
I hope I dont come over as a crank,but somethings just not right here as far as I can figure. Could do with some Expert /MOD help please? or a pointer as to where to go for some technical advice from BT.
Grateful for help.
15:36:45 22 Jun
SNTP Synchronised to server: 213.123.20.170
15:36:45 22 Jun
SNTP Systemtime update: time setting 01:03:59 > new time setting: 15:36:45
01:02:40 1 Jan
CONFIGURATION saved by TR69
01:02:09 1 Jan
CONFIGURATION saved by TR69
01:01:57 1 Jan
[CWMP] Connection Request NOT ALLOWED.
01:01:34 1 Jan
usbmgr: USB device isn't matched the configuration
01:01:33 1 Jan
usbmgr: try /etc/usbmgr/class/module
01:01:33 1 Jan
usbmgr: try /etc/usbmgr/class/09/module
01:01:33 1 Jan
usbmgr: try /etc/usbmgr/class/09/00/module
01:01:33 1 Jan
usbmgr: try /etc/usbmgr/class/09/00/00/module
01:01:33 1 Jan
usbmgr: class:0x9 subclass:0x0 protocol:0x0
01:01:33 1 Jan
usbmgr: buffer line: remove T
01:01:33 1 Jan
usbmgr: USB device isn't matched the configuration
01:01:33 1 Jan
usbmgr: try /etc/usbmgr/class/module
01:01:33 1 Jan
usbmgr: try /etc/usbmgr/class/09/module
01:01:33 1 Jan
usbmgr: try /etc/usbmgr/class/09/00/module
01:01:33 1 Jan
usbmgr: try /etc/usbmgr/class/09/00/00/module
01:01:33 1 Jan
usbmgr: class:0x9 subclass:0x0 protocol:0x0
01:01:33 1 Jan
usbmgr: buffer line: remove T
01:01:05 1 Jan
PPP link up (Internet) [81.xxx]
01:01:05 1 Jan
PPP CHAP Chap receive success : authentication ok
01:01:05 1 Jan
PPP CHAP Receive challenge (rhost = ESR13.Birmingham6)
01:01:02 1 Jan
xDSL linestate up (ITU-T G.992.1; downstream: 7616 kbit/s, upstream: 448 kbit/s; output Power Down: 19.7 dBm, Up: 11.9 dBm; line Attenuation Down: 19.0 dB, Up: 12.0 dB; snr Margin Down: 23.0 dB, Up: 10.4 dB)
01:00:55 1 Jan
DHCS server up
01:00:55 1 Jan
FIREWALL event (1 of 2): modified rules
01:00:55 1 Jan
FIREWALL event (1 of 1): deleted rules
01:00:49 1 Jan
FIREWALL level changed to Standard.
01:00:43 1 Jan
WIRELESS automatic channel selection done (channel = 7)
01:00:40 1 Jan
FIREWALL event (1 of 8): created rules
00:00:40 1 Jan
FIREWALL event (1 of 1): deleted rules
00:00:40 1 Jan
FIREWALL event (1 of 1): modified rules
00:00:40 1 Jan
FIREWALL event (1 of 1): created rules
00:00:28 1 Jan
WIRELESS interface turned on.
00:00:27 1 Jan
usbmgr: start 0.4.8
00:00:19 1 Jan
KERNEL Warm restart
15:32:42 22 Jun
KERNEL Controlled restart
15:32:37 22 Jun
PPP link down (Internet) [81.xxx]
14:48:38 22 Jun
LOGIN User admin logged in on [HTTP] (from 192.)
14:47:14 22 Jun
LOGIN User Basic logged in on [HTTP] (from 192.)
14:43:26 22 Jun
CONFIGURATION mbus igd sync successfull
14:43:19 22 Jun
CONFIGURATION mbus atomic sync successful
14:42:57 22 Jun
SNTP Synchronised to server: 213.123.26.170
14:42:57 22 Jun
SNTP Systemtime update: time setting 01:04:38 > new time setting: 14:42:57
01:04:29 1 Jan
CONFIGURATION saved by TR69
01:03:57 1 Jan
CONFIGURATION saved by user (/dl/user.ini)
01:03:47 1 Jan
FIREWALL event (1 of 14): modified rules
01:03:47 1 Jan
FIREWALL event (1 of 6): deleted rules
01:03:47 1 Jan
FIREWALL event (1 of 1): flushed rules
01:03:47 1 Jan
FIREWALL event (1 of 33): created rules
01:03:31 1 Jan
[CWMP] Connection Request NOT ALLOWED.
01:03:28 1 Jan
[CWMP] Connection Request NOT ALLOWED.
01:03:16 1 Jan
CONFIGURATION saved by TR69
01:03:08 1 Jan
[CWMP] Connection Request NOT ALLOWED.
01:03:07 1 Jan
[CWMP] Connection Request NOT ALLOWED.
01:03:07 1 Jan
[CWMP] Connection Request NOT ALLOWED.
01:03:03 1 Jan
LOGIN wireless station [exx] can't get authorized.
01:02:51 1 Jan
CONFIGURATION saved by TR69
01:02:40 1 Jan
[CWMP] Connection Request NOT ALLOWED.
01:02:40 1 Jan
[CWMP] Connection Request NOT ALLOWED.
01:02:40 1 Jan
[CWMP] Connection Request NOT ALLOWED.
01:02:17 1 Jan
CONFIGURATION saved by TR69
01:01:59 1 Jan
LOGIN wireless station [E0:xxx] can't get authorized.
01:01:56 1 Jan
CONFIGURATION saved by TR69
01:01:46 1 Jan
[CWMP] Connection Request NOT ALLOWED.
01:01:37 1 Jan
SNTP Unable to contact server: 198.18.1.1
01:01:25 1 Jan
PPP link up (Internet) [81.xxxxx]
01:01:25 1 Jan
PPP CHAP Chap receive success : authentication ok
01:01:25 1 Jan
PPP CHAP Receive challenge (rhost = ESR13.Birmingham6)
01:01:12 1 Jan
xDSL linestate up (ITU-T G.992.1; downstream: 7616 kbit/s, upstream: 448 kbit/s; output Power Down: 19.8 dBm, Up: 11.9 dBm; line Attenuation Down: 19.0 dB, Up: 12.0 dB; snr Margin Down: 23.0 dB, Up: 10.4 dB)
01:01:12 1 Jan
usbmgr: USB device isn't matched the configuration
01:01:12 1 Jan
usbmgr: try /etc/usbmgr/class/module
01:01:12 1 Jan
usbmgr: try /etc/usbmgr/class/09/module
01:01:12 1 Jan
usbmgr: try /etc/usbmgr/class/09/00/module
01:01:12 1 Jan
usbmgr: try /etc/usbmgr/class/09/00/00/module
01:01:12 1 Jan
usbmgr: class:0x9 subclass:0x0 protocol:0x0
01:01:12 1 Jan
usbmgr: buffer line: remove T
01:01:12 1 Jan
usbmgr: USB device isn't matched the configuration
01:01:12 1 Jan
usbmgr: try /etc/usbmgr/class/module
01:01:12 1 Jan
usbmgr: try /etc/usbmgr/class/09/module
01:01:12 1 Jan
usbmgr: try /etc/usbmgr/class/09/00/module
01:01:12 1 Jan
usbmgr: try /etc/usbmgr/class/09/00/00/module
01:01:12 1 Jan
usbmgr: class:0x9 subclass:0x0 protocol:0x0
01:01:12 1 Jan
usbmgr: buffer line: remove T
01:00:55 1 Jan
LOGIN wireless station [E0:xxxx] can't get authorized.
01:00:52 1 Jan
DHCS server up
01:00:52 1 Jan
FIREWALL event (1 of 1): modified rules
01:00:52 1 Jan
FIREWALL event (1 of 1): deleted rules
01:00:47 1 Jan
FIREWALL level changed to Standard.
01:00:43 1 Jan
WIRELESS automatic channel selection done (channel = 7)
01:00:41 1 Jan
FIREWALL event (1 of 2): created rules
00:00:41 1 Jan
FIREWALL event (1 of 1): modified rules
00:00:41 1 Jan
FIREWALL event (1 of 1): created rules
00:00:30 1 Jan
WIRELESS interface turned on.
00:00:29 1 Jan
usbmgr: start 0.4.8
00:00:19 1 Jan
KERNEL Warm restart
14:38:15 22 Jun
KERNEL Controlled restartNothing unusual about any of those. Seen them many times apart from CWMP, which I have disabled on my home hub.
Just Linux startup messages. If it really worries you, buy a different router.
There are some useful help pages here, for BT Broadband customers only, on my personal website.
BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones. -
Using the alphabet screen on the display and clicking each letter to search, put in password, etc., is cumbersome. Is there an alternative system, such as hooking up a keyboard?
If you have another iOS device such as an iPhone, iPad, or iPod touch there is a remote app that you can download to make thing much more easier.
Here is the link:
http://itunes.apple.com/us/app/remote/id284417350?mt=8 -
Infelizmente estou esse erro me ocorre pela segunda vez. O Código HTML img src=CID: até altera porém percebi que isso altera em todas as mensagens, porém é um e-mail que tem pelo menos 7 respostas ou seja um conversa, e a assinatura de um dos e-mails foi alterado. O problema disso é que ele carregou a imagem de outra empresa.
Não acontece sempre tenho apenas duas ocorrências na empresa, porém eles estão pegando no meu pé colocando a culpa na ferramenta, precisa entender o porque isso acontece, para evitar futuros problemas. Não sei afirmar se o erro esta na Função de Imagens Remotas, ou no TEMP, CAche do Thunderbird, que possa ter carregado uma imagem que foi armazenada ou que teve seu endereço definido no lugar da outra. Assim sendo carregada de forma incorreta.
Alguém pode me dar uma luz?
Atte
Wellington NeryJá vi alguns usuários reclamando disso, mas não sei se o problema foi resolvido, faça uma pesquisa aqui no fórum, talvez você encontre alguma resposta. Infelizmente estamos com poucos contribuidores no fórum de suporte do Thunderbird.
-
Log on to remote server and start database -error while installing CI in HA
Hello All,
We are installing ECC 6.0 with High Availability using HP-UX. We have completed installation in ASCS and Database Instance. Now when were trying to install in Central Instance, we encountered an error at Start Instance which informed us to Log on to remote server and start database. However the database is already running in DB node. Please find the log below.
TRACE 2011-06-10 16:31:45.825 [syuxctask.cpp:1382]
CSyTaskImpl::start(bool)
A child process has been started. Pid = 25742
INFO 2011-06-10 16:31:45.835
CJSlibModule::writeInfo_impl()
Output of /usr/sap/PE2/SYS/exe/run/startsap all DVEBMGS01 DBMCI001 is written to the logfile start_PE2_DVEBMGS01.log.
WARNING 2011-06-10 16:31:46.345
CJSlibModule::writeWarning_impl()
Execution of the command "/usr/sap/PE2/SYS/exe/run/startsap all DVEBMGS01 DBMCI001" finished with return code 6. Output:
Database PE2 must be started on remote server
Log on to remote server and start database
WARNING[E] 2011-06-10 16:31:46.355
CJSlibModule::writeError_impl()
CJS-20022 Could not start instance 'DVEBMGS01' of SAP system PE2.
TRACE 2011-06-10 16:31:46.355 [iaxxejsbas.hpp:408]
handleException<ESAPinstJSError>()
Converting exception into JS Exception EJSException.
TRACE 2011-06-10 16:31:46.355
Function setMessageIdOfExceptionMessage: ind-rel.ind-os.ind-db.webas.startInstanceFailed
WARNING[E] 2011-06-10 16:31:46.355
CJSlibModule::writeError_impl()
CJS-20022 Could not start instance 'DVEBMGS01' of SAP system PE2.
TRACE 2011-06-10 16:31:46.355 [iaxxejsbas.hpp:483]
EJS_Base::dispatchFunctionCall()
JS Callback has thrown unknown exception. Rethrowing.
TRACE 2011-06-10 16:31:46.405 [syuxctask.cpp:1382]
CSyTaskImpl::start(bool)
A child process has been started. Pid = 25793
ERROR 2011-06-10 16:31:46.525 [sixxcstepexecute.cpp:950]
FCO-00011 The step start with step key |NW_ABAP_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|10|0|NW_CI_Instance_Start|ind|ind|ind|ind|2|0|start was executed with status ERROR .
TRACE 2011-06-10 16:31:46.555 [iaxxgenimp.cpp:752]
CGuiEngineImp::showMessageBox
<html> <head> </head> <body> <p> An error occurred while processing option SAP ERP 6.0 EHP4 Ready - Support Release 1 > SAP Application Server ABAP > Oracle > High-Availability System > Central Instance . You can now: </p> <ul> <li> Choose <i>Retry</i> to repeat the current step. </li> <li> Choose <i>View Log</i> to get more information about the error. </li> <li> Stop the option and continue with it later. </li> </ul> <p> Log files are written to /tmp/sapinst_instdir/ERPEhP4/AS-ABAP/ORA/HA/CI. </p> </body></html>
TRACE 2011-06-10 16:31:46.555 [iaxxgenimp.cpp:1255]
CGuiEngineImp::acceptAnswerForBlockingRequest
Waiting for an answer from GUI
Kindly let us know how to rectify the error and prroceed further with the instalaltion.
Thanks
RishiDear Guys,
we didnt change the date and time but i m very sure it is same trans.log file.
for your kind information please note SID and Nodes details
Sid (PE2)
DB Node : DBMDB001
CI Node : DBMCI001
also i am attaching starting part of the file.
4 ETW000 R3trans version 6.14 (release 701 - 26.01.09 - 12:46:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 07.11.2010 - 03:44:06
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Sun Nov 7 03:44:06 2010 295 0.000295
4 ETW000 [dev trc ,00000] db_con_init called 22 0.000317
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 116 0.000433
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/PC1/SYS/exe/run/dboraslib.so' ...
4 ETW000 64 0.000497
4 ETW000 [dev trc ,00000] load shared library (/usr/sap/PC1/SYS/exe/run/dboraslib.so), hdl 0
4 ETW000 32161 0.032658
4 ETW000 [dev trc ,00000] Library '/usr/sap/PC1/SYS/exe/run/dboraslib.so' loaded
4 ETW000 39 0.032697
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library
/usr/sap/PC1/SYS/exe/run/dboraslib.so
4 ETW000 111 0.032808
4 ETW000 [dev trc ,00000] Version of '/usr/sap/PC1/SYS/exe/run/dboraslib.so' is "700.08",
patchlevel (0.25)
4 ETW000 265 0.033073
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library
/usr/sap/PC1/SYS/exe/run/dboraslib.so
4 ETW000 41 0.033114
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library
/usr/sap/PC1/SYS/exe/run/dboraslib.so
4 ETW000 82 0.033196
4 ETW000 [dev trc ,00000] New connection 0 created 52 0.033248
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES,
reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 41 0.033289
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 84 0.033373
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 31 0.033404
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES,
reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 37 0.033441
4 ETW000 [dev trc ,00000] Oracle Client Version: '10.2.0.4.0' 601 0.034042
4 ETW000 [dev trc ,00000] -->oci_initialize (con_hdl=0) 25 0.034067
4 ETW000 [dev trc ,00000] Client character set UTF16 -> UTF8 35674 0.069741
4 ETW000 [dev trc ,00000] Client NLS setting (OCINlsGetInfo): 'AMERICAN_AMERICA.UTF8'
4 ETW000 57 0.069798
4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPSR3's password 55 0.069853
4 ETW000 [dev trc ,00000] Connecting as /@PC1 on connection 0 (nls_hdl 0) ... (dbsl 700
151208)
4 ETW000 34 0.069887
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C
EnvHp ErrHp ErrHpBatch
4 ETW000 52 0.069939
4 ETW000 [dev trc ,00000] 0 UTF8 0
0x6000000001052910 0x600000000105a3c0 0x600000000106ab38
4 ETW000 58 0.069997
4 ETW000 [dev trc ,00000] Allocating service context handle for con_hdl=0 40 0.070037
4 ETW000 [dev trc ,00000] Allocating server context handle 27 0.070064
4 ETW000 [dev trc ,00000] Attaching to DB Server PC1
(con_hdl=0,svchp=0x600000000106aa68,srvhp=0x600000000106de78)
4 ETW000 63 0.070127
4 ETW000 [dev trc ,00000] Assigning server context 0x600000000106de78 to service context
0x600000000106aa68
4 ETW000 60612 0.130739
4 ETW000 [dev trc ,00000] Allocating user session handle 97 0.130836
4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con_hdl=0,
usr='/',svchp=0x600000000106aa68, srvhp=0x600000000106de78, usrhp=0x60000000010fc940)
4 ETW000 64 0.130900
4 ETW000 [dev trc ,00000] Assigning user session 0x60000000010fc940 to service context
0x600000000106aa68
4 ETW000 9302 0.140202
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=53, stmth_p=0x6000000001077608)
4 ETW000 198 0.140400
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_MODULE(:A0,:A1); END;
4 ETW000 38 0.140438
4 ETW000 [dev trc ,00000] CbApplInfoGet() failed! Ignore, but uninstall callback to avoid more
erroneous calls
4 ETW000 291 0.140729
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=54, stmth_p=0x6000000001078660)
4 ETW000 33 0.140762
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO(:A0); END;
4 ETW000 35 0.140797
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001078660)
4 ETW000 937 0.141734
4 ETW000 [dev trc ,00000] SELECT SID FROM V$MYSTAT WHERE ROWNUM<2
4 ETW000 36 0.141770
4 ETW000 [dev trc ,00000] Connected to session 297. 639 0.142409
4 ETW000 [dev trc ,00000] Now '/@PC1' is connected: con_hdl=0, nls_hdl=0, session_id=297.
4 ETW000 38 0.142447
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001078660)
4 ETW000 37 0.142484
4 ETW000 [dev trc ,00000] ALTER SESSION SET NLS_SORT = BINARY
4 ETW000 36 0.142520
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001078660)
4 ETW000 327 0.142847
4 ETW000 [dev trc ,00000] SELECT USERID, PASSWD FROM SAPUSER WHERE USERID IN (:A0, :A1)
4 ETW000 36 0.142883
4 ETW000 [dev trc ,00000] Got SAPSR3's password from OPS$-user 728 0.143611
4 ETW000 [dev trc ,00000] Disconnecting from connection 0 ... 38 0.143649
4 ETW000 [dev trc ,00000] Rolling back transaction ... 31 0.143680
4 ETW000 [dev trc ,00000] Closing user session
(con_hdl=0,svchp=0x600000000106aa68,usrhp=0x60000000010fc940)
4 ETW000 210 0.143890
4 ETW000 [dev trc ,00000] Now I'm disconnected from ORACLE 721 0.144611
4 ETW000 [dev trc ,00000] Connecting as SAPSR3/<pwd>@PC1 on connection 0 (nls_hdl 0) ... (dbsl
700 151208)
4 ETW000 40 0.144651
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C
EnvHp ErrHp ErrHpBatch
4 ETW000 37 0.144688
4 ETW000 [dev trc ,00000] 0 UTF8 0
0x6000000001052910 0x600000000105a3c0 0x600000000106ab38
4 ETW000 37 0.144725
4 ETW000 [dev trc ,00000] Assigning username to user session: con_hdl=0,
usrhp=0x60000000010fc940
4 ETW000 35 0.144760
4 ETW000 [dev trc ,00000] Assigning password to user session: con_hdl=0,
usrhp=0x60000000010fc940
4 ETW000 40 0.144800
4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con_hdl=0, usr=SAPSR3/<pwd>,
svchp=0x600000000106aa68, srvhp=0x600000000106de78, usrhp=0x60000000010fc940)
4 ETW000 337 0.145137
4 ETW000 [dev trc ,00000] Assigning user session 0x60000000010fc940 to service context
0x600000000106aa68
4 ETW000 4085 0.149222
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=54, stmth_p=0x6000000001077608)
4 ETW000 63 0.149285
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO(:A0); END;
4 ETW000 37 0.149322
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 585 0.149907
4 ETW000 [dev trc ,00000] SELECT SID FROM V$MYSTAT WHERE ROWNUM<2
4 ETW000 36 0.149943
4 ETW000 [dev trc ,00000] Connected to session 297. 350 0.150293
4 ETW000 [dev trc ,00000] Now 'SAPSR3/<pwd>@PC1' is connected: con_hdl=0, nls_hdl=0,
session_id=297.
4 ETW000 38 0.150331
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 38 0.150369
4 ETW000 [dev trc ,00000] ALTER SESSION SET NLS_SORT = BINARY
4 ETW000 34 0.150403
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 294 0.150697
4 ETW000 [dev trc ,00000] SELECT VALUE FROM V$NLS_PARAMETERS WHERE PARAMETER IN
('NLS_LANGUAGE', 'NLS_TERRITORY', 'NLS_CHARACTERSET') ORDER BY PARAM
4 ETW000 66 0.150763
4 ETW000 [dev trc ,00000] ETER
4 ETW000 34 0.150797
4 ETW000 [dev trc ,00000] Database NLS settings: AMERICAN_AMERICA.UTF8 329 0.151126
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 856 0.151982
4 ETW000 [dev trc ,00000] SELECT UPPER(INSTANCE_NAME),HOST_NAME,VERSION,TO_CHAR
(STARTUP_TIME,'MON DD, YYYY, HH24:MI:SS') FROM V$INSTANCE
4 ETW000 36 0.152018
4 ETW000 [dev trc ,00000] DB instance PC1 is running on scmdb001 with ORACLE version
10.2.0.4.0 since NOV 07, 2010, 03:23:10
4 ETW000 349 0.152367
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 38 0.152405
4 ETW000 [dev trc ,00000] SELECT SUBSTR(NAME,1,3), TO_CHAR(CREATED,'YYYYMMDDHHMMSS')
FROM V$DATABASE -
Using alter user to change oracle password for logged in web user on XE
Hi All
I'm building an app using the pl/sql web toolkit on XE (installed on Win XP Pro SP2). (I'm not using the APEX front-end).
I'm using basic authentication and oracle database user accounts, and when a user registers for the first time I create them an oracle user account with dynamic sql, followed by some initial setup stuff, and they then log in with it.
All fine so far.
However I want to allow the user to change their oracle password as part of maintaining their user details. I've done this in the past using the web toolkit and Oracle 9i and it has worked fine using dynamic sql.
Unfortunately I can't get the same thing to work in XE.
For example, if I create the following procedure in the schema aligned to the DAD which holds my application and then run it from a browser (IE or Firefox) then the
Browser and the db just hangs - not even an error message:
CREATE OR REPLACE PROCEDURE ut
AS
v_stmt varchar2(300);
BEGIN
HTP.htmlOpen;
HTP.headOpen;
HTP.title ('User Test');
HTP.headClose;
HTP.bodyOpen;
v_stmt := 'alter user "'||user||'" identified by "BERT"';
htp.print(v_stmt);
EXECUTE IMMEDIATE v_stmt;
htp.print('Done');
HTP.bodyClose;
HTP.htmlClose;
END;
If I run the same statement in SQL*plus it's fine, and if I run the same proc for a different user then it's fine too.
I'm sure it's something to do with trying to change the credentials of the currently logged in user, but I would at least have expected an error message.
I'd be grateful for any ideas.
Thanks
SteveHi g.myers
Thanks for your response.
Sorry, yes, bad turn of phrase there. It's not the entire db that hangs. The web browser (either IE or FF) hangs, and if I look at v$session at this point, I can see that the user STATUS=ACTIVE and the STATE=WAITING.
I should also point out that I am using standard Oracle users as users of the application, (e.g. create a new user account called TESTER1). These users are then granted the appropriate privileges on the owning schema in order to run the app, access the tables etc.
Therefore it is the user account (e.g. TESTER1) that is running the password change procedure that is owned by the SYS schema. (However again, this is the exact code and method that I've used in the past and it has worked fine).
If I leave the browser hanging long enough, it will eventually return with the following error:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST /h/hopapp.pwdmaint_do.
Reason: Error reading from remote server
cheers
Steve -
I'm having some difficulty with transferring images from a UDP Client to a UDP Server. The issue is receiving the bytes necessary to update an original image sent from the Client to the Server and updating the Servers List(Of Byte) with the
new bytes replacing bytes in that list. This is a simplex connection where the Sever receives and the Client sends to utilize the least amount of bandwidth for a "Remote Desktop" style application where the Server side needs image updates of whatever
occurs on the Client desktop.
So far I can tranfer images with no issue. The images can be be any image type (.Bmp, .Gif, .JPeg, .Png, etc). I was working with sending .JPeg's as they appear to be the smallest size image when a Bitmap is saved to a memory stream as type
.JPeg. And then I am using GZip to compress that byte array again so it is much smaller. However on a loopback on my NIC the speed for sending a full size screen capture is not very fast as the Server updates fairly slowly unless the Clients screen capture
Bitmap is reduced in size to about 1/3'd of the original size. Then about 12000 bytes or less are sent for each update.
Due to .JPeg compression I suppose there is no way to get the difference in bytes between two .JPegs and only send those when something occurs on the desktop that alters the desktop screen capture image. Therefore I went to using .Bmp's as each
.Bmp contains the same number of bytes in its array regardless of the image alterations on the desktop. So I suppose the difference in bytes from a second screen capture and an inital screen capture are what is different in the second image from the initial
image.
What I have done so far is save an initial Bitmap of a screen capture using a memory stream and saving as type .Bmp which takes less than 93 milliseconds for 4196406 bytes. Compressing that takes less than 118 milliseconds to 197325 bytes for
the current windows on the desktop. When that is done PictureBox1 is updated from nothing to the captured image as the PictureBox's background image with image layout zoom and the PictureBox sized at 1/2 my screens width and 1/2 my screens height.
Then I save a new Bitmap the same way which now contains different image information as the PictureBox is now displaying an image so its back color is no longer displayed (solid color Aqua) and the cursor has moved to a different location. The
second Bitmap is also 4196406 in bytes and compressed it was 315473 bytes in size.
I also just found code from this link Converting a Bitmap to a Byte Array (and Byte Array to Bitmap) which gets a byte array
directly from a Bitmap and the size of that is 3148800 for whatever is full screen captured on my laptop. So I should be able to work with smaller byte arrays at some point.
The issue I'm having is that once the Client sends an image of the desktop to the Server I only want to update the server with any differences occuring on the Clients desktop. So what I have done is compare the first screen captures bytes (stored
in a List(Of Byte)) to the second screen captures bytes (stored in a List(Of Byte)) by using a For/Next for 0 to 4196405 where if a byte in the first screen captures List is not equal to a byte in the second screen captures List I add the index and byte of
the second screen captures list to a Dictionary(Of Integer, Byte). The Dictionary then only contains the indexes and bytes that are different between the first screen capture and second screen capture. This takes about 125 milliseconds which I think is pretty
fast for 4196406 byte comparison using a For/Next and adding all the different bytes and indexes for each byte to a Dictionary.
The difference in Bytes between the inital screen capture and the second screen capture is 242587 as an example which changes of course. For that amount of bytes the Dictionary contains 242587 integers as indexes and 242587 bytes as different
bytes totaling 485174 bytes for both arrays (keys, values). Compressed the indexes go from 242587 to 43489 bytes and the values go from 242587 to 34982 bytes. Which means I will have to send 78, 481 bytes from the Client to the Server to update the display
on the server. Quite smaller than the original 4196406 bytes of the second Bitmap saved to type .Bmp or the compressed size of that array which was 315473 bytes. Plus a few bytes I add as overhead so the server knows when an image array ends and how many packets
were sent for the array so it can discard complete arrays if necessary since UDP is lossfull although probably not so much in current networks like it may originally have been when the internet started.
In reality the data from the Client to the Server will mostly be the cursor as it moves and updating the Server image with only a few hundred bytes I would imagine at a time. Or when the cursor selects a Button for example and the Buttons
color changes causing those differences in the original screen capture.
But the problem is if I send the Dictionaries Indexes and Bytes to the Server then I need to update the original Bitmap List(Of Byte) on the server by removing the Bytes in the received informations Index locations array from the Servers Bitmap
List(Of Byte) and replacing those Bytes with the Bytes in the received informations Byte array. This takes so long using a For/Next for however many indexes are in the received informations Index array to update the Bitmap List(Of Byte) on the server using
"Bmp1Bytes.RemoveAt(Index As Integer)" followed by "Bmp1Bytes.Insert(Index As Integer, Item As Byte)" in the For/Next.
I've tried various For/Next statements including using a new List(Of Byte) with If statements so If the the integer for the For/Next ='s the Key in a Dictionary(Of Integer, Byte) using a Counter to provide the Dictionaries Key value then
the Dictionaries byte value will be added to the List(Of Byte) and the counter will increas by one Else the List(Of Byte) adds the original "Bmp1Bytes" byte at that index to the new List(Of Byte). This takes forever also.
I also tried the same For/Next adding to a new Dictionary(Of Integer, Byte) but that takes forever too.
I think I could use RemoveRange and AddRange to speed things up. But I don't know how to retrieve a contiguous range of indexes in the received indexes that need to be updated in the servers "Bmp1Bytes" List(Of Byte) from the received
array of indexes and bytes which are in a Dictionary(Of Integer, Byte). But I believe this would even be slower than some realistic method for replacing all Bytes in a List(Of Byte) when I have the indexes that need to be replaced and the bytes to replace
them with.
Even if I just used AddRange on a new List(Of Byte) to add ranges of bytes from the original "Bmp1Bytes" and the changes from the Dictionary(Of Integer, Byte) I think this would be rather slow. Although I don't know how to do that
by getting contiguous ranges of indexes from the Dictionaries keys.
So I was wondering if there is some method perhaps using Linq or IEnumerable which I've been unable to figure anything out which could do this.
I do have some copy and pasted code which I don't understand how it works that I am using which I would guess could be altered for doing something like this but I can't find information that provides how the code works. Or even if I did
maybe I can't understand it. Like the code below which is extremely fast.
Dim strArray() As String = Array.ConvertAll(Of Integer, String)(BmpComparisonDict.Keys.ToArray, Function(x) x.ToString())
La vida locaMonkeyboy,
That was quite a bit to read, but still a bit unclear. Could you put a specific list of goals/questions, asked in the smallest possible form?
It seems like either you're making a program that monitors activity on your computer, or you're writing some kind of remote pc app.
When you do get your bytes from using lockbits, keep in mind all the files header info would be lost. I think retaining the header info is worth the extra bytes.
The other, thing: I'm not sure if you're taking 32bpp screen shots, but also keep in mind that the "whole desktop" is the final destination for blended graphics, if that makes sense. What I mean is that there is no need to capture an "alpha"
channel for a desktop screenshot, as alpha would always be 255, this could save you 1 byte per pixel captured... Theres nothing "behind" the desktop, therefore no alpha, and every window shown above the desktop is already blended. I suggest using
24Bpp for a full screen capture.
Your X,Y information for the mouse could be stored as UINT16, this would save you a measly 2 bytes per location update/save.
When you update your byte arrays, maybe you can turn the array into a stream and write to whatever index, however many bytes, that should prevent a "Shift" of bytes, and instead overwrite any bytes that "get in the way".
ex
Dim example As String = "This is an example."
Dim insertString As String = "was"
Dim insertBytes As Byte() = System.Text.Encoding.ASCII.GetBytes(insertString)
Dim bytes As Byte() = System.Text.Encoding.ASCII.GetBytes(example)
Dim modifiedBytes As Byte() = {}
Using ms As New System.IO.MemoryStream(bytes)
ms.Position = 5
ms.Write(insertBytes, 0, 3)
modifiedBytes = ms.ToArray
End Using
Dim newString As String = System.Text.Encoding.ASCII.GetString(modifiedBytes)
'Notice how below there isn't the word "is" anymore, and that there isn't a
'space.
'This demonstrates that you overwrite existing data, versus shifting everything to
'the right.
'Returns: This wasan example.
MsgBox(newString)
“If you want something you've never had, you need to do something you've never done.”
Don't forget to mark
helpful posts and answers
! Answer an interesting question? Write a
new article
about it! My Articles
*This post does not reflect the opinion of Microsoft, or its employees.
Well it's too much to read. I was really tired when I wrote it. Even the below is too much to read but perhaps gets the point across of what I would like to do which I think
Joel Engineer may have answered but I'm not sure. As I'm still too tired to understand that yet and research what he said in order to figure it out yet.
But maybe the code below can provide the concept of the operation with the comments in it. But seeing as how I'm still tired it may be confused.
Option Strict On
Imports System.Windows.Forms
Imports System.IO
Imports System.IO.Compression
Imports System.Drawing.Imaging
Imports System.Runtime.InteropServices
Public Class Form1
Dim Bmp1Bytes As New List(Of Byte)
Dim Bmp1BytesCompressed As New List(Of Byte)
Dim Bmp2Bytes As New List(Of Byte)
Dim BmpComparisonDict As New Dictionary(Of Integer, Byte)
Dim BmpDifferenceIndexesCompressed As New List(Of Byte)
Dim BmpDifferenceBytesCompressed As New List(Of Byte)
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
SomeSub()
End Sub
Private Sub SomeSub()
' Pretend this code is in UDP Client app. A screen capture is performed of the desktop. Takes about 90 milliseconds.
Bmp1Bytes.Clear()
Using BMP1 As New Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height)
Using g1 As Graphics = Graphics.FromImage(BMP1)
g1.CopyFromScreen(0, 0, 0, 0, BMP1.Size)
Cursor.Draw(g1, New Rectangle(Cursor.Position.X, Cursor.Position.Y, Cursor.Size.Width, Cursor.Size.Height))
Using MS As New MemoryStream
BMP1.Save(MS, System.Drawing.Imaging.ImageFormat.Bmp)
Bmp1Bytes.AddRange(MS.ToArray)
End Using
End Using
End Using
Bmp1BytesCompressed.AddRange(Compress(Bmp1Bytes.ToArray))
' UDP Client app sends Bmp1BytesCompressed.ToArray to UDP Server which is the entire image of the desktop that the UDP
' Client is on. This image takes awhile to send since compressed it is about 177000 bytes from over 4000000 bytes.
' I will be using different code just to get the bytes from the actual Bitmap in the future. That is not important for now.
' Pretend the UDP Server has received the bytes, decompressed the array received into a List(Of Byte) and is displaying
' the image of the UDP Clients desktop in a PictureBox.
' Now the image on the UDP Clients desktop changes due to the mouse cursor moving as an example. Therefore a new Bitmap
' is created from a screen capture. This takes about 90 milliseconds.
Bmp2Bytes.Clear()
Using BMP2 As New Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height)
Using g1 As Graphics = Graphics.FromImage(BMP2)
g1.CopyFromScreen(0, 0, 0, 0, BMP2.Size)
Cursor.Draw(g1, New Rectangle(Cursor.Position.X, Cursor.Position.Y, Cursor.Size.Width, Cursor.Size.Height))
Using MS As New MemoryStream
BMP2.Save(MS, System.Drawing.Imaging.ImageFormat.Bmp)
Bmp2Bytes.AddRange(MS.ToArray)
End Using
End Using
End Using
' Now I have the original images bytes in Bmp1Bytes and the new images bytes in Bmp2Bytes on the UDP Client. But I don't
' want to send all of the bytes in Bmp2Bytes to the UDP Server. Just the indexes of and the bytes that are different in
' Bmp2Bytes from Bmp1Bytes.
' This takes less than 100 milliseconds for what I've tested so far where over 500000 bytes in Bmp2Bytes are different
' than the bytes in Bmp1Bytes. Usually that amount would be much less. But during testing I was displaying the image
' from Bmp1 bytes in a PictureBox so a large amount of data would change between the first screen shot, the PictureBox
' then displaying an image on the same PC and then the second screen shot.
BmpComparisonDict.Clear()
For i = 0 To Bmp1Bytes.Count - 1
If Bmp1Bytes(i) <> Bmp2Bytes(i) Then
BmpComparisonDict.Add(i, Bmp2Bytes(i))
End If
Next
' So now I have all the difference bytes and their indexes from Bmp2Bytes in the BmpComparisonDict. So I compress
' the indexes into on List and the Bytes into another List.
BmpDifferenceIndexesCompressed.Clear()
BmpDifferenceBytesCompressed.Clear()
BmpDifferenceIndexesCompressed.AddRange(Compress(BmpComparisonDict.Keys.SelectMany(Function(d) BitConverter.GetBytes(d)).ToArray()))
BmpDifferenceBytesCompressed.AddRange(Compress(BmpComparisonDict.Values.ToArray))
' Now pretend the UDP Client has sent both those arrays to the UDP Server which has added both decompressed arrays
' to a Dictionary(Of Integer, Byte). And the server has the original image decompressed bytes received in a List
' called Bmp1Bytes also.
' This is where I am stuck. The UDP Server has the Dictionary. That part was fast. However there is no
' fast method I have found for creating a new List(Of Byte) where bytes in the originally received List(Of Byte) that
' do not have to be altered are placed into a new List(Of Byte) except for the indexes listed in the
' Dictionary(Of Integer, Byte) that need to be placed into the appropriate index locations of the new List(Of Byte).
' The below example for doing so is exceptionally slow. Pretend UpdateDictionary has all of the decompressed indexes
' and bytes received by the UDP Server for the update contained within it.
Dim UpdateDictionary As New Dictionary(Of Integer, Byte)
Dim UpdatedBytes As New List(Of Byte)
Dim Counter As Integer = 0
For i = 0 To Bmp1Bytes.Count - 1
If i = UpdateDictionary.Keys(Counter) Then ' Provides the index contained in the Keys for the Dictionary
UpdatedBytes.Add(UpdateDictionary.Values(Counter))
Counter += 1
If Counter > UpdateDictionary.Count - 1 Then Counter = 0
Else
UpdatedBytes.Add(Bmp1Bytes(i))
End If
Next
' So what I'm trying to do is find an extremely fast method for performing something similar to what the
' above operation performs.
End Sub
Private Function Compress(BytesToCompress() As Byte) As List(Of Byte)
Dim BytesCompressed As New List(Of Byte)
Using compressedStream = New MemoryStream()
Using zipStream = New GZipStream(compressedStream, CompressionMode.Compress)
zipStream.Write(BytesToCompress, 0, BytesToCompress.Count)
zipStream.Close()
BytesCompressed.AddRange(compressedStream.ToArray)
End Using
End Using
Return BytesCompressed
End Function
Private Function Decompress(BytesToDecompress() As Byte) As List(Of Byte)
Dim BytesDecompressed As New List(Of Byte)
Using DecompressedStream = New MemoryStream()
Using zipStream = New GZipStream(DecompressedStream, CompressionMode.Decompress)
zipStream.Write(BytesToDecompress, 0, BytesToDecompress.Count)
zipStream.Close()
BytesDecompressed.AddRange(DecompressedStream.ToArray)
End Using
End Using
Return BytesDecompressed
End Function
End Class
La vida loca -
How do I change the URL to the Remote Web Access server in Windows Server 2012?
Hallo!
I have set up a Remote Dexktop Service using the "Quick" deployment method in Server Manager and everything is working greate internally, but I cannot start an app published in Remote Web Access from outside our network.
The problem is that it wants to start the using the internal URL, for example, server.domain.local, instead of the external one, for example remote.server.com.
I therefore want to know how I can change the default URL for the Remote Web Access server and all the Remote Web Apps in Windows Server 2012?
I have allready looked in Server Manager and I can change some of the deployment settings in server manager, but there is no way to alter the URL of the Remote Web Access server. See below images:
Pressing the internal URL only results in opening the internal URL.
This was very simple to do in Windows Server 2008 R2 using the tsconfig tool, but it does not seam to be any way of solving this in server manager.
A possible sollution would be to alter the registry someware in HKLM->Software->Microsoft->Windows NT->Terminal Services. But this can easaly lead to problems due to wrong format, etc. and is probably not supported.
Is there a simpler and supported way?That option can be used to connect to any machine that you want. The error message indicates that the client machine cannot resolve the name "server.domain.local" to an IP address that it can connect to.
You have several options for configuring that tab on the RDweb site. You can even remove it entirely.
Customization of RD Web Site
RD Web provides a number of customization options for the RD Web interface, including the ability to control default Gateway server settings and redirection settings. These settings
are controlled by editing the web.config file located in %SYSTEMROOT%\Web\RDWeb\Pages.
Displaying Local Help
To display local help for users instead of the web-based help, edit the LocalHelp value and change the value from false to true.
<!-- LocalHelp: Displays local help for users, instead of the web-based help. Value must be "true" or "false" -->
<add key="LocalHelp" value="false" />
When this value is changed, a user that clicks on Help in the upper right corner of the RD Web login page will open the local help file instead of web-based help.
Hiding the Connect to a Remote PC Tab
The RDWeb page
Connect to a Remote PC tab can be hidden from users to prevent connections to any servers through RD Web other than the servers configured in a collection. By default, this setting is set to true and the
Remote Desktops tab is displayed. To hide the tab, set the value to false.
<!-- ShowDesktops: Displays or hides the Remote Desktops tab. Value must be "true" or "false" -->
<add key="ShowDesktops" value="true" />
When the value is set to false, a user will not see the Connect to a Remote PC tab when logged on to the RD Web page
RD Gateway Settings
If the Connect to a Remote PC tab is enabled, an administrator can configure RD Web to use a Gateway server when connecting to remote computers. To specify a gateway, edit the below
value with the name of the RD Gateway server:
<!-- DefaultTSGateway: Admin can preset this to a given Gateway name, or set to "" for no gateway. -->
<add key="DefaultTSGateway" value="" />
The default authentication method for the RD Gateway server can also be configured by editing the following section of the web.config:
<!-- GatewayCredentialsSource: TS Gateway Authentication Type.
Admins can preset this.
0 = User Password
1 = Smartcard
4 = "Ask me later"
-->
<add key="GatewayCredentialsSource" value="0" />
Devices and Resources
By default, only Printers and Clipboard are redirected on connections made using the Connect to a Remote PC tab. If the user clicks the
Options << button, the redirection settings for a specific connection can be modified
To configure each specified redirection option to be enabled or disabled by default, edit the following section in the web.config file:
<!-- Devices and resources: Preset the Checkbox values to either true or false -->
<add key="xPrinterRedirection" value="true" />
<add key="xClipboard" value="true" />
<add key="xDriveRedirection" value="false" />
<add key="xPnPRedirection" value="false" />
<add key="xPortRedirection" value="false" />
LAN Experience Defaults
Windows Server 2012 RD Web Access can display a new user selectable option for optimizing the connection for a LAN experience. This option is displayed at the bottom of the RD Web
page and can be controlled by the administrator using the following section of the web.config file:
<!-- Checkbox to opt for optimized LAN experience -->
<add key="ShowOptimizeExperience" value="false" />
<add key="OptimizeExperienceState" value="false" />
This value is set to false by default, but when changed to true, the following checkbox will display at the bottom of the webpage. The LAN experience
checkbox can also be set as enabled by default.
Each setting can also be modified using the IIS Manager user interface:
Don Geddes - SR Support Escalation Engineer - Remote Desktop Services - Printing and Imaging -
Hello,
I use the remote app on my iPhone quite a bit and am looking for one something similar i can use on my mac.
I have found a couple but ideally I am looking for a dashboard widget or menubar item thats always there. I'm not looking for loads of features a simple playback controller would be fine...
Cheers
AndyDave Sawyer wrote:
the OP wants to control iTunes on a different computer.
hmm ...
in that case there might be something @ Doug's, such as:
[_*Dan's Remote Scripts*_|http://dougscripts.com/itunes/scripts/ss.php?sp=dansremotes]
These four scripts will assist you in controlling iTunes from a remote computer over a network: Toggle Pause/Play I, Toggle Pause/Play II, Remote Play Next, Remote Play Previous. Be sure to open these scripts in Script Editor and supply the IP addresses for the remote machine.
or
[_*iTunes 2 Remote*_|http://dougscripts.com/itunes/scripts/ss.php?sp=ittorem]
"This script allows you to remotely control iTunes—useful if like me you have a server attached to an amp and a powerbook with airport The script needs to be altered before it compiles - the hostname or ip address of the machine you want to control needs to replace the instances of myhost.domain.com."
not a very elegant solution but might be sufficient.
JGG -
Not able to access database from a remote machine using SQL Server Management Studio
Hi,
I have a DB_BOX with SQL Server 2008 R2 installed. I can access the databases on the local machine using SQL Server Management Studio but it is not accessible from other machines, though the machines are in same domain.
I have remote enabled on SQL Server box, TCP enabled, firewall off. I checked with IP Address too, all SQL Server services are running.
The SQL Server log shows the message
The requested service has been stopped or disabled and is unavailable at this time. The connection has been closed.
I get the below message in SSMS from remote machine.
Details of error message are
===================================
Cannot connect to DB_BOX.
===================================
A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) (.Net SqlClient Data Provider)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=64&LinkId=20476
Server Name: DB_BOX
Error Number: 64
Severity: 20
State: 0
Program Location:
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket()
at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
at System.Data.SqlClient.TdsParserStateObject.ReadByte()
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()Sorry, missed the message from the errorlog in the original post. You shouldn't have included that big .Net dump that hid the important facts. :-)
My first Google attempt on that message (which I have never seen before) suggests that the TCP Enpoint is stopped, so try this:
ALTER ENDPOINT [TSQL Default TCP]
STATE=STARTED;
Erland Sommarskog, SQL Server MVP, [email protected]
This solves the problem. Thanks... -
Remote Time Machine backup over VPN, high data usage?
I have a remote Mac mini Server running 10.10.1 in a hosted environment. I'm attempting to perform a Time Machine backup from a MacBook Pro, also running Yosemite, over VPN.
While TM does see the AFP share over VPN and is backing up, it's been working at it for almost 36 hours now. I understand than uploading a lot of data takes time, but I noticed that Activity Monitor shows that over 30GB of data has been uploaded while the TM progress bar states that only 6.35GB (of ~20GB) has been transferred. Why such a difference? I know that VPN will introduce some overhead, but this just seems ridiculous.
Does anyone have any insight into what is happening? Better yet, can anything be done to fix it?
I actually purchased the mini server for the primary purpose of having remote TM backups, but this type of data rate and transfer is almost making it look impractical.Time Machine is a very network intensive process, it has to check to see what files have changed this requires comparing between any existing backups and the Mac itself, it may have to prune existing backups to make more room this requires various commands, it of course has to copy new or altered files, it also has to verify all of this. On top of all this as you said the VPN system itself has an overhead and TCP/IP itself does so as well.
While >30GB vs 6.35GB does seem an excessive ratio it is not impossible. It should be noted even a local first backup (the biggest) can take a great deal of time, however typically subsequent backups are a lot smaller and hence quicker.
If you were able to do a local backup and do the same measurements of amounts transferred this would at least show if the amount is normal. -
Each Hyper-V host is a Windows 2012 Server
Each host is Connected to a Dell Powervault MD3260 via Dual SAS Cables.
We started getting Errors similar to the Following:
Log Name: System
Source: Microsoft-Windows-FailoverClustering
Date: 9/22/2014 12:01:24 PM
Event ID: 5142
Task Category: Cluster Shared Volume
Level: Error
Keywords:
User: SYSTEM
Computer: SVR-HBG-VM4.HAYDON-MILL.COM
Description:
Cluster Shared Volume 'VSVR_File_Data' ('VSVR_File_Data') is no longer accessible from this cluster node because
of error 'ERROR_TIMEOUT(1460)'. Please troubleshoot this node's connectivity to the storage device and network connectivity.
The CSV Resources that were giving the Timeout Errors were all managed on one specific host, other CSVs on the Powervault were all working fine form the Host reporting the timeout error.
Each of the Host then started to have issues with timeouts to other CSV. Dell Tech Support interrogated the Powervault and found no issued with the Connectivity and no events were present on the Powervault indicating an issue.
Each of the Host would then hand in Explorer, the Task bar would have no icons in the task bar and turn to hourglass when moving mouse to it.
Failover Cluster Manager would sometimes work, then stop working, It would not update the status of the VMs. They would jsut stay at "Loading..." Hyper-V Manager would have similar issues.
We ended up Shutting down all of the VMs and the Cluster and then bringing it back online. Though in the Process we had to tweak some things, the DNS settings on the Hosts were pointing to a VM that was Offline that was fixed. We could not reconnect to the
cluster after we turned on the Hosts. We were getting RPC server unavailable.
I ended up turning off the Firewalls, resetting the NICs and things started to get better.
8 Minutes prior to the Issues did make a few GPO Changes.
Windows Firewall: Allow inbound Remote Desktop Exception Domain Profile
was 10.0.0.0/8
Changed to 10.0.0.0/8,10.1.0.0/16
Windows Firewall: Allow inbound Remote Desktop Exception Standard Profile
10.1.0.0/16, localsubnet
Windows Firewall: Allow inbound Remote administration Exception Domain Profile
was localsubnet,10.0.0.0/8
Changed to localsubnet,10.0.0.0/8,10.1.0.0/16
Windows Firewall: Allow inbound Remote administration Exception Standard Profile
10.1.0.0/16, localsubnet
Remote Registry Service
Set to Manual Start
So my Question is, could these changes of Affected the Hyper-V Hosts in the Cluster?
Thanks!
Scott<-I guess I don't see why what I did caused this? The only Change that should of been a Limitation was the Remote Registry set to Manual. If the service on the Clusters was set to Automatic and I set it to Manual, I could see that happening. I removed
that setting in the GPO, though I never altered the service on the Cluster Hosts afterwards.
I Guess if in the Setup of the Cluster Hosts it Changed the Inbound Rules in the Firewall and then I limited them further, though I allowed the LocalSubnet and all of the Hosts are in the local subnet. 10.1.0.0/16.
One Host finally came back online and was able to start VMs and Connect to the cluster without stopping the firewall. Its firewall was only turned off later to match the other three hosts.
Do the Cluster Hosts use the ports for Remote Administration to Communicate to each other?
Here is another thought, Do they communicate to each other via the Management Port or the Redundant Network Link? the Redundant Channel Link is in 10.99.0.0/24 Though Each of the changes I made had either
10.0.0.0/8 which should be a super-set of 10.99.0.0/24 or it had LocalSubnet, which should be 10.99.0.0/24
I just want to be sure that was really the cause and turning off the firewalls was not just masking another issue.
Thanks,
Scott<- -
Oracle 10g Express Edition - Problem setting Remote Listener access
Hi,
I have finally managed to get my SUSE machine running Oracle XE. Now I wanted to add remote access to the listener by issuing the following statement (which is the same as described in the documentation)
SQL> EXEC DBMS_XDB.SETLISTENERLOCALACCES(FALSE);
BEGIN DBMS_XDB.SETLISTENERLOCALACCES(FALSE); END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBMS_XDB.SETLISTENERLOCALACCES' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
SQL>
But I run into the above error - somebody knows what to do?
Regards,
ThomasSQL> select owner,object_type,status from all_objects where lower(object_name) = 'dbms_xdb';
select owner,object_type,status from all_objects where lower(object_name) = 'dbms_xdb'
ERROR at line 1:
ORA-01219: database not open: queries allowed on fixed tables/views only
So, I have tried the following:
->
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01507: database not mounted
SQL> alter database mount;
alter database mount
ERROR at line 1:
ORA-00205: error in identifying control file, check alert log for more info
SQL> alter database create standby controlfile as 'ora_control1' reuse;
alter database create standby controlfile as 'ora_control1' reuse
ERROR at line 1:
ORA-01507: database not mounted
I'm quite confused right now. -
Remote Desktop Connection (from home out)
Have BT infinity, has been working fine connecting via Microsoft remote desktop to my office PC (for those infrequent occasions where I need to pick on the odd email), but from about 3 weeks ago I am unable to connect.
I have not changed anything at my end. Others can still connect. And I can connect via 3G, so have narrowed it down to the BT connection or the homehub.
I used wired, not wireless connection.
Am connecting via Microsoft's "Application and Network Access Portal", but I just get a message
Have BT altered something at their end?
Really need to get this working again.
ThanksThanks both. I've reverted to the HH3 (type B) i had down in the basement, but still no joy :-(
I can connect to my office email, using Outlook Web Access, but really need to get Remote Desktop working as I need to get other (non email) resources.
I did crack this a while back, but it has since stopped working - at that time it was setting my iprange to be something different (as other posts had mentioned about possible my PC conflicting with the range used by my office). But that isn't helping this time.
Would be annoyed if BT have altered something again.
Just spotted the HH3 firmware was update at start of Nov
Current firmware:
V100R001C01B036SP05_L_B
Last updated:
01/11/13
Ken -
Overriding function keys when using MS Remote Desktop Connection
Is there a way when connected to a RDP client using MS Remote Desktop Connection to prevent the function keys from being intercepted and handled by OSX. For example on my iMac keyboard, function keys 7 to 12 are used to control itunes and alter the system sound volumes. Is there a way to have these keys processed by the RDP client instead, so that the remote Windows OS can handle them?
While this question currently relates to an iMac, I'll soon be using a Macbook Pro in the same scenario, and will be requiring a similar solution for that machine.Thanks for your suggestion. Setting that option only toggles what the function keys are interpreted as in OSX, but the key presses are still not processed by the OS in the RDP session. For example, pressing F9 when the RDP window is active shows all open OSX windows in Expose, rather than having the keypress processed by the active software in the RDP session
I did try posting to the forum you mentioned yesterday, but due to server issues my post failed. I'll try again today.
Maybe you are looking for
-
My iPad doesn't want to respond.It says:iPad not backed up.Should I rest it and how do I do that?
-
MDM7.1 Relationship Tables
Hi Everyone, We are working on MDM 7.1 and we have 3 different main tables. We have a scenario to import relationships between different remote systems. The records from both the remote systems are maintained as company. But we are trying to import
-
I know this question has been asked before, but I'm looking for fresh input. I am a PC user. Over the past 7 months, I have been using PS CS4 to create large 36"x24" - 8'x12' paintings in PS. Obviously, this puts a big strain on my PC & am considerin
-
Share Button Not Showing up in Album View
I've been trying to figure out how to send multiple photos via e-mail or mms on my iPhone 4 when I realized there is NO share button appearing anywhere on the screen when I open the Photo app. Does anyone know how to make this show up? Edit: Just to
-
I´m trying to use both Skype and www.yousendit.com to transfer files (photographs) to clients. But neither allow me to choose more than one at a time. Speaking with people on PC they have no problem with this, suspecting this is a Mac issue. I have t