OSx 10.4.6 - stuck in command line - help

I have had a nightmare since taking the automatic update.
after a very long while a 4 restarts my screen has gone to a terminal screen that says:
Darwin/BSD (Mark-computer.local) (Console)
Login:
what am I supposed to do now. Its been years since I used unix so any suggestions please

Welcome to Apple Discussions!
Did you backup your data prior to the automatic upgrade? If you did, I'd just restore from backup and follow the procedure recommended for upgrading Macs:
http://www.macmaps.com/upgradefaq.html
If you didn't, get Prosoft Data Rescue from http://www.prosofteng.com/ and recover data to an external Firewire hard disk. Once that is done, I'll see about finding an expert who might be able to help you.
Disclaimer: Reference to links I make to my Macmaps.com website are a for your information only type reference. I do not get any profit from this page, and it is open to the public.

Similar Messages

  • Enterting File to be used at the command line (help!)

    I have this code which works on by loading a .txt which hold a matrix of numbers and doing some maths and the like on it. the problem with this is that it is limited to only being able to read from that one file. i would like to make it possible to enter the name of the .txt file at the command line when running the program
    e.g java FlatCost costs.txt
    heres the code so far (it works).
    import java.io.*;
    import java.util.Vector;
    public class FlatCost
        public static void main(String[] args) throws IOException    {       
            FileInputStream stream = new FileInputStream("costs.txt");
            InputStreamReader reader = new InputStreamReader(stream);       
            StreamTokenizer tokens = new StreamTokenizer(reader);       
            Vector v = new Vector();
            while(tokens.nextToken() != tokens.TT_EOF)        {           
                v.add(new Integer((int) tokens.nval));
                System.out.println(new Integer((int) tokens.nval));        }       
            System.out.println("Enter floor number: ");       
            BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
            String line1 = in.readLine();
            int x = Integer.parseInt(line1);
            if(x > 3) System.out.println("Sorry, out of range");
            System.out.println("Enter no. rooms: ");       
            String line2 = in.readLine();          
            int y = Integer.parseInt(line2);
            if(y > 2) System.out.println("Sorry, out of range");
            int numFloors = v.size()/4;               
            int dest = ((x*4) + y + 1);
            System.out.println("PRICE: " + v.get(dest));   
    }Please help because i dont know how to do it
    Carl

    That's right... specificallyFileInputStream
    stream = new FileInputStream(args[0]);
    Also don't forget make sure the argument was supplied. Otherwise you'll get a runtime array out of bounds.
       if (args.length < 1) {
          System.out.println("Usage: java FlatCost filename");
          System.out.println("   eg: java FlatCost costs.txt");
          // exit or supply default file
       }

  • Command Line Help!

    Hello:
    When I tried the following:
    SQLPlus sys/<password>@<dbname>, I get the following error:
    ERROR:
    ORA-28009: connection to sys should be as sysdba or sysoper
    Can somebody tell me what the syntax is to log in with the account SYS?
    Thanks.
    Venkat

    connect sys@dbname as sysdba

  • How to uninstall Command Line Developer Tools

    Hello, After upgrade to OSX Mavericks by mistake I downloaded Command Line Developer Tools. I'm not a coder, just a graphic designer and I'm not gonna need it. It's about 300 MB size and I don't want it. The worst part is that its the second time Apple Update shows a new update for this. If I try to move Library/Developer/CommandLineTools folder to trash I'm asked to provide my admin password, so I don't do it because I'm affraid to harm my OS. I've been searching on the web for an answer close to my case but only found uninstall tips related to Xcode that don't apply to me. Can you please help me to get rid of this Command Line Tools? Thanks a lot in advance!

    latiffrommexico wrote:
    If I try to move Library/Developer/CommandLineTools folder to trash I'm asked to provide my admin password, so I don't do it because I'm affraid to harm my OS.
    Do it. It will not harm OS X, and you will be removing the Command Line Developer tools. Nothing will happen to your Mac, but you should make a backup of your files before modifying system files.

  • Sending image sequence job to compressor in command line : how to set the framerate?

    Hello,
    In Compressor, when you import a image sequence, it's possible to set the framerate and add an audio file before choosing a preset and lauching the encoding task.
    I want to dlo the same thing with command line. I know how to send a compressor job with command line, but no how to add theses settings.
    In the compressor command line help, we've got this :
    Job Info: Used when submitting individual source files. Following parameters are repeated to enter multiple job targets in a batch
              -jobpath <url> -- url to source file.
                                               -- In case of Image Sequence, URL should be a file URL pointing to directory with image sequence.
                                               -- Additional parameters may be specified to set frameRate (e.g. frameRate=29.97) and audio file (e.g. audio=/usr/me/myaudiofile.mov).
    So there are also framerate and audio parameters in command line but i've no idea how to write the command line with theses parameters
    Here is an example of command line for Compressor (by Apple) :
    ./Compressor ‑clusterid tcp://127.0.0.1:51737 ‑batchname myBatch ‑jobpath /Volumes/Source/ShortClips/NTSC24p.mov ‑settingpath /Users/stomper10/Library/Application\ Support/Compressor/PhotoJPEG.setting ‑destinationpath /Users/machinename/Movies/myDestinationFilename.mov.
    Thank you for your help!

    You can see in the command sh running-config command
    show running-config : Displays the current access point operating configuration
    Use the guest-mode SSID configuration mode command to configure the radio interface (for the specified SSID) to support guest mode. Use the no form of the command to disable the guest mode.
    [no] guest-mode .
    Here is the guideline for usage
    The access point can have one guest-mode SSID or none at all. The guest-mode SSID is used in beacon frames and response frames to probe requests that specify the empty or wildcard SSID. If no guest-mode SSID exists, the beacon contains no SSID and probe requests with the wildcard SSID are ignored. Disabling the guest mode makes the networks slightly more secure. Enabling the guest mode helps clients that passively scan (do not transmit) associate with the access point. It also allows clients configured without a SSID to associate.
    Examples
    This example shows how to set the wireless LAN for the specified SSID into guest mode:
    AP(config-if-ssid)# guest-mode
    This example shows how to reset the guest-mode parameter to default values:
    AP(config-if-ssid)# no guest-mode

  • ERROR: -1639 INVALID COMMAND LINE ARGUMENT

    Trying to install software for Shuffle that Santa brought and get this error messsage...
    "Error: -1639 invalid command line argument. Consult the windows Installer SDK for detailed command line help."
    Install stops at this point.
    SOMEONE HELP... My kid is chomping at the bit !
    Thanks.

    Ok I'll do some more searching but I found something in the community forums.
    APPSearch can not return this data into a property, so instead, for some unspeakable reason, returns a value of Null, follwed by another Null. This means that the property is created, and populated with two null characters. Bad news if the property also happens to be a PUBLIC property. All public properties are passed as part of the command line sent in a stream to the background installer process by the Execute Action. Since this stream now contains a double null value in a property, the stream is prematurely terminated. This creates an invalid command line, and thus the 1639 error.
    This user solved it by using the MSi Cleanup installer util.
    EDIT: A little more info...
    This problem is almost impossible to detect through the MSI log files since our friends at Microsoft chose to limit the length of any line in the log. It is impossible to get a dump of the full command line that generates this error.
    EDIT2:Note that error 1639 only ocurrs when the install package is run from removable media. When the package is run from local storage, the behavior is far more obtuse. The background install process, failing to receive a complete command line, is forced to run as if there had been no UI session, which in turn causes the APPSearch action to run again as if the install was running in silent mode. This causes re-evaluation of all properties a second time, destroying the feature selections made in the UI session, and also forcing the install to run under user credentials instead of elevated, even though AdminUser, ALLUSERS and Privleged properties are set. This is a very serious error that causes total failure of the installation.

  • Command line transfer of TM backup to Time Capsule

    I have just purchased a new 3TB Time Capsule to replace my ailing 750GB Firewire drive as my Time Machine Backup drive. However, the 750GB drive has none TM files on it, that I do not want to transfer to the new Time Capsule (see details below)
    file://localhost/Volumes/LaCie%20BackUp/Backups.backupdb/
    file://localhost/Volumes/LaCie%20BackUp/IBM%20DDRS-39130D%20Media/
    file://localhost/Volumes/LaCie%20BackUp/Orphans%20Folder/
    file://localhost/Volumes/LaCie%20BackUp/Files%20from%20Server/
    The reason I am doing it this way is also because my old drive occassionaly goes into a 'pause' that requires me to disconnect it from my MacBook Pro and reconnect it to try again. Thus I need to be able to transfer my backup files in smaller chunks than a whole disk image would entail, so that if the drive stops, I can pick up from the point of failure and carry on rather than start from scratch again.
    Only the Backups.backupdb needs to be transferred to the Time Capsule, so I don't want to use Disk Utility and have been trying to copy the relevant backup directories using Terminal and the 'cp' command as SuperUser. However, I am finding that even so I am getting error messages back stating 'Operation not permitted', mainly to do with cp trying to run 'lchmod'.
    I have read the existing FAQ article https://discussions.apple.com/message/11422415#5 and have all the correct journaling settings, etc. and the data seems to be transferring fine. Just not sure yet if I will have fully functional backups when I have finished.
    Any command line help such as using the appropriate flags, etc. would be helpful.
    Thanks, Russ

    Pondini's notes are quite useful and I tried using SuperDuper and Disk Utility. I transferred my backups from my old 750GB Firewire400 backup drive to my new 3TB Time Capsule using both of them. Each time I tried, the transfer took to an inordinately long time - it failed any time up to a maximum of 18 hours from starting, the best only achieved about 90% transfer!
    Also, I discovered by monitoring my MacBook's performance with Activity Monitor that both these programs are CPU intensive and indicated between 150% to 200% activity (both CPUs virtually maxed out), mostly with Finder activity. This was the limiting factor in the transfer and the process was achieving peak Disk I/O and network transfer rates of 10MB/s. The MacBook's fans were running full-blast during this time just trying to keep the thing cool!
    I eventually found the most efficient method to transfer backups by reading through some of the Unix command manual pages and discovered Apple Software Restore (ASR). This command is used as the underlying tool by both SuperDuper and Disk Utility and does all the actual work. The final transfer tool less than 7 hours.
    Network Transfer Rate 36MB/s (sustained)
    Disk I/O Rate 52MB/s (peak), >32MB/s (sustained)
    CPU activity 20% (peak), <15% (typical)
    Main process is 'diskimages-helper'
    The reason it works much better is that only the essential work is being done and that the command allows you to alter the buffer size to make it more efficient for the larger file transfer method. The whole transfer was therefore limited purely by the maximum transfer speed of the Firewire 400 drive itself. So here is how I did it using terminal:
    $ su
    Password:
    [change to superuser so you don't have problems with passwords and permissions, etc.]
    sh-3.2# nice -n -20 asr restore --source <source drive> --target <target drive> --erase --noprompt --allowfragmentedcatalog --buffers 8 --buffersize 64m --noverify
    Validating target...done
    Validating source...done
    Repartitioning target device...done
    Warning: You may not be able to start up a computer with the target volume.
    Validating sizes...done
    Restoring  ....10....20....30....40....50....60....70....80....90....100
    Remounting target volume...done
    After mounting the resulting Time Capsule BackUp, it had the name of my old drive, which confused me somewhat, so I simply renamed it in the Finder.
    Explanation:
    The 'nice -n -20' command tells the OS X kernal to prioritise the commands that follow by giving them preferential access to CPU time (kind of like putting go-faster-stripes on).
    The <source drive> is selected by dragging the drive icon onto the terminal window.
    The <target drive>  has to have been created first by running an initial Time Machine Backup on the Time Capsule, which creates the .sparsebundle directory. Once this is created, stop Time Machine, then use the finder to log onto the Time Capsule and double click the .sparsebundle file. This will mount a disk called 'Time Capsule Backup'. Drag this image onto the terminal window as the target drive.
    --erase removes any other stuff on the target drive and matches the journaling to the source drive
    --noprompt stops you getting "do you want to continue? messages
    --allowfragmentedcatalog ensures the directory catalogue on the source drive is read as is
    --buffers 8 the default is 8, but I tried it with different numbers of buffers, but it didn't affect transfer speeds much
    --buffersize 64m this made the most difference as the default is 1MB. Changing the buffer size makes the biggest impact as large file transfers work better when you give them large buffers.
    --noverify - I used this as the transfer itself takes so long that I wasn't really wanting to wait for it to verify as well. On the occasions that I left it to verify, that function operated at a VERY slow speed and would have taken more than 100 hours to complete. I did not have the patience to investigate as to why that was, but essentially the data transfer rate during that stage was <2MB/s. Whatever was causing it to run so slow was not limited by any resources on my MacBook Pro or the network connection, so I will let someone else work out what the issue was there.

  • G5 will not boot into OSX - stays at a command-line prompt

    My G5 will not boot into OS X. I would appreciate and and all advice. Thanks.
    What happened:
    I had the G5 running one morning, with the Isight camera on, plugged into the front-console firewire port. I was running EvoCam software.
    At about 2 hours into running, the cam stopped broadcasting – I got home to check it out three hours later, and the screen was black, and the fan was louder than I had ever, ever heard it on this box.
    I did a hard shut-down with the powerbutton on the Cinema Display monitor.
    At reboot, I see a grey screen for approx 5 seconds, with a dark grey apple logo, and then the screen goes to black, with a command-line prompt.
    It’s been like that ever since.
    I ran the Apple Hardware test, from the internal CD drive, and it shows no errors.
    I cannot boot from an OSX installer DVD. It won’t recognize it. It goes straight to the black screen and Command line prompt.
    I have re-seated the RAM, as well as the Airport Card. The only other card – which I have not re-seated, it the video card.
    I am able to use the machine in Target Mode, so I can extract data from the drives, which is great. Oddly enough, I’m able to use the front-console firewire port to connect to my other Mac in Target mode – with no problems. Also – in Target mode, the fan never goes above the usual quiet self.
    I would appreciate any advice one can provide. Thanks!
    The machine:
    Mac G5 dual 2.0 – First Generation (purchased December 2003)
    It’s on it’s 3rd Motherboard – and now it’s fully out of Applecare warrantee.
    OSX 10.4.9
    4GB Ram
    2 internal drives: 160GB + 300GB
    Airport Extreme
    20” Cinema Display (first generation)
    Mac G5 dual 2.0 – First Generation   Mac OS X (10.4.9)  

    Well, Apple Support does have articles on:
    Isolating Issues in Mac OS X
    http://docs.info.apple.com/article.html?artnum=25392
    won't boot or login
    http://docs.info.apple.com/article.html?artnum=106464#symp1
    And if those don't work, call.
    With G4 there is/was
    "Fix for a Mac that won't power up
    Mirrored Doors G4. When you pressed the power button, the button would light up, but the computer would not turn on. The fans on the power supply wouldn't turn on.
    FIX: unplug the machine, pull the clock battery, hit the power button to discharge. Then plug it in without the clock battery. The machine should boot perfectly. Shut down, reinstall the clock battery, and now the system is fully functional. Macosxhints
    http://docs.info.apple.com/article.html?artnum=300552
    Reseat video? try another video card?
    My Step #1 is to always boot into Open Firmware (and do reset-nvram, reset-all, if you can't do that, you are sunk).
    Oh, and What do you see in verbose mode on startup?
    Mac Pro 2GHz 4GB 10K Raptor 23" Cinema   Mac OS X (10.4.9)   WD RE RAID Aaxeon FW800 PCIe MDD-G4 APC RS1500 Vista

  • BO Edge 4.0 Installer stuck on "Run command-line executable"

    Hi,
    Our BO Edge BI Server 4.0 Installer on Windows Server 2008R2 is stuck on one of the last steps; "Run command-line executable".
    Before is was stuck on "WaitForCMSForTheFirstTime". We upped the RAM to 16GB and then the installer went past this, but after a full reset of the server and trying again it is now stuck a few steps later on "Run command-line executable". This is very frustrating, especially since there is no error message at all, no install log and the installer is just stuck indefinitely and we had to cancel it.
    At that point the Central Configuration Manager shows this:
    Apache Tomcat - Running
    BW Publisher Service - Stopped
    SAP BO Mobile Authentication Server - Stopped
    SAP BO Mobile Processing Server - Stopped
    Server Intelligence Agent - Running
    We can't deinstall from Windows to start over at this point because the installer says an install is in progress.
    What is going on?
    Help urgently needed and appreciated
    Edited by: J. Knulst on Jan 11, 2012 7:48 AM
    Edited by: J. Knulst on Jan 11, 2012 7:50 AM

    Hello,
    Yes, certain stages run for a long duration. "Run command-line executbale" runs for atleast 45 mins. It's normal.
    My suggestion would be to leave it for 45 mins-90 mins.
    Now that you have interrupted your installtion, try uninstalling it through the control panel.
    In case you can't see the software there, then you have to edit registry entries, which is very tiresome.
    Regards,
    Sonia

  • How to reset the network IP address from terminal/command line in Mac OSX?

    Do anyone knows how to set the network IP address from terminal/command line in Mac OS X?

    how about a GUI, ever heard of a GUI? it's this really neat thing, where you don't have to worry about remembering long strings of text to do something. Mac OS X actually has a rather decent one (that was sarcasm by the way, Mac is the best) you could have it done in like 30 sec, if you use the network pane of system preferences.

  • Command line java 7 on osx 10.9?

    I've installed Java 7 Update 51.pkg on my Mac, but in terminal, "java -version" reports
    java version "1.6.0_65"
    Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
    Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
    My jar requires 64-bit 1.7. How do I get the command line to recognise the right version of java?

    Contact http://www.java.com/
    if you are having difficulty getting it to recognize the correct Java.  I can also ask the thread be redirected to the Developer forum if you are trying to develop code for it.

  • OSX Tiger book on detailed command line actions

    Is there a good book out there that will detail how to drive the system via the Terminal? I am not a Unix person but i want to learn how to do things via the command line. On many of the forums people have great input as to how to solve but they give you scripts and i want to understand how they actually work.

    Check out bash Cookbook at http://www.oreilly.com/catalog/bashckbk/
    Available now as an ebook or in May as a print version.

  • Cisco Jabber MSI Install Command lines/ Orca MST file

    Greetings....
    We are trying to deploy cisco jabber 9.7.4 either by using msi command line or configuring a custom installer using Orca. Both options have worked partially. 2 places we are getting stuck.  The EULA is prompting to accept (which if we run in quiet mode, it stalls and fails) and after the install I am prompted to select account type and server. The server is populated with the correct address but it defaults to the "use default server". It seems to work with the default server but I still need to select "Cisco IM and Presence" from the account type.
    I followed the deployment guide for jabber to create the installer file.
    I am pretty new to CUCM and CUP. So feel free to answer me like I am a 4th grader.
    Attached are screen shots of the msi command line and the settings in Orca I was playing around with.
    Any help and guidance is appreciated.

    In your doc you have:
    msiexec /i CiscoJabberSetup.msi TPYPE=CUP ADDRESS=10.21.0.10 DOMAIN=chi-sd.com
    TYPE=CUP is mispelled.
    Regards
    Aaron

  • I can not uninstall Office 2013 from command line

    Hi, I have been stuck for a while trying to uninstall Office 2013 via command line. Installation file was downloaded from Volume Licensing Service Center, Uninstall.xml file for silent uninstallation looks like this:
    <Configuration Product=”ProPlus”>
    <Display Level=”basic” CompletionNotice=”yes” SuppressModal=”yes” AcceptEula=”yes” />
    </Configuration>
    From command line the following will not work:
    setup /uninstall ProPlus /config .\ProPlus.ww\Uninstall.xml
    Error: Setup can not find or validate an installation file. Please try reinstalling Office . . .
    setup /uninstall ProPlus gives me GUI to continue process - it seems /config .\ProPlus.ww\Uninstall.xml part does not work as it should be
    This is very important to me since I used above command line in SCCM 2012 R2 to allow user to uninstall Office 2013 by itself via Software Center. When this failed I tried locally but the error was the same. This should have been trivial task - silent uninstallation
    using .xml file. It is not a rocket science. I am very angry because losing time for something like this is unacceptable for system engineers working with SCCM 2012 R2.

    Hi,
    This error might occurs due to lots of reasons. Where is the installation file stored? If it's stored on a network share, please copy it to your local disk, and then manually run the command again. This way, we'll see if the installation file is the
    problem.
    If issue persists in this case, then this generally means that something wrong with the installation file. Please try to redownload it and then try again.
    Please also make sure that you're executing the command with elevated privileges (run as administrator).
    Regards,
    Ethan Hua
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • How to login in command line by adding user/password in the same line

    is it possible in OSX to login in terminal by typing:
    +login username password+
    I tried many unix command and never find a command that can do that in one line, it always ask for the password in the second line.
    I need that to be used in Python application,
    or if there any possibility to write code in python to do that in OSX using python osx modules,
    while in windows it worked perfect by using win32API in Python.
    I hope Apple developers can help me with That
    Thanks

    This isn't possible because it would be a terrible security vulnerability--any process on the system can see a program's command line arguments. (Just type "perl -e 'sleep 5' & ps" in a terminal if you don't believe me.) If you want to log in like this, you'll have to open the "login" program in such a way that you can give it the password through its standard input.
    Also note, however, that "login" will not change the account your Python program is running as; it just starts a shell running as that account. If you want your program to run as a different user, you need to look into a set of commands and techniques called "setuid" or just "suid"; a Google search for "setuid python" should get you started. (I'm not a Python programmer, so I can't really tell you exactly how setuid works in Python.)

Maybe you are looking for

  • I installed itunes on anew computer.  The store says i have not made any purchases but I have.

    I installed itunes on a new computer. I registered my apple id the app store says I have not made any purchases. i have made many. How do I update apps?

  • Aperture...won't even load on MacBook Pro???

    I just upgraded my (new) Macbook Pro 15" from 1G to 2G of memory. I have the 2.1Ghz processor. When I try to start Aperture, it says "Your computer does not meet the minimum requirements for Aperture..." So, what's the deal here? When I had 1G of mem

  • Tables for the marketing attributes

    Hi Experts I want to know in which table marketing attributes data are saved sri

  • Handling XMLs with unknown structures.

    Hello Experts,    I have to build a generic interface RFC -> PI -> JMS, which will receive XML structure as a string in import parameter of RFC. Then I need to convert this string to XML, add digital signatures and then output the signed payload to J

  • Install the oracle patch with OPatch

    Hi: the error "ORA 3106" happened when the BW system was drawing out the data from the CRM system . I found the note "1005758 - ORA 3106 in Oracle 10.2.0.2",so I downloaded the oracle patch p5092134 and p6646850. I upgraded the opatch version to 10.2