09-07-2012
Hi Corona688
I have tried checking for the library files which it was checking for, with the help of the same command you have mentioned. The library files exists.
Thanks,
Abhishek S
10 More Discussions You Might Find Interesting
1. Programming
At time of installation I have to open the resource. and i have to insert a string serial number in the exe.
please provide me code to edit the exe (in solaris) to insert a serial number which can be used by exe at run time. (6 Replies)
Discussion started by: ssahu
6 Replies
2. Shell Programming and Scripting
Hello,
I would like to do a rexec to execute a C exe (prog.e) :
rexec -l user -p password host prog.e
When I execute this command, I have this error :
prog.e : can not find lib.o
But, When I execute prog.e directly in the remote machine : well done ! No error output.
Thks for your... (4 Replies)
Discussion started by: Lika
4 Replies
3. Programming
Hello,
I 've trie to execute a a program with parameters unsuccessfully and i take the above message :
"The system cannot find the path specified."
I used a variaton of the above command :
system("\"C:\\xxx\\xxx\\xxx.exe -xxx -xxx xxx.xxx xxx.xxx xxx.xxx\"");
Thanks in advance (4 Replies)
Discussion started by: eusta
4 Replies
4. Shell Programming and Scripting
Hi Everyone,
I have 1.txt
here
a
b
c' funny"yes";
d
e
The finally output is:
here
a
b
c
d
e' funny"yes"; (1 Reply)
Discussion started by: jimmy_y
1 Replies
5. Shell Programming and Scripting
hi guys,
i have a query, i wrote a perl script that will collect cpu statistics
Scripts/myScripts/
cpu.pl
i want to make this file so that i can run it from any location on any drive,
without giving the path explicitly.
like
$/home/ravi/perl
cpu.pl
i tried this... (8 Replies)
Discussion started by: niteesh_!7
8 Replies
6. Shell Programming and Scripting
Hi,
I am logging to a linux server through a user "user1" in /home directory.
There is a script in a directory in 'root' for which all permissions are available including the directory. This script when executed creates a file in the directory.
When the script is added to crontab, on... (1 Reply)
Discussion started by: archana.n
1 Replies
7. Shell Programming and Scripting
Hello,
Can someone tell me the method to execute the script from any location on linux server whereas It resides on a particular location
e.g.: Suppose script resides at this location
/efare1/dist/src
monitor.sh
But I want If user know the name of the script he should not remember... (2 Replies)
Discussion started by: anuragpgtgerman
2 Replies
8. Shell Programming and Scripting
I have file file1.txt in location 'loc1'. Now i want a copy of this file in location 'loc2' with a new file called test.txt.
Please help me how to do this in shell script. (1 Reply)
Discussion started by: vel4ever
1 Replies
9. Shell Programming and Scripting
I want to execute a qt exe program at startup. That is after automatic login instead of loading Desktop and seeing it, the program quickly pop up to the screen. For this, I think we should add the script to rcx.local rather than rc.local I guess though.. I tried adding a script to /etc/rc.local... (0 Replies)
Discussion started by: dr_mabuse
0 Replies
10. Shell Programming and Scripting
Hi
This is my third past and very impressed with previous post replies
Hoping the same for below query
How to find a existing file location and directory location in solaris box (1 Reply)
Discussion started by: buzzme
1 Replies
LEARN ABOUT OPENSOLARIS
tnchkdb
tnchkdb(1M) System Administration Commands tnchkdb(1M)
NAME
tnchkdb - check file syntax of trusted network databases
SYNOPSIS
/usr/sbin/tnchkdb [-h path] [-t path] [-z path]
DESCRIPTION
tnchkdb checks the syntax of the tnrhtp, tnrhdb, and tnzonecfg databases. By default, the path for each file is:
o /etc/security/tsol/tnrhtp
o /etc/security/tsol/tnrhdb
o /etc/security/tsol/tnzonecfg
You can specify an alternate path for any or all of the files by specifying that path on the command line by using the -h (tnrhdb), -t
(tnrhtp) and -z (tnzonecfg) options. The options are useful when testing a set of modified files before installing the files as new system
databases.
All three database files are checked for integrity. tnchkdb returns an exit status of 0 if all of the files are syntactically and, to the
extent possible, semantically correct. If one or more files have errors, then an exit status of 1 is returned. If there are command line
problems, such as an unreadable file, an exit status of 2 is returned. Errors are written to standard error.
To avoid cascading errors, when there are errors in tnrhtp, the template names in tnrhdb are not validated.
tnchkdb can be run at any label, but the standard /etc/security/tsol files are visible only in the global zone.
OPTIONS
-h [ path ] Check path for proper tnrhdb syntax. If path is not specified, then check /etc/security/tsol/tnrhdb.
-t [ path ] Check path for proper tnrhtp syntax. If path is not specified, then check /etc/security/tsol/tnrhtp.
-z [ path ] Check path for proper tnzonecfg syntax. If path is not specified, then check /etc/security/tsol/tnzonecfg.
EXAMPLES
Example 1 Sample Error Message
The tnchkdb command checks for CIPSO errors. In this example, the admin_low template has an incorrect value of ADMIN_HIGH for its default
label.
# tnchkdb
checking /etc/security/tsol/tnrhtp ...
tnchkdb: def_label classification 7fff is invalid for cipso labels:
line 14 entry admin_low
tnchkdb: def_label compartments 241-256 must be zero for cipso labels:
line 14 entry admin_low
checking /etc/security/tsol/tnrhdb ...
checking /etc/security/tsol/tnzonecfg ...
FILES
/etc/security/tsol/tnrhdb
Trusted network remote-host database
/etc/security/tsol/tnrhtp
Trusted network remote-host templates
/etc/security/tsol/tnzonecfg
Trusted zone configuration database
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWtsu |
+-----------------------------+-----------------------------+
|Interface Stability |See below. |
+-----------------------------+-----------------------------+
The command line is Committed. The output is Uncommitted.
SEE ALSO
tnd(1M), tnctl(1M), attributes(5)
How to Check the Syntax of Trusted Network Databases in Solaris Trusted Extensions Administrator's Procedures
NOTES
The functionality described on this manual page is available only if the system is configured with Trusted Extensions.
It is possible to have inconsistent but valid configurations of tnrhtp and tnrhdb when LDAP is used to supply missing templates.
SunOS 5.11 20 Jul 2007 tnchkdb(1M)