Vnc-4_1_2-sparc_solaris[1].tar ERROR

Xvnc Free Edition 4.1.2 - built May 12 2006 17:52:56
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 0, unknown
Thu Nov 9 16:26:45 2006
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: created VNC server for screen 0
error opening security policy file /usr/openwin/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/openwin/lib/X11/fonts/CID/, removing from list!
This is what i receive when trying to create a session on a Solaris 10 / Sun Fire V120
Can someone please adivse
output from ps -ef
root 1596 1 0 16:26:45 pts/1 0:00 Xvnc :1 -desktop cp-dn-test01:1 () -auth //.Xauthority -geometry 1024x768 -dept
Cannot connect

Hi, review your steps:
-install
-add line to .profile
make sure you have your /.vnc/xstartup file and its executable:
These are my stepls to install it:
RealVNC 4.1.2 -
(my last install was on a Solaris Express 11 b44 8/06 Sparc
a)
File to use: �vnc-4_1_2-sparc_solaris.tar.gz�
#gunzip vnc-4_1_2-sparc_solaris.tar.gz
#tar �xvf vnc-4_1_2-sparc_solaris.tar
#cd vnc-4_1_2-sparc_solaris
b)
Install it by running:
# ./vncinstall /usr/bin /usr/share/man/
               Note: this will also install man pages into �/usr/share/man/man1�
If you want to use the Java VNC viewer :
Copy the files from the java directory to some suitable installation directory
such as /usr/local/vnc/classes (vncserver will read this path!- don�t change it):
# mkdir -p /usr/local/vnc/classes
# cp java/* /usr/local/vnc/classes
c)
Add this line to .profile (under the user):
vncserver -depth 24 -geometry 1024x768
d)
(this folder/files would be for each user too)
Create a /.vnc directory first, we will create the xstartup file inside:
file /.vnc/xstartup:
#!/bin/sh
xsetroot -solid grey
gnome-session     <open on gnome desktop>
#/usr/dt/bin/dtsession <open on CDE desktop>
make it executable:
# chmod 744 xstartup To make it executable.
If you still see this message on the log but works dont worry about it:
"error opening security policy file /usr/openwin/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/openwin/lib/X11/fonts/CID/, removing from list!
its a buboo...

