Help! Starting up in terminal/Unix
When I start up my G5, instead of starting the OSX GUI, it seems to be starting up in Unix - ie I get a black screen with BSD/Darwin, asking me to log on. When I do, I get 'Welcome to Darwin', but I don't know how to start up OSX!
I have not chosen any different startup options or anything and am at a loss to know how to actually get it to start up in a way I can use. I don't know enough about the Unix side of things to work like this or even start up the GUI. Could someone let me know how to get it working??
Update: Sorry if I posted this in the wrong forum. As it was asking me to log in when I normally log in automatically, I thought it was something to do with my account.
Anyway, from reading what I could find about this, I thought that maybe it was starting up in Single User mode. However, this does not appear to be the case. I have tried Single User mode, and this gives quite a lot of text on the screen at startup giving system information. The other times I just get the text 'Darwin/BSD (Macintosh.local) (console)
Also, I am unable to reboot. (If I try the reboot command, it says 'operation not permitted') and the only way I can restart is by holding down the power button.
I have tried resetting the PRAM, starting up from the install CD to repair disk permissions etc and also starting in safe mode, and none of these has made a difference. Any more ideas?
Similar Messages
-
How to Start Oracle Report in Unix?
hi
Does anyone know how to start oracle report in unix? I was
told to try this (r60desm) but that did not work. We are on 11i
and 6i. Please help
alphaI don't have Forms/Reports 6i for UNIX. Have you tried typing "r60" and typing tab twice?
-
How to resolve "open failed"error while starting dbisqlc utility in UNIX b
how to resolve the following error while starting dbisqlc utility in UNIX box...??
Unix Prompt% which dbisqlc
/sybase/asiq12/bin/dbisqlc
Unix Prompt%
Unix Prompt% dbisqlc
ld.so.1: dbisqlc: fatal: libdblib9_r.so: open failed: No such file or directory
zsh: killed dbisqlc
Unix Prompt%rm.vikram wrote:
how to resolve the following error while starting dbisqlc utility in UNIX box...??
Unix Prompt% which dbisqlc
/sybase/asiq12/bin/dbisqlc
Unix Prompt%
Unix Prompt% dbisqlc
ld.so.1: dbisqlc: fatal: libdblib9_r.so: open failed: No such file or directory
zsh: killed dbisqlc
Unix Prompt%It may not help, but a quick google search for that library gave a link to http://www.sybase.com/content/1040797/deployadmintoolslinux.pdf, and from within that:
Interactive SQL files
Copy the following files from your reference installation:
/opt/sybase/SYBSsa9/bin/dbisql
/opt/sybase/SYBSsa9/java/dbmaen9.jar
/opt/sybase/SYBSsa9/java/isql.jar
/opt/sybase/SYBSsa9/java/jlogon.jar
/opt/sybase/SYBSsa9/java/xerces.jar
/opt/sybase/SYBSsa9/java/xml4j.jar
3
Copyright © 2004 iAnywhere Solutions, Inc.
/opt/sybase/SYBSsa9/lib/libdblib9_r.so.1
/opt/sybase/SYBSsa9/lib/libdbtool9_r.so.1
/opt/sybase/SYBSsa9/res/asa.cvf
/opt/sybase/SYBSsa9/res/dblgen9.res
/opt/sybase/shared/java/HelpManager11.jar
/opt/sybase/shared/java/JComponents142.jar
/opt/sybase/shared/java/SCEditor142.jar
/opt/sybase/shared/java/jsyblib142.jar
/opt/sybase/shared/sun/javahelp-1_1/jh.jar
Create the following symbolic links in /opt/SYBSsa9/lib:
libdblib9_r.so -> libdblib9_r.so.1
libdbtool9_r.so -> libdbtool9_r.so.1which may suggest a solution. -
How can I enable java applet plug-in and Web Start applications via terminal?
Since the last Java update to Snow Leopard, I have found that the system periodically disables the Java applet plug-in after a period of disuse. I know I can go to /Applications/Utilities/Java Preferences and just click to re-enable Java. But I want to write a script which will do this periodically for a couple hundred Mac users where I work.
My question is - how can I reenable the Java applet plug-in and web start applications via Terminal command? Is this possible? Is there a plist file that can be modified, etc.?
Bob ReedIt is my understanding that Apple's most recent Java update automatically disables Java after a certain period of time that it hasn't been used. We don't want users to have to keep re-enabling it. So we wanted to find a way to do this via script either run by a Casper JSS server or stored locally on each workstation. With the guidance provided by Mark Jalbert above and some text from a script written by Rich Trouton, I was able to make a script (with some minor changes) and a launch agent to re-run the script upon login. So the preference is always enabled.
For your reference, the script content is:
#!/bin/sh
# DYNAMICALLY SET THE UUID FOR THE BYHOST FILE NAMING
if [[ `ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c27-50` == "00000000-0000-1000-8000-" ]]; then
MAC_UUID=`ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c51-62 | awk {'print tolower()'}`
elif [[ `ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c27-50` != "00000000-0000-1000-8000-" ]]; then
MAC_UUID=`ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c27-62`
fi
# Set the the "Enable applet plug-in and Web Start Applications" setting in the Java Preferences for the current user.
/usr/libexec/PlistBuddy -c "Delete :GeneralByTask:Any:WebComponentsEnabled" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
/usr/libexec/PlistBuddy -c "Add :GeneralByTask:Any:WebComponentsEnabled bool true" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
/usr/libexec/PlistBuddy -c "Delete :GeneralByTask:Any:WebComponentsLastUsed" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
/usr/libexec/PlistBuddy -c "Add :GeneralByTask:Any:WebComponentsLastUsed real $(( $(date "+%s") - 978307200 ))" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
The launch agent plist content is:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>Label</key>
<string>org.XXXXX.enableJavaPlugin</string>
<key>ProgramArguments</key>
<array>
<string>sh</string>
<string>/Library/Scripts/XXXXX/enableJava_plugin.sh</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartOnMount</key>
<true/>
</dict>
</plist>
I hope this is helpful to anyone wishing to keep the Java web plugin enabled.
Bob
Message was edited by: Robert Reed2 -
Is it possible to add a new note on stickies.app by terminal/unix shell scripts ?
is it possible to add a new note on stickies.app by terminal/unix shell scripts ?
1. If i uninstall GNU Classpath, Does it cause system not to work properly? Not in my experience. I have encountered dozens of cases where it cured problems like this immediately. Alternatively adjust your PATH so that it finds the JDK before it finds GNU CLASSPATH.
(Now i am using that java on my server with a certificate , I dont want to risk the system. )GNU CLASSPATH is the risk here.
2. I have searched about your advice, this link tells classpath causes: "certificate insert problems"
http://builder.classpath.org/japi/jdk15-classpath.html is this what you mean ?
I can't find that statement on that page, but it does show compliance problems of up to 20% in the security area (and *40%* in LDAP, the area I'm working in at the moment).
Basically GNU CLASSPATH is not Java and cannot be expected to behave like it. In this case it doesn't even understand the format of a Java keystore. QED.
Note that they don't call it 'Java', because it isn't. I quote:
GNU Classpath 1.0 will be fully compatible with the 1.1 and 1.2 API specifications, in addition to having significant (>95%) compatability with the 1.3, 1.4, 1.5 and 1.6 APIs.In other words they haven't even finished JDK 1.1 yet, let alone all the other stuff. At the present rate of progress they never will. That statement is the latest, it is dated 7 July 2009, and the latest actual software is dated 5 February 2009. And there is clearly no intention of ever submitting it to the Java Compatibility Tests as real Java implementors do.
3. How can i uninstall GNU Class Path without causing any problems to my working server?No idea, can't help you. Ask a Liinux expert.
4. Is there any way to add the certificate without removing GNU CLASSPATH ?Yes, see above, but I still strongly recommend removal. -
How Do i start Intelligent Agent on Unix
how do i start Intelligent Agent on Unix and how do i make it start automatically when the server comes up
Thank uDepends on which version of Oracle your are running
Pre 9i -
Handled via the lsnrctl command
start - lsnrctl dbnsmp start
stop - lsnrctl dbsnmp stop
or lsnrctl ? for help
In addition pre 9i a data gatther process is needed to collect stats on host in 9i included with the agent
9i - Own facility
agentctl
agentctl start agent
agentclt stop agent
agentcl ? help
However you configure db and listenter to come and and down should work or see you sysadmin.
Steve -
need help starting my 3 up its on the start screen where you connect to itunes
Then it is telling you it has entered recovery mode and you must restore by following the instructions in http://support.apple.com/kb/HT1808
-
Start perticulat instance on unix environment
I have oracle 7i,8i,9i instance on same machine i want to start perticular instance .
please tell me step to do it.
Thanksa duplicate of thread start perticular instance on unix environment
-
Can date search help start from a particular date?
Hi All.
We have an application where there are 4 date fields.
These dates can range in past as well as future.
After selecting one date, others should start from that date.
But by default, it always takes the system date as starting point.
Can the date search help start from a particular date?
Thanks in adv.Hi ,
u can set the initial dates u want by setting the attributes values to which it is bind . for eg in WDDOINIT of the view..
hope this will help u ..
Regards
Yash -
I need help starting a Terminal command at start-up to help silence CPU fan
I have a 24" iMac (Early 2009) and the CPU fan runs at full RPMs - NOTE: it is a refurbished model. I think that the person who did the refurbishing either messed up the CPU Temp Sensor or something, because the CPU temps are fine and the fan kicks on right after start-up chime.
Anyways, I have found a terminal command (see below) that, when used in conjunction with smcFanControl, will force my CPU fan to run at 1200 RPM. I need a way to either auto-launch this Terminal Command at start-up, or an easier way to launch it because having to type it out in Terminal every boot and reset is getting old.
Terminal Command:
/Applications/smcFanControl.app/Contents/Resources/smc -k F2Mx -w 3cf0
Any help would be greatly appreciated!You shell script should look something like this:
#!/bin/bash
your command line
Construct this in your favorite text editor and save as plain text, not .rtf. Call the file anything you want, but here I'll call it slowfan.
In terminal type,
chmod +x /path/to/slowfan
where /path/to/slowfan is the path to the slowfan file. You could drag the file into the terminal after typing the chmod +x followed by a space. This step is only to mark the text file (script) as executable.
Now you can run Platypus and set up a simple app with admin privleges. Then test the app. If it works you can then add it to your login items.
If you decide to use applescript (do shell script descibed earlier) then you could just use the full pathname to whereever you saved the script and save that as a applescript application. Again test it and then add to your login items. I would bother adding an alias to .bash_profile. That just adds to the complextity.
As you can see, with Platypus you only have the single app it creates to deal with. The script is enclosed in the generated app bundle for easy updating if necessary later on. With the applescript method you will need to keep track of two spearate files; the applescript and the shell script. Actually three, the app too. -
Help with some fatal Terminal errors
Hello all,
I need some help, as I foolishly did some mistakes while working in Terminal.
I created a directory /~src and I coppied there all /Users.
When I realised that, I coppied the other way round.
What happens now is that:
-I cannot open any file in my computer
-all my Safary browsing passwords have been erased
-when I "Get Info" for any file in my Mac, I have /Users/mynme/myname twice
Please, could you give me a hand to repair this?
Thanks a lot.
Regards,
MihaelaHello dear mihaelapuica!
I did not understand exactly what you did. Could you explain again?
First your folder
/~src
which you created was probably:
~/src
means in your home folder a new folder with the name "src". Right?
And in this folder you copied all /Users - folders. Right? (That's a strange idea; why would you do that? But you did probably due to an error??? You cannot put all users into your home root folder without messing up all permissions and ownerships, because each user has his own settings.) So in your home folder forexample the ownership would be mihaela and the group would be staff. And the permissions would be drwxr-xr-x for your folders you own, and the files in it, would have the permissions of -rw-r--r-- or -rw------ or -rwx------
Ok. Then you copied it back. How you did it? Which command? Or in the Finder with drag and drop? In any case you put everything back, and the structure is as before???
Now I have the suspicion that you rebooted and the permissions and owner of the old user "myname" were wrong and you created a new user with "myname".
Do you have (hopefully) a back-up? I think it would be easier to make a clean install and start over again. Then you may import the Documents from your backup.
If this is not an option, you should read the manuals, how to repair the permissions. In the Terminal you would use commands like
chown (for changing owners and group)
and
chmod (for changing the permissions).
But please don't be angry, this is much too diffucult and dangerous for you. Only with a Unix expert being at your side.
Perhaps you are lucky in using a tool like OnyX to repair the owner and permissions. But I doubt.
Best greetings from Munich
marek -
Getting Started error when starting messaging Gateway on Unix
HI all.
We are having difficulties with getting messaging gateway set up on unix.
We are following the DocId Note:212587.1
The error we are getting is when we try and start the gateway.
ORA 6520 pl/sql error loading external library line 33
ORA 6512 sys.mgwi_admin
help
Thanks
kdigmanHI all.
We are having difficulties with getting messaging gateway set up on unix.
We are following the DocId Note:212587.1
The error we are getting is when we try and start the gateway.
ORA 6520 pl/sql error loading external library line 33
ORA 6512 sys.mgwi_admin
help
Thanks
kdigman -
SAP not starting after crash: Terminateing With error code 12
Hi,
After system crash SAP is not starting normally. When running startsap under SIDadm puts out: /usr/sap/TST/SYS/exe/run/startdb: Terminateing With error code 12
startdb.log shows that:
/oracle/TST/102_64/bin/sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shares object file: No such file or directory
I have checked - file and directory are present.
However - when manually starting DB under oraSID and then logging in as SIDadm and starting SAP - everything starts normally.
(Allthough SID is has been changed before - system also worked normally after SID change) I have checked userrights and groups , also profile - everything seems to be normal. Any ideas?
Edited by: Kristjan T on Mar 16, 2011 1:16 PMHi,
1.what UNIX Flavor are we talking about -> SuSe
2.What SAP Kernel Release is in place (may be 6.40 non EX2 ?) -> 6.40
3.What release is the DB suposed to have? -> 10.2.0.2.0 - 64bit Prod
4.I see, you are calling an sqlplus from a 10.2 ORACLE_HOME.
Is that the correct HOME the DB is running with ? -> Yes
5.Can you start the DB with
brconnect -c -u / -f dbstart -> NO
Error is:
:devadm 51> brconnect -c -u / -f dbstart
BR0801I BRCONNECT 7.00 (40)
oracleDEV: error while loading shared libraries: libskgxp10.so: cannot open shared object file: No such file or directory
BR0278E Command output of '/oracle/DEV/102_64/bin/sqlplus /nolog':
/oracle/DEV/102_64/bin/sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory
BR0280I BRCONNECT time stamp: 2011-05-05 15.01.17
BR0279E Return code from '/oracle/DEV/102_64/bin/sqlplus /nolog': 127
BR0302E SQLPLUS call for database instance DEV failed
BR0303E Determination of Oracle version failed
BR0280I BRCONNECT time stamp: 2011-05-05 15.01.17
BR0804I BRCONNECT terminated with errors
(Different machine but same situation)
6.As already requested, what is the output of:
6.1.ldd sqlplus
:devadm 55> ldd sqlplus
ldd: ./sqlplus: No such file or directory
in addition:
6.2. env | grep -i ora
devadm 56> env | grep -i ora
PATH=/oracle/DEV/102_64/bin:/opt/IBMJava2-amd64-142/bin:.:/home/devadm:/usr/sap/DEV/SYS/exe/run:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/devadm/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/bin/X11:/usr/lib/mit/bin:/usr/lib/mit/sbin
LD_LIBRARY_PATH=/usr/sap/DEV/SYS/exe/run:/oracle/client/10x_64/instantclient
dbms_type=ORA
dbs_ora_tnsname=DEV
dbs_ora_schema=SAPSR3
ORACLE_SID=DEV
ORACLE_BASE=/oracle
TNS_ADMIN=/usr/sap/DEV/SYS/profile/oracle
ORACLE_HOME=/oracle/DEV/102_64
SAPDATA_HOME=/oracle/DEV
6.3 env | grep -i nls
:devadm 57> env | grep -i nls
XNLSPATH=/usr/X11R6/lib/X11/nls
NLS_LANG=AMERICAN_AMERICA.UTF8
6.4 env | grep -i lib
devadm 58> env | grep -i lib
PATH=/oracle/DEV/102_64/bin:/opt/IBMJava2-amd64-142/bin:.:/home/devadm:/usr/sap/DEV/SYS/exe/run:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/devadm/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/bin/X11:/usr/lib/mit/bin:/usr/lib/mit/sbin
XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
XNLSPATH=/usr/X11R6/lib/X11/nls
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/opt/kde3/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/share/pkgconfig
GTK_PATH=/usr/local/lib/gtk-2.0:/opt/gnome/lib/gtk-2.0:/usr/lib/gtk-2.0
GTK_PATH64=/usr/local/lib64/gtk-2.0:/opt/gnome/lib64/gtk-2.0:/usr/lib64/gtk-2.0
DIR_LIBRARY=/usr/sap/DEV/SYS/exe/run
LD_LIBRARY_PATH=/usr/sap/DEV/SYS/exe/run:/oracle/client/10x_64/instantclient
Any ideas???
Br,
Kristjan T. -
Re-starting Express Service on Unix
I have installed Express Server 6.3.1 on Unix and installation was successful. I changed some parameters using Instance Manager, after which I asked to stop and re-start Express service. I stopped the service, but I am not able to re-start it.
Thanks,
Kiran<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by kiran sane ([email protected]):
Service was up after Installation was successful. I could connect to Express Server using Administrator. ExpSrv631, xsdaemon, xsauthn, xsauthz and xsagent log processes were up. Then I added a path to ServerDbPath parameter thru Instance Manager. So it popped up a messages saying stop instance and re-start. Now it is not allowing to start service from Instance Manager. It is going to RED signal. If I try to start ExpSrv631 by executing express.sh, is starts 4 other processes except ExpSrv631. And it is not allowing to connect to Express Server from Administrator. How do you start ExpSrv631? All process are to be killed before that??
Eventlog does not mention any error...
Thanks, <HR></BLOCKQUOTE>
Kiran, try these steps:
1. Stop Express from Unix using:
express stop.
If it fails it may reply the process id that failed to stop (it may take a while to reply, tho). Kill it using:
kill -9 pid
where pid is the process id.
2. Make sure there is no other Express process up before restarting Express. Use:
ps -ef | grep xs
3. Kill the Express related processes listed
after issuing this command using:
kill -9 pid.
4. Restart Express from Unix:
express start
It helps to set EIM to start the Service Manually when testing service startup.
Hope this helps -
Terminal/Unix:Gentle quit
I know about the "killall" command, but I would like to know the command to quit more gently. For example if I force quit the finder with killall or "Force Quit" in Activity Monitor, I lose all currently open windows when the finder restarts. If I hit "Quit Process" in Activity Monitor, the finder quits but all currently open windows come back when the finder restarts. I would like to know the terminal command equivalent to this.
-Scott
PS Is there a more appropriate space for unix questions like this?Hello!
Perhaps this can help you. Although I don't really know what you mean by quitting gently.
First, find the PID of Finder.app:
$ ps -A | grep Finder <enter>
There should only be 2 lines, the first is the one you want, the second is the last command to run. The number on the far left is the process ID number.
Then kill it:
$kill -6 <PID NUMBER> <enter> (for me, it was 129, so it was kill -6 129)
These are the various flags for the kill command:
1 HUP (hang up)
2 INT (interrupt)
3 QUIT (quit)
6 ABRT (abort)
9 KILL (non-catchable, non-ignorable kill)
14 ALRM (alarm clock)
15 TERM (software termination signal)
$ kill -9 <PID NUMBER> (if all else fails)
Maybe you are looking for
-
Error while trying to apply SP20 to Enterprise Portal 6.0
I am trying to upgrade my Enterprise Portal from SP13 to SP20, I am getting the following error message on one of the last steps. Start updating EAR file... start-up mode is lazy EAR file updated successfully for 3420ms. Start updating... EAR file up
-
How do I get the contacts number to show next to their name please?
It's my first time having a Blackberry. I have the Curve 8520. I've been trying to work this out for 3 days and it's driving me nuts! What I'm trying to do is to send a text message to my contacts, informing them of my new number. I know I can o
-
Why is the rubber part on the bottom of my computer separating from the computer? It looks like a screw is missing? Is this typical? I bought it last March.
-
Foreign trade data incomplete for item 10 - The item is not relevent
Dear Guru's For one material we dont want foreign trade data, item catergory is TAW, wat are things need to remove from incomepletion procedure for this item. Thanks Ramki
-
Goodevening...First thing sorry my english but I am Italian. I can't open a book with ADOBE DIGITAL EDITION because it is protect by DRM but my pc and my e-book reader has already been authorized the last year and I have already read other books corr