Adb Syntax Error On Line 1 Of Stdin Near
Contents |
since the issue is on the last of the SXCE iso images. I understand that .. however here goes. I have a Sol 10 machine and I
Syntax Error On Line 1 Stdin In Unix
lofiadm mount snv_12x DVD iso image and mount it at /mnt along file stdin line 1 syntax error with the usual other little things. # uname -a SunOS jupiter 5.10 Generic_141414-09 sun4u sparc SUNW,Sun-Fire-480R # grep wos syntax error: "(" unexpected bash /etc/release Solaris 10 5/08 s10s_u5wos_10 SPARC # cd /mnt/Solaris_11/Tools # ./add_install_client -i 192.168.35.252 -e 00:03:ba:11:f1:09 \ > europa sun4u adb: syntax error on line 1 of (stdin) near "=" adb: syntax
Syntax Error At Line 1 (' Unexpected In Shell Script
error on line 1 of (stdin) near "=" adb: syntax error on line 1 of (stdin) near "=" adb: syntax error on line 1 of (stdin) near "=" adb: syntax error on line 1 of (stdin) near "=" adb: syntax error on line 1 of (stdin) near "=" adb: syntax error on line 1 of (stdin) near "=" adb: syntax error on
Syntax Error ( Unexpected Bash Array
line 1 of (stdin) near "=" Warning: no hostname found for address 0.0.0.0 updating /etc/bootparams copying boot file to /tftpboot/inetboot.SUN4U.Solaris_11-1 That seems like a pile of little errors. I do the next little things manually : # share -F nfs -o ro,anon=0 /mnt # dfshares | grep mnt jupiter:/mnt jupiter - - I can then cd /tftpboot # pwd /tftpboot # ls -lap total 2492 drwxrwxr-x 2 root root 1024 Nov 26 16:29 ./ drwxr-xr-x 34 root root 1024 Oct 5 18:07 ../ lrwxrwxrwx 1 root root 27 Nov 26 16:18 C0A823FC -> inetboot.SUN4U.Solaris_11-1* lrwxrwxrwx 1 root root 27 Nov 26 16:18 C0A823FC.SUN4U -> inetboot.SUN4U.Solaris_11-1* -rwxr-xr-x 1 root root 216680 Jun 10 2007 inetboot.SUN4U.Solaris_10-1 -rwxr-xr-x 1 root root 221280 Nov 1 2008 inetboot.SUN4U.Solaris_10-2 -rwxr-xr-x 1 root root 216800 Nov 26 16:18 inetboot.SUN4U.Solaris_11-1 -rwxr-xr-x 1 root root 161056 Dec 21 2008 inetboot.SUN4U.Solaris_8-1 -rwxr-xr-x 1 root root 216680 Jun 10 2007 inetboot.SUN4U.Solaris_9-1 -rwxr-xr-x 1 root root 158208 Sep 14 2008 inetboot.SUN4U.Solaris_9-1.busted -rw-r--r-- 1 root root 319 Nov 26 16:18 rm.192.168.35.252 lrwxrwxrwx 1 root root 1 Sep 14 2008 tftpboot -> ./ Yes .. I have a coll
an entry to the rules file on the JumpStart configuration server (often the same server as the JumpStart boot server rand JumpStart install server)4. Run the check script on the syntax error at line unexpected JumpStart configuration server5. Run add_install_client on the JumpStart boot server6. Boot the
Syntax Error ( Unexpected Ubuntu
JumpStart client with boot net - installadd_install_client parameters-i IP address of JumpStart client-e ethernet (MAC) address of JumpStart client-s ksh syntax error unexpected install server (server and path to Solaris software)-c configuration server (server and path to the JumpStart directory)-p profile server (server and path to the sysidcfg file)add_install_client errors1. # ./add_install_client -i https://www.mail-archive.com/opensolaris-discuss@opensolaris.org/msg45215.html 10.209.128.101 -e 0:3:ba:5c:3f:89 -s mrdcmns001:/export/install/OS/Solaris_10_2006-11/ -c mrdcmns001:/export/install -p mrdcmns001:/export/install/Sysidcfg/Solaris_10/aps_ldap_servers/ apdcmns001 sun4uError: unknown client "apdcmns001"# grep ^hosts /etc/nsswitch.confhosts: files dnsIn this case, apdcmns001 is not in /etc/hosts or DNS.# /usr/bin/echo "10.209.128.101\tapdcmns001" >> /etc/hosts2. add_install_client: nslookup: not foundIf nslookup is not installed on your system, I recommend installing the package containing it; many changes would have to be made to add_install_client to use getent http://gorodovets.blogspot.com/2009/04/solaris-jumpstart-notes.html instead of nslookup.On Solaris 10, the package is SUNWbind.3. # ./add_install_client -i 10.209.128.101 -e 0:3:ba:5c:3f:89 -s mrdmmns001:/export/install/OS/Solaris_10_2006-11/ -c mrdmmns001:/export/install -p mrdmmns001:/export/install/Sysidcfg/Solaris_10/aps_ldap_servers/ apdcmns001 sun4uadb: syntax error on line 1 of (stdin) near "="adb: syntax error on line 1 of (stdin) near "="adb: syntax error on line 1 of (stdin) near "="adb: syntax error on line 1 of (stdin) near "="adb: syntax error on line 1 of (stdin) near "="adb: syntax error on line 1 of (stdin) near "="adb: syntax error on line 1 of (stdin) near "="adb: syntax error on line 1 of (stdin) near "="Warning: no hostname found for address 0.0.0.0cleaning up preexisting install client "apdcmns001"removing apdcmns001 from bootparamsupdating /etc/bootparamsThese errors are caused because the JumpStart client apdcmns001 (10.209.128.101/20) is not on the same subnet as the JumpStart boot server mrdmmns001 (10.205.0.0/20).Note that you may receive this error on a multi-homed JumpStart boot server even though the JumpStart client is on the same subnet as one of the JumpStart server's NICs. In this case, you may ignore the error; the JumpStart procedure will still work.4. "tftp entry not found in /etc/inetd.conf"Solaris 10 instructions:# /usr/b
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About http://unix.stackexchange.com/questions/45781/shell-script-fails-syntax-error-unexpected Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack http://www.archivum.info/install-discuss@opensolaris.org/2007-10/00205/Re-(install-discuss)-quot-add_install_client-quot-from-hell-expr-syntax-error.html Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a syntax error question Anybody can answer The best answers are voted up and rise to the top Shell script fails: Syntax error: “(” unexpected up vote 31 down vote favorite 7 I've been working on a script that automates setting up a development environment for Raspberry Pi development (step by step details that work are here). The script is linked in that article but convenience you can find it here syntax error on also. Now when run this script install and sets up the environment without error but you have to enter your sudo password more than once due to sudo's time-out value by default. So I started experimenting by removing all the sudo lines and running the whole script via sudo at the command line like so: kemra102@ubuntuvm:~$ sudo ./pi_dev_env_install.sh This works fine as expected and gets most of the way through until this point: ./pi_dev_env_install: 68: ./pi_dev_env_install.sh: Syntax error: "(" unexpected Now this line worked fine previously when not running the whole script with sudo. There is nothing about this line running as sudo that should stop it working to my knowledge, does anyone have any ideas? bash shell ubuntu shell-script share|improve this question edited Aug 18 '12 at 12:08 Gilles 368k666651117 asked Aug 18 '12 at 11:37 kemra102 4681613 The shebang is really in line 9? Due to Ubuntu's DashAsBinSh affinity I suspect your script is interpreted by dash instead of bash. Try to move the shebang in line 1. –manatwork Aug 18 '12 at 11:45 According to that article calling /bin/bash directly instead of /bin/sh will; correctly use bash instead of dash so that should not be
From: mary ding Date: Thu, 18 Oct 2007 09:47:26 -0700 Roland: Sarah Jelinek told me about your problem. When you run add_install_client, what LOCALE are you using ? I believe it was a non-C locale. Can you do a env and send the output. Ian Collins wrote: > Roland Mainz wrote: >> Hi! >> >> ---- >> >> As requested (by Sarah) here comes the "add_install_client" thing which >> failed horribly during the OpenSolaris summit machine pool setup: >> -- snip -- >> # $PWD/add_install_client -i 192.168.1.99 -e 0:14:4f:e:88:a8 xxx99 sun4u >> adb: syntax error on line 1 of (stdin) near ":" >> expr: syntax error >> > Did you try quoting the Ethernet address? > > Ian > > _______________________________________________ > install-discuss mailing list > [emailprotected] > http://mail.opensolaris.org/mailman/listinfo/install-discuss _______________________________________________ install-discuss mailing list [emailprotected] http://mail.opensolaris.org/mailman/listinfo/install-discuss [Morewiththissubject...]