Managing MBeans w/Command Line throws Exception
When I try to get the attributes of MBeans using the
GET command I get the following exception:
Note: non-MBean commands like PING execute fine
++++++++++++++++++++++++++++++++++++++++++++
java weblogic.Admin -url localhost:7001 GET -type ServerConfigweblogic.rmi.extensions.RemoteRuntimeException: Undeclared checked exception
java.rmi.UnmarshalException: Unmarshalling return; nested exception is:
java.io.StreamCorruptedException: Type code out of range, is 125
java.io.StreamCorruptedException: Type code out of range, is 125
at java.io.ObjectInputStream.peekCode(ObjectInputStream.java,
Compiled C
ode)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:282)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:978)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
at java.util.HashSet.readObject(HashSet.java:246)
at java.lang.reflect.Method.invoke(Native Method)
at
java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:1
685)
at
java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1165)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
at
weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:106)
at
weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:114)
at
weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBeansByTyp
e(AdminMBeanHomeImpl_WLStub.java:552)
at
weblogic.management.commandline.CommandLine.listMatchedMBeans(Command
Line.java:515)
at
weblogic.management.commandline.CommandLine.doCommandline(CommandLine
.java:89)
at weblogic.Admin.main(Admin.java, Compiled Code)
--------------- nested within: ------------------
weblogic.rmi.extensions.RemoteRuntimeException: Undeclared checked
exception - w
ith nested exception:
[java.rmi.UnmarshalException: Unmarshalling return; nested exception is:
java.io.StreamCorruptedException: Type code out of range, is 125]
at
weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBeansByTyp
e(AdminMBeanHomeImpl_WLStub.java:572)
at
weblogic.management.commandline.CommandLine.listMatchedMBeans(Command
Line.java:515)
at
weblogic.management.commandline.CommandLine.doCommandline(CommandLine
.java:89)
at weblogic.Admin.main(Admin.java, Compiled Code)
Thanks; you were right.
"Dimitri Rakitine" <[email protected]> wrote in message
news:[email protected]...
That sounds like you use 1.2 to run weblogic.Admin - try it
with 1.3.
syrinx <[email protected]> wrote:
When I try to get the attributes of MBeans using the
GET command I get the following exception:
Note: non-MBean commands like PING execute fine
++++++++++++++++++++++++++++++++++++++++++++
java weblogic.Admin -url localhost:7001 GET -type ServerConfig
weblogic.rmi.extensions.RemoteRuntimeException: Undeclared checked
exception
java.rmi.UnmarshalException: Unmarshalling return; nested exception is:
java.io.StreamCorruptedException: Type code out of range, is 125
java.io.StreamCorruptedException: Type code out of range, is 125
at java.io.ObjectInputStream.peekCode(ObjectInputStream.java,
Compiled C
ode)
atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:282)
atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
atjava.io.ObjectInputStream.inputObject(ObjectInputStream.java:978)
atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
at java.util.HashSet.readObject(HashSet.java:246)
at java.lang.reflect.Method.invoke(Native Method)
at
java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:1
685)
at
java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1165)
atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
at
weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:106)
at
weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:114)
at
weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBeansByTyp
e(AdminMBeanHomeImpl_WLStub.java:552)
at
weblogic.management.commandline.CommandLine.listMatchedMBeans(Command
Line.java:515)
at
weblogic.management.commandline.CommandLine.doCommandline(CommandLine
.java:89)
at weblogic.Admin.main(Admin.java, Compiled Code)
--------------- nested within: ------------------
weblogic.rmi.extensions.RemoteRuntimeException: Undeclared checked
exception - w
ith nested exception:
[java.rmi.UnmarshalException: Unmarshalling return; nested exception is:
java.io.StreamCorruptedException: Type code out of range, is125
at
weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBeansByTyp
e(AdminMBeanHomeImpl_WLStub.java:572)
at
weblogic.management.commandline.CommandLine.listMatchedMBeans(Command
Line.java:515)
at
weblogic.management.commandline.CommandLine.doCommandline(CommandLine
.java:89)
at weblogic.Admin.main(Admin.java, Compiled Code)--
Dimitri
Similar Messages
-
Problem using extension manager CS5 with command line
Hi All,
I had posted my question here : http://forums.adobe.com/message/4695419#4695419, but was advised to do so here as well..
I have a requirement to get the path of all the installed Extension Managers on any Windows system for the purpose of installing an extension.. I thought, there would be no problem in getting the path from the registry. There was no problem in Win XP, but the same does not work for Win 7.. I googled, and found alternate ways to get the path.
Here is the link : http://forums.adobe.com/thread/851359. I followed the instructions in this post, but failed to get this working for CS5 as mentioned in my previous thread... No problem for CS5.1 and CS6.. Why is that?
I want to get this working for CS5, CS5.1, CS6... How can I get the path of all the Extension Manager versions installed on a Windows system?
Please refer to the following screenshots to get a better understanding of my problem,
I created a jsx file named "Result.jsx", which I saved in my D drive, with the following code,
resultFile = new File("D:/result.log");
resultFile.open("w");
resultFile.write(BridgeTalk.__diagnostics__);
resultFile.close();
If I run this directly from ESTK CS5, there is no problem, and I get the result.log file. I tried to execute this script via command line as shown in the screenshot,
On executing the above, I got the following error,
What is going wrong?
Please help!I am sorry for the poor documentation of Extension Manager which causes you so much trouble.
1. You can use BridgeTalk API to ask specific version of Extension Manager to do something. There is sample in packaging_extension.pdf about this. You don't need to know the installation path of Extension Manager. One thing to note is that the value of bt.target is version specific, i.e. "exman-5.0", "exman-5.5" send this message to different version of Extension Manager, so you can change this value to install/enable/disable/remove extensions using different version of Extension Manager. More detailed documentation of BridgeTalk can be found by clicking "Help" menu then clicking "Javascript Tools Guide CS5" in "Adobe ExtendScript Toolkit CS5".
2. Specific version of Extension Manager only manage extensions for corresponding version of product. You should use Extension Manager CS5 to install extensions for Photoshop CS5. The reason that the extension you installed for Photoshop CS5.1 using Extension Manager CS5.5 is displayed for Photoshop CS5 in Extension Manager CS5 is that two versions of Photoshop specified the same directory for Extension Manager to manage extensions. This is a defect and will cause some problems if multiple versions of Photoshop co-existed in one machine. But "to find previous (CS5) extension manager and to enable it" should work for you, I guess you use command line to enable it and specify wrong product name (see #3) so that it doesn't work.
3. When using command line, you should specify "product" attribute with the name displayed at the left panel of Extension Manager. So "Photoshop CS5 32" is correct. Remember to enclose it with double quote because of existence of space character.
4. As above mentioned, use display name of Photoshop, and call proper version of Extension Manager by BridgeTalk. -
Using process manager to get command line of a running application
hello,
i'm currently using the process manager framework to get a list of current running processes on the machine. i would like to get the command line to display to the user. i can see how to get the path to the executable file. i.e. /Applications/AppRunning however i'd like to get the full command line and im either missing it from the documentation or not seeing the links to get that information. so i want to get /Applications/AppRunning -c someoption -f another option. can anyone recommend a function to assist me or if im using the wrong API to get the information i am looking for can someone recommend the correct API?
thank you very much.musikit wrote:
thank you very much. you have been more then informative about this. i'll have to check out the kernel queues and events api you mentioned. i've never really digged this far into a unix style OS before. it's pretty interesting. it seems like EVFILT_PROC is what i want to get process starts/stops.
I've never done this either, so I'm quite sure I'm missing some big things here. Some other things that might be handy are dtrace and ptrace. I strongly suspect that there is some really easy way to do it that I don't know about. You might try searching on the Apple developer mailing lists.
at the end of the day though i still need to be able to retrieve the command line of a running executable. 'ps' can do it so i'm assuming there is a programatic way of doing it. is the mac 'ps' command source code online anywhere that i can see what it's doing?
I don't know about ps. There are a number of Mac applications that do things similar to what you propose. Marcopolo is open-source and can detect when applications are launched.
i have looked at the linux procps package however it relies on the procfs which mac does not have.
Amit Singh wrote a MacFUSE-based procfs for the Mac. You can look at the source code to that, but, to quote Amit "the MacFUSE version of procfs makes heavy use of the Mach programming interfaces". Good luck with that. Still, there might be some helpful information in that link. -
Error: starting remote managed server from command line
I have enabled SSL on the admin server, and configured/added the managed server
via my admin server console. However, when I attempt to start the managed server
via cmd line (script) on the remote machine, I get the following message:
Starting WebLogic Server ....
Connecting to http://adminservermachine:7001...
<Nov 18, 2002 11:42:28 AM EST> <Emergency> <Configuration Management>
<Errors detected attempting to connect to admin server at wk-gferguson:7001 during
initialization of managed server ( null:7001 ). The reported error was: < weblogic.security.acl.DefaultUserInfoImpl
Start server side stack trace:
java.lang.ClassCastException: weblogic.security.acl.DefaultUserInfoImpl
at weblogic.kernel.BootServicesImpl.authenticate(BootServicesImpl.java:189)
at weblogic.kernel.BootServicesImpl.invoke(BootServicesImpl.java:145)
at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:620)
at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:581)
at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:164)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:640)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:643)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
End server side stack trace
> This condition generally results when the managed and admin servers are using
the same listen address and port.>
<Nov 18, 2002 11:42:28 AM EST> <Emergency> <Server> <Unable to initialize the
se
rver: 'Fatal initialization exception
Throwable: weblogic.management.configuration.ConfigurationException: weblogic.se
curity.acl.DefaultUserInfoImplThis particular log entry looks like your problem:
<Jan 8, 2010 11:33:30 PM PST> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "Default". The address 10.249.22.43 might be incorrect or another process is using port 20014: java.net.BindException: Cannot assign requested address.>
Check using netstat to see if that port is already in use.
Shared libraries don't need to be on the classpath, they are deployed similar to applications, so I'm confused by your comment about putting them on the classpath. I assume you're using Node Manager to start the server from the AdminConsole, if you want to use a difference classpath either use the StartupScriptEnabled=true in nodemanager.properties OR put the extra classpath entries on the Server Start tab in the console. -
Error starting managment server from command line
I tried to start the managment server from the command line like this:
<jvm_home>/bin/jrcmd <pid start_management_server
and I'm getting the following error:
<pid> Not enough storage is available to run this command
The system has plenty or resources. I'm unsure what storate the command refers too.
The pid was found by using tasklist /svc at the command line to find the pid matching the domain service name.
this is jrockit 1.42_13What operating system are you on? What is the complete version of JRockit ("java -version" will tell)?
Regards,
/Staffan -
Picture Manager with command line for Bat files
Hello
I am wondering if Microsoft Picture manager has any command line switches i could use.
I resize thousands of photos weekly using Picture manager for a semi automated process. The resize is the part that is not automated. For some reason when using image magik the resize is done but it does not accept some images where i upload them, yet if
i do it in parallel with Office picture manager the Microsoft re-sized always work.
The process uses VB Access, downloads all images changes the extension from one card extensions to jpg and ammends the name. sorts the images to two folders.
Then i resize as a batch manually. Not difficult but needs hands on and have you tried changing the dimensions in picture manager when all are selected. tedious!
Then the final bat uploads to correct locations.
So my question, how to use command line with Microsoft picture manager. If not command line Powershell. I can not beleive that the program can not be opened specifying a folder and resize image dimension to use. I cant see the source code where i believe
it would be apparent to me how to do so.
Thank you
Sometimes the answer is so blindingly obvious i fail to see!I have done it before on BOXI R2 with the IW, and it works fine
But any how, this is the way that we have to work with, since it is part of a customer product and the link universe and it's reports is an additional part of the product.
So is there a way that I can pull just the main universe and it's reports? -
Command Line & Exception Adapter
Hi,<BR> Can anybody help me out by figuring from wehere I cen get Command Line Adapter & Exception Adapter for Hyperion Applicaiton Link.<BR><BR>thnx<BR>
Hi IIka,
I have not tried this but I think
The return code of the script cannot be shown in monitor, because the call ends (does not expect a response) once the file adapter is called.
May be you can capture the errors in a seperate file and
use that as a log.
I am not sure if there is anyother way
also check this blog /people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching
Regards
Vishnu -
How restart a siebel component by command line?
Hi, i want to know how restart a Siebel Object Manager (Fins) by command line in RedHat.
thanks!
Greetings!in srvrmgr console, type:
shutdown comp sseobjmgr_enu
startup comp sseobjmgr_enu
(or any other OM you want to restart)
Edited by: Penky on Mar 19, 2012 10:30 AM -
Accessing Runtime Mbeans from the command line.
Hi,
I just wanted to know if runtime Mbeans can be invoked from the command line.
I tried accessing the ExecuteQueueRuntime mbean from the command line but nothing ever comes back.I am able to retrieve configuration mbeans without errors.
Do I need to create the runtime mbeans before I can use them ?
Or I need to invoke these commands via server code only?
Thanks.Can you post the command you are using? I just tried this and seems to work.
D:\>java weblogic.Admin -username weblogic -password weblogic get -type ExecuteQueueRuntime -pretty
MBeanName: "mydomain:Location=myserver,Name=weblogic.admin.RMI,ServerRuntime=myserver,Type=ExecuteQueueRuntime"
CachingDisabled: true
ExecuteThreadCurrentIdleCount: 2
ExecuteThreadTotalCount: 3
ExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@3eb934
Name: weblogic.admin.RMI
ObjectName: weblogic.admin.RMI
Parent: myserver
PendingRequestCurrentCount: 0
PendingRequestOldestTime: 1129990444704
Registered: false
ServicedRequestTotalCount: 87
Type: ExecuteQueueRuntime
MBeanName: "mydomain:Location=myserver,Name=weblogic.kernel.System,ServerRuntime=myserver,Type=ExecuteQueueRuntime"
CachingDisabled: true
ExecuteThreadCurrentIdleCount: 5
ExecuteThreadTotalCount: 5
ExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@2cfc8c
Name: weblogic.kernel.System
ObjectName: weblogic.kernel.System
Parent: myserver
PendingRequestCurrentCount: 0
PendingRequestOldestTime: 1129990444754
Registered: false
ServicedRequestTotalCount: 124
Type: ExecuteQueueRuntime
MBeanName: "mydomain:Location=myserver,Name=weblogic.kernel.Non-Blocking,ServerRuntime=myserver,Type=ExecuteQueueRuntime"
CachingDisabled: true
ExecuteThreadCurrentIdleCount: 0
ExecuteThreadTotalCount: 0
ExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@2d125d
Name: weblogic.kernel.Non-Blocking
ObjectName: weblogic.kernel.Non-Blocking
Parent: myserver
PendingRequestCurrentCount: 0
PendingRequestOldestTime: 1129990444764
Registered: false
ServicedRequestTotalCount: 0
Type: ExecuteQueueRuntime
MBeanName: "mydomain:Location=myserver,Name=weblogic.admin.HTTP,ServerRuntime=myserver,Type=ExecuteQueueRuntime"
CachingDisabled: true
ExecuteThreadCurrentIdleCount: 2
ExecuteThreadTotalCount: 2
ExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@2d260e
Name: weblogic.admin.HTTP
ObjectName: weblogic.admin.HTTP
Parent: myserver
PendingRequestCurrentCount: 0
PendingRequestOldestTime: 1129990444814
Registered: false
ServicedRequestTotalCount: 0
Type: ExecuteQueueRuntime
MBeanName: "mydomain:Location=myserver,Name=weblogic.kernel.Default,ServerRuntime=myserver,Type=ExecuteQueueRuntime"
CachingDisabled: true
ExecuteThreadCurrentIdleCount: 15
ExecuteThreadTotalCount: 15
ExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@2d3a8c
Name: weblogic.kernel.Default
ObjectName: weblogic.kernel.Default
Parent: myserver
PendingRequestCurrentCount: 0
PendingRequestOldestTime: 1129990444854
Registered: false
ServicedRequestTotalCount: 7
Type: ExecuteQueueRuntime
D:\>
Thanks,
-satya
BEA Blog: http://dev2dev.bea.com/blog/sghattu/ -
Running Unit Test from test manager that run bat file from command line
Hi ,
I am trying to run Jsystem (java framewotk) from command line using runScenario.bat thru unit test that i associated to test in test manager.
the idea is that when i ran the automated test from MTM - it will run the the unit test that will run the appropriate test case in java.
i wrote the code like this :
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTestProject3
[TestClass]
public class UnitTest1
[TestMethod]
public void TestMethod1()
try
String command = "c:\\JSYSTEM\\runner\\runScenario.bat
c:\\Users\\ryeshua\\Source\\Workspaces\\Auto1\\my-tests-project\\target\\classes scenarios\\feature1 RoeySetup.xml ";
System.Diagnostics.ProcessStartInfo procStartInfo =
new System.Diagnostics.ProcessStartInfo("cmd", "/c " + command);
procStartInfo.RedirectStandardOutput = true;
procStartInfo.UseShellExecute = false;
//procStartInfo.CreateNoWindow = true;
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo = procStartInfo;
proc.Start();
string result = proc.StandardOutput.ReadToEnd();
Console.WriteLine(result);
catch (Exception objException)
// Log the exception
and when i ran it from visual studio it worked perfect. and update the Jsystem logs of the junit test in the jsystem/runner/log folder.
but when i added it to associated test and ran it from MTM - it pass but it does not update the logs in jsystem folder.
the problem that i dont know what is not working. i cant see the output of it when i ran from mtm but can see when i ran from VS.
i am using VS 2013 Pro with MTM 2013.
please advice
RoeyHi Roey,
Thank you for posting in MSDN forum.
Based on your issue, could you please tell me how you generate the log file under the jsystem folder?
Generally, I know that when we run unit test from VS IDE, the file will be saved into the local machine. But when we run unit test from MTM, the unit test method will be run on the test agent machine, so the file will be saved into the test agent machine.
Therefore, I suggest you could check if you did not see the updated logs file in jsystem folder on the test agent machine.
In addition, I suggest you could try to copy this unit test project on this test agent machine and then run the unit test method using mstest.exe in command line and then check if you can update the logs file.
https://msdn.microsoft.com/en-us/library/ms182489.aspx?f=255&MSPPError=-2147217396
If you have any updated message about this issue, please tell me.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Firefox is very slow to respond when opening and nearly always stops responding altogether, even refusing to react to the Task Manager "End Program" command. The "not responding" error message also comes up during navigation on line. Several attempt have to be made to get on line. A loss of stability seems to be endemic at the moment.
Try following the instructions here: [[Firefox hangs]]
-
Oracle VM Manager Command Line Interface
Can anybody suggest any tool for Oracle VM Manager Command Line Interface?
Are they free?
What kind of jobs we can automate using Command line?
If they are not free is it worth spending money to buy them?Try public-yum.oracle.com
and look at the oracle-addons channel below OEL.
http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/oracle_addons/i386/
Regards
Sebastian -
UCCE - How to manage Agent & skillgroup in command line
Hi,
First thanks for your time to read this.
I'm looking for a way to manage in custom application the associations between agents and skillgroups. From what I've looked there isn't any API.
I was wondering if there is a command line bulk tool for this purpose.
Could anybody give me some lights up on this?
Thanks in advance.
RBThere used to be bulk load config tools, but they didn't do proper error checking as the GUI tools do.
I don't think there were ever bulk "change" (i.e. skill group member), or delete command-line tools. -
Command line for credential manager
can anyone help me in getting command line for credential manager ... ?
Thanks,
VRAGHUIf there are a lot of them you could go to a command prompt and type:
cmdkey /list
Or better yet: cmdkey /list > del_creds.cmd
Then edit the file so you are only left with, for example:
cmdkey /delete:info-services.dev-inside.lni.wa.gov
cmdkey /delete:info-services.inside.lni.wa.gov
cmdkey /delete:inside.lni.wa.gov
cmdkey /delete:lnidaptumtfs08.wads.res
cmdkey /delete:lniduttumvm05
cmdkey /delete:lnipstum01.wads.res
cmdkey /delete:lnipstum02.wads.res
cmdkey /delete:lnixapolysrm1.wads.res
cmdkey /delete:ohr.apps-inside.lni.wa.gov
cmdkey /delete:portal.apps-inside.lni.wa.gov
cmdkey /delete:portal.dev-inside.lni.wa.gov
cmdkey /delete:scsd8.unit-test.wads.wa.gov
then run your del_creds.cmd file and they will all be gone.
Steven Shippee -
Rpass - Secure, simple, and pluggable command-line password management
WARNING: this program requires a python version greater than or equal to 3.
EDIT: Fixed a bunch of bugs that made this unusable, please update!
EDIT: Added a default configuration file.
Hi there!
rpass is a command-line password manager that encrypts any and all credentials you would like to store using gpg's algorithms.
Gnome and Mac OS both have a universal credential solution, but to my knowledge there is no such generic linux application. Gnome's keyring code is long and personally, I don't trust it as much as the simple system I have in place in rpass - it is transparent and easy to understand, and any possible security holes would be blatantly visible.
rpass can be used directly from the commandline, typing your master password (gpg passphrase) in every time, but it really shines when gpg-agent and xclip are installed. gpg-agent saves your passphrase for an interval of time, so you only have to authenticate yourself occaisonally, and the powerful search capabilities of rpass (regex-enabled) allow simple and quick account selection.
Furthermore, with xclip installed passwords NEVER have to be printed onscreen - the first matching entry's password is automatically copied to the clipboard if a search is done with rpass. You can even run rpass from applications like 'dmenu', and although there will be no visible output, if you enter a search term after rpass you will have the password you wanted copied to your clipboard.
Finally, it can also be easily integrated in other applications -- I use it for my email (mutt) and any script I write that requires a password.
AUR Link: http://aur.archlinux.org/packages.php?ID=44788
More detailed documentation and explanation can be found at: https://github.com/rscare/rpass/blob/ma … E.asciidoc (scroll down)
or with
$ man rpass
after installation.
git repository: git://github.com/rscare/rpass.git
Please comment on the software and the documentation. Thank you very much for taking the time to try my software.
Last edited by RedScare (2010-12-27 07:04:44)I'm very interested in this. However... on the initial run, pressing enter causes a crash:
$ rpass
Need to first create gpg key pair.
Choose a secure passphrase -- this is going to be your master password.
Rerun program after key creation.
WARNING: DO NOT pick a sign-only key type.
Press [ENTER] when ready.
Traceback (most recent call last):
File "/usr/bin/rpass_py_interface", line 80, in <module>
input("Press [ENTER] when ready.")
File "<string>", line 0
^
SyntaxError: unexpected EOF while parsing
I got around this by entering junk and I made my key. After rerunning rpass with the key generated:
$ rpass
Traceback (most recent call last):
File "/usr/bin/rpass_py_interface", line 84, in <module>
if not(IsRunning(gpg-agent)):
File "/usr/lib/python2.7/site-packages/rpass.py", line 24, in IsRunning
plist = [re.match(ppatt, p.strip()).groups()[0] for p in str(proc.communicate()[0], encoding=utf-8).split(n)[1:-1]]
TypeError: str() takes at most 1 argument (2 given)
Looks like rpass expects the gpg-agent to be running when it starts.
edit: rather, it expects the gpg-agent to be running with the key loaded. gpg-agent was already loaded thanks to keychain but without my newly created key known to it.
Last edited by falconindy (2010-12-26 03:42:28)
Maybe you are looking for
-
Installation Problem - Java SDK 1.4.1
I have a problem with installing Java on my machine at home that you may be able to help me with. Here are the Details: 1) I installed the most recent java SDK on my machine. 2) I set the Autoexec file with the correct PATH statement. 3) Set the corr
-
Follow-up question: Moving Root volume to new disk
When using Disk Utility to do the Restore (complete copy) from old to new, do the Volume Names need to be identical ? e.g. will restoring from volume "bk250" to volume "bk400" screw up the aliases already on bk250 etc? Thanks Message was edited by: W
-
my itunes is running very very slow the rest of my pc is fine. i tunes will not recognise either of my iphones "3gs,4, nor my ipod touch4". i have uninstalled all apple software and re installed itunes . i have checked my iphone at a retail store and
-
Server Admin cannot update any mail settings on nearly fresh 10.4 server
I can no longer use the Server Admin application to change settings under Mail (and I need to make some changes - would like to change logging settings and require authentication for SMTP). I made some initial settings with no problems, but now it ch
-
HELP! Ovi suite does not display Photos only thumb...
Hi, please help. Ovi Suite does not display Photos saved in my computer. Just getting Default grey image for everything on the thumbnails. OS XP home (Service ack 3). Run the repair and nothing. I uninstalled the application deleted everything to do