Security.policy issue when running javarmi server.

hi guys,
i am trying to run a sample javarmi applications.
the code as follows:
file name : myRMIInterface.java
//package my_rmi_classes;
public interface myRMIInterface extends java.rmi.Remote {
public java.util.Date getDate() throws java.rmi.RemoteException;
//implementation program
// package my_rmi_classes;
import java.rmi.*;
import java.rmi.server.UnicastRemoteObject;
public class myRMIImpl extends UnicastRemoteObject implements myRMIInterface
public myRMIImpl(String name) throws RemoteException
     super();
     try
          Naming.rebind(name,this);
     catch(Exception e)
          System.out.println("Exception occured:"+e);
public java.util.Date getDate()
     return new java.util.Date();
application : myRMIServer.java
//package my_rmi_classes;
import java.rmi.*;
import java.rmi.server.UnicastRemoteObject;
public class myRMIServer {
* @param args the command line arguments
public static void main(String[] argv)
// TODO code application logic here
System.setSecurityManager(new RMISecurityManager());
try
     myRMIImpl implementation = new myRMIImpl("myRMIimplInstance");
catch(Exception e)
     System.out.println("satish exception occured :" +e);
steps which i follow to run this applicatons:
step 1: complie all the applications.
step 2: create myRMIImpl_Stub.class file by running RMIC
step 3: start rmiregistry
step 4: i download a policy file from sun website and i place that file in my source code folder.
i use 3 types of policy files which are as follows,,,
type 1:
grant{
permission java.net.SocketPermission "localhost:1099", "connect, resolve";
permission java.net.SocketPermission "localhost:1024-", "connect, resolve";
permission java.net.SocketPermission "localhost:1024-", "accept, resolve";
type 2:
grant codeBase "C:/week_project/rmi server files/" {
permission java.security.AllPermission;
note: all my java files(source code) files are in the folder (rmi server files). i copy all policy files in the same folder.
type 3:
grant {
     // Allow everything for now
     permission java.security.AllPermission;
step 5:
a:) C:\week_project\rmi server files\java -Djava.security.policy=(policy name).policy myRMIServer
b:) C:\week_project\rmi server files\java -Djava.security.policy=C:\........\(policy name).policy myRMIServer
when i work with type-1 policy file i got error message as follows
ERROR:
Exception occured:java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve)
type -2 policy file
ERROR
java.security.policy: error adding Entry:
java.net.MalformedURLException.AccessControlException : access denied(java.net.SocketPermission 127.0.0.1:1099 connect,resolve)
type-3 policy file
ERROR
exception occured; java.rmi.connectexception : connection refused to host :127.0.0.1; nested exception is :
java.net.connectexception : connection refused : connect
i am trying to solve this from last week but i can't
so, please help me
with regards
satish

what ever it is
hi guys,
i am trying to run a sample javarmi applications.
the code as follows:
file name : myRMIInterface.java
//package my_rmi_classes;
public interface myRMIInterface extends java.rmi.Remote {
public java.util.Date getDate() throws java.rmi.RemoteException;
}//implementation program
// package my_rmi_classes;
import java.rmi.*;
import java.rmi.server.UnicastRemoteObject;
public class myRMIImpl extends UnicastRemoteObject implements myRMIInterface
public myRMIImpl(String name) throws RemoteException
super();
try
Naming.rebind(name,this);
catch(Exception e)
System.out.println("Exception occured:"+e);
public java.util.Date getDate()
return new java.util.Date();
}application : myRMIServer.java
//package my_rmi_classes;
import java.rmi.*;
import java.rmi.server.UnicastRemoteObject;
public class myRMIServer {
* @param args the command line arguments
public static void main(String[] argv)
// TODO code application logic here
System.setSecurityManager(new RMISecurityManager());
try
myRMIImpl implementation = new myRMIImpl("myRMIimplInstance");
catch(Exception e)
System.out.println("satish exception occured :" +e);
}steps which i follow to run this applicatons:
step 1: complie all the applications.
step 2: create myRMIImpl_Stub.class file by running RMIC
step 3: start rmiregistry
step 4: i download a policy file from sun website and i place that file in my source code folder.
i use 3 types of policy files which are as follows,,,
type 1:
grant{
permission java.net.SocketPermission "localhost:1099", "connect, resolve";
permission java.net.SocketPermission "localhost:1024-", "connect, resolve";
permission java.net.SocketPermission "localhost:1024-", "accept, resolve";
type 2:
grant codeBase "C:/week_project/rmi server files/" {
permission java.security.AllPermission;
note: all my java files(source code) files are in the folder (rmi server files). i copy all policy files in the same folder.
type 3:
grant {
// Allow everything for now
permission java.security.AllPermission;
step 5:
a:) C:\week_project\rmi server files\java -Djava.security.policy=(policy name).policy myRMIServer
b:) C:\week_project\rmi server files\java -Djava.security.policy=C:\........\(policy name).policy myRMIServer
when i work with type-1 policy file i got error message as follows
ERROR:
Exception occured:java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve)
type -2 policy file
ERROR
java.security.policy: error adding Entry:
java.net.MalformedURLException.AccessControlException : access denied(java.net.SocketPermission 127.0.0.1:1099 connect,resolve)
type-3 policy file
ERROR
exception occured; java.rmi.connectexception : connection refused to host :127.0.0.1; nested exception is :
java.net.connectexception : connection refused : connect
i am trying to solve this from last week but i can't
so, please help me
with regards
satish

Similar Messages

