Hi Guys,
I want ur replies very very Urgently.Plz. don't ignore this mail.
I am using Sco openserver 5.0.2 and i have downloaded jdk1.2.2
for that i have installed it.The jdk is working fine.
Then i download jakarta-tomcat-4.1.24.zip and i have installed it.
In order... (1 Reply)
I am trying to run the script bellow but its given me "syntax error at line 20 :'done' unexpected." error message"
can someone check to see if the script is ok? and correct me pls.
Today is my first day with scripting.
Gurus should pls help out
#!/bin/ksh
# Purpose: Check to see if file... (3 Replies)
I have a trouble in my script when i use EOF inside block if.
If i use EOF whitout block if I don´t have problem.
Guys any ideas?
Sorry for my terrible English.
#!/bin/sh
set -xv
HOST='ftp.fiction.com.br'
USER='fictionuser'
PASS='fictionpass'
FILE='ftpteste.txt'
busca=`find... (4 Replies)
Hi everyone,
I am trying to search for a string in a file that is partly made up of a variable. Here's the code:
echo "parentCategory = $parentCategory"
echo "parentCategoryFormatted = $parentCategoryFormatted"
numUrlsFoundInParentCategory=`grep -c "<Topic r:id=\"Top\/World\/Français\/"... (2 Replies)
hello everyone...im having this problem with unexpected EOF with line 85 which is..i cant see whats wrong with it..can any1 plz help me out.
read -p "$p1 please enter the number of tries you wish to have:" lifeline
function main()
{
guessnum=0
read -p "Please... (6 Replies)
I have a piece of Linux script. It tells me some syntax error. I couldn't find it. Please help me to identify them. Thanks. The code looks like this:
export ORACLE_SID=MYDB
export SPW=`cat /opt/oracle/scripts/.sys_pw_$ORACLE_SID`
export check_arch=`sqlplus -s << EOF
/ as sysdba... (7 Replies)
Hi,
can someone kindly look into my copy script and figure out why am i getting a "unexpected EOF while looking for matching `"' error message
#!/bin/ksh -x
cd /home/goldenga/test/flag37
if ; then
rm copied.ok
cd /home/goldenga/test
Upper=`ls -t|grep 'qw*'|cut -d "w" -f 2|head... (4 Replies)
Hi everyone, I'm really new in shell scripting and having trouble resolving this error.
Can someone please tell me why I'm getting these errors?
Error Message:
./test.sh: line 50: unexpected EOF while looking for matching `''
./test.sh: line 53: syntax error: unexpected end of file
... (4 Replies)
I am trying to get grep with awk command into variable.
But facing error.
Could someone pls help.
$ cat test_file
DEPLOYMENT="abc" # com
cluster="bcn"
$ grep DEPLOYMENT test_file | awk -F "\"" '{ print $2 }'
abc
$ a=`echo "grep DEPLOYMENT test_file | awk -F \"\\\"\" '{ print $2 }'"` ;... (6 Replies)
Discussion started by: Manasa Pradeep
6 Replies
LEARN ABOUT X11R4
ncakmod.conf
ncakmod.conf(4) File Formats ncakmod.conf(4)NAME
ncakmod.conf - the ncakmod configuration file
SYNOPSIS
/etc/nca/ncakmod.conf
DESCRIPTION
The ncakmod.conf file is used to configure the Solaris Network Cache and Accelerator ("NCA") kernel module. The file contains two fields,
key and value.
The status key is used to indicate if the user wants to have NCA turned on as a feature. If the value of status key is enabled, then the
NCA kernel module will be pushed on to the specified interfaces. If the value of the status key is disabled, then the NCA kernel module
will not be pushed on to any interfaces . The default is disabled.
The httpd_door_path key specifies the path name of the Solaris Door RPC mechanism that will be used to communicate with the http daemon.
The default value is /var/run/nca_httpd_1.door.
Use the nca_active key to indicate whether to allow NCA to actively open outgoing TCP connections. The default value for nca_active is dis-
abled. If set to enabled, ncaconfd sets up NCA for each interface and then operates as a daemon, allowing NCA to make outgoing TCP connec-
tions. This functionality is possible only by using the doors interface to NCA. A web server that uses the sockets interface with PF_NCA or
ncad_addr.so cannot connect by means of nca_active.
NCA supports the logging of in-kernel cache hits. See ncalogd.conf(4). NCA stores logs in a binary format. Use the ncab2clf(1) utility to
convert the log from a binary format to the Common Log File format.
In order to implement changes to the ncakmod.conf file, you will need to reboot.
EXAMPLES
Example 1: A Sample ncakmod.conf File
The following is a sample ncakmod.conf file:
#
# NCA Kernel Module Configuration File
#
status=disabled
httpd_door_path=/var/run/nca_httpd_1.door
nca_active=disabled
FILES
/etc/nca/ncakmod.conf The NCA kernel module configuration file.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWncar |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO nca(1), ncab2clf(1), ncakmod(1), door_create(3DOOR), nca.if(4), ncad_addr(4), ncalogd.conf(4), attributes(5)
System Administration Guide: IP Services
SunOS 5.10 28 Sep 2001 ncakmod.conf(4)