Similar Messages

  • Tape tar error

    Hi,
    I am trying to determine if a tape is full because on 2 different tapes (on 2 different SunOS servers), im receiving 2 different kind of errors:
    What i want to verify is if both tapes are actually full, as i got different tar errors with the same status "sense key(0x13)= EOT".
    # uname -a
    SunOS SUN250 5.10 Generic_118833-33 sun4u sparc SUNW,Ultra-60
    # /bin/tar cvf /dev/rmt/0n /export/home
    a /export/home/jerry/wlserver_10.0.tar.gz 28528 tape blocks
    tar: write error: unexpected EOF
    # mt -f /dev/rmt/0n status
    HP DDS-4 DAT (Sun) tape drive:
    sense key(0x13)= EOT residual= 0 retries= 0
    file no= 8 block no= 0
    provadm@01:home/provadm%uname -a
    SunOS 01 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-V245
    provadm@01:provadm/tmp%tar cvf /dev/rmt/0n add.sh
    a add.sh 1 tape blocks
    tar: close error: I/O error
    Oct 11 13:31:19 01 scsi: [ID 107833 kern.warning] WARNING: /pci@1f,700000/pci@0/scsi@2/st@0,0 (st0):
    Oct 11 13:31:19 01 Error for Command: write file mark Error Level: Fatal
    Oct 11 13:31:19 01 scsi: [ID 107833 kern.notice] Requested Block: 1 Error Block: 1
    Oct 11 13:31:19 01 scsi: [ID 107833 kern.notice] Vendor: HP Serial Number: 9 $DR-1
    Oct 11 13:31:19 01 scsi: [ID 107833 kern.notice] Sense Key: Volume Overflow
    Oct 11 13:31:19 01 scsi: [ID 107833 kern.notice] ASC: 0x0 (end of partition/medium detected), ASCQ: 0x2, FRU: 0x0
    Oct 11 13:31:19 01 scsi: [ID 107833 kern.notice] End-of-Media Detected
    provadm@01:provadm/tmp%mt -f /dev/rmt/0n status
    HP DAT-72 tape drive:
    sense key(0x13)= EOT residual= 0 retries= 0
    file no= 3778 block no= 1
    provadm@01:provadm/tmp%
    Many Thanks!!
    Edited by: 964913 on Oct 12, 2012 2:19 AM

    Was it written to with tar?
    I may be more inclined to use a dd command (piping output through strings in case of 'binary gibberish') ...
    dd if=dev/rmt/1 ibs=8192 files=1 | strings
    By the way, I see you are refering to /dev/rmt/0m ... more used to HP-UX by any chance? A better device name to use for compression in Solaris would be /dev/rmt/1c

  • WLC 5508 - WebAuth Bundle tar error 256

    Hi all,
    I have a new fresh 5508 release 7.0.98.0
    When I try to download (I mean upload to the controller) a customized Webauth bundle in .tar format I have the following message error in the syslog :
    *TransferTask: Oct 29 12:56:08.894: %UPDATE-3-UNTAR_CMD_FAIL: updcode.c:2832 Error during untar of webauth bundle. Tar returned 256.
    If someon could help me...
    Thanks

    Excellent find, Karl!
    I'd just to clarify a bit for those who might not have completely understood this.  Note that Karl said all files and folders must have UID root and GID root.  Running chown root only changes the UID.  To change the GID, you must also run chgrp root .  The easiest way to go about this is to create a new directory, copy your current tar file to it and extract, chown and chgrp against ./*, then tar it back up.
    su root     # alternatively, you can use sudo for chown and chgrp
    mkdir weblogintmp
    cp weblogin.tar weblogintmp/
    cd weblogintmp
    tar -xvf weblogin.tar
    rm weblogin.tar
    chown -R root ./*
    chgrp -R root ./*
    tar -cvf weblogin-new.tar ./*
    ## the tar file itself doesn't need to have UID and GID root, only the contents of it does.
    Karl also pointed out that this must be done from a Unix/Linux-based operating system that a GID (group ID) literally named root.  In BSD-based systems (at least the ones I've worked with, including Mac OSX), the root-equivalent GID is named wheel.  The 5508 WLC with 7.0.98.0 will not accept this.
    If you do all of this and it still gets rejected by the WLC, consider that there might actually be something else wrong with it.  There's a fantastic article in the Documents section of the Security and Network Management group which helped me figure out a couple issues I had in the past:
    https://supportforums.cisco.com/docs/DOC-13954
    Here's a snippet that pertains to not being able to transfer your webauth bundle to a WLC:
    "There are some limitations with custom webauth that varies with versions  and bugs. The things to watch for are .tar file size (used to be 1Meg  maximum), also the number of files in the .tar as well as the filename  length of the files in there (something like 30 characters max for a  file)."

  • Tar error

    Hello sir
    I took gunzip compressed system state backup of oel and kept in a windows storage server 5 months ago. Now for retrieviing a compressed file i tried to decompress it as gunzip -d filename.tar.gz. After some time it provided error message as file is corrupted. I downloaded gzip repair tool and installed, repaired the
    compressed archive.after repairing, it is renamed as filename.tar.recovered.Then i tried to retrive an important folder from file as tar -xvf filename.tar.recovered foldername. At that time it showed error message that "file is not recoverable:unexpected end of file".Please help me . It is an important file.thankssss...in advance

    801735 wrote:
    Then i tried to retrive an important folder from file as tar -xvf filename.tar.recovered foldername. If the tar is still in compressed format, you need to add the z switch to the existing switches used.
    At that time it showed error message that "file is not recoverable:unexpected end of file".Well, this would seem that the file is still corrupt and has not been fully/properly/correctly fixed by the repair tool used. There is no redundancy in the zip format. So this means that if a data block is truly corrupted, then it is unlikely that it can be fixed as there is no mirror-like or parity-like copy of that corrupted data that can be used to reconstruct it. Usually repair tools can fix the structure of the zip (such as header blocks), or enable one to unzip despite the corruption (meaning that one or more unzipped files will be corrupt).
    The old saying of not putting all your eggs into one basket comes to mind. Always make a 2nd and even 3rd copy of an important backup file like this - and preferable to different servers.

  • Pacman tar error [solved]

    Has anybody seen this before?
    bash-3.2# pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra 385.4K 26.1K/s 00:00:15 [#####################] 100%
    community 88.0K 26.0K/s 00:00:03 [#####################] 100%
    error: could not extract Hi (Truncated tar archive)
    When I try again the error varies slightly
    error: could not extract ظ (Truncated tar archive)
    error: could not extract @ (Truncated tar archive)
    Last edited by greenfuse (2009-03-23 08:24:41)

    It looks like the community database file is not completely on you mirror.  Maybe you caught it in the middle of a sync?  Either weight, or switch mirror.

  • Export tar error

    Hi all. I have a 8.1.7.4 oracle database on AIX 4.3.3 and I am exporting all users to a .dmp file. The export procedure teminates successfully since the log file contains no errors. But at the end of log file I get the message:
    Export terminated successfully without warnings.
    tar: 0511-825 The file 'pkdb2.dmp' is too large.
    a pkdb2.log 665 blocks.
    Can anyone give me a hint of what to do? It seems the the file cannot be copied on the tape. The size of the .dmp file is 8.7GB.
    Thank you.

    Hi,
    Did you created 'pkdb2.dmp' in AIX Filesystem then copy to tape or directly to tape?
    Cheers

  • How to use VNC for Solaris 10

    Hello, I am completely green when it comes to Unix / Solaris. I am trying to use VNC from the Solaris 10 Companion DVD. I have it installed. I followed the easy to use steps from this site : http://www.salixtraining.co.uk/index_files/vncsol10.htm
    But the problem is I don't know how to use it now that I have it installed.
    What I am tring to do is install an e-ticketing software program on my test Solaris server and I am stuck on getting PHP to work correctly and I am trying get the company, whose product I am trying to use, to connect to my server to investigate. I want them to be able to remote connect to and be able to see and access the server to see if they can help.
    Can anyone help? I really need step by step instructions. Assume that I don't know anything!
    Thanks in advance,
    Aaron

    Hello, here are the instructions I follow to install VNC on my systems running Solaris Express, you may use this to your own install, I dont use the one included on the companion CD, I download the one from RealVNC instead, I hope this helps:
    VNC
    INSTALL VNC (RealVNC) 4.1.2 - Solaris Express 11 b71 Sparc
    a)
    File to use: �vnc-4_1_2-sparc_solaris.tar.gz�
    #gunzip vnc-4_1_2-sparc_solaris.tar.gz
    #tar �xvf vnc-4_1_2-sparc_solaris.tar
    #cd vnc-4_1_2-sparc_solaris
    b)
    Install it by running:
    # ./vncinstall /usr/bin /usr/share/man
                   Note: this will also install man pages into �/usr/share/man/man1�
    If you want to use the Java VNC viewer (Open browser and type pc_name:display#):
    Copy the files from the java directory to some suitable installation directory
    such as /usr/local/vnc/classes (vncserver will read this path!- don�t change it):
    # mkdir -p /usr/local/vnc/classes
    # cp java/* /usr/local/vnc/classes
    c)
    Add these 2 lines to .profile (under the user)- (This will make it to connect always with screen 1):
    vncserver -kill :1
    vncserver -depth 24 -geometry 1024x768 (or any other combination you want like 1280x1024,etc)
    note: dont use it if you want to have a different screen to connect everytime.
    d)
    Create a /.vnc directory first, we will create the xstartup file inside:
    file /.vnc/xstartup:
    #!/bin/sh
    # xrdb $HOME/.Xresources      < This line Not really needed!! >
    xsetroot -solid grey
    gnome-session          <add selection for KDE or CDE if needed see bellow notes>
    ** Here is How to Create the �xstartup� file:
    echo "#!/bin/sh
    xrdb $HOME/.Xresources
    xsetroot -solid grey
    #/usr/dt/bin/dtsession CDE < CDE, gnome or sessions: >
    #gnome-session Gnome < comment with '#' the one you don't >
    < want to use. >
    " > xstartup
    # chmod 744 xstartup To make it executable!.
    *** Sample used for the user: (use the same file for the other users) �it will be created
    the first time using it, just change it/add to the following sample:
    First time to login will ask to create a password or
    Run /export/home/�name�/.vnc/passwd (to add password to login)
    You may need to change ownership on the following 3 if you create them under different user:
    /.vnc folder
    /.vnc/xstartup
    /.vnc/passwd
    using #chown -name- .vnc (xstartup and passwd)
    To check process for VNC running:
    # ps -ef | grep Xvnc
    To stop the process:
    # kill pid# (stop it hard way)
    kill display:
    #vncserver -kill :#
    to connect from another system just type the hostIP:screen#, e.g. 192.168.1.20:1
    murilloa
    Edited by: murilloa on Sep 13, 2007 7:52 PM

  • Daylight savings time and solaris 10

    Does anyone know if Solaris 10 users have to install a patch for the Daylight Savings Time issue?
    Thank you
    LM

    I have used RealVNC Free program (http://www.realvnc.com)in all my systems with no problem, if interested hereis a quick way to install it.:
    File to use: �vnc-4_1_2-sparc_solaris.tar.gz�
    #gunzip vnc-4_1_2-sparc_solaris.tar.gz
    #tar �xvf vnc-4_1_2-sparc_solaris.tar
    #cd vnc-4_1_2-sparc_solaris
    b)
    Install it by running:
    # ./vncinstall /usr/bin /usr/share/man
    Note: this will also install man pages into �/usr/share/man/man1�
    If you want to use the Java VNC viewer (Open browser and type pc_name:display#):
    Copy the files from the java directory to some suitable installation directory
    such as /usr/local/vnc/classes (vncserver will read this path!- don�t change it):
    # mkdir -p /usr/local/vnc/classes
    # cp java/* /usr/local/vnc/classes
    c)
    Add to the .profile file (under the user):
    vncserver -depth 24 -geometry 1024x768
    d)
    under the user:
    Create a /.vnc directory first, we will create the xstartup file inside:
    file /.vnc/xstartup:
    #!/bin/sh
    xsetroot -solid grey
    gnome-session          <note: if you want to use gnome as the defualt >
    #/usr/dt/bin/dtsession <note: if you want to use CDE as the default >
    make the 'xstartup' file executable:
    # chmod 744 xstartup
    *** Sample used for the user: (use the same file for the other users) �it will be created
    the first time using it, just change it/add to the following sample:
    First time to login will ask to create a password or
    Run /export/home/�name�/.vnc/passwd (to add password to login)
    If Needed, change ownership on the following 3 if you create them using root user:
    /.vnc folder
    /.vnc/xstartup
    /.vnc/passwd
    Message was edited by:
    murilloa

  • LMS 3.2 - Backup-Error -- ERROR(908): Cannot create or back up tar file

    Hello again,
    with performing backup (LMS 3.2 on Solaris 9) the following errors will arise.
    dbbackup.log
    /opt/CSCOpx/bin/tar: Removing leading `/' from absolute path names in the archive Apps file : /opt/CSCOpx/backup/manifest/upm/upminfo/datafiles.txt
    [Tue Dec  8 08:56:54 2009] Archiving the contents of the following directories into /enbw/backup/files/cw_db_backup/0/upm/filebackup.tar
    [Tue Dec  8 08:56:54 2009] /opt/CSCOpx/hum/conf/upm-snmp.properties
    /opt/CSCOpx/hum/thresholdscript /opt/CSCOpx/MDC/tomcat/webapps/upm/reports
    /opt/CSCOpx/MDC/tomcat/webapps/upm/WEB-INF/classes/com/cisco/nm/upm/properti
    es/common/UPM.properties
    /opt/CSCOpx/bin/tar: Removing leading `/' from absolute path names in the archive
    /opt/CSCOpx/bin/tar: Cannot add file
    /opt/CSCOpx/MDC/tomcat/webapps/upm/reports/virt32841308_657_658_-718594975:
    No such file or directory
    /opt/CSCOpx/bin/tar: Cannot add file
    /opt/CSCOpx/MDC/tomcat/webapps/upm/reports/virt32841308_658_659_1465769167:
    No such file or directory
    /opt/CSCOpx/bin/tar: Error exit delayed from previous errors [Tue Dec  8 09:07:30 2009]  ERROR(908): Cannot create or back up tar file. Backup cancelled. Verify that you have write-access to this directory. [Tue Dec  8 09:07:30 2009]  Backup failed: 2009/12/08 09:07:40 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Is seems to be problem related to maximal filesize handling of GNUtar implemented in CW2000.
    The problem is with tar'ing HUM-Reports in /opt/CSCOpx/MDC/tomcat/webapps/upm/reports, and with reaching
    tarfile-size of 2,9GByte error is thrown.
    </exxx/backup/files/cw_db_backup/0/upm># ls -lh
    total 6126448
    -rw-r-----   1 casuser  casusers    2.9G Dec  8 09:07 filebackup.tar
    </exxx/backup/files/cw_db_backup/0/upm># ls -al
    total 6126452
    drwxr-x---   2 casuser  casusers     512 Dec  7 14:30 .
    drwxr-x---  11 casuser  casusers     512 Dec  7 14:30 ..
    -rw-r-----   1 casuser  casusers 3135201280 Dec  8 09:07 filebackup.tar
    GNUtar-Version
    # /opt/CSCOpx/bin/tar --version
    tar (GNU tar) 1.13
    Copyright (C) 1988, 92,93,94,95,96,97,98, 1999 Free Software Foundation, Inc. This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Written by John Gilmore and Jay Fenlason.
    Is this a know problem?
    Thanks for any thoughts.
    Best Regards
    Lothar

    Hi Joe,
    thanks for your feedback.
    These files to be tarred aren't there directly after backup stops with error.
    It seems that some process stores data about reports in that file and when trying to
    pack these reports via tar they are delete by any cleanup method.
    Does this help.
    P.S. Backup usually takes about more than 1hour

  • Error while using tar xvfj

    I logged in as root and i am in the root's local directory:
    [root@localhost all-20060611.tar.bz2]# pwd
    /root/all-20060611.tar.bz2
    [root@localhost all-20060611.tar.bz2]# tar -xvfj essential-20061022.tar.bz2
    tar: j: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    [root@localhost all-20060611.tar.bz2]# tar -xvf essential-20061022.tar.bz2
    tar: ldap-nss.c:1193: do_init: Assertion `cfg->ldc_uris[__session.ls_current_uri] != ((void *)0)' failed.
    Aborted
    Why am i getting this error message when i extract the tar file.
    However tar utility works fine when i right click on the tar folder essential-20061022.tar.bz2 and select extract here??
    How can i solve this error?

    I commented ldap in the nsswitch.conf file, and i have been able to tar the file.
    group: files # ldap
    What is happening is, if I understand it correctly, is that you are using a central ldap server for security and it is going against that server to validate both the user and the group for something, most likely checking to see that the current userid or its group has access to write to the current file and the search is failing for the group. Which kind of confuses me because I was under the impression that there was no security checking for root. But I don't do kernel or security development for Linux so I am not 100% sure.

  • Abs error: core.abs.tar.gz no such file or directory

    I am trying to learn how to compile packages on Arch but I am getting a error when I try to run abs:
    [root@anyhost ~] # abs
    ==> Downloading tarballs...
    ==> core...
    tar (child): core.abs.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable. Exiting now.
    tar: Child returned status 2
    tar: Error is not recoverable exiting now
    Any ideas?

    I think the package format was changed from tar.gz to .xz a while back.Try to re-install abs and also use an updated mirror.

  • DRS Restore error in TFTP .tar file

      I have made a backup of CUCM 8.0.2c, but when I do a restore on another vmware server with the same specs, I get an error in the logs that the TFTP tar file was partly restored, everything else is restored. I think the error has something to do with a truncated file issue. How important is the TFTP tar file for the restore? My main concern is the actual configurations as I want to upgrade to version 9.1.2. Will new TFTP files be installed when I upgrade? How can I repair the file?
    ----> BEGIN Standard Error
    gunzip: stdin: invalid compressed data--format violated
    error writing output file
    /bin/tar: Unexpected EOF in archive
    /bin/tar: Unexpected EOF in archive
    /bin/tar: Error is not recoverable: exiting now
    Traceback (most recent call last):
    File "/common/drf/scripts/tftp/tftp_do_restore.py", line 51, in ?
    logFile.write(msg)
    NameError: name 'msg' is not defined
    ----> END Standard Error
    Regards,
    Marcus

    I have done numerous backups but same error when I restore. My question is will new Firmware/IP Phone loads be copied into CUCM when I upgrade thus over writing existing TFTP folder with new Firmware/IP phone load files? Is it absolutely critical that the TFTP .tar is fully restored with no errors? Will an upgrade not install new files to the TFTP? I have logged a TAC case but I am running out of time.
    Regards,
    Marcus

  • Error while installing NW for abap free trial on SLES

    The error I get after entering new passwords for n4sadm etc:
    unpacking /root/Desktop/server/TAR/x86_64/SAPDB_I.tar.bz2
    tar: /root/Desktop/server/TAR/x86_64/SAPDB_I.tar.bz2: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    unpacking /root/Desktop/server/TAR/x86_64/SAPDB_II.tar.bz2
    tar: /root/Desktop/server/TAR/x86_64/SAPDB_II.tar.bz2: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    unpacking /root/Desktop/server/TAR/x86_64/SAPDB_III.tar.bz2
    tar: /root/Desktop/server/TAR/x86_64/SAPDB_III.tar.bz2: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    unpacking /root/Desktop/server/TAR/x86_64/SAPN4S.tar.bz2
    tar: /root/Desktop/server/TAR/x86_64/SAPN4S.tar.bz2: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    cp: cannot stat `/home/n4sadm/sysctl.txt': No such file or directory
    Update the necessary information in sysctl.conf:
    error: unable to open preload file "/etc/sysctl.conf"
    ln: creating symbolic link `/etc/init.d/rc3.d/S99n4shost' to `/home/n4sadm/S99_n4shost.sh': File exists
    ./INSTALL.SH: line 420: /home/n4sadm/S99_n4shost.sh: No such file or directory
    find: /usr/sap/N4S: No such file or directory
    find: /usr/sap/trans: No such file or directory
    find: /sapmnt: No such file or directory
    find: /sapdb: No such file or directory
    find: /sapdb: No such file or directory
    find: /sapdb: No such file or directory
    ./INSTALL.SH: line 461: cd: /usr/sap/N4S/SYS/: No such file or directory
    Ok
    What is missing?
    thx in advance.
    Jay

    Hi,
    can you please explain the problem more clearly.
    Linux is the system OS . you are using Max Db database.
    i think that you are trying to untar Some database CD file .please explain the situation.
    What i can undestand from this :
    find: /usr/sap/N4S: No such file or directory
    find: /usr/sap/trans: No such file or directory
    find: /sapmnt: No such file or directory
    please check the file system are mounted or not.
    thanks Rishi Abrol

  • [solved] Can no longer untar AUR packages with tar xvf /directory/

    For about a year now I've used this line of code from my .bash_aliases file to untar files from their source directory to the one I am currently CDed in at that moment: 
    alias tarx='tar xvf' # extracts files from a tarball using tar [e]x[tract] v[erbose] f[orced]
    This alias failed to work a few weeks ago for some unknown reason and now spits out this error:
    tarx /media/aur/srcpackages/atom-editor.tar.gz ./
    tar: .: Not found in archive
    tar: Exiting with failure status due to previous errors
    Why on earth would this suddenly stop working.  I haven't changed my .bashrc file apart from some small comments but here it is in case I'm totally out of it:
    # ~/.bashrc
    # This file is sourced by all *interactive* bash shells on startup, #
    # including some apparently interactive shells such as scp and rcp #
    # that can't tolerate any output. So make sure this doesn't display #
    # anything or bad things will happen ! #
    # If not running interactively, don't do anything #
    [[ $- != *i* ]] && return
    # If the connection to the system is a remote connection 'ssh' will be #
    ## appended to the prompt. Otherwise the prompt will be displayed normally #
    # See: remote.colourful.prompt_how-to on /media/lynwyn/networking/ssh #
    # Default prompt from the above-named document: #
    # export PS1='\[\e[0;31m\]\u@\h:\w${text}$\[\e[m\]' # # #
    if [ -n "$SSH_CLIENT" ]; then text=":ssh:"
    fi
    # Alias definitions.
    # You may want to put all your additions into a separate file like
    # ~/.bash_aliases, instead of adding them here directly.
    # See /usr/share/doc/bash-doc/examples in the bash-doc package.
    if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
    fi
    ### [User Prompts]
    ### White Yunzi
    export PS1='\[\e[0;37m\]: \[\e[1;92m\]\W\[\e[0;37m\] :\[\e[m\] \[\e[0;37m\]'
    #### Silver Yunzi
    #export PS1='\[\e[0;37m\]: \[\e[1;94m\]\W\[\e[0;37m\] :\[\e[m\] \[\e[0;37m\]'
    ### Pink Yunzi
    #export PS1='\[\e[0;37m\]: \[\e[1;95m\]\W\[\e[0;37m\] :\[\e[m\] \[\e[1;95m\]'
    ### [Root Prompts]
    ### White Yunzi Root
    #export PS1='\[\e[1;37m\]:\[\e[1;92m\]\u\[\e[1;37m\]:\[\e[1;92m\]\W\[\e[1;37m\]:\[\e[m\] \[\e[0;37m\]'
    ### Silver Yunzi Root
    #export PS1='\[\e[0;37m\]:\[\e[1;94m\]\u\[\e[0;37m\]:\[\e[1;94m\]\W\[\e[0;37m\]:\[\e[m\]\[\e[0;37m\]'
    ### Pink Yunzi Root
    #export PS1='\[\e[0;37m\]:\[\e[1;95m\]\u\[\e[0;37m\]:\[\e[1;95m\]\W\[\e[0;37m\]:\[\e[m\] \[\e[0;37\]'
    ### * BASH options * ###
    ### Last edited January 2014 by H.L.
    # Bash won't get SIGWINCH if another process is in the foreground.
    # Enable checkwinsize so that bash will check the terminal size when
    # it regains control.
    # [check the window size after each command and, if necessary,
    # update the values of LINES and COLUMNS.]
    # http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
    shopt -s checkwinsize
    # automatically prepend cd when entering just a path in the shell
    shopt -s autocd
    # Enable history appending instead of overwriting.
    shopt -s histappend
    # for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
    HISTSIZE=10000
    HISTFILESIZE=20000
    ## erase duplicate entries in your history file
    ## and force Bash History to ignorespace
    export HISTCONTROL=erasedups:ignorespace
    # set variable identifying the chroot you work in (used in the prompt below)
    #if [ -z "$arch_chroot" ] && [ -r /etc/arch_chroot ]; then
    # debian_chroot=$(cat /etc/arch_chroot)
    #fi
    # make "less" more friendly for non-text input files, see lesspipe(1)
    [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
    # TMUX
    # Put this this snippet BEFORE the aliases in .bashrc.
    # This code starts TMUX with only one session (unless you start some manually), on login;
    # it will try to attach to a currently running session.
    # If there isn't a currently running session then TMUX will create one.
    # if which tmux 2>&1 >/dev/null; then
    # if not inside a tmux session, and if no session is started start a new session
    # test -z "$TMUX" && (tmux attach || tmux new-session)
    # fi
    # environment variables using gedit and nano
    export EDITOR="$(if [[ -n $DISPLAY ]]; then echo 'gedit'; else echo 'nano'; fi)"
    ### Coloured man pages with explanations of colours in comments
    # Note to self: all of the colour & escape statements work ONLY by using double quote marks, e.g. " ... "
    ## Coloured man pages with explanations of colours in comments
    # 67: Primary colour for program names is Dark Green [old 80's CRT green!]
    # 68: Optional arguments and/or separate options for arguments is Bright Green
    # 69: Text Reset
    # 70: Text Reset
    # 71: man page info bottom of page is Dark Red on Black background (net effect is transparent background with red writing)
    # 72: Text Reset
    # 73: References to other programs (and their respective man page(s)) are Bright Yellow [good neutral yellow]
    man() {
    env LESS_TERMCAP_mb=$(printf "\e[1;31m") \
    LESS_TERMCAP_md=$(printf "\e[1;31m") \
    LESS_TERMCAP_me=$(printf "\e[0m") \
    LESS_TERMCAP_se=$(printf "\e[0m") \
    LESS_TERMCAP_so=$(printf "\e[1;44;33m") \
    LESS_TERMCAP_ue=$(printf "\e[0m") \
    LESS_TERMCAP_us=$(printf "\e[1;32m") \
    man "$@"
    ## To get a skin of your choice loaded instead of mc's default
    ## skin, you might consider the following solution:
    ## Multi-User: Create an alias for mc in your ~/.bashrc, like:
    if [ $TERM = "screen-256color" ]; then
    if [ $USER = "root" ]; then
    myMCSkin="modarcon16root-defbg"
    else
    myMCSkin="modarcon16-defbg"
    fi
    alias mc='mc --skin $myMCSkin'
    alias mcedit="mcedit --skin $myMCSkin"
    alias mcview="mcview --skin $myMCSkin"
    alias mcdiff="mcdiff --skin $myMCSkin"
    fi
    Last edited by MoonSwan (2014-07-09 04:31:06)

    I seem to have a larger problem on my desktop machine.  When I try to untar stuff on that one it creates a .cache directory for some weird reason and populates it with, I think, cached files from my home directory.  It ends up having firefox, mc and other cached files in the new directory and then tar just errors out with:
    gzip: stdin: unexpected end of file
    tar: Unexpected EOF in archive
    tar: Unexpected EOF in archive
    tar: Error is not recoverable: exiting now
    Very odd behaviour and I'm assuming some config file somewhere is responsible for this behaviour.  But where else can I look apart from .bashrc? 
    @ids1024, I'll do what you've what you suggested on my netbook later today and record the information to post afterward.
    [edit] Here are the contents of that .cache directory, if it helps:
    dconf event-sound-cache.tdb.silver_yunzi.x86_64-unknown-linux-gnu event-sound-cache.tdb.tengen.x86_64-unknown-linux-gnu fontconfig mc dmenu_run
    event-sound-cache.tdb.silveryunzi.x86_64-unknown-linux-gnu event-sound-cache.tdb.white_yunzi.x86_64-unknown-linux-gnu gstreamer-1.0 mozilla
    Last edited by MoonSwan (2014-06-28 19:57:10)

  • Error running source setup.sh

    This is my first time to get in touch with flex at all. So I am a blind rookie, hungry fro some action. I had two problems sourcing the setup.sh
    1. The source.sh was unable to find the flash player gz.
    # 2. I dont have the default ant and jdk on my ubuntu. and it always points to the defaults where as I even set them in the environment for this session. The error trace is at the bottom of the post.
    Solution to first problem: I gave a path for the player. Does this mean the path is incorrect in the current version
    Solution to second problem: I am checking if the HOME paths are missing only then use the defaults otherwise dont.
    Changes are as follows:
    Currently I have solved like this, Applications compile and run fine.
    It could be wrong and thats why I am posting here.
    =============================================
    # This was tested on Ubuntu
    elif [ $OS = "Linux" ]; then
    #If ANT_HOME is not there then take the default one.
    if [ ! -d "$ANT_HOME" ]; then
    ANT_HOME=/usr/share/ant
    fi
    #If JAVA_HOME is not there then take the default one.
    if [ ! -d "$JAVA_HOME" ]; then
    JAVA_HOME=`readlink /etc/alternatives/javac | sed -n 's/[\\\/]bin[\\\/]javac$//p'`
    fi
    # Add player PATH for reuse eliminate chances of copy errors.
    PLAYER_PATH=in/player/10/lnx
    # Don't unpack the player every time, unless it's been updated
    find $PLAYER_PATH -name flashplayer ! -cnewer $PLAYER_PATH/flashplayer.tar.gz -exec rm {} \;
    if [ ! -f "$PLAYER_PATH/flashplayer" ]; then
    echo "setup.sh: Unpacking player to in/player/lnx/flashplayer"
    tar zxf $PLAYER_PATH/flashplayer.tar.gz
    mv flashplayer $PLAYER_PATH/flashplayer
    fi
    =============================================
    Trace of errors from the console, faced before changes.
    /media/data/dev/flex-sdk/branches/gumbo_alpha$ source setup.sh
    find: in/player/lnx/flashplayer.tar.gz: No such file or directory
    setup.sh: Unpacking player to in/player/lnx/flashplayer
    tar: in/player/lnx/flashplayer.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `flashplayer': No such file or directory
    setup.sh: Setting default ANT_HOME=/usr/share/ant
    setup.sh: Setting default JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
    setup.sh: WARNING: ANT_HOME does not exist:
    /usr/share/ant

    On Monday 17 Nov 2008, Shaaf wrote:
    > # 2. I dont have the default ant and jdk on my ubuntu. and it always
    > points to the defaults where as I even set them in the environment for this
    > session. The error trace is at the bottom of the post.
    setup.sh is intend to help you out, rather than always work.
    Just set the required environment variables yourself and skip this step if
    your setup is non-default.
    > Solution to first problem: I gave a path for the player. Does this mean the
    > path is incorrect in the current version Solution to second problem: I am
    I *believe* the player is no longer in SVN because people were pulling from
    there pre-public release and the Adobe folks needed to reduce load.
    Unfortunately they are all busy at the mo @ MAX, but if you copy a recent
    player into the correct place it should be fine.
    Tom Chiverton
    Helping to competently benchmark world-class distributed open-source
    attention-grabbing services
    This email is sent for and on behalf of Halliwells LLP.
    Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority.
    CONFIDENTIALITY
    This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500.
    For more information about Halliwells LLP visit www.halliwells.com.

Maybe you are looking for