  • RemoteFX issue when running Multipoint Server 2012 Premium as VM on Hyper-V

    I have a server setup running Hyper-V 2012.  I made a Multipoint 2012 Premium VM and added RemoteFX.  After installing I went to Device Manager on the VM and noticed that the display adapter was showing as Microsoft Basic Display Adapter and
    there was an unknown device which I assume is the RemoteFX 3D adapter.  I updated the integration services and ran Windows Updates, but still cannot get RemoteFX to show up properly in the VM.
    Does Windows Multipoint Server 2012 not support RemoteFX when running as a VM?  I can't really run this on bare metal since I am looking at supporting more than 20 stations and therefore would need to run multiple instances virtualized on
    the same server running Hyper-V. 

    The server I have setup for this test is a Dell R720 and the video card is an AMD FirePro S7000. I am using the latest stable AMD FirePro driver (ver. 13.352.1006.1001).
    I also went ahead and setup a Dell OptiPlex 7010 with an AMD Radeon 5450 (which is DirectX11).  I setup Server 2012 Hyper-V and again with Server 2012 R2 Hyper-V.  Both times I was unable to add the RemoteFX 3D adapter.  I am beginning to
    think that it is not possible. 
    Are you running Multipoint 2012 server virtualized on top of Hyper-V with RemoteFX enabled in the virtualized server (and showing so in Device Manager)?

  • Issue when running acutal Off-cycle payroll in India!

    Dear experts!
    I have an urgent issue when running ACTUAL off-cycle payroll in India as below: "Payroll already performed once in future".
    In testing mode, everything is fine. I have tried to check payroll result in pc_payresult and pu01, and Infotype 3. All of them show the last payroll in 31.07.2011. But now I run off-cycle payroll on 20.08.2011, this error is displayed. So I cannot run actual payroll for them.
    Please help me! I am really appreciated.
    Regards!
    Woody.

    Hello
    Normally this error message reflects an inconsistency in the payroll
    directory cluster, that you can view via RPUDIR00. What you can do to
    restore the consistency is to run the report RPUDIR00 for this pernr
    with the following parameters on the selection screen:
    Payroll for country                           
    Personnel number             
    Compare directory            
    Payroll results structure   
    detailed log                
    Save new directory             X          <  this will write the new directory.  If you want to test first, do not select this parameter.
    Afterwards it should be possible to run payroll for this employee.
    Thanks and Kind Regards
    Ramana

  • Hyperlink in pdf is missing when run from server.

