TFTP command under solaris 10

I use tftp in solaris 10,like follows:
$ tftp
tftp> connect 127.0.0.1
tftp> ls
?Invalid command
tftp> put a.txt
Transfer timed out.
I want to know if I need to configure tftp under solaris 10,if need,how to configure it?
how to show directory and file after connect command,which command I can use? ls is not right command. when I want to put a file,why Transfer timed out. I am puzzled with it. Which directory is source directory and which directory is destinate directory?A detailed example is better.
Thanks

You cannot list directory contents with tftp. If you want any sort of interactive session, use ftp.

Similar Messages

  • Problems starting SunMC Agent 3.6 under Solaris 10

    Hi folks,
    I just did a test installation of the new SunMC 3.6 Server which worked fine. Afterwards, I did a fresh install of the 3.6 agent on a Sun Enterprise 420R running Solaris 10. I installed the agent in the global zone.
    At the end of the setup, when the system asks me if I want to start the agent, which I affirmed. But this didn't work, system says just laconically "Could not start agent". Unfortunately, I can't even find the logs, since there is no log subdirectory under /var/opt/SUNWsymon. Have they moved this under Solaris 10?
    Any ideas somebody how to dig into this?
    Regards,
    Peter

    Hi Mike,
    This sounds a lot like a post just a few days ago:
    http://forum.sun.com/thread.jspa?threadID=27785&tstart=0Well, yes and no...I read this thread and I found some similarities but it's not the same problem. Besides, this was Solaris 8, I've 10 and my guess is that it has something to do with Sol10.
    What do you see when you start the Agent with this command:
    /opt/SUNWsymon/sbin/es-start -aiNo error...I end up in a prompt:
    bash-3.00# /opt/SUNWsymon/sbin/es-start -ai
    info Dec 05 17:48:19 agent Sun Management Center Version: 3.6, Build: 18, H491, (c) 2003 Sun Microsystems, Inc.
    info Dec 05 17:48:19 agent registering import actions
    info Dec 05 17:48:19 agent loading standard services
    info Dec 05 17:48:19 agent standard services load complete
    info Dec 05 17:48:19 agent agent host and port: cngaer:1161
    info Dec 05 17:48:19 agent trap handler destination host and port: SunMC_server:162
    info Dec 05 17:48:19 agent event trap destination host and port: SunMC_server:163
    agent:>
    I've really no idea what to enter at this prompt. A simple "help" doesn't give me anything but I got something from "ls"
    agent:> ls
    classes templates _config config services iso shadow contexts rules                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • NIC install problem under Solaris 10

    I have an old 3Com NIC card (ISA) under Solaris 10. 3C509B Etherlink III card and prtconf -pv command shows correct PNP80f7 device id, all correct
    resources, IRQ, I/O address .... But fail to work. Is it sun does not support elx driver or something I misconfigured?
    My installation as follows:
    elx "PNP80F7" entry to /etc/driver_aliases
    PNP80F7|TCM5094.... elx net isa elx.bef "3Com"
    entry to /boot/solaris/devicedb/master
    #devlinks
    #touch reconfigure ; reboot

    I use these cards for my x86 installations as well. The one thing that I've had to do is force the speed and duplex using the 3Com driver diskettes before installing the operating system. For whatever reason, Solaris 10 finds the card but will not initialize it properly whenever I the card is programmed to auto-negotiate. Forcing the card to half-duplex on the card itself works almost all of the time for me.
    Get the driver diskettes from 3Com's site, boot from a bootable floppy, run 3c9x5cfg (if I recall correctly), and change the duplex and speed to whatever is appropriate. I've had the best luck with half-duplex. (If you need a boot diskette, you can get them from http://www.bootdisk.com.)

  • What is the  limit of  the size of a disk under Solaris 8?

    Hello,
    I have a problem when I try to run format command to label a disk of 1TB under solaris 8.
    # format.......
    114. c9t14d3 <DGC-RAID3-0322 cyl 32766 alt 2 hd 1 sec 0>
    /pci@8,700000/lpfc@4/sd@e,3
    Specify disk (enter its number)[115]: 114
    selecting c9t14d3
    [disk formatted]
    Disk not labeled. Label it now? y
    Warning: error writing VTOC.
    Warning: no backup labels
    Write label failed
    format> print
    PARTITION MENU:
    0 - change `0' partition
    1 - change `1' partition
    2 - change `2' partition
    3 - change `3' partition
    4 - change `4' partition
    5 - change `5' partition
    6 - change `6' partition
    7 - change `7' partition
    select - select a predefined table
    modify - modify a predefined partition table
    name - name the current table
    print - display the current table
    label - write partition map and label to the disk
    !<cmd> - execute <cmd>, then return
    quit
    partition> p
    Current partition table (default):
    Total disk cylinders available: 32766 + 2 (reserved cylinders)
    Arithmetic Exception - core dumped

    I think maybe if you split it into two luns, you can
    stitch them back together with svm.
    But even thats not certain.Depends on what you're going to do with the device at that point. UFS on Solaris also does not support volumes 1TB or larger. So you'd have to use it as a raw slice space or a filesystem that did support larger sizes.
    You need later versions of Solaris 9 to get mutli-terabyte UFS support. (a separate issue from multi-terabyte LUN support).
    Darren

  • Is there chatr command for solaris??

    Hi Everybody,
    In HP-UX, I use chatr command for finding the library dependencies and for changing their flags dynamically.
    Can you please let me know if there is any such command in solaris 10??
    I know ldd command, but it does not allow me to change the library loading flags.
    Thanks in advance
    Durga Prasad

    Solaris will always use your LD_LIBRARY_PATH to find the location of your dynamic libraries. If you haven't defined any LD_LIBRARY_PATH the systems settings are used instead. You may alter the default settings of your system by running the crle utility.
    As far as i understand; if you build a static library under Solaris, the executable will actually contain the static libraries which you linked into it so it won't have to load external libraries.
    7/M.

  • No interfaces up under solaris 8

    hi,
    I have a small problem with interfaces and configuring the net under solaris 8. The first thing is that there is a massage while the system is coming that there are no interfaces up.
    When i use the ifconfig -a command to check it, the result is as follows:
    lo0: FLAGS = 1000849 (up, loopback,running, multicast, ipv4) mtu 8232 index 1 inet 127.0.0.1 netmask ff000000
    my hardware is:
    x86 family 6 Model 8 Stepping 6
    AT/AT Compatibile
    260 330 KB RAM
    VGA: Intel Corporation 810 Graphics Controller Hub
    NC: 3Com 3C920 Integrated Fast Ethernet ( 3C905C - TX Compatibile)
    the next thing is that i dont even have the hostname file (e.g hostname.elxl0) in the etc directory.
    What can i do about this. how can i create interfaces in order to b e able to configure the network?
    Thaks for help in addvance
    Doti

    read Solaris x86 faq at http://sun.drydog.com/

  • Again - compilation under solaris - help!

    Hi all
    I'm trying to compile the following test code:
    #include <occi.h>
    #include <iostream>
    using namespace std;
    using namespace oracle::occi;
    int main(int argc, char ** argv)
    Environment *env;
    Connection * conn;
    try{
    env = Environment::createEnvironment();
    conn = env->createConnection(user, pass, sid);
    env->terminateConnection(conn);
    Environment::terminateEnvironment(env);
    } catch (SQLException &e) {
    cout<<"Exception: %s\n", e.getNLSMessage(env).c_str();
    return 0;
    My system is Solaris 9 sparc 64-bit
    Oracle Database 10.1.0.2
    I run this command:
    CC -I/u00/oracle/product/10.1.0/db_1/rdbms/public -L/u00/oracle/product/10.1.0/db_1/lib -locci10 test.cpp
    and get the famous error
    Undefined first referenced
    symbol in file
    void oracle::occi::Environment::terminateEnvironment(oracle::occi::Environment*) test.o
    oracle::occi::Environment*oracle::occi::Environment::createEnvironment(oracle::occi::Environment::Mode,void*,void*(*)(void*,unsigned),void*(*)(void*,void*,unsigned),void(*)(void*,void*)) test.o
    oracle::occi::__RTTI__1nGoracleEocciMSQdDLException_ test.o
    [Hint: static member oracle::occi::__RTTI__1nGoracleEocciMSQdDLException_ must be defined in the program]
    ld: fatal: Symbol referencing errors. No output written to a.out
    I've tried to use:
    gcc 3.4.2
    Sun Forte 6.0
    Sun Forte 6.2
    Sun Forte 7
    Sun Studio 10
    all the same
    if I set LD_LIBRARY_PATH and try to link with *.so library - it gives me "wrong ELF class: ELFCLASS64"
    I've tried to install and use Client 10.2 - no effect
    Under Windows it works perfectly.
    What should I do to make this thing compile under Solaris?
    Message was edited by:
    [email protected]
    Message was edited by:
    [email protected]

    If you want your application to be 32 bit
    - use Sun Forte 6.2 and link with OCCI library under $ORACLE_HOME/lib32
    If you want your application to be 64 bit
    - use Sun Forte 8 and link with libraries under $ORACLE_HOME/lib
    ( You should be passing the 64 bit compile flag "-xarch=v9" )

  • Ressource Usage under Solaris

    Hi everybody,
    I'm a newbie and I created four data bases on Oracle 9i under
    Solaris. Ech data bases uses about 400 MB of memory. Is that a
    normal value? Basically there is no data in the data bases, yet.
    I created them as general data bases with the wizard.
    Thanks for any comments or hints.
    Best regards,
    Ingo

    Michael ,
    If you are looking for the amount of physical memory on your system,
    use the 'prtconf' command. If you would like to get some virtual
    memory page statistics, use the 'vmstat' command. If you would like to
    find out about the memory allocated to a particular process, use
    'ps -e -opid,vsz,rss,args'. The only problem is the different behavior on
    different versions of Solaris. Check the man pages to find out about
    the usage of each command.
    A good tool is 'prtmem' in the MemTool package which can be
    downloaded anonymously from playground.sun.com in /pub/memtool/
    or goto www.solarisinternals.com . The MemTool tools are reported to
    work on Solaris 2.6 to 2.8. The 'prtmem' tool will break down the
    memory usage as follows.
    1) Total Memory - approx. total memory
    2) Kernel Memory - memory allocated to the kernel
    3) Application - amount of anonymous pages in memory
    4) Executable & libs - amount of executable and shared library pages
    in memory
    5) File Cache - amount of file cache not on free list
    6) Free, file cache - amount of file cache on free list
    7) Free, free - memory that is free
    Please note that the "Free, free" number is usually very close,
    if not equal, to zero. This is due to the VM systems use of the free
    memory to cache files.
    The ultimate resource for this type of info, from a kernel perspective, is
    the "Solaris Internals" book written by Mauro and McDougall. I
    recommend it highly!
    HTH,
    Rob

  • Why do I get timeouts with a GPIB-ENET/100 under Solaris that I did not get with GPIB-ENET.

    We have an existing application that works fine under Solaris 2.6 and Solaris 7 with a GPIB-ENET. When we swap the GPIB-ENET with a GPIB-ENET/100, we get devices timeouts all the time.

    Hello-
    Unfortunately, it's difficult to determine any possible cause for this occurance. It was mentioned in a previous email that the instrument will communicate for a few commands. When does the timeout happen? What command fails? Also, what type of instrument is connected (make, model, etc)? Is this a timeout from the write or read? What is the distance of the Ethernet from the host? Is it possible that another machine is accessing the GPIB-ENET/100? Would it be possible to include the code that communicates with this instrument? Does ibic or VISAic communicate with the instrument without timeouts?
    Hopefully, this information can pinpoint the exact cause of the timeout.
    Randy Solomonson
    Applications Engineer
    National Instruments

  • Sysdef command in Solaris 10.

    Hi All,
    sysdef command in Solaris 10 ( 5.10, s10_58 ) no more reports the message queue related Kernel
    parameters i.e msgsys:msginfo_msgmax ( MSGMAX ) etc. For more info refer the link below :
    http://docs.sun.com/db/doc/816-7137/6md5paukq?a=view
    Since sysdef command no more reports the above parameters, what is the other way we can get the
    same in Solaris 10? We have written our script in such a way that it greps for MSGMAX from the outcome
    of sysdef and gets its value and perform certain operations. Quick reply would be greatly appreciated.
    Thanks

    We have written our script in such
    a way that it greps for MSGMAX from the outcome
    of sysdef and gets its value and perform certain
    operations. Quick reply would be greatly appreciated.msgmax (maximum per-message size) has been removed completely -- there is no equivalent on Solaris 10. Instead, the
    maximum total bytes on the queue, process.max-msg-qbytes (previously msginfo_msgmnb) is the only restriction on what can be placed in a SysV message queue.
    To retrieve the current value of this in a script, you can use:prctl -P -n process.max-msg-qbytes -t privileged $$ | tail -1 | read x x value x x xNote that this is no longer a system-wide tunable -- the administrator can control this on a per-project basis. (see projects(1))
    - jonathan

  • Cannot run zpool (zfs feature) command in Solaris 10 6/06

    Hi, I couldnt run ZPOOL command in Solaris 10 6/06. It said command not found.
    May I know what should I do? My Solaris 10 version provide Solaris zoning features, but no ZFS feature provided.
    How?

    check your PATH- the zpool command is in the /usr/sbin directory.
    Also, double check you have the zfs packages-
    #pkginfo | grep zfs
    system SUNWzfskr ZFS Kernel (Root)
    system SUNWzfsr ZFS (Root)
    system SUNWzfsu ZFS (Usr)

  • Reg: stat command in solaris 10

    Hi Gurus,
    Where i can find the stat command in solaris 10.
    Any one help is appreciated.

    Hi
    /opt/sfw/bin/stat
    if you do a full install including the Companion DVD.
    More importantly, what exactly are you trying to achieve?
    Paul

  • Mozilla under Solaris 10

    hello all,
    I am trying to launch Mozilla 1.7 under Solaris 10 with multiple Java versions, like Java 1.5, 1.4 and 1.6.
    I am not 100% sure but from what I see its not fully supported by Mozilla?
    some behavior patters that I noticed is that Mozilla tend to lock the session against the JRE its running under. so if you started with 1.5
    it will remain under 1.5 until you kill/finish that session..
    could anyone please help with this or if you have any better suggestion?
    thanks a lot
    /ayman

    Not really sure what you are trying to do, but you can get a more recent version at the following
    link. README link has info on install, including java.
    http://www.mozilla.com/en-US/firefox/2.0.0.11/releasenotes/#contributedbuilds

  • Mount NTFS under Solaris 10

    Hi can anybody tell me if i can mount a NTFS partition under Solaris 10??
    Thanks for ur help.

    <table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText"><b>korsabad wrote on Wed, 11 January 2006 06:23</b></td></tr><tr><td class="quote">
    if you use solaris x86 and the ntfs-partition
    Not possible. NTFS has those windows-security-id's (you know, those about-40-character-long-id's) for each object which cannot be read from solaris.
    </td></tr></table>
    I think writing to NTFS is nearly impossible (due to changes of the NTFS version, security stuff, and so on).
    However reading from an <u>unencrypted</u> NTFS partition seems to be a possible thing. I do not know if a tool or a driver <u>already</u> exists but I think it is a possible task to write a tool that reads from NTFS partitions.
    I think writing a tool that reads from UFS partitions under Windows is an easy task, too. I wrote such a tool for reading the EXT2 file system under Windows long time ago.
    Martin

  • Porting of Sybase Application to Oracle 8i under Solaris

    Dear All
    I want to port an application from sybase 10.2 which is running under Solaris to Oracle 8I under Solaris. Apart from database objects and stored procedures which I have already converted I wan to conver some C Codes and Unix Scripts
    Which are either shell scripts or perl programs. I need all of your valuable suggestions in this regard.
    Q-1 . In the Perl Program the following lines are sybase specific
    Use Sybase:: Dblib
    Require /files0/apps/local/lib/perl15/Sybase/sybperl.pl;
    What will be the equivalent for ORACLE.
    Suggest what perl I should use in this context.
    In continuation to the above also I have some shell variables assigned as follows
    $SYB_SERVER=SYB_PROD_CERT;
    $SYB_DATABASE=APPLDB;
    $ENV{SYBASE}=/sybase/10.0.4;
    $ENV{DSQUERY}=$SYB_SERVER
    $SYB_USER=keshav;
    $SYB_PWFILE=/myappl/processcert/passwords/$SYB_SERVER;
    $SYB_PW=/usr/bin/cat $SYB_PWFILE;
    chop($SYB_PW);
    dbmsghandle(message_handler);
    dberrhandle(error_handler);
    ( ($dbproc = &dblogin($SYB_USER,$SYB_PW,$SYB_SERVER)) != -1 );
    ( &dbuse($dbproc, $SYB_DATABASE) != -1 );
    ( ($dbproc2 = &dblogin($SYB_USER,$SYB_PW,$SYB_SERVER)) != -1 );
    ( &dbuse($dbproc2, $SYB_DATABASE) != -1 );
    sub Statistics
    # get distinct sub-cat counts
    ( &dbcmd($dbproc, "select count(*),orgnumber,name=(select servicerorgname from servicer where servicer.orgnumber=transactionlog.orgnumber) from transactionlog group by orgnumber order by count(*) desc\n") != -1 );
    &dbsqlexec($dbproc);
    &dbresults($dbproc);
    $row = DBROWS( $dbproc );
    2. One of the Sample C Program is given here which I want to convert into pro*c.
    I would like to know what are the corresponding libraries of oracle under
    Solaris are to be used and also the respective header files mapping of Sybase
    To Oracle. Any comment of this will be appreciated.
    #include "sql.h"
    #include "unix.h"
    #include <stdlib.h>
    #ifndef SQL_INCLUDED
    #define SQL_INCLUDED
    #include <sybfront.h>
    #include <sybdb.h>
    /*#include "sybdbex.h"*/
    /* #include <syberror.h>*/
    #endif     
    /* LogonToServer(char server[]) */
    /*----------------------------------------------------------------------sra-*/
    DBPROCESS *LogonToServer(char server[], char datab[], char user[],
    char passwd[], char appname[] )
    PCHAR szTemp;
    char data[1000];
    int result;
    long l;
    DBPROCESS *dbp;
    LOGINREC *login;
    /* initiailize library */
    if ( dbinit() == FAIL)
    printf("DB Initialization failed!\n");
    exit(1);
    /* install user supplied error handling and message handling routines*/
    dberrhandle(err_handler);
    dbmsghandle(msg_handler);
    /* get LOGINREC structure and fill */
    login = dblogin();
    DBSETLUSER(login,user);
    DBSETLPWD(login,passwd);
    DBSETLAPP(login,appname);
    /* get a DBPROCESS structure for communicating with the server */
    if ((dbp = dbopen(login,server)) == NULL)
    printf("dbopen failed on server: %s\n",server);
    exit(1);
    dbcmd(dbp,strcat("use ",datab));
    dbsqlexec(dbp);
    result=dbresults(dbp);
    return dbp;
    /* LogoutOfServer() */
    /*----------------------------------------------------------------------sra-*/
    void LogoutOfServer(DBPROCESS *dbproc)
    DBPROCESS *dbp2;
    dbclose( dbproc );
    return;
    int err_handler(DBPROCESS *dbproc,int severity,int dberr,int oserr,
    char dberrstr,char oserrstr)
    if ((dbproc == NULL))
    return(INT_EXIT);
    else
    fprintf(ERR_CH, "DB-LIBRARY error:\n\t%s\n",dberrstr);
    if (oserr != DBNOERR)
    fprintf(ERR_CH,"Operating-system error:\n\t%s\n",oserrstr);
    return(INT_CANCEL);
    int msg_handler(DBPROCESS *dbproc, DBINT msgno, int msgstate, int severity,
    char msgtext,char srvname,char *procname,DBUSMALLINT line)
    return 0;

    Hello
    The "-D_BIG_ENDIAN" shows you that the code is endian-dependent. This means that the program cannot be ported 1:1 because x86 is little endian while Sparc is big-endian.
    I would first try to use "-D_LITTLE_ENDIAN" (or what flag ever I can find in the source codes) and to compile for x86.
    Because of the "-D_BIG_ENDIAN" different source code is used for both machines. Maybe the little-endian source code is wrong:
    #ifdef _BIG_ENDIAN
    // correct source code for Sparc
    #else
    // INCORRECT source code for x86
    #endifMartin

Maybe you are looking for