Login and goto fails
Hi,
I need to call a servlet directly without getting authenticated. The reason I need the session is because I'm using profile APIs. The method I'm trying out is using login and goto. In the user servlets, I get a session exception ( Invalid Service Host Name ) which I catch and in the catch block I use login and goto to get the session cookie and redirect to the user servlet.
try{
//Get session and profile here
catch{
redirectURL = "login?&goto=" + req.getRequestURI();
resp.sendRedirect(redirectURL);
This works if the servlet is called from a direct HREF link. If this servlet is posted from a form, it works at times but is very inconsistent. We get a BAD REQUEST on the browser when it fails.
Any ideas why this happens ?
Thanks
Thanks for the suggestions ! The original problem of not being able to pass parameters like -
"login?&goto=" + req.getRequestURI + "?param=" + value"
has been solved by encoding the URL string sent to resp.sendRedirect.
However the suggestion you have given regarding setting of cookies in the browser might have a bearing on my actual problem. I'm trying to do away with the redirection to the login servlet in the DesktopServlet.
Here is what I'm trying to do to make our website searchengine friendly - using WGET scrape the DesktopServlet and set it as the index.html. When somebody tries to access the links which are ordinary servlets, it gives a session exception. I catch the session exception and in the catch block use "login?&goto" to do a response.sendRedirect. This does a login and gets me the session.
All the servlets work fine except for one which is identical to the ones working except for the fact it is a post from a form on the DesktopServlet. Here I get a HTTP 400 Bad Request error. I've noticed that when I clear the cache and try I get a better response.
Any suggestion on how to overcome this ( possibly by setting cookies ) would be greatly appreciated.
Thanks in advance
Similar Messages
-
Accessing servlets using login and goto
Hi,
I'm having a problem in accessing servlets without visiting the DesktopServlet. There is no problem if the servlet does not require a parameter, but if I try to pass a parameter to the servlet, it does not pass the parameter -
Without visiting the DesktopServlet when I try to visit an servlet X , it gives me a session exception.
Thrown SessionException : Invalid service host name.
I use the following code to login and go to the servlet :
String redirectTarget = "login?&goto=" + req.getRequestURI() + "&hotelComponent=" + hotelComponent;
resp.sendRedirect(redirectTarget);
Inside the doGet of the servlet, I now try to read the hotelComponent parameter -
String hotelComponent = req.getParameter("hotelComponent");
But now I get a null. I can not get the hotelComponent parameter. Any suggestions will be very helpful
Thanks in advance
ParthaThanks for the suggestions ! The original problem of not being able to pass parameters like -
"login?&goto=" + req.getRequestURI + "?param=" + value"
has been solved by encoding the URL string sent to resp.sendRedirect.
However the suggestion you have given regarding setting of cookies in the browser might have a bearing on my actual problem. I'm trying to do away with the redirection to the login servlet in the DesktopServlet.
Here is what I'm trying to do to make our website searchengine friendly - using WGET scrape the DesktopServlet and set it as the index.html. When somebody tries to access the links which are ordinary servlets, it gives a session exception. I catch the session exception and in the catch block use "login?&goto" to do a response.sendRedirect. This does a login and gets me the session.
All the servlets work fine except for one which is identical to the ones working except for the fact it is a post from a form on the DesktopServlet. Here I get a HTTP 400 Bad Request error. I've noticed that when I clear the cache and try I get a better response.
Any suggestion on how to overcome this ( possibly by setting cookies ) would be greatly appreciated.
Thanks in advance -
When first login in via the web page. When going to Configure menu and choosing CUCME to enter it manually, I get:
Error: Login to CUCME failed with the new values. Check the new CUCME configuration and enter the correct values.
hostname: 172.23.0.1
web user name: admin
web password: cisco
Sip gateway hostname: 172.23.0.1
ccn reporting historical
database local
description "se-172-23-0-2"
end reporting
ccn subsystem sip
gateway address "172.23.0.1"
mwi sip unsolicited
end subsystem
BR2-ROUTER#sh run
Building configuration...
Current configuration : 5264 bytes
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname BR2-ROUTER
boot-start-marker
boot-end-marker
card type t1 0 3
logging message-counter syslog
logging buffered 51200 warnings
no aaa new-model
clock timezone MST -7
clock summer-time MDT recurring
network-clock-participate wic 3
dot11 syslog
ip source-route
ip cef
ip dhcp excluded-address 172.21.0.1 172.21.0.49
ip dhcp excluded-address 172.21.0.59 172.21.0.254
ip dhcp excluded-address 172.20.0.1 172.20.0.10
ip dhcp pool CME
network 172.21.0.0 255.255.255.0
option 150 ip 172.21.0.1
default-router 172.21.0.1
ip dhcp pool LAPTOPS
network 172.20.0.0 255.255.255.0
default-router 172.20.0.2
dns-server 10.10.10.1
no ip domain lookup
ip domain name wilson.com
no ipv6 cef
multilink bundle-name authenticated
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
no supplementary-service h225-notify cid-update
sip
bind control source-interface GigabitEthernet0/0.20
bind media source-interface GigabitEthernet0/0.20
registrar server expires max 600 min 60
voice register global
mode cme
source-address 172.21.0.1 port 5060
max-dn 4
max-pool 4
authenticate register
timezone 12
time-format 24
date-format YY-M-D
voicemail 3600
tftp-path flash:
create profile sync 0021447056000116
ntp-server 174.137.67.50 mode directedbroadcast
voice register dn 1
number 3006
call-forward b2bua busy 3600
call-forward b2bua mailbox 3006
call-forward b2bua noan 3600 timeout 12
name rp-sip-1-16
label SIP 511-5016
mwi
voice register pool 1
id mac FCFB.FBCA.30CE
type 7965
number 1 dn 1
dtmf-relay rtp-nte
username 3006 password cisco
description 687-3006
codec g711ulaw
voice-card 0
username admin privilege 15 secret 5 $1$..D.$orbTsqgPSvNkMpfjjkg5q.
archive
log config
hidekeys
controller T1 0/3/0
cablelength long 0db
controller T1 0/3/1
cablelength long 0db
interface Loopback0
ip address 172.23.0.1 255.255.255.252
ip ospf network point-to-point
interface GigabitEthernet0/0
description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$
no ip address
duplex auto
speed auto
interface GigabitEthernet0/0.10
encapsulation dot1Q 10 native
ip address 172.20.0.2 255.255.255.0
interface GigabitEthernet0/0.20
encapsulation dot1Q 20
ip address 172.21.0.1 255.255.255.0
interface GigabitEthernet0/0.30
encapsulation dot1Q 30
ip address 172.22.0.1 255.255.255.0
interface GigabitEthernet0/1
ip address 192.168.1.138 255.255.252.0
duplex auto
speed auto
interface Integrated-Service-Engine1/0
ip unnumbered Loopback0
service-module ip address 172.23.0.2 255.255.255.252
service-module ip default-gateway 172.23.0.1
no keepalive
ip forward-protocol nd
ip route 172.23.0.2 255.255.255.255 Integrated-Service-Engine1/0
ip http server
ip http access-class 23
ip http authentication local
no ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip http path flash:/gui
access-list 23 permit 10.10.10.0 0.0.0.7
nls resp-timeout 1
cpd cr-id 1
control-plane
ccm-manager fax protocol cisco
mgcp fax t38 ecm
dial-peer voice 3600 voip
destination-pattern 36..
session protocol sipv2
session target ipv4:192.168.1.144
dtmf-relay sip-notify
codec g711ulaw
no vad
sip-ua
retry invite 3
timers trying 400
mwi-server ipv4:192.168.1.144 expires 3600 port 5060 transport udp
gatekeeper
shutdown
telephony-service
no auto-reg-ephone
em logout 0:0 0:0 0:0
max-ephones 10
max-dn 10 no-reg both
ip source-address 172.23.0.1 port 2000
voicemail 3600
max-conferences 8 gain -6
call-forward pattern .T
web admin system name admin password cisco
dn-webedit
transfer-system full-consult
transfer-pattern .T
create cnf-files version-stamp Jan 01 2002 00:00:00
ephone-dn 1
number 3007
description 687-9898-3007
name Vatos locos
call-forward busy 3600
call-forward noan 3600 timeout 12
ephone-dn 2
number 3008
description 687-9898-3008
name Vatos locos2
call-forward busy 3600
call-forward noan 3600 timeout 12
ephone-dn 3 octo-line
number 3009
huntstop channel 6
ephone-dn 4
number 7999....
mwi on
ephone-dn 5
number 7998....
mwi off
ephone 1
device-security-mode none
description TESTTTTT
mac-address FCFB.FBCA.3406
max-calls-per-button 5
busy-trigger-per-button 4
type 7965
button 1:1 2:3
ephone 2
device-security-mode none
description TESTTTTT
mac-address FCFB.FBCA.3030
max-calls-per-button 4
busy-trigger-per-button 3
type 7965
button 1:2 2:3
line con 0
exec-timeout 0 0
logging synchronous
login local
line aux 0
line 66
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120
line vty 0 4
access-class 23 in
privilege level 15
login local
transport input telnet
line vty 5 15
access-class 23 in
privilege level 15
login local
transport input telnet
scheduler allocate 20000 1000
ntp server 174.137.67.50
end
BR2-ROUTER#
Apr 12 2011 16:23:12 gui/admin_user.js
122 585532 Mar 30 2011 05:48:46 phone/7975/cnu75.8-3-2-27.sbn
123 2453636 Mar 30 2011 05:48:56 phone/7975/cvm75sccp.8-3-2-27.sbn
124 326315 Mar 30 2011 05:48:58 phone/7975/dsp75.8-3-2-27.sbn
125 557786 Mar 30 2011 05:49:00 phone/7975/jar75sccp.8-3-2-27.sbn
126 638 Mar 30 2011 05:49:02 phone/7975/SCCP75.8-3-3S.loads
127 642 Mar 30 2011 05:49:02 phone/7975/term75.default.loads
128 0 Mar 30 2011 05:49:02 phone/7941-7961
129 2494499 Mar 30 2011 05:49:12 phone/7941-7961/apps41.8-3-2-27.sbn
130 547146 Mar 30 2011 05:49:16 phone/7941-7961/cnu41.8-3-2-27.sbn
131 2340 Apr 02 2011 03:55:02 April012011.txt
132 3579 Apr 12 2011 03:52:42 softkeyDefault_kpml.xml
133 69 Apr 12 2011 03:52:40 syncinfo.xml
134 2682 Apr 12 2011 03:52:42 SEPFCFBFBCA30CE.cnf.xml
135 1882 Apr 12 2011 03:52:42 SIPDefault.cnf
136 3613 Apr 12 2011 03:52:42 softkeyDefault.xml
137 3987 Apr 12 2011 16:23:10 gui/admin_user.html
138 1029 Apr 12 2011 16:23:14 gui/CiscoLogo.gif
139 617 Apr 12 2011 16:23:14 gui/CME_GUI_README.TXT
140 953 Apr 12 2011 16:23:14 gui/Delete.gif
141 16344 Apr 12 2011 16:23:14 gui/dom.js
142 864 Apr 12 2011 16:23:16 gui/downarrow.gif
143 6146 Apr 12 2011 16:23:16 gui/ephone_admin.html
144 4558 Apr 12 2011 16:23:16 gui/logohome.gif
145 3866 Apr 12 2011 16:23:16 gui/normal_user.html
146 78428 Apr 12 2011 16:23:18 gui/normal_user.js
147 1347 Apr 12 2011 16:23:18 gui/Plus.gif
148 843 Apr 12 2011 16:23:18 gui/sxiconad.gif
149 174 Apr 12 2011 16:23:18 gui/Tab.gif
150 2431 Apr 12 2011 16:23:20 gui/telephony_service.html
151 870 Apr 12 2011 16:23:20 gui/uparrow.gif
152 9968 Apr 12 2011 16:23:20 gui/xml-test.html
153 3412 Apr 12 2011 16:23:20 gui/xml.templateFixed. Routing issue:
Routing issue:
ip http access-class 23 !!!!!! Preconfigured from Factory
ip http authentication local
no ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip http path flash:/gui
access-list 23 permit 10.10.10.0 0.0.0.7 !!!!!! Preconfigured from Factory
To fix
No ip http access-class 23 -
Webpages and videos fail to load
I have Mac OS X 10.7.5, and I am using Safari 6.1.1.
Some webpages do load, but others fail to load. The blue loading often stops after reaching a certain point. Additionally, when I try to play video content within pages I am sometimes told that the plug-in cannot be found. However, Safari does not actually crash.
I have: emptied the Safari Caches, removed all website data, and switched all Safari extensions off. I have also installed plug-ins: Adobe Flash Player (latest version), Shockwave, Silverlight, Java, Flip4mac, and Adobe Acrobat. I also deleted all files from Macintosh HD/Library/Caches (which may have been unwise....).
The problem does not appear to be with Safari, as I have tried using Opera and Firefox, and they both experience the same issues (videos and webpages failing to load).
Assistance or advice would be appreciated.
ThanksPlease read this whole message before doing anything.
This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you boot, and again when you log in.
Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
Safe mode is much slower to boot and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal boot may also be somewhat slow.
The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
Test while in safe mode. Same problem?
After testing, reboot as usual (not in safe mode) and verify that you still have the problem. Post the results of the test. -
Remote login in SM51 Fails / ECC 6.0 / HP-UX / Oracle 10
Hi All,
We had a cluster, 4 physical servers / 14 SAP Instances / HP-UX - Oracle 10G / ECC 6 EHP 3.
Basically we have a general RFC problem in the system. You can reproduce it simply in transaction sm51: In most of the instances whenever you try to change to an instance that has the same instance number than the one you are logged on at this moment, you will come back to this instance, e.g.:
you are logged on at host1_SID_01, start sm51 and try to change to the instances:
host2_SID_01,
host3_SID_01 or
host4_SID_01
(or you try to display the system log or other). You will see (System - Status) that you don't change to these instances but will stay on host1_SID_01.
We found the SAP Note 662895 - Remote login using SM51 Fails. In this note they refer to the error: "Transaction termination 14 025".
Now we have this error (we upgraded from SAP 46C with another error in sm21).
The problem is that we really donu2019t understand exactly what they want to do in the SAP Note 662895:
Summary
Symptom
Remote login in SM51 by double-clicking R/3 instances fails
Solution
You can use transaction SM51 to log in to another application server using RFC, without entering a password. Server "A"
Server "A" Server "B"
<--Remote logon via RFC <--
GUI
sm51
Double-click on the server B entry --->
If host name "B" was entered on server "A" as the gw/alternative_hostnames profile parameter, the local SAP gateway from server "A" is used when you log on to server "B". This results in the syslog message "Transaction termination 14 025".
The same error occurs if you try to open a new external mode on server "A".
Who is the origin server? Host A? Host B? In fact sometimes you can go from A to B and vice versa. So changing the gw/alternative_hostnames parameter doesn't appear to be a solution.
I would appreciate some tips about this Note / Problem.
Best Regards,
Erick IlarrazaHello, thanks a lot for your replyes.
Abhijeet Siras, the command /etc/ping <host> works prefectly.
Sergo,
Exactly we have 3 host each one with 4 dialog instances. 1 host with 2 dialog instances and one host with the central instance.
Not all instances have this problem, only the following combination:
Origin Destination
host4_SID_01 - > host1_SID_01
host2_SID_03 - > host3_SID_03
host1_SID_01 --> host3_SID_01
host1_SID_02 --> host3_SID_02
host1_SID_03 --> host3_SID_03
host1_SID_04 --> host3_SID_04
host2_SID_01 --> host3_SID_01
host2_SID_02 --> host3_SID_02
host2_SID_03 --> host3_SID_03
host2_SID_04 --> host1_SID_04
host2_SID_04 --> host3_SID_04
host3_SID_04 --> host1_SID_04
host4_SID_01 --> host1_SID_01
host4_SID_02 --> host1_SID_02
host4_SID_02 --> host2_SID_02
host4_SID_02 --> host3_SID_02
The problem is between *_NUMBER to *_NUMBER!
For example from Dialog Instance 3 running on host 2 to Dialog Instance 3 running on host 3
For example host4_SID_01 means the Dialog Instance 1 running on host 4.
Best Regards,
Erick Ilarraza -
CUE 8.6.10 error "login as administrator failed" message
Hi guys,
i have a new router with CUE 8.6.10 am trying to run the wizard and an error appears " "login as administrator failed"
the username and password is 100% correct also the below commands exists in my configuration
ip http server
ip http authentication local
ip http secure-server
ip http path flash:
telephony-service
"web admin system name admin password xxxx
dn-webedit
time-webedit
i tried a lot of things with no luck
Note GUI files exists on the router flashThe stuff under telephony-service is for CME, not for CUE
Create a normal user (username test123 privilege 15 secret test123) use this account to login to the CLI of CUE (service-module isM 0/0 session)
Then create an administrative user and use this one to login to the CUE GUI -
How to CORRECTLY do a form Login and get a cookie in return???
Hi,
I am a relatively new developer and this is actualy my first post ever. I ussually find everything i need in other posts but for some reason this time i have been miserably unsuccessful and am close to pulling my hair out.
I am trying to login to a website using some sort of form login so that it returns a cookie that i can than use to download files or access pages.
Now here is the actual html of the website:
<form name="login" action="https://www.website.com.au/login/login_action.cfm" method="post">
<div class="username">
<input name="contact_username" type="text" size="16" maxlength="60" />
</div>
<div class="password">
<input name="contact_password" type="password" size="16" maxlength="60" />
</div>
<div class="login">
<img id="li" src="/corporate/images/login_up.gif" alt="Login Button" onMouseOut="MM_swapImgRestore();"
onMouseOver="MM_swapImage('li','','/corporate/images/login_over.gif',1);" onclick="check_submit();" />
</div>
</form>
Could some one PLEEEEEASE let me know the code that i could use to successfuly login and return a cookie.
I have already created the code the uses the cookie to access pages. (I got the cookie from login normally using web browser).
So now i just need to know how i can login and get a cookie returned to the above form????
PLEASE PLEASE HELP.
Thanks in advanced :)1) I'm wondering how this all applies to Java. What Java code have you tried and has failed here? Are you talking about Java or Javascript? JSP?
2) Please don't cross-post this in multiple forums. That only pisses us off and will guarantee you less help than if you didn't do this. Imagine a volunteer giving of his free time to help someone, spending say an hour or more trying to come up with a solution, then finding after posting that the solution was already given in a cross-post, and you'll know why this is very much frowned upon in these forums. Choose one thread to be the active thread, and then put a note in the other thread directing posters to the active thread (if you really want help that is). -
Administration Tool login via 10817 failed
Hi,
Have a problem for a long time on login issue to the administration tool via ksvradmin in iAS 6.5. Lived with it until recently as need to change some parameter thru the admin tool.
Does anyone has had this problem and got it solved? When attempting to register a server using the default info as below, it keep prompted me login failure:
Name: iAS1
Hostname: localhost
Port: 10817
Username: admin
Password: xxxxxxxxxxxx
I do not have any problem connecting to the iDS or startup any of the services just that I cannot login and register an server. Please share your experience/solution to the above issue if you have resolved such issue before. Thank you.Hi,
This is interesting!! After running through the thread, I suspect there is some issue with your configuration not the .rpd. Taking your words that replacing your old .rpd does not work too and of course the your old .rpd would have worked, here are my prime suspects
1. Some clustering setup running behind scenes. I not get any other instance, when a .rpd could be shared except when a master .rpd is shared with cluster servers. So is the "Sharing violation" error.
2. Some Init blocks in your .rpd with "Required for Authentication" set. For example, an init block with "required for authentication" is bound to fail and not let you in online mode, when the underlying source/ DSN etc has issues.
So, check on these guys and see if you nail them down first.
Hope this helps.
Dhar -
Hi All,
We had a cluster, 4 physical servers / 14 SAP Instances / HP-UX - Oracle 10G / 46C -> Upgrading to ECC 6 EHP 3.
Basically we have a general RFC problem in the system. You can reproduce it simply in transaction sm51: In most of the instances whenever you try to change to an instance that has the same instance number than the one you are logged on at this moment, you will come back to this instance, e.g.:
you are logged on at host1_SID_01, start sm51 and try to change to the instances:
host2_SID_01,
host3_SID_01 or
host4_SID_01
(or you try to display the system log or other). You will see (System - Status) that you don't change to these instances but will stay on host1_SID_01.
We found the SAP Note 662895 - Remote login using SM51 Fails. In this note they refer to the error: "Transaction termination 14 025".
We look at the SM21 it reports the following error: *Transaction termination 00 152 ( ) *
I would appreciate some tips about this problem.
Best Regards,
Erick ILarrazaHi Martin,
Thanks a lot for your reply.
Yes, the parameter is set.
ParameterName SAPLOCALHOSTFULL
Short description(Engl) missing
Appl. area General system
ParameterTyp Host name
Changes allowed Change permitted
Valid for oper. system All operating systems
DynamicallySwitchable (Not Checked)
Same on all servers (Not Checked)
Dflt value host1
ProfileVal host1
Current value host1
Where host1 is the host where you did login. It don't care about the SAP instance:
host1_SID_01, host1_SID_02, host1_SID_03, host1_SID_04. All this give the value host1.
Best Regards,
Erick Ilarraza -
I NEED TO GET LOGIN AND LOGOUT TIMING DETAILS FROM CLIENT SYSTEMS
HI,
CAN ANYONE PLEASE HELP ME ON HOW TO GET LOGIN AND LOGOUT , CLIENT EVENT DETAILS FROM CLIENT SYSTEMS ON SERVER 2008 R2.
THANKS,
KUMAR.You may need to enable active directory Logon/Logoff Audit event.
The Audit logon events policy records all attempts to log on to the local computer, whether by using a domain account or a local account.
On Domain Controller, this policy records attempts to access the DC only.
By using these events we can track user's logon duration by mapping logon and logoff events with user's Logon ID which is unique between user's logon and logoff.
Please refer to this blog to understand the complete process to audit the successful or failed logon and logoff attempts in the network using the audit policies :
http://www.lepide.com/blog/audit-successful-logon-logoff-and-failed-logons-in-activedirectory/
Lepide - Simplifying IT Management -
Two part q: sysman login and clearing alerts
Oracle 11.2.0.1.0 SE-One on OL 5.6 64bit
Just got this configured a few days ago. Opened dbcontrol this morning and found a boat-load of messages about failed log on attempts (ie: 170 failed attempts in last 30 minutes) Checked DBA_AUDIT_LOG and see that the failed attempts are coming from SYSMAN. Followed note 259379.1 concerning changing the password for sysman - to a known value. Failed logon attempts continue (as shown in dba_audit_log).
It seems that in 10.2 (I don't have one handy at the moment) dbcontrol had a facility to clear/acknowledge alerts, but I don't find that on the 11.2 console. ??
What else might I need to do to to prevent the failed connections from SYSMAN?Loc Nhan wrote:
>
It seems that in 10.2 (I don't have one handy at the moment) dbcontrol had a facility to clear/acknowledge alerts, but I don't find that on the 11.2 console. ??
>
- From the console home page, click one of the alert messages; e.g. click "There have been 170 failed attempts in last 30 minutes".
- The Failed Login Count: Time <date/time> page should appear with breadcrumbs similar to this:
Database Instance: <Instance_name> > All Metrics > Failed Login Count >
- Click "Failed Login Count" in the breadcrumbs. From the next page, you should be able to select (open) alerts to clear.
>
What else might I need to do to to prevent the failed connections from SYSMAN?
>
If there are UDMs (user-defined metrics) and/or jobs using sysman's credentials, make sure that they are not failing due to an invalid password.
Regards,
- LocWell, the plot thickens. Before starting up the dbconsole, I double-checked the config directories in $ORACLE_HOME, and find I have TWO configs for this one instance:
drwxr----- 3 oracle oinstall 4096 Jul 20 15:18 mymachine.mydomain_orcl
drwxr----- 3 oracle oinstall 4096 Aug 1 12:18 mymachine.mydomain_ORCLThe dbcontrol home page for this instance seems to indicate we are using the config in upper case - the "Database Instance:" in the upper right corner shows ORCL - in upper case.
I'm not sure how I got here. In the past I've always created my dbcontrols at the command line, using emca, but for this one decided to try it dbca. I'll use emca to drop it, make sure everything is clean, and recreate.
BTW, the error messages are not selectable -- that is, they are not live links and clicking on them does nothing.
I"ll update after I've recreated the dbcontrol. -
After MAR upgrade from 4.0 - 7.0 login to ars_db fails
Hi,
After MAR upgrade from 4.0 -> 7.0 login to ars_db fails with the message "inconsistent database structure". For me it is a bit weired to do the ars_db upgrade to 7.0 SP4 and then start the transport agent which is still in the 4.0 level but this is the way it is described in the upgrade guide in order to delete Blobs after MAR upgrade.
Is the guide here inconsistent? Don't we have to upgrade the tools and services first before deleting Blobs?
Did anyone experience similar issues?
Regards
WhityHello Whity
After upgrading the MAR,To upgrade the MRS Tools and Services follow the steps below:
1. Stop and uninstall the 4.0 Transport Agent Service. Use the Transport Installer to
uninstall the above services.
2. If you are not able to uninstall the TA, uninstall the service manually using the following command sc delete [service name]
.Also check that there are no entry for that service at the registry location HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
3. On your local copy of the Upgrade DVD open the folder Mobile_Client_Upgrade\UpgradePurposeOnly . If you upgrade from CRM 4.0 you have to run SETUP.exe. If you upgrade from a higher release you have to run UPGRADE.exe
4. Install the Transport Service again after MRS tools and services are upgraded to 7.0 SP 04.
In your case, TA was not uninstalled pripr to the MRS tools and servcies upgrade.Hence you still see 4.0 TA. Please follow the above steps to solve the issue.
Please refer to the section 5.2.7 section of the upgrade guide document for more information.
Regards
shankar -
Systemd: some services starting too early and then failing
Hello everyone,
I freshly installed Arch on this new laptop (Asus Zenbook Prime UX32VD) and from the start, I wanted to have a pure systemd setup. I'm using services only and I've uninstalled initscripts and so far it's working relatively well.
However, some services seem to start too early by default and the workarounds are unsatisfactory.
Problem 1: asus-screen-brightness and asus-kbd-backlight
On this lap top, the stock screen brightness buttons do not work (yet). A script and a service file (which are both available via the asus-screen-brightness AUR package) have to be used to allow users to change the brightness via the script. The problem is, with that service enabled, it only succeeds sometimes. About have of the time booting the laptop it fails, most likely because the necessary nodes in /sys/ do not exist yet. Restarting the service manually after booting does the trick:
[root@tachychineta shapeshifter]# sc status asus-screen-brightness
asus-screen-brightness.service - Allow user access to screen brightness
Loaded: loaded (/etc/systemd/system/asus-screen-brightness.service; enabled)
Active: active (exited) since Fri, 12 Oct 2012 11:23:44 +0200; 1min 1s ago
Process: 320 ExecStart=/usr/bin/asus-screen-brightness allowusers (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/asus-screen-brightness.service
Oct 12 11:23:44 tachychineta systemd[1]: Starting Allow user access to screen brightness...
Oct 12 11:23:44 tachychineta sudo[349]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/chmod g+w /sys/class/backlight/intel_backlight/brightness
Oct 12 11:23:44 tachychineta sudo[349]: pam_unix(sudo:session): session opened for user root by (uid=0)
Oct 12 11:23:44 tachychineta asus-screen-brightness[320]: cat: /sys/class/backlight/intel_backlight/max_brightness: No such file or directory
Oct 12 11:23:44 tachychineta asus-screen-brightness[320]: /usr/bin/asus-screen-brightness: line 8: /10: syntax error: operand expected (error token is "/10")
Oct 12 11:23:44 tachychineta asus-screen-brightness[320]: /usr/bin/asus-screen-brightness: line 10: 2*: syntax error: operand expected (error token is "*")
Oct 12 11:23:44 tachychineta asus-screen-brightness[320]: cat: /sys/class/backlight/intel_backlight/brightness: No such file or directory
Oct 12 11:23:44 tachychineta asus-screen-brightness[320]: chgrp: cannot access ‘/sys/class/backlight/intel_backlight/brightness’: No such file or directory
Oct 12 11:23:44 tachychineta asus-screen-brightness[320]: chmod: cannot access ‘/sys/class/backlight/intel_backlight/brightness’: No such file or directory
Oct 12 11:23:44 tachychineta systemd[1]: Started Allow user access to screen brightness.
[root@tachychineta shapeshifter]# sc restart asus-screen-brightness
[root@tachychineta shapeshifter]# sc status asus-screen-brightness
asus-screen-brightness.service - Allow user access to screen brightness
Loaded: loaded (/etc/systemd/system/asus-screen-brightness.service; enabled)
Active: active (exited) since Fri, 12 Oct 2012 11:25:28 +0200; 2s ago
Process: 2547 ExecStop=/usr/bin/asus-screen-brightness disallowusers (code=exited, status=0/SUCCESS)
Process: 2579 ExecStart=/usr/bin/asus-screen-brightness allowusers (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/asus-screen-brightness.service
Oct 12 11:25:28 tachychineta systemd[1]: Starting Allow user access to screen brightness...
Oct 12 11:25:28 tachychineta sudo[2593]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/chgrp users /sys/class/backlight/intel_backlight/brightness
Oct 12 11:25:28 tachychineta sudo[2593]: pam_unix(sudo:session): session opened for user root by (uid=0)
Oct 12 11:25:28 tachychineta sudo[2597]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/chmod g+w /sys/class/backlight/intel_backlight/brightness
Oct 12 11:25:28 tachychineta sudo[2597]: pam_unix(sudo:session): session opened for user root by (uid=0)
Oct 12 11:25:28 tachychineta systemd[1]: Started Allow user access to screen brightness.
Exactly the same problem occurs with asus-kbd-backlight.service which is needed to allow users to control the keyboard backlight. It also fails because of missing /sys/ entries if started too early.
Problem 2: automatic login & X11
I use the method described on the wiki to autologin into TTY1 with my user and my .bash_profile contains
[[ $(fgconsole) = 1 ]] && startx
and my .xserverrc is configured as explained in this fantastically useful article by falconindy.
This way, X starts automatically and my session is properly authenticated for things like udiskie. I'm not using [testing] but instead rebuilt polkit with --enable-systemd and it's working just fine. The problem is, just like in problem 1, Xorg fails to start every now and then, failing with
(EE) No devices detected.
I don't have a full log because it hasn't happened in a while, but I'm very certain it's because the chipset isn't ready, yet.
Solutions?
I added "i915" to /etc/modules-load.d/static.conf hoping that would cover both the Xorg and backlight problems but it doesn't help. I then tried adding i915 to my MODULES in mkinitcpio.conf and rebuilding the initramfs and at least it looked like that way the problems went away but it added about 4 seconds to the time spent by the "kernel" during boot which is quite unacceptable. (Plots with and without i915 in MODULES).
I read the systemd.unit and systemd.service man pages but I can't find a way to speficy required kernel modules for a service file. I'm not sure if specifying the modules in /etc/modules-load.d shouldn't be enough (because apparently it's supposed to load for sysinit.target, which is early) but apparently it isn't.
Any ideas how I can get these services to work properly without sacrificing too much boot time?
Thank you
Last edited by Shapeshifter (2012-10-12 10:20:09)Please fill a bug report.
-
TNSPing and Designer Failed to resolve name
Hi:
I don't know whether this problem is belong to this group, anyway, I put it here and hope someone can help me.
After I installed Designer R6 on my Windows NT, I configured SQL*Net for the Database Connection. I did it with SQL Net Easy Configuration. Then I tested the configuration with TNSPing utilities of version 2.3.4.0.0, 8.0.5.0.0 and 8.1.6.0.0. And all of them returned me the correct message:
TNS Ping Utility for 32-bit Windows: Version 2.3.4.0.0 - Production on 03-JUL-00 09:23:34
Copyright (c) Oracle Corporation 1995. All rights reserved.
Attempting to contact (ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(Host=WangSvr)(Port=1521))
OK (40 msec)
TNS Ping Utility for 32-bit Windows: Version 8.0.5.0.0 - Production on 03-JUL-00 09:23:41
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact (ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(Host=WangSvr)(Port=1521))
OK (40 msec)
TNS Ping Utility for 32-bit Windows: Version 8.1.6.0.0 - Production on 03-JUL-2000 09:23:45
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=wangsvr)(PORT=1521))
OK (40 msec)
I did the tests from the directory where the TNSNames.ora file exists. My problem is, if I do the test from any other directory where the TNSNames.ora file does not exist, then TNSPing 8.0.5.0.0 cannot return the correct result. It said
TNS Ping Utility for 32-bit Windows: Version 8.0.5.0.0 - Production on 03-JUL-00 09:31:13
(c) Copyright 1997 Oracle Corporation. All rights reserved.
TNS-03505: Failed to resolve name
But if I copy the TNSNames.ora file to the directory where I invoke TNSPing, again the TNSPing return the correct result.
The TNSPing 2.3.4.0.0 and 8.1.6.0.0 can work correctly from anywhere.
The same problem is that the Designer can only be invoked from the directory where the TNSNames.ora file exists, otherwise it will not let me login and showed the message:
"ORA-12154: TNS:could not resolve service name"
How to resolve this problem?
Thanks in advance
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Phil Haigh ([email protected]):
Originally posted by One:[b]After I installed Designer R6 on my Windows NT, I configured SQL*Net for the Database Connection.
[QOUTE]
Which version(s) of SQL Net is (are) installed? Which version of SQL Net Easy Config did you use?
With Net8, the config file is in a different location to that for 2.3. You have to configure both if you've installed both.
My guess is that you've configured 2.3 and not 8. Run Net 8 config and try again.<HR></BLOCKQUOTE>
Hi:
Thank you very much. Your few words helped me a lot. I solved the problem just by copying tnsnames.ora from d:\des6.0\network\admin to d:\des6.0\net80\admin.
null -
Login to server failed. Why?
I can receive email. When I try to send an email a message says Login to server failed. Verify server settings.
How do I do that?Go to your email provider's website and find out what the settings are supposed to be.
Go to '''[http://kb.mozillazine.org/Menu_differences_in_Windows,_Linux,_and_Mac Tools|Account Settings]'''. Scroll down to the last entry in the list of accounts, "Outgoing Server (SMTP)". Select this, select your mail provider's SMTP server, and review the settings. If there is a disparity, click Edit and amend it as required.
Maybe you are looking for
-
Getting error in the array : help
Hi i have written following code and getting this error String srcdir = new String("C:\\projects\\xml\\rwjf-org\\closedgrants\\finalxml\\grr\\"); File fileDir = new File(srcdir); String[] fileList = new String[100]; fileList = fileDir.list(); for(int
-
Margin in Table cell is way too big
First off, thanks again to Apple for Pages 2. I like having all the different functions, that is -- word processing, page layout, spreadsheet, charts, basic graphics, photo manipulation in one window. I mean, why open up a bunch of windows when it ca
-
How to set minimum and maximum X scale in the XY graph if i have a X scale time format ?
Hi, i choose in the picture enclosed, a time format for the X scale of the XY Graph. The problem is that i am not able to set the minimum and maximum of the X scale: In fact the property nodes of the minimum and maxinum X scales ask for double as in
-
Deception IV: The Nightmare Princess unavailable online and in-store
Is this game being released at all by Bestbuy? All of my local Bestbuys don't have the game and that game isn't available to be purchased online either. I'm confused as to how I can get this game from Bestbuy when I'm not even allowed to purchase it.
-
JPY Price is showing wrong price in Query. when i checked in LISTCUBE it is showing correctly. for example: In LISTCUBE 0netprice - 13,136.00 price unit - 4 But when i run the query it is showing 328,400.00. The right amount is 3284.00 regards Madhu