Hi
1) Please go through the following code :
char string2;
char string1;
main()
{
memcpy(string2,"SENDER ",12);
strcpy(string1,"******");
printf("%s\n%s\n",string1,string2);
}
2) and the output of... (7 Replies)
When try to execute the following script, its throwing this error:
" Use of uninitialized value in join or string at arraydef.pl line 17. "
The script is :
1 #!/usr/bin/perl
2
3 use strict;
4
5 my @a = ( 1...10 );
6
7 print " Original array : @a... (5 Replies)
Somewhat long story:
I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage.
This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Helloo Frd's,
How to clear uninitialized state in solaris 10 Services, the fallowing inetadm shows on my server. I tried svcadm clear, enable... not worked. And also i can't change to enable some of service on that.
sara4@root# inetadm
ENABLED STATE FMRI
disabled ... (6 Replies)
Hallo all i am trying to execute this script ...............
But this is throwing the error......
use of uninitialized value in subtraction in at icd_convert.pl line 156
use of uninitialized value in subtraction in at icd_convert.pl line 157
use of uninitialized value in subtraction in at... (1 Reply)
Hi Guys,
I am trying to run a Perl code which reads the csv file and has to write certain fields to another file .
I see the following when trying to execute the script
Use of uninitialized value in string eq at ./file.pl line 19, <> line 13.
Use of uninitialized value in concatenation (.)... (4 Replies)
Hi,
I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password.
But i want to switch to the another telnet... (2 Replies)
Hi,
I want to know the difference between these two services. Both are under xinetd. Both are used for enabling and disabling Telnet service. So, can somebody please explain me the difference between the two ?
Thanks in advance :) (0 Replies)
I have written a PERL script to read files from directory that the filename contains OT. It then takes each line of each file and prints the first 5 characters before the first occurence of a /.
Currently I am getting the error:
Use of uninitialized value in string at rowGrab.pl line 43.... (3 Replies)
Hello,
This is Solaris-10 server, running with 4 non-global zones.
This server was hung today and I had to reboot it forcefully from console. Then root file-system was not clean and I had to run fsck from failsafe mode. After it came back in run-level-3, lot of services are showing in... (3 Replies)
Discussion started by: solaris_1977
3 Replies
LEARN ABOUT X11R4
inetconv
inetconv(1M) System Administration Commands inetconv(1M)NAME
inetconv - convert inetd.conf entries into smf service manifests, import them into smf repository
SYNOPSIS
inetconv -?
inetconv [-f] [-n] [-i srcfile] [-o destdir]
inetconv -e [-n] [-i srcfile]
DESCRIPTION
The inetconv utility converts a file containing records of inetd.conf(4) into smf(5) service manifests, and then import those manifests
into the smf repository. Once the inetd.conf file has been converted, the only way to change aspects of an inet service is to use the
inetadm(1M) utility.
There is a one-to-one correspondence between a service line in the input file and the manifest generated. By default, the manifests are
named using the following template:
<svcname>-<proto>.xml
The <svcname> token is replaced by the service's name and the <proto> token by the service's protocol. Any slash (/) characters that exist
in the source line for the service name or protocol are replaced with underscores (_).
The service line is recorded as a property of the converted service.
During the conversion process, if a service line is found to be malformed or to be for an internal inetd service, no manifest is generated
and that service line is skipped.
The input file is left untouched by the conversion process.
OPTIONS
The following options are supported:
-?
Display a usage message.
-e
Enable smf services which are listed in the input file.
-f
If a service manifest of the same name as the one to be generated is found in the destination directory, inetconv will overwrite that
manifest if this option is specified. Otherwise, an error message is generated and the conversion of that service is not performed.
-i srcfile
Permits the specification of an alternate input file srcfile. If this option is not specified, then the inetd.conf(4) file is used as
input.
-n
Turns off the auto-import of the manifests generated during the conversion process. Later, if you want to import a generated manifest
into the smf(5) repository, you can do so through the use of the svccfg(1M) utility.
If the -e option is specified, the -n option only displays the smf services that would be enabled.
-o
Permits the specification of an alternate destination directory destdir for the generated manifests. If this option is not specified,
then the manifests are placed in /var/svc/manifest/network/rpc, if the service is a RPC service, or /var/svc/manifest/network other-
wise.
EXAMPLES
Example 1: Generating smf Manifests from inetd.conf
The following command generates smf(5) manifests from inetd.conf(4) and places them in /var/tmp, overwriting any preexisting manifests of
the same name, and then imports them into the smf repository.
# inetconv -f -o /var/tmp
100232/10 -> /var/tmp/100232_10-rpc_udp.xml
Importing 100232_10-rpc_udp.xml ...Done
telnet -> /var/tmp/telnet-tcp6.xml
Importing telnet-tcp6.xml ...Done
Example 2: Generating Manifests from an Alternate Input File
The following command specifies a different input file and does not load the resulting manifests into the smf repository.
# inetconv -n -i /export/test/inet.svcs -o /var/tmp
100232/10 -> /var/tmp/100232_10-rpc_udp.xml
telnet -> /var/tmp/telnet-tcp6.xml
EXIT STATUS
The following exit values are returned:
0
Operation completed successfully (no errors).
1
Invalid options specified.
2
One or more service lines are malformed, and thus no manifest(s) were generated for them.
3
An error occurred importing one or more of the generated manifests.
4
A system error occurred.
FILES
/var/svc/manifest/network/{rpc}/<svcname>-<proto>.xml
default output manifest file name
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO inetadm(1M), inetd(1M), svccfg(1M), inetd.conf(4), attributes(5), smf(5)SunOS 5.10 21 Oct 2004 inetconv(1M)