    Hello,
    I create a link for a field in a report (using Hyperlink tab Hyperlink information).  When I export the pdf from Crystal Report, I could see the link when mouse over the field.  But when I run the report from opendocumentfrom server) , the link is missing.  Does Crystal Report support hyperlink in pdf when run from server?  Or do I miss anything?
    Thanks for your help in advance.

    Moving to BusinessObject forum

  • Issue when Run Report with  Hier selection   in the Portal

    Hi  Portal  BI Experts,
    we are finding a strange issue  when Running the Report.
    the following  Variables are in the  Report  Selection screen :
    Company code [optiona]
    Prod.Variance Type [ mandatory]
    Hierarchy Node Variable [optional]
    TheQuery  which I am Running  thro Bex Analyzer  with  the Hier  selection as below , is working  fine. But
    When I  run   thro portal with Hier selection value   with    00/50/G310/702258(0CUST_SALES
    It automatically  display as +00/50/G310/702258(0CUST_SALES    with + symbol. and  thro the error:
    Input "\+00/50/G310/702258(0CUST_SALES);\+00/51/G410/703096(0CUST_SALES)" for Ship-To Party (Sales has invalid format
    If I remove the plus symbol  report runnig fine.
    Your  immediate help highly appreciated.
    Thanks
    Hema
    Edited by: hemav on Mar 21, 2011 2:29 PM

    Hi Jaya,
    This is the Error message  I am facing when I Execute ithe query  report n the Web[Portal]
    Input "\+00/50/G310/702258(0CUST_SALES);\+00/51/G410/703096(0CUST_SALES)" for Ship-To Party (Sales has invalid format
    ie. In the variable screen the selected hier value  automaticvally display with plus symbol
    Actual   Hier  value :   00/50/G310/702258(0CUST_SALES)
    Once close the Hier  selection list window , the Hier value  turned to  +00/50/G310/702258(0CUST_SALES)
    If I give ok with this Plus symbol  it throwing the above error.  By  removing the Plus symbol manually  it is working fine.
    I unable locate the  settings.
    that too when I run the same report  in Bex Analyzer  woking fine , no issues in the Hier  value.
    Thanks ,
    Hema

  • Weird Security Issue when connecting to Server

    I have written an applet that connects to a java server on the same machine and I wasnt having any problems with it until I added username and password verification. What I do is have the applet show a Frame that lets the user enter in a user name and password. After he does this the applet connects to the server and verifies the user. The problem is that I am getting a security exception error when I try to connect to the server, but only in Internet Explorer. It works perfectly fine in Netscape. I dont think its the code since it works in Netscape, and also since I use the same to make other connections in the applet and they always worked perfectly fine in both browsers. Do I need to go about the connection differently with IE? Thanks.

    it have to be the code.
    Can u tell me how u r sending the username to the server, r u using sockets,rmi, something else? let me know about this.
    And i have to tell u that localhost,127.0.0.1 is different from ur systemid and ipaddress.
    Say, this is the url to access the applet "http://localhost/applet.html " and in the java code, u use the systemid to connect to the server. in such a case a security exception will be thrown. because the localhost is different from the system id.

  • Printing issues when printing to Server 2008 R2 Print Server

    We have a problem with netwok printing that encompasses many different areas and versions of Windows OSes so I will be posting this in a few different places.
    Let me lay this out for you. We have a single Server 2008 R2 print server with 300 printers of various models. This print server has both 32 and 64-bit drivers installed for every printer. For the HP printers we are using the HP Universal Printing PCL 6
    (version 61.94.3.37) and for the Ricoh printers we are using their PCL6 driver for universal printing version 3.5. All drivers run in Isolation mode and no printer gets published to AD.
    We have a mix of Windows clients printing to these printers, both XP Pro and Windows 7 32 and 64-bit.
    Now for the problems: The other day one Isolation host on the server went crazy, processing was hitting 100% and memory was fluctuating and growing a lot. After investigating a little that isolation host was having issues accessing the Ricoh Driver (which
    was 3.4 at the time). In an attempt to resolve the issue we updated the driver to V. 3.5. This seemed to fix the isolation issues and things calmed down however this is the beginning of many other issues for the clients. Both Windows OS versions (XP and 7)
    don't seem to be either downloading and installing the updated driver and/or doing so correctly. Clients are now experiencing extremely slow printing, applications such as Word, Outlook, Excel and others open slowly and it can take 2-3 minutes for print dialog
    boxes to open. In all cases it seems that we have to have a tech delete the printer(s), delete the driver and then re-install the printer to make things better but for some reason, which is really unknown, this process doesn't work for every machine and on
    some we can't even remove the old drivers at all without booting into SafeMode and doing it that way.
    With all of that said, are there any suggestions as to why the clients aren't downloading and installing the drivers from the server correctly? How to avoid these issues when we need to upgrade the drivers on the server in the future? Most importantly right
    now, are there any recommendations or scripts on how to force the deletions of the printer, driver, reset the print spoolers and then re-add the printers in a more automated fashion?
    I have played with both wmic, pnputil and printuidll and am trying to put something together but without a set solution that will work consistently it becomes a lot more difficult.

    We are experiencing a very similar issue.
    Windows Server 2008 R2. Printers are deployed over group policy.
    Clients range from Windows 7 to Windows 8. Citrix XenDesktop and XenApp environment also connects to these endpoints.
    We have A wide assortment of HP printers, and Ricoh Printers.
    For the ricoh's we have been historically using the PCL6 drivers for the individual device type (not universal print). Up till recently, it all was working fine, until about some time in the middle of june, when everything just seemed to go crazy.
    The issue was resolved by moving off from the PCL 6 drivers and using the PCL5e driver counterparts on all of our ricoh printers.
    It would crash XenDesktop applications, it would crash office applications.
    The print spooler would lock up, even if the ricoh printers were not actually used, just as long as they were loaded.
    Even after loading PCL5 on the servers, some of the clients would simply not download the PCL5 version of the driver from the print server. In order to resolve this, I have created the steps below. Be advised, this may possibly cause damage on your system.
    We just found it worked great for us. Local printers will likely have to be manually reinstalled after this.
    Directions
    Stop the print spooler
    Open C:\Windows\System32\Spool and delete the following
    All files in SERVERS
    All files in PRINTERS
    All files in drivers
    All files in prtprocs
    Start the print spooler
    Open a command prompt as administrator, and run the following command
    Cscript C:\windows\system32\Printing_Admin_Scripts\en-US\prndrvr.vbs -x
    This should further delete all print drivers.
    Open a command prompt as a standard user (not administrator) and run the following
    Gpupdate
    Now wait. It takes a while, but the printers will slowly start to repopulate.
    I am still not sure what is going on with the PCL6 drivers for ricoh, and why this issue is happening. I'm guessing it has something to do with the Ricoh auto update that is included in their pcl6 drivers. Maybe some sort of auto update happened recently.

  • Security context issue when executing a SQL command in SQLCMD

    Simplified core issue below:
    I have myscript.sql that has:
    SELECT name FROM Sys.Databases
    GO
    USE mydatabase
    GO
    EXEC mystoredprocedure 'myparameter'
    GO
    When I open cmd.exe and use:
    SQLCMD -S localhost\myinstance -i script.sql
    It executes fine.
    When I open cmd.exe in C# using the Process class and execute the same command I get the following error:
    name
    master
    tempdb
    model
    msdb
    mydatabase
    (5 rows affected)
    Msg 916, Level 14, State 1, Server localhost\myinstance, Line 1
    The server principal "NT AUTHORITY\SYSTEM" is not able to access the database "mydatabase" under the current security context.
    Msg 2812, Level 16, State 62, Server localhost\myinstance, Line 1
    Could not find stored procedure 'mystoredprocedure'.
    And now the detailed explaination:
    I created an MSI which installs my custom application.
    During the bootstrap process, SQL Server 2012 Express is installed using the following parameters:
    /INSTANCEID="SQLEXPRESS"
    /ACTION="Install"
    /FEATURES=SQLEngine,Replication
    /HELP="False"
    /INDICATEPROGRESS="False"
    /Q="True"
    /QS="False"
    /ROLE="AllFeatures_WithDefaults"
    /ENU="True"
    /ERRORREPORTING="False"
    /SQMREPORTING=0
    /INSTANCENAME="SQLEXPRESS"
    /AGTSVCACCOUNT="NT AUTHORITY\NETWORK SERVICE"
    /AGTSVCSTARTUPTYPE="Disabled"
    /ISSVCSTARTUPTYPE="Automatic"
    /ISSVCACCOUNT="NT AUTHORITY\NetworkService"
    /ASSVCSTARTUPTYPE="Automatic"
    /ASCOLLATION="Latin1_General_CI_AS"
    /ASDATADIR="Data"
    /ASBACKUPDIR="Backup"
    /ASTEMPDIR="Temp"
    /ASCONFIGDIR="Config"
    /ASPROVIDERMSOLAP="1"
    /SQLSVCSTARTUPTYPE="Automatic"
    /FILESTREAMLEVEL="0"
    /ENABLERANU="True"
    /SQLCOLLATION="SQL_Latin1_General_CP1_CI_AS"
    /SQLSVCACCOUNT="NT Authority\Network Service"
    /SECURITYMODE="SQL"
    /ADDCURRENTUSERASSQLADMIN="True"
    /RSSVCACCOUNT="NT AUTHORITY\NETWORK SERVICE"
    /RSSVCSTARTUPTYPE="Automatic"
    /RSINSTALLMODE="FilesOnlyMode"
    /HIDECONSOLE
    /IACCEPTSQLSERVERLICENSETERMS
    /SAPWD="***************"
    The MSI then executes an Installer class DLL written in C# which restores a database to the SqlExpress instance.
    When the restore is completed, the Installer class then uses the Process class to launch CMD.exe and execute the SQL script using SQLCMD.
    Process vProcess = new Process();
    ProcessStartInfo vStartInfo = new ProcessStartInfo("cmd.exe");
    vStartInfo.Arguments = "/c set path=%path%;" + Context.Parameters["TargetDir"] + "\\; && sqlcmd -S LocalHost\\myinstance -i myscript.sql";
    vProcess.StartInfo = vStartInfo;
    vProcess.Start();
    vProcess.WaitForExit(30000);
    This is where I get the error mentioned above.
    However if I execute the same command manually by opening CMD.exe from the RUN command, it executes perfectly.
    I can not use -U or -P to supply a user / password, I MUST use integrated security.
    Additional info:
    Previously SQL Server 2008 Express has been in use for the bootstrapper, and this issue did not occur.
    The database the MSI restores is also built from SQL Server 2008. (Will be built from 2012 in the future.)
    Installation is performed on an account with administrative rights.
    Running the installer AS Administrator does not fix the issue.
    Any help would be greatly appreciated, as well please let me know if additional info is required.
    Thank you

    I'm having a similar issue where I'm using a batch file to execute commands to a group of servers. I can use the batch commands when updating MyDatabase but get the security context error when I try to update MyDatabase with a join to TheirDatabase except
    on servers where I am sysadmin.   Like I said, I can update MyDatabase as long as I don't join to TheirDatabase.
    Update A
    Set A.CCMCoderStaffSID = IsNull(B.StaffSID, -1)
    From MyDatabase.[R_Encounter].[VejdPfcsLinkageDataF19610x5] A
    Left Join ThierDatabase.Staff.Staff B on
    A.Sta3n = B.Sta3n and A.[CCMCoderF200IEN]= B.StaffIEN
    Error:
    Msg 916, Level 14, State 1, Server R04PHIDWH58, Line 1
    The server principal "MyDomain\ME" is not able to access the database "TheirDatabase" under the current security context.
    Line from batch:
    sqlcmd -S Server54 -d MyDatabase -i D:\ETLDevelopment\R04\Me\querytools\%RAWTablesScript%  -o D:\ETLDevelopment\R04\Me\UpdateSIDV1.txt

  • Unable to migrate ADF security policy updates to Weblogic production server

    Hi all,
    I am using JDeveloper 11.1.1.2.0. I can successfully deploy & run the application on my Integrated & Standalone WLS 10.3.2.
    If I make changes to the security policy, I can see the change reflecting in the next run, after being deployed on the Integrated & Standalone server.
    However, making changes to the security policy & deploying it on the production UNIX WLS server (10.3.2) does not reflect the changes. In fact I do not see the changes on System-jazn-data.xml on the server.
    I will appreciate any help on this issue.
    Thank you,

    Hi again
    for a work around we tried deploying the .ear with a different name. Every thing is now working.
    The problem is not completely resolved as this should not be an idle way to deploy.
    The System-jazn-data.xml on the Unix server still shows the old deployed file name along with the new (with correct policies).
    Thanks,

  • Opening PDF in Browser when running in Server 2008 R2 RemoteApp (Terminal Services)

    We are running a RemoteApp server that allows users to access an intranet page, through this can can click and open a number of PDF documents.
    When connecting and running locally (RDP) the PDFs open in the browser as required, but when running through remoteApp its forcing the PDF to open into Adobe Reader.
    Im getting this on all versions of IE 9-11 and Reader 9-11, ive enabled view in PDF and also the IE add-ons but it still forces the file to open in the full application.
    Group polciy isnt an issue as Ive tested this on a live users, and also a clean slate test account. Ive even moved the RemoteApp server out of the domain and tried as a local system (with local accounts) and the same behaviour happens.
    This is the same if I try and open PDF documents from the internet.
    Any Advice would be good
    Steve.

    Hi Uber,
    This is a known issue that error occurs when running report "Count of instances of specific software registered with Add or Remove Programs" due to non-printable characters for XML. Based on internal research, the hotfix for this issue will be
    included in the System Center 2012 Configuration Manager Service Pack 1.
    As a workaround, you can remove the nonprintable character populated into the report parameter by referring to the following KB article:
    http://support.microsoft.com/KB/914159
    Hope this helps.
    Regards,
    Mike Yin
    Mike Yin
    TechNet Community Support

  • Issues when configure LDAP server in OBIEE

    Hi,
    I have a big issue, I configure LDAP server for authentication of users, and everything looks fine, but my problem is when I log in Interactive Dashbaords, I enter without any problem, but some parameters and some filters and some functions are NOT working, for example:
    -In a parameter I have this condition for Default value: SELECT YEAR(Tiempo.Dia) FROM Finanzas WHERE Tiempo.dia = CURRENT_DATE, and returns me a null value, but if I change to this SELECT YEAR(Tiempo.Dia) FROM Finanzas WHERE Tiempo.dia = CURRENT_DATE-1, returns me "2010"
    I have similar behaviors in other parameters, and some filters and some functions.
    Everything happen in Development instance. I configure LDAP server in Development instance.
    In Production instance nothing of this is happen, but I do not configure LDAP server yet.
    What do anyone think is happen here? This happens because I configure LDAP server? What do you think that mades this behavior for my parameters, filters and functions?
    Do you think is a better practice to clone Production instance to Development instance? If so, how can I do a clone instance, only for OBIEE?
    Regards,
    Arnulfo
    Edited by: ArnulfoPA on 25-may-2010 15:35

    The date returned by CURRENT_DATE is determined by the system in which the Oracle BI Server is running. So, does CURRENT_DATE returns an equal values on prom and dev instances in your case?

  • Turning off security to none when mounting nfs server

    My server has an option that allows me to set security to none when authenticating it's clients to mount its export filesystem. However OSX doesn't like this and requires some use of uid and gid to access a mounted drive. When I go to mount I receive an 'authentication error' from the terminal. I looked into the man pages for mount_nfs and it states:
    sec=<mechanism>
    +Force a specific security mechanism to be used for the mount, where mechanism is one of: krb5p, krb5i, krb5, or sys.+
    Authentication has to be one of these. Is there any way I can hack around this and set it up so this isn't a requirement on my machine. I want the equivalent of sec=none. My linux clients mount my NAS fine. This is the only thing stopping us from setting up our environment the way we desire. Does anyone have any suggestions? Thanks.
    Message was edited by: digitalapple

    rpc-svcgssd.service - RPC GSS-API Server Daemon
    Loaded: loaded (/usr/lib/systemd/system/rpc-svcgssd.service; disabled)
    Active: inactive (dead)
    Docs: man:rpc.svcgssd(8)
    rpc-gssd.service - RPC GSS-API Client Daemon
    Loaded: loaded (/usr/lib/systemd/system/rpc-gssd.service; disabled)
    Active: active (running) since Thu 2014-08-14 16:55:15 EDT; 17min ago
    Docs: man:rpc.gssd(8)
    Process: 253 ExecStart=/usr/bin/rpc.gssd $GSSD_OPTS (code=exited, status=0/SUCCESS)
    Main PID: 257 (rpc.gssd)
    CGroup: /system.slice/rpc-gssd.service
    └─257 /usr/bin/rpc.gssd
    Aug 14 16:55:14 home systemd[1]: Starting RPC GSS-API Client Daemon...
    Aug 14 16:55:15 home systemd[1]: Started RPC GSS-API Client Daemon.
    Aug 14 17:07:54 home rpc.gssd[637]: ERROR: Key table file '/etc/krb5.keytab' not found while beginning keytab scan for keytab 'FILE:/etc/krb5.keytab'
    Aug 14 17:07:54 home rpc.gssd[638]: ERROR: Key table file '/etc/krb5.keytab' not found while beginning keytab scan for keytab 'FILE:/etc/krb5.keytab'
    Aug 14 17:07:54 home rpc.gssd[638]: ERROR: Key table file '/etc/krb5.keytab' not found while beginning keytab scan for keytab 'FILE:/etc/krb5.keytab'

  • Issue when installing SQL Server Express 2012 - "The requested control is not valid for this service" + "Could not find the database engine startup handle"

    Good morning,
    I'm experiencing the following issue when installing Microsoft SQL Server Express 2012 (with tools, SQLEXPRWT_x86_ENU.exe) on the laptop of my company;
    Installation goes plain until around the end of the progress bar, it stops on the setup of
    SqlEngineDBStartConfigAction_install_configrc_Cpu32
    giving 7-8 times, even pressing "Cancel", the message "The requested control is not valid for this service";
    After this, I receive one last message ""Could not find the database engine startup handle", then installation ends with failures, in particular the Database Engine and the Server Replication failed to be installed.
    I've put in my SkyDrive the error log I received after the install;
    I'm at full disposal if you need further information,
    thank you in advance
    Best regards
    Francesco

    Well, i just ran into this issue and the problem was lack of admin rights. It was my company's laptop so got the setup initiated by my company's IT team with admin rights. However, the upon completion of setup, i go the same error messages as stated above: 
    SqlEngineDBStartConfigAction_install_configrc_Cpu32
    giving 7-8 times, even pressing "Cancel", the message "The requested control is not valid for this service";
    After this, I receive one last message ""Could not find the database engine startup handle", then installation ends with failures, in particular the Database Engine and the Server Replication failed to be installed.
    Also, if you open SQL Server Configuration, the status of the service is "Change Pending" and you would not be able to set the startup login type to Local Service/System/Network.
    Then, I just got my account added as Local Admin and then tried to start the service and was able to.
    However, I am not sure whether same was the case for you.
    Please mark the answer as helpful if i have answered your query. Thanks and Regards, Kartar Rana

  • Winsock error when running SQL Server Stored Proc

    I have a SQL Server stored procedure that is trying to read emails from an IMAP server (I am using mail.dll from www.limilabs.com).
    The SP works fine on my local computer/db, and the code also runs fine when run from a console application on my remote server. When I try to run it from SQL Server however I get this error message:
    Msg 6522, Level 16, State 1, Procedure GetEmails, Line 0A .NET Framework error occurred during execution of user-defined routine or aggregate "GetEmails": Limilabs.Client.ServerException: The requested name is valid, but no data of the requested type was found ---> System.Net.Sockets.SocketException: The requested name is valid, but no data of the requested type was foundSystem.Net.Sockets.SocketException:    at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)   at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)   at System.Net.Sockets.Socket.Connect(String host, Int32 port)   at Limilabs.Client.ClientBase.Connect(String host, Int32 port, Boolean useSSL)Limilabs.Client.ServerException:    at Limilabs.Client.ClientBase.Connect(String host, Int32 port, Boolean useSSL)   at StoredProcedures.GetEmails()
    I suspect it is something to do with permissions (??) but it is beyond my knowledge of SQL Server. Anyone have some pointers? I am using the IP for the IMAP server, I have switched off the firewall.
    Thanks

    Reading emails in a stored procedure? Hm...
    Unless you are impersonating the actual user in your CLR procedure, the access will be under the service account for SQL Server. If this is Local Servic or similar and may not have the permission or configuration to access whatever System.Net.Dns.InternalGetHostByName
    is trying to access.
    Try running SQL Server under a domain account to see what happens.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Permission (?) issue when run a Exchange Cmdlet

    Hello,
    MailboxDatabaseCopyStatus from the PowerShell (powershell.exe) with the added PSSnapin "Microsoft.Exchange.Management.PowerShell.E2010.
    Unfortunately, I always receive the following error message:
    Get-MailboxDatabaseCopyStatus : A server-side administrative operation has failed. Operation failed with message: Error
     0x5 (Access is denied) from cli_GetCopyStatusEx2
    At \\agr8\D\mk_exchange_inprogress.ps1:138 char:51
    +     ForEach ($Status in Get-MailboxDatabaseCopyStatus <<<<  -Identity $DataBase.Name) {
        + CategoryInfo          : ReadError: (:) [Get-MailboxDatabaseCopyStatus], TaskOperationFailedException
        + FullyQualifiedErrorId : 6B5FB038,Microsoft.Exchange.Management.SystemConfigurationTasks.GetMailboxDatabaseCopySt
       atus
    When running the script from the Exchange Management Shell, no Errors occur.
    Does anyone know the reason and the solution?
    Regards Alex

    Hi,
    Did you want to connect the remote Shell to Exchange server? If so, I recommend you follow the commands below and then run the Get-MailboxDatabaseCopyStatus command again to check the result.
    $UserCredential = Get-Credential
    $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri
    http://<FQDN of Exchange 2010 server>/PowerShell/ -Authentication Kerberos -Credential $UserCredential
    Import-PSSession $Session
    For more details about this, please refer to this article.
    Connect Remote Exchange Management Shell to an Exchange Server
    http://technet.microsoft.com/en-us/library/dd297932(v=exchg.141).aspx
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

Maybe you are looking for

  • Installing Windows 7 RC From and External Hard Drive?

    I burned a DVD of the Windows 7 64-bit RC installer and successfully booted from the DVD. However, I hit the following error once the installer collects information about my hardware: "A required CD/DVD drive device driver is missing. If you have a d

  • Oracle 10.2.0.1 client install during SLES10 AutoYast post-install

    Hello all, I'm stumped and could use a little help. I'm attempting to use the silent install method for the 10.2.0.1 Oracle client on a SLES10 SP2 via autoyast post install scripts. The script runs just fine if I use it to install after SLES10 has be

  • Matrix report with row field as "dates of months"

    Hi all, I have a matrix report that requires such a format: Some database column --> 1 cell cell cell cell 2 null null null null 3 4 31 cell now i cannot get the dates of the month in order of 1 to 31'st as column, if i give my database column datefi

  • Migration from 8i to 9.0.1(very strange error)

    Hi All, I have a really weird problem. I have 3 different 8i databases (8.0.5, 8.1.6, 8.1.7) and all of them work properly. I have an Oracle 9i (9.0.1) database on another server as well. I used Oracle 8i export(exp command line) to export 8i databas

  • With Firefox 4, pdf files don't display anylonger

    when I click on link to a pdf files (I tried in several sites, inlcuded Mozilla) a new tab opens but the pdf content doesn't dispaly; sometimes clickin on the reload button the content is displayed but deafult beahvior is not dispalying any content.