Curl in solaris?

Hi everybody:
Do you know if exits an equivalent program for transfer files with URL sintaxis. In Linux is the curl. you can use for example
#curl http://www.google.es > google.htm, but i dont know how in solaris is?,any idea?
Thanks.
Emilio

It's the same program, but I assume it's not installed by default on Solaris. It may be on a companion disk, but you don't mention what OS you're running.
Either way, you can download a package for it from www.sunfreeware.com or other Solaris package sites.
Darren

Similar Messages

  • How to set a proxy in solaris 11

    Hi
    After long research, I found the below syntax for setting up proxy in Solaris 11. And this works as well.
    But what will be the syntax if my passwd contain @ symbol, generally most of the passwords contains @ symbol, but this is not working if the password has @ symbol, it's considering as the other domain. I reset my password plain (without any symbol) and working fine.
    export http_proxy="http://username:password@proxy_url"
    username:- username
    Password:- Passwd@123
    proxy usr:- proxy.company.com
    How can I sent a proxy for above values?

    i used this to download using pkgutil by passing proxy
    export http_proxy=http://proxyusername:'password'@test.com:portnumber
    ex::
    from bash/ksh shell i used to tun this when i need to run any wget or curl from solaris machine
    export http_proxy=http://muvvas :'abc&@xyz'@test.com:8080
    export https_proxy=http://muvvas :'abc&@xyz'@test.com:8080
    export ftp_proxy=http://muvvas :'abc&@xyz'@test.com:8080

  • How to connect to internet in solaris 11

    Hi All,
    I am a oracle DBA, not much knowledge of solaris.
    To install missing packages I need to connect my Solaris 11 box to internet.
    Data centre guys have provided me 1 proxy server IP address for LAN and a Port number.
    But i am not sure where to update these IP address and port no. to access the internet.
    Need your kind help for this.
    Thanks.

    i hope ur downloading from shell
    then use this
    export http_proxy=http://proxyusername:'password'@test.com:portnumber
    ex::
    from bash/ksh shell i used to tun this when i need to run any wget or curl from solaris machine
    export http_proxy=http://muvvas :'abc&@xyz'@test.com:8080
    export https_proxy=http://muvvas :'abc&@xyz'@test.com:8080
    export ftp_proxy=http://muvvas :'abc&@xyz'@test.com:8080
    if you are not using any username and password simly use
    export http_proxy=http://test.com:8080
    export http_proxy=http://10.x.x.x:8080
    test with wget
    wget google.com
    and please provide the wget o/p if any errors occured.

  • Schedule CF Template - Use Batch File?

    Is there a way to execute a CF template through a batch file?
    I have a small cf template that Im going to schedule to run about
    every 5 minutes, but I was hoping there was away around using the
    CF Scheduler. Anyone have any ideas?

    What OS are you using? You can get wget and curl for Solaris,
    Linux, OSX, Windows, and others:
    wget
    website
    wget http://localhost/mytemplate.cfm -o outputfile.txt
    curl website
    curl http://localhost/mytemplate.cfm -o outputfile.txt
    There are tons of options for each utility. I've found curl
    to be more flexible, but wget is more reliable.
    On any POSIX system, you can use cron and a shell script. On
    Windows, you'll have to go with AT jobs and a .bat file.
    HTH;
    &laz;

  • Solaris 10 sparc - cpan - gcc/make issue

    Hi all,
         I am attempting to install necessary perl modules to run a perl script. I need to use gcc as my compiler and believe I have an issue, also may have a (g)make issue as well. I will copy the output of two install failures, and then my current o conf setup. if someone could help me out I would sincerely appreciate it.
    When trying to install IO::Pty I received the following output.
    cpan[1]> install IO::Pty
    Reading '/.cpan/Metadata'
      Database was generated on Thu, 26 Sep 2013 13:53:03 GMT
    Running install for module 'IO::Pty'
    Running make for T/TO/TODDR/IO-Tty-1.10.tar.gz
      CPAN: checksum security checks disabled because Digest::SHA not installed.
      Please consider installing the Digest::SHA module.
    Scanning cache /.cpan/build for sizes
    ..........................................................................--DONE
    DEL(1/3): /.cpan/build/Data-Dumper-2.145-wR9zqH
    DEL(2/3): /.cpan/build/Time-Local-1.2300-_ZUYVw
    DEL(3/3): /.cpan/build/Time-Local-1.2300-_ZUYVw.yml
      CPAN.pm: Building T/TO/TODDR/IO-Tty-1.10.tar.gz
    Use of uninitialized value in scalar assignment at /usr/perl5/5.8.4/lib/CPAN/Distribution.pm line 1868.
    Use of uninitialized value in scalar assignment at /usr/perl5/5.8.4/lib/CPAN/Distribution.pm line 1869.
    Use of uninitialized value in scalar assignment at /usr/perl5/5.8.4/lib/CPAN/Distribution.pm line 1879.
    Use of uninitialized value in scalar assignment at /usr/perl5/5.8.4/lib/CPAN/Distribution.pm line 1880.
    Now let's see what we can find out about your system
    (logfiles of failing tests are available in the conf/ dir)...
    sh: cc: not found
    ERROR: cannot run the configured compiler 'cc'
    (see conf/compilerok.log). Suggestions:
    1) The complier 'cc' is not in your PATH. Add it
       to the PATH and try again. OR
    2) The compiler isn't installed on your system. Install it. OR
    3) You only have a different compiler installed (e.g. 'gcc').
       Either fix the compiler config in the perl Config.pm
       or install a perl that was built with the right compiler
       (you could build perl yourself with the available compiler).
    Note: this is a system-administration issue, please ask your local
    admin for help. Thank you.
    Warning: No success on command[/usr/perl5/5.8.4/bin/perl Makefile.PL]
      TODDR/IO-Tty-1.10.tar.gz
      /usr/perl5/5.8.4/bin/perl Makefile.PL -- NOT OK
    Running make test
      Make had some problems, won't test
    Running make install
      Make had some problems, won't install
    Could not read metadata file. Falling back to other methods to determine prerequisites
    Failed during this command:
    TODDR/IO-Tty-1.10.tar.gz                     : writemakefile NO '/usr/perl5/5.8.4/bin/perl Makefile.PL' returned status 512
    When trying to install Data::Dumper I received the following output.
    cpan[2]> install Data::Dumper
    Running install for module 'Data::Dumper'
    Running make for S/SM/SMUELLER/Data-Dumper-2.145.tar.gz
    CPAN: checksum security checks disabled because Digest::SHA not installed.
      CPAN.pm: Building S/SM/SMUELLER/Data-Dumper-2.145.tar.gz
    Use of uninitialized value in scalar assignment at /usr/perl5/5.8.4/lib/CPAN/Distribution.pm line 1868.
    Use of uninitialized value in scalar assignment at /usr/perl5/5.8.4/lib/CPAN/Distribution.pm line 1869.
    Use of uninitialized value in scalar assignment at /usr/perl5/5.8.4/lib/CPAN/Distribution.pm line 1879.
    Use of uninitialized value in scalar assignment at /usr/perl5/5.8.4/lib/CPAN/Distribution.pm line 1880.
    Checking if your kit is complete...
    Looks good
    Generating a GNU-style Makefile
    Writing Makefile for Data::Dumper
    Writing MYMETA.yml and MYMETA.json
    Use of uninitialized value in scalar assignment at /usr/perl5/5.8.4/lib/CPAN/Distribution.pm line 2033.
    cp Dumper.pm blib/lib/Data/Dumper.pm
    /usr/perl5/5.8.4/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp  -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap  Dumper.xs > Dumper.xsc && mv Dumper.xsc Dumper.c
    cc -c   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff   -DVERSION=\"2.145\" -DXS_VERSION=\"2.145\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE"  -DUSE_PPPORT_H Dumper.c
    /bin/sh: cc: not found
    gmake: *** [Dumper.o] Error 1
      SMUELLER/Data-Dumper-2.145.tar.gz
      /usr/sfw/bin/gmake -- NOT OK
    Running make test
      Can't test without successful make
    Running make install
      Make had returned bad status, install seems impossible
    Failed during this command:
    SMUELLER/Data-Dumper-2.145.tar.gz            : make NO
    cpan[3]> o conf
    $CPAN::Config options from /usr/perl5/5.8.4/lib/CPAN/Config.pm:
        commit             [Commit changes to disk]
        defaults           [Reload defaults from disk]
        help               [Short help about 'o conf' usage]
        init               [Interactive setting of all options]
        applypatch         []
        auto_commit        [0]
        build_cache        [10]
        build_dir          [/.cpan/build]
        build_dir_reuse    [0]
        build_requires_install_policy [yes]
        bzip2              [/usr/bin/bzip2]
        cache_metadata     [1]
        check_sigs         [0]
        colorize_debug     undef
        colorize_output    [0]
        colorize_print     undef
        colorize_warn      undef
        commandnumber_in_prompt [1]
        commands_quote     undef
        connect_to_internet_ok [1]
        cpan_home          [/.cpan]
        curl               undef
        dontload_hash
        dontload_list      undef
        ftp                [/usr/bin/ftp]
        ftp_passive        [1]
        ftp_proxy          [Proxy info removed]
        ftpstats_period    undef
        ftpstats_size      undef
        getcwd             [cwd]
        gpg                []
        gzip               [/usr/bin/gzip]
        halt_on_failure    [0]
        histfile           [/.cpan/histfile]
        histsize           [100]
        http_proxy         [Proxy info removed]
        inactivity_timeout [0]
        index_expire       [1]
        inhibit_startup_message [0]
        keep_source_where  [/.cpan/sources]
        load_module_verbosity [none]
        lynx               []
        make              [/usr/sfw/bin/gmake] I have also tried [/usr/sfw/bin/make] and still the installs fail
        make_arg           []
        make_install_arg   [UNINST=1]
        make_install_make_command [/usr/sfw/bin/gmake] I have also tried [/usr/sfw/bin/make] and still the installs fail
        makepl_arg         []
        mbuild_arg         []
        mbuild_install_arg []
        mbuild_install_build_command [./Build]
        mbuildpl_arg       []
        ncftp              []
        ncftpget           []
        no_proxy           []
        pager              [/usr/bin/less]
        password           undef
        patch              [/usr/bin/patch]
        patches_dir        undef
        perl5lib_verbosity [none]
        prefer_external_tar [0]
        prefer_installer   [MB]
        prefs_dir          [/.cpan/prefs]
        prerequisites_policy [ask]
        proxy_pass         undef
        proxy_user         []
        randomize_urllist  undef
        scan_cache         [atstart]
        shell              [/sbin/sh]
        show_unparsable_versions [0]
        show_upload_date   [0]
        show_zero_versions [0]
        tar                [/usr/sfw/bin/gtar]
        tar_verbosity      [none]
        term_is_latin      [1]
        term_ornaments     [1]
        test_report        [0]
        trust_test_report_history [0]
        unzip              [/usr/bin/unzip]
        urllist
            0 [http://cpan.cse.msu.edu/]
            1 [http://httpupdate23.cpanel.net/CPAN/]
            2 [http://cpan.llarian.net/]
        use_sqlite         [0]
        username           undef
        version_timeout    [15]
        wait_list          undef
        wget               [/usr/sfw/bin/wget]
        yaml_load_code     [0]
        yaml_module        [YAML]
    I would appreciate any assistance,
    Thank you in advance,
    Steve O

    s@mira123 wrote:
    Dear All,
    I am trying to set the date as per the time zone,
    I have succeeded doing that on solaris 10 x86 server after i modified the /etc/TIMEZONE file and ran the rtc command/etc/TIMEZONE is only read at boot time.
    The rtc command is used to set the real time (bios) clock. It should have no effect on the running clock.
    as i configured the /etc/TIMEZONE, i couldnt run the rtc command and figured that it is for X86
    what is the alternative on SPARC?There is no alternative. x86 has a tradition of running the BIOS clock in local time. The rtc program allows you to continue doing that, which is handy if you multi-boot with other operating systems that require that setting (such as windows). As such, the rtc clock needs to be reset when local time changes (usually associated with daylight saving or summer time). If you do not multi-boot with windows, you may wish to set the bios clock to UTC. It makes certain things easier.
    SPARC systems do not multi-boot windows, and the onboard nvram clock always runs in UTC. So the rtc command is not needed.
    The date output is +2 over the timezone taht i have specified
    TZ=Europe/Paris
    CMASK=022
    LANG=en_US.UTF-8Please show output of the following commands:
    TZ=Europe/Paris date
    date
    echo $TZ
    Darren

  • Solaris CD Download

    Help from Anyone would be Appreciated. I am trying to download the Solaris 8 Binaries for Sparc (upgrading a SS20). I try to burn the ISO image to a CD-R and when I mount it back in Windows (or Mac OS X) all I get for a directory listing is 3 files and one Symbolic link. There is nothing else on the disk? Is this normal? Disk info says that there is only like 122K on Disk. I have tried over 3 different Cable Connections, as Single files, as Segments, from IE, Netscape, Omniweb, from the terminal using wget or curl. The software CD's seem fine as those download and burn just fine and Either Windows explorer, or Mac OS X sees everything on the Disk. Is there something Special I should know about this? Here is the ls -laF output
    drwxrwxr-x 2 root daemon 2048 Sep 12 20:11 ./
    drwxrwxrwt 8 root wheel 228 Dec 12 11:46 ../
    -rw-rw-r-- 1 root daemon 52 Sep 12 20:11 .volume.inf
    lrwxrwxr-x 1 root daemon 5 Sep 12 20:11 Boot -> ../s1
    -r--r--r-- 1 root daemon 5959 Sep 12 20:11 Copyright
    -rwxr-xr-x 1 root daemon 58977 Sep 12 20:11 add_install_client*
    -rwxr-xr-x 1 root daemon 3452 Sep 12 20:11 modify_install_server*
    and the output from df
    Filesystem 512-blocks Used Avail Capacity Mounted on
    /dev/disk2 244 244 0 100% /Volumes/multi_ICD_SOL_8_1001_SPARC
    Frustrated.....
    Mike Jackson

    It's no metter what software you using. I have same problem, but because my SPARCstation hasn't CD I decide to install it by tftp protocol (boot from NETwork). so instead of burning image I just mounted them to my Linux box. The ls command gets just that:
    [root@pluto hd]# ls -al
    total 76
    drwxrwxr-x 2 root bin 2048 Sep 13 10:11 .
    drwxr-xr-x 5 root root 4096 Jan 7 03:25 ..
    -rw-rw-r-- 1 root bin 52 Sep 13 10:11 .volume.inf
    lrwxrwxrwx 1 root bin 5 Sep 13 10:11 Boot -> ../s1
    -r--r--r-- 1 root bin 5959 Sep 13 10:11 Copyright
    -rwxr-xr-x 1 root bin 58977 Sep 13 10:11 add_install_client
    -rwxr-xr-x 1 root bin 3452 Sep 13 10:11 modify_install_server

  • Issue connecting to HTTPS site through CURL

    All,
    I am having trouble requesting info from HTTPS site using CURL and PHP. I am using Solaris 10. It so happens that sometimes it works and sometimes it doesn't. I am not sure what is the cause. If it doesn't work, this is the entry recorded in the verbose log:
    * About to connect() to 10.10.101.12 port 443 (#0)
    *   Trying 10.10.101.12... * connected
    * Connected to 10.10.101.12 (10.10.101.12) port 443 (#0)
    * error setting certificate verify locations, continuing anyway:
    *   CAfile: /etc/opt/webstack/curl/curlCA
      CApath: none
    * error:80089077:lib(128):func(137):reason(119)
    * Closing connection #0If it works, this is the entry recorded in the verbose log:
    * About to connect() to 10.10.101.12 port 443 (#0)
    *   Trying 10.10.101.12... * connected
    * Connected to 10.10.101.12 (10.10.101.12) port 443 (#0)
    * error setting certificate verify locations, continuing anyway:
    *   CAfile: /etc/opt/webstack/curl/curlCA
      CApath: none
    * SSL connection using DHE-RSA-AES256-SHA
    * Server certificate:
    *        subject: C=CA, ST=British Columnbia, L=Vancouver, O=google, OU=FDN, CN=g.googlenet.com, [email protected]
    *        start date: 2007-07-24 23:06:32 GMT
    *        expire date: 2027-09-07 23:06:32 GMT
    *        issuer: C=US, ST=California, L=Sunnyvale, O=Google, OU=Certificate Authority, CN=support, [email protected]
    *        SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
    POST /gportal/gpmgr HTTP/1.1^MHost: 10.10.101.12^M
    Accept: */*^M
    Accept-Encoding: gzip,deflate^M
    Content-Length: 1623^M
    Content-Type: application/x-www-form-urlencoded^M
    Expect: 100-continue^M
    ^M
    < HTTP/1.1 100 Continue^M
    < HTTP/1.1 200 OK^M
    < Date: Wed, 28 Apr 2010 21:56:15 GMT^M
    < Server: Apache^M
    < Cache-Control: no-cache^M
    < Pragma: no-cache^M
    < Vary: Accept-Encoding^M
    < Content-Encoding: gzip^M
    < Content-Length: 1453^M
    < Content-Type: application/json^M
    < ^M
    * Connection #0 to host 10.10.101.12 left intact
    * Closing connection #0My CURL options are as under:
        $ch = curl_init();
        $devnull = fopen('/tmp/curlcookie.txt', 'w');
        $fp_err = fopen('/tmp/verbose_file.txt', 'ab+');
        fwrite($fp_err, date('Y-m-d H:i:s')."\n\n");
        curl_setopt($ch, CURLOPT_STDERR, $devnull);
        curl_setopt($ch, CURLOPT_POST, 1);
        curl_setopt($ch, CURLOPT_URL, $desturl);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
        curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
        curl_setopt($ch, CURLOPT_HEADER, false);
        curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0);
        curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,120);
        curl_setopt($ch, CURLOPT_AUTOREFERER, true);
        curl_setopt($ch, CURLOPT_ENCODING, 'gzip,deflate');
        curl_setopt($ch, CURLOPT_POSTFIELDS, $postdata);
        curl_setopt($ch, CURLOPT_VERBOSE,1);
        curl_setopt($ch, CURLOPT_FAILONERROR, true);
        curl_setopt($ch, CURLOPT_STDERR, $fp_err);
        $ret = curl_exec($ch);Anybody has any idea, why it works sometimes but fails mostly? The error I am trying to solve is error:80089077:lib(128):func(137):reason(119)
    Thanks

    There seems to be some confusion here. Maybe I misunderstood your original question...
    Glassfish is an Java application server.
    Since you were reporting issues with PHP, I assumed you were referring to an apache httpd server.
    Coolstack is a repository which contains a version of both tomcat and apache.
    So I suppose that glassfish could be considered to be a replacement for the tomcat in coolstack.
    However since their so different. I would have said competitor rather than replacement.
    But arent we talking about apache?
    But the root of the problem is actually an openssl bug.
    So the issue would be to install a different copy of openssl. Then use applications that are linked against it.
    Whether curl or apache or tomcat. Whatever you are seeing the problem in.
    So I was more suggesting that you could try a different version of curl/openssl. It doesnt matter if you get it from coolstack or sunfreeware, or blastwave or opencsw. Or compile it yourself.
    But I suggest you try patching first and hopefully you can fix the version your already using rather than replacing large amounts of software with a completely new version.

  • Logical interface in solaris 10

    Hi there,
    I need to configure logical interface in a solaris 10 3/05 server. After reading the Solaris 10 IP services manual, I am not quite sure what to do. All the examples and explanation are about using the new subcommand addif of ifconfig. It was not clear in the documentation if the setting logical interfaces via addif will persist across boot.
    Can one still configure logical interface in Solaris 10 in a more traditional way like in Solaris 8? In an Solaris 8 server I will do the following.
    Let's assume I want to configure in a solaris 8 server a logical interface named hme0:1 with IP address 192.168.20.28 with netmask 255.255.255.0 for hostname host001
    # cat /etc/hostname.hme0:1
    host001
    ^D
    # echo "192.168.20.28 host001" >> /etc/inet/hosts
    # echo "192.168.20.0 255.255.255.0" >> /etc/inet/netmasks
    # reboot -- -r
    Can one still do that in solaris 10 3/05 server?

    Hi there,
    I need to configure logical interface in a solaris 10
    3/05 server. After reading the Solaris 10 IP services
    manual, I am not quite sure what to do. All the
    examples and explanation are about using the new
    subcommand addif of ifconfig. It was not clear in the
    documentation if the setting logical interfaces via
    addif will persist across boot.No. No 'ifconfig' command is persistent.
    Can one still configure logical interface in Solaris
    10 in a more traditional way like in Solaris 8? In an
    Solaris 8 server I will do the following.
    Let's assume I want to configure in a solaris 8
    server a logical interface named hme0:1 with IP
    address 192.168.20.28 with netmask 255.255.255.0 for
    hostname host001
    # cat /etc/hostname.hme0:1
    host001
    ^D
    # echo "192.168.20.28 host001" >> /etc/inet/hosts
    # echo "192.168.20.0 255.255.255.0" >>
    /etc/inet/netmasks
    # reboot -- -r
    Can one still do that in solaris 10 3/05 server?Absolutely.
    You don't need to reboot (you can run ifconfig for this boot and let the files do the work next time) and the -r doesn't do anything with interfaces (expecially virtual interfaces) anyway.
    Darren

  • Installation problem on Solaris

    I am trying to install sun one 7.0 on Solaris 8. The install is failing with this error:
    ERROR - library load failed with following error: Can't load library: /opt/SUNWappserver7/lib/libinstallCore.so
    INFO - End core server uninstallation
    anyone know what causes this??
    cheers

    Looks like Solaris package installation failed and installer reverted to uninstallation sequence. For low level pkgadd log please check /var/sadm/install/logs/Sun_ONE_Application_Server_install.B<timestamp> file (timestamp is date and time of your installation attempt in mmddHHMM format).
    Look for any errors in this file. Most likely thing that could have happened is that the installation of Java Help (SUNWjhrt) package failed because you didn't have existing package based J2SE installation on the system. If that's the case, workaround is to either preinstall package based J2SE installation or to selected option to install bundled J2SE that comes with application server.

  • Installation problem on Solaris 10

    Dear All,
    We are trying to install j2sdk 1.4.2_13 on solaris server zone. I have downloaded j2sdk-1_4_2_13-nb-5_0-solsparc-ml.bin
    But when I try to execute this:
    #./j2sdk-1_4_2_13-nb-5_0-solsparc-ml.bin
    It gives me error: The installer is unable to run in graphical mode. Try running the installer with the -console or -silent flag
    Tried with -console:
    The wizard cannot continue because of the following error: Invalid command line option: console is not supported (10
    01) (403)
    WARNING: could not delete temporary file /tmp/ismp001/2599368
    WARNING: could not delete temporary file /tmp/ismp001/6183226
    WARNING: could not delete temporary file /tmp/ismp001/1222839
    Then tried with -silent:
    This time command just completed w/o any output at all.
    Please suggest what can I do?
    regards, Sean.

    Dear Siddhesh,
    Thanks for your reply.
    I tried using X Manager GUI for my Solaris. But when I double click the j2sdk-1_4_2_13-nb-5_0-solsparc-ml.bin file to run it, it simply denies saying:
    The filename "j2sdk-1_4_2_13-nb-5_0-solsparc-ml.bin" indicates that this file is of type "Unknown type". The contents of the file indicate that the file is of type "Shell script". If you open this file, the file might present a security risk to your system.
    Do not open the file unless you created the file yourself, or received the file from a trusted source. To open the file, rename the file to the correct extension for "Shell script", then open the file normally. Alternatively, use the Open With menu to choose a specific application for the file.
    Also /tmp has full authorizations:
    drwxrwxrwt   7 root     sys          557 Jun 24 08:34 tmp
    I dont have Hummingbird for X11 forwarding with this client. Do I have any other option??
    regards, Sean.

  • New to Solaris, Some Samba and NTFS issues.

    Hi Im new to solaris and trying out ZFS which has been great.
    Im haivng some trouble that I cant find up to date info on so here goes:
    First how do you mount an NTFS volume in Solaris 11 Express?
    I need to access the data on an NTFS drive to populate my new ZFS tank.
    Secondly, I have read only access on my samba shares from windows machines but my smb.conf looks right. a copy of my smb.conf will follow
    Any suggestions would be appreciated.
    # This is the main Samba configuration file. You should read the
    # smb.conf(5) manual page in order to understand the options listed
    # here. Samba has a huge number of configurable options (perhaps too
    # many!) most of which are not shown in this example
    # For a step to step guide on installing, configuring and using samba,
    # read the Samba-HOWTO-Collection. This may be obtained from:
    # http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
    # Many working examples of smb.conf files can be found in the
    # Samba-Guide which is generated daily and can be downloaded from:
    # http://www.samba.org/samba/docs/Samba-Guide.pdf
    # Any line which starts with a ; (semi-colon) or a # (hash)
    # is a comment and is ignored. In this example we will use a #
    # for commentry and a ; for parts of the config file that you
    # may wish to enable
    # NOTE: Whenever you modify this file you should run the command "testparm"
    # to check that you have not made any basic syntactic errors.
    #======================= Global Settings =====================================
    [global]
    # workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
    workgroup = WORKGROUP
    # server string is the equivalent of the NT Description field
    server string = Samba Server
    # Security mode. Defines in which mode Samba will operate. Possible
    # values are share, user, server, domain and ads. Most people will want
    # user level security. See the Samba-HOWTO-Collection for details.
    security = share
    # This option is important for security. It allows you to restrict
    # connections to machines which are on your local network. The
    # following example restricts access to two C class networks and
    # the "loopback" interface. For more examples of the syntax see
    # the smb.conf man page
    ; hosts allow = 192.168.1. 192.168.2. 127.
    # If you want to automatically load your printer list rather
    # than setting them up individually then you'll need this
    load printers = yes
    # you may wish to override the location of the printcap file
    ; printcap name = /etc/printcap
    # on SystemV system setting printcap name to lpstat should allow
    # you to automatically obtain a printer list from the SystemV spool
    # system
    ; printcap name = lpstat
    # It should not be necessary to specify the print system type unless
    # it is non-standard. Currently supported print systems include:
    # bsd, cups, sysv, plp, lprng, aix, hpux, qnx
    ; printing = cups
    # Uncomment this if you want a guest account, you must add this to /etc/passwd
    # otherwise the user "nobody" is used
    ; guest account = pcguest
    # this tells Samba to use a separate log file for each machine
    # that connects
    log file = /var/samba/log/log.%m
    # Put a capping on the size of the log files (in Kb).
    max log size = 50
    # Use password server option only with security = server
    # The argument list may include:
    # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
    # or to auto-locate the domain controller/s
    # password server = *
    ; password server = <NT-Server-Name>
    # Use the realm option only with security = ads
    # Specifies the Active Directory realm the host is part of
    ; realm = MY_REALM
    # Backend to store user information in. New installations should
    # use either tdbsam or ldapsam. smbpasswd is available for backwards
    # compatibility. tdbsam requires no further configuration.
    passdb backend = smbpasswd
    # Using the following line enables you to customise your configuration
    # on a per machine basis. The %m gets replaced with the netbios name
    # of the machine that is connecting.
    # Note: Consider carefully the location in the configuration file of
    # this line. The included file is read at that point.
    ; include = /usr/sfw/lib/smb.conf.%m
    # Configure Samba to use multiple interfaces
    # If you have multiple network interfaces then you must list them
    # here. See the man page for details.
    ; interfaces = 192.168.12.2/24 192.168.13.2/24
    # Browser Control Options:
    # set local master to no if you don't want Samba to become a master
    # browser on your network. Otherwise the normal election rules apply
    ; local master = no
    # OS Level determines the precedence of this server in master browser
    # elections. The default value should be reasonable
    ; os level = 33
    # Domain Master specifies Samba to be the Domain Master Browser. This
    # allows Samba to collate browse lists between subnets. Don't use this
    # if you already have a Windows NT domain controller doing this job
    ; domain master = yes
    # Preferred Master causes Samba to force a local browser election on startup
    # and gives it a slightly higher chance of winning the election
    ; preferred master = yes
    # Enable this if you want Samba to be a domain logon server for
    # Windows95 workstations.
    ; domain logons = yes
    # if you enable domain logons then you may want a per-machine or
    # per user logon script
    # run a specific logon batch file per workstation (machine)
    ; logon script = %m.bat
    # run a specific logon batch file per username
    ; logon script = %U.bat
    # Where to store roving profiles (only for Win95 and WinNT)
    # %L substitutes for this servers netbios name, %U is username
    # You must uncomment the [Profiles] share below
    ; logon path = \\%L\Profiles\%U
    # Windows Internet Name Serving Support Section:
    # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
    ; wins support = yes
    # WINS Server - Tells the NMBD components of Samba to be a WINS Client
    #     Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
    ; wins server = w.x.y.z
    # WINS Proxy - Tells Samba to answer name resolution queries on
    # behalf of a non WINS capable client, for this to work there must be
    # at least one     WINS Server on the network. The default is NO.
    ; wins proxy = yes
    # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
    # via DNS nslookups. The default is NO.
    dns proxy = no
    # These scripts are used on a domain controller or stand-alone
    # machine to add or delete corresponding unix accounts
    ; add user script = /usr/sbin/useradd %u
    ; add group script = /usr/sbin/groupadd %g
    ; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
    ; delete user script = /usr/sbin/userdel %u
    ; delete user from group script = /usr/sbin/deluser %u %g
    ; delete group script = /usr/sbin/groupdel %g
    #============================ Share Definitions ==============================
    [homes]
    comment = Home Directories
    browseable = no
    writable = yes
    # Un-comment the following and create the netlogon directory for Domain Logons
    ; [netlogon]
    ; comment = Network Logon Service
    ; path = /usr/sfw/lib/netlogon
    ; guest ok = yes
    ; writable = no
    ; share modes = no
    # Un-comment the following to provide a specific roving profile share
    # the default is to use the user's home directory
    ;[Profiles]
    ; path = /usr/local/samba/profiles
    ; browseable = no
    ; guest ok = yes
    # NOTE: If you have a BSD-style print system there is no need to
    # specifically define each individual printer
    [printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = no
    # Set public = yes to allow user 'guest account' to print
    guest ok = no
    writable = no
    printable = yes
    # This one is useful for people to share files
    ;[tmp]
    ; comment = Temporary file space
    ; path = /tmp
    ; read only = no
    ; public = yes
    # A publicly accessible directory, but read only, except for people in
    # the "staff" group
    ;[public]
    ; comment = Public Stuff
    ; path = /home/samba
    ; public = yes
    ; writable = no
    ; printable = no
    ; write list = @staff
    # Other examples.
    # A private printer, usable only by fred. Spool data will be placed in fred's
    # home directory. Note that fred must have write access to the spool directory,
    # wherever it is.
    ;[fredsprn]
    ; comment = Fred's Printer
    ; valid users = fred
    ; path = /homes/fred
    ; printer = freds_printer
    ; public = no
    ; writable = no
    ; printable = yes
    # A private directory, usable only by fred. Note that fred requires write
    # access to the directory.
    ;[fredsdir]
    ; comment = Fred's Service
    ; path = /usr/somewhere/private
    ; valid users = fred
    ; public = no
    ; writable = yes
    ; printable = no
    # a service which has a different directory for each machine that connects
    # this allows you to tailor configurations to incoming machines. You could
    # also use the %U option to tailor it by user name.
    # The %m gets replaced with the machine name that is connecting.
    ;[pchome]
    ; comment = PC Directories
    ; path = /usr/pc/%m
    ; public = no
    ; writable = yes
    # A publicly accessible directory, read/write to all users. Note that all files
    # created in the directory by users will be owned by the default user, so
    # any user with access can delete any other user's files. Obviously this
    # directory must be writable by the default user. Another user could of course
    # be specified, in which case all files would be owned by that user instead.
    ;[public]
    ; path = /usr/somewhere/else/public
    ; public = yes
    ; only guest = yes
    ; writable = yes
    ; printable = no
    # The following two entries demonstrate how to share a directory so that two
    # users can place files there that will be owned by the specific users. In this
    # setup, the directory should be writable by both users and should have the
    # sticky bit set on it to prevent abuse. Obviously this could be extended to
    # as many users as required.
    ;[myshare]
    ; comment = Mary's and Fred's stuff
    ; path = /usr/somewhere/shared
    ; valid users = mary fred
    ; public = no
    ; writable = yes
    ; printable = no
    ; create mask = 0765
    [Series]
    comment = TV Series
    path = /home/Kirby/Series
    public = yes
    only guest = yes
    writable = yes
    printable = no

    875739 wrote:
    Hi Im new to solaris and trying out ZFS which has been great.
    Im haivng some trouble that I cant find up to date info on so here goes:
    First how do you mount an NTFS volume in Solaris 11 Express?
    I need to access the data on an NTFS drive to populate my new ZFS tank.I never had a need for it but I think you'll have to compile fuse ntfs-3g manually.
    http://web.archiveorange.com/archive/v/u46DbWSGcIzl7pexf4hQ
    >
    Secondly, I have read only access on my samba shares from windows machines but my smb.conf looks right. a copy of my smb.conf will follow
    Any suggestions would be appreciated.You don't need to use Samba in Solaris 11 Express.
    http://download.oracle.com/docs/cd/E19963-01/html/821-1448/gaynd.html#gayne

  • Error while creating a Solaris Resource

    I got the following error while creating the following solaris resource:
    Test connection failed for resource(s):
    Solaris: Script failed waiting for "ASSWORD:" in response "_,)#+(:" ==> com.waveset.util.WavesetException: Script processor timed out with nothing to read and the following unprocessed text: "_,)#+(:".\n
    I have the sudo permissions for the following commands:
    (ALL) NOPASSWD: /usr/bin/auths, /usr/sbin/groupadd, /usr/sbin/groupdel, /usr/sbin/groupmod, /usr/bin/last, /usr/bin/listusers, /usr/bin/logins, /usr/bin/passwd, /usr/bin/profiles, /usr/bin/roles, /usr/sbin/useradd, /usr/sbin/userdel, /usr/sbin/usermod, /usr/bin/ypmatch, /usr/bin/ypcat, /usr/bin/ypasswd, /usr/bin/awk, /usr/bin/cat, /usr/bin/chmod, /usr/bin/chown, /usr/bin/cp, /usr/bin/cut, /usr/bin/diff, /usr/bin/echo, /usr/bin/grep, /usr/bin/ls, /usr/bin/mv, /usr/bin/rm, /usr/bin/sleep, /usr/bin/sort, /usr/bin/tail, /usr/bin/touch, /usr/bin/which
    Please let me know what could be the problem?

    This doesn't look like a Sun Directory Server issue. You may want to post this to another forum.
    Regards,
    Ludovic.

  • Error ora-15081 (and several others) while creating a new db in Solaris

    Hi all,
    OS: Solaris 11
    DB: 11.2.0.3.5 (2 node rac)
    While creating a new db on a Solaris 11 env, via dbca, the following stack error appeared to me:
    ORA-19624: operation failed, retry possible
    ORA-19870: error while restoring backup piece path[...]
    ORA-19504: failed to create file "+MYDG"
    ORA-00372: file cannot be modified at this time
    ORA-15196: invalid ASM block header [kfc.c:19572] [1] [257] [0 != 821602346]
    ORA-15081: failed to submit an I/O operation to a disk
    ORA-15066: offlining disk "dsk_0001" in group "MYDG" may result in data loss
    ORA-06512: at SYS.X$DBMS_BACKUP_RESTORE, line5827The dbca (ran as oracle user) aborts at 15%.
    There are a lot of errors in this stack, and i'm not pretty sure which error is the main cause of this issue, but I think it's the "ORA-15081: failed to submit an I/O operation to a disk" that is the bad guy here. I did some researches and found that some possible sollutions:
    1) One said that this error might be caused by bad permissions on the raw devices used in the "MYDG" diskgroup (i'm using 6 devices with external redundancy), but my devices are all with the grid:asmadmin and 660 permissions
    2) Another said that this might be a problem with the owner:group of the oracle binaries. In ny installation the oracle binaries ($ORACLE_HOME/bin) are with the oracle:oinstall. I thougth of addind the asmadmin group to the oracle user, but i'm not sure what are the implications of this change. What do you thing?
    What am I doing wrong and how can i solve it?
    Thanks in advance for your pacience and attention.

    Here follows the output:
    NAME                           MOUNT_S     HEADER_STATU MODE_ST STATE    GROUP_NUMBER PATH
    DG02HML_0000                   CACHED  MEMBER       ONLINE  NORMAL              3 /dev/rdsk/c0t60060E8005487F000000487F000                                                                                  00500d0s0
    DG02HML_0001                   CACHED  MEMBER       ONLINE  NORMAL              3 /dev/rdsk/c0t60060E8005487F000000487F000                                                                                  00502d0s0
    DG02HML_0002                   CACHED  MEMBER       ONLINE  NORMAL              3 /dev/rdsk/c0t60060E8005487F000000487F000                                                                                 00504d0s0
    DG02HML_0003                   CACHED  MEMBER       ONLINE  NORMAL              3 /dev/rdsk/c0t60060E8005487F000000487F000                                                                               00506d0s0
    DG02HML_0004                   CACHED  MEMBER       ONLINE  NORMAL              3 /dev/rdsk/c0t60060E8005487F000000487F000                                                                                  00508d0s0
    DG02HML_0005                   CACHED  MEMBER       ONLINE  NORMAL              3 /dev/rdsk/c0t60060E8005487F000000487F000                                                                                  0050Ad0s0

  • How to create HP LaserJet 2420 printer queue on Solaris 10

    Hi Solaris Gurus,
    I am having difficulty creating a printer queue for HP LaserJet 2420 on Solaris 10 (11/9) Sparc (Sun Fire T5220) server. A popular method used is with hppi (HP Jet Direct) tool but it does not have the exact printer driver and alternative printer drivers (e.g. HP LaserJet 4 / 4M, HP LaserJet 2000 series) resulted in only part of the text occupying the wrong side of an A5 page.
    An alternative approach that has worked in the past for simple default paper tray 2 (single paper tray), with tray 1 reserved for manual feed. This method involves creating a working printer queue on a Windows workstation (XP) / server (2000) with the correct driver and having configured to support Unix printing to receive LPR request from Unix systems in general. A remote printer queue would then be defined on Solaris 10 system which points to the Windows system. However, the printing jobs kept going to tray 1 (top manual feed) even though the Windows printer queue was configured to go to tray 3 (bottom tray).
    The earlier method would be simplest but needs the right driver (PDD) but I don’t know where to find it. The latter approach is also not working despite having got the right driver on Windows. A test page on the target Windows printer queue would print to tray 3 (bottom tray) of the printer correctly.
    Printmgr does not work well with HP printers from experience. It is good for serial and local printers.
    Your advice would be much appreciated.
    Thanks,
    Crystal

    Hi Giogio, and welcome to the HP Forums.
    I am sorry to be the bearer of this news, but do the age of the printer, it is not supported by Mac OS X 10.9. I am including a list below of the supported printers from Apple:
    OS X: Printer and scanner software available for download.
    For more information, I would recommend contacting the Apple Support Communities.
    Thank you for posting on the HP Forums.
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • PMTU discovery in IPv6 based on IPV6_RECVPATHMTU in Solaris 10

    Our application works with raw sockets and needs to discover PMTU of IPv6 paths.
    According to the RFC-3542 (http://tools.ietf.org/html/rfc3542, section 11) the socket option IPV6_RECVPATHMTU allows applications to know about the change of path MTU by receipt of new ancillary data item (IPV6_PATHMTU) which is delivered to recvmsg() without any actual data. Following construction should be used to enable this option:
        int  on = 1;
        setsockopt(fd, IPPROTO_IPV6, IPV6_RECVPATHMTU, &on, sizeof(on));In the online Sun documentation I found that this socket option is supported since Solaris 10 (http://docs.sun.com/app/docs/doc/816-5177/ip6-7p).
    However, in our test this socket option appears to be not working. After decrease of the PMTU via ifconfig and sending a big enough packet an ICMP (Packet Too Big) is received but there is no event with ancillary data item on the socket.
    One peculiarity that may be essential is that our application binds to a specific port in a raw socket (i.e. to IP address : port pair).
    Does anyone have information if the IPV6_RECVPATHMTU socket option is really supported in Solaris 10?
    Probably, ICMP should be off to be able to receive this event with ancillary data on the socket?
    Will appreciate any ideas how to make it working.
    Thanks in advance,
    Mike.

    Hi,
    I have a Sunfire V100 - and have the exact same problem. The settings are correct; I have configure dual-NIC cards many times in the past - but this issue is simply eluding me. I can swap in a Linux machine in router / ip forwarding mode and there are no problems, but when I put back in the Sunfire I encounter the same issues you have.
    In effect, packets from the LAN arrive at the NIC on the Solaris machine, but then don't get forwarded to the other NIC's gateway. I'm at a loss, but I have seen this problem pop-up (without answer) a half-dozen times in this forum alone, and multiple times on different support sites. Did you (or anyone) ever come across a solution for this? Is this not some easily overlooked yet possibly cryptic flag or variable that I've missed? Anyone?

Maybe you are looking for

  • Brush tool doesn't work

    I have just downloaded Photoshop Touch to my Samsung Galaxy Tab 10.1 which is running Android 4.0.4. The brush tool doesn't seem to work. I was wondering if this software is supported on this tablet.

  • Editing pauses from Sermons

    I have GB08. I'm recording sermons from the audio out of a Mackie sound board with a left and right RCA jacks to a mini plug straight into the iMac. It sounds great recorded as a Podcast track with the male voice instrument. The track is about an hou

  • Voice recorder that's OSX compat.?

    I know this question has come up before, but I haven't found an answer to my question. I use an Olympus DS-330 voice recorder and it's Mac-compatible. It's got a limit, set to high-quality, of 4 hours or so, which isn't enough. It looks as though Oly

  • NAC Certificates

    Hello there. I have 2 CAM's with 2 CAS's In Band and 2 CAS's Out of Band. I have a problem with the certificates so the clients are receiving this screen: http://www.cisco.com/en/US/docs/security/nac/appliance/configuration_guide/413/cam/m_admin.html

  • HT4972 i have an iphone 1 how do i get an ios 4 0r later...

    my i phone 1 wont download alot of apps it keeps saying that i need a better ios system..  when i plug it in to itunes it says i have the latest version how do i intall a later version so i can use all the apps in the app store?