Can't connect to EM after server restart

Hope somebody can help me with this problem.
I have a 10g RAC installation and after a restart of one of the DB_servers i wasn't able to reach the EM console. I'm running on Linux OS.
This is what i have done:
- emctl start dbconsole (its started without problems)
I have checked the portlist.ini file to ensure that im using correct port. It says:
E.M http port : 1158 - E.M agent port :3938
I use Mozilla with url: http://servername:1158/em/console/ with no luck.
It doesnt understand the url and it routed to googel search.
This actually worked before my restart.
Could someone give me some hints please.
Rob

This is what i found in the emoms.trc
Is this saying you somethin ?
java.sql.SQLException: ORA-01089: immediate shutdown in progress - no operations are permitted
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:330)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:287)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:742)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:214)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:953)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1260)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3290)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3334)
at oracle.sysman.util.jdbc.ConnectionWrapper._applySessionParams(ConnectionWrapper.java:2971)
at oracle.sysman.util.jdbc.ConnectionWrapper.<init>(ConnectionWrapper.java:181)
at oracle.sysman.emSDK.svc.conn.FGAConnection.<init>(FGAConnection.java:115)
at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:192)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getSystemConnection(ConnectionService.java:683)
at oracle.sysman.emdrep.notification.NotificationMgr.getConnection(NotificationMgr.java:252)
at oracle.sysman.emdrep.notification.NotificationMgr.resetConnection(NotificationMgr.java:298)
at oracle.sysman.emdrep.notification.NotificationMgr.run(NotificationMgr.java:1190)
2006-09-11 15:28:52,360 [NotificationMgrThread] ERROR jdbc.ConnectionWrapper _applySessionParams.2980 - SQLException message: ORA-01089: immediate shutdown in progress - no operations are permitted
Rob

Similar Messages

  • Can't connect to X11 window server using ':0.0' as the value of the DISPLAY

    i try to use jfreechart to create a piechart on a aix os with jdk1.3.1 and the aix system does not have a xwindow installed
    and the found the following error
    java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:77)
    at java.lang.Class.forName1(Native Method)
    at java.lang.Class.forName(Class.java(Compiled Code))
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:72)
    at java.awt.Font.initializeFont(Font.java:285)
    at java.awt.Font.<init>(Font.java:319)
    at org.jfree.chart.plot.PiePlot.<clinit>(PiePlot.java:230)
    i got the tip of passing -Djava.awt.headless=true to vm to disable system graphic calls but after restart weblogic i still get the same error
    i am wondering if this case has something to do with jdk 1.3.1, and perhaps newer versions of jdk can take the parameter and operate correctly
    is that right?

    is headless option supported in jdk1.3.1?No,
    It was added in JDK 1.4:
    http://java.sun.com/j2se/1.4.2/docs/guide/awt/AWTChanges.html#headless
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4281163
    Kaj

  • ./mysqlshow: Can't connect to local MySQL server through socket '/tmp/mysql

    hi all ,I install mysql on Solaris 10 at first it work fine , but after I restart my PC and go back again I got error on
    ./mysqlshow: Can't connect to local MySQL server through socket '/tmp/mysql
    I google , but still not sure how to deal with it
    Thank you

    I've just done a clean install of OSX Server and added the latest MYSQL packaged installer. Afterwards I found the lock file in /private/tmp/mysql.lock
    The easiest way to solve this problem is to create a symbolic link so that the lock file appears to be in right place.
    e.g.
    cd /var
    sudo mkdir mysql <== this assumes the directory is missing
    cd mysql
    sudo ln -s /private/tmp/mysql.sock mysql.sock
    After this msql commands should work fine, and you've not fiddled with the security settings on users/groups.
    HTH
    Christian

  • Can't connect to local MySQL server through socket '/var/mysql/mysql.sock'

    I'm using the pre-installed versions of php and mysql under Mac OS X Server 10.4.4 running on a G4 and am unable to get anything involving mysql to work.
    I ssh to the server and enter various commands in Terminal:
    on typing "mysql" I get
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)
    and on typing "mysqladmin version" I get
    mysqladmin: connect to server at 'localhost' failed
    error: 'Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)'
    Check that mysqld is running and that the socket: '/var/mysql/mysql.sock' exists!
    On typing "sudo mysqld_safe" I get
    Starting mysqld daemon with databases from /var/mysql
    STOPPING server from pid file /var/mysql/MyServer.local.pid
    070722 16:06:05 mysqld ended
    /var/mysql/MyServer.local.err contains
    070722 16:06:04 mysqld started
    070722 16:06:04 [Warning] Setting lowercase_tablenames=2 because file system for /var/mysql/ is case insensitive
    070722 16:06:04 InnoDB: Database was not shut down normally!
    InnoDB: Starting crash recovery.
    InnoDB: Reading tablespace information from the .ibd files...
    InnoDB: Restoring possible half-written data pages from the doublewrite
    InnoDB: buffer...
    070722 16:06:05 InnoDB: Starting log scan based on checkpoint at
    InnoDB: log sequence number 0 43634.
    /var/mysql has permissions 775.
    The line
    mysql.default_socket = /var/mysql/mysql.sock
    is in /etc/php.ini
    whereis mysqladmin ->
    /usr/bin/mysqladmin
    whereis mysql ->
    /usr/bin/mysql
    ls /var/mysql ->
    MyServer.local.err
    ib_logfile1
    mysql
    ib_logfile0
    ibdata1
    test
    Can't find my.cnf or my.ini anywhere
    Can't find mysql.sock anywhere
    I'm trying to get a bug database running (mantis) under Mac OS X Server 10.4.4 that I can access from local clients.
    I'm trying to follow directions at http://www.mantisbugtracker.com/manual/manual.installation.php
    without knowing anything about mysql or php and I'm stuck on step 3:
    "Next we will create the necessary database tables and a basic configuration
    file."
    I get a message saying
    "Does administrative user have access to the database? ( Lost connection to MySQL server during query )"
    I don't even know if following the mantis directions has resulted in the creation of a database or not. Where would it be?
    Thanks for any help.
    Intel iMac   Mac OS X (10.4.10)  

    I've just done a clean install of OSX Server and added the latest MYSQL packaged installer. Afterwards I found the lock file in /private/tmp/mysql.lock
    The easiest way to solve this problem is to create a symbolic link so that the lock file appears to be in right place.
    e.g.
    cd /var
    sudo mkdir mysql <== this assumes the directory is missing
    cd mysql
    sudo ln -s /private/tmp/mysql.sock mysql.sock
    After this msql commands should work fine, and you've not fiddled with the security settings on users/groups.
    HTH
    Christian

  • "Can't connect to local MySQL server through socket '/tmp/mysql.sock'"

    Data Services=3.1
    Repository=12.2.2.0000
    Red Hat Enterprise 5
    Designer,Job Server,Job Engine=12.2.2.3
    After an unscheduled server reboot with DS up and running when trying to start a job in either Data Services Management Console or DS Designer getting the following:
    "Can't connect to local MySQL server through socket '/tmp/mysql.sock'"
    The mysql.sock have never been in /tmp and on the production server it does not exist there and the production server is up and running correctly. If a link is created to mysql.sock(/home/user/boedge31/bobje/mysql) the job will start but return this message: 
    "Cannot retrieve <Version> from the repository. Additional database information: <SQL submitted to ODBC data source <localrepo> resulted in error <MySQL ODBC 3.51 Driver mysqld-5.0.46-enterprise No database selected>. The SQL submitted is <select VERSION, SECURITYKEY, GUID from AL_VERSION where NAME = 'Repository Version'"
    I checked and AL_VERSION and the Version field exist. 
    Before the shut down DS was working correctly and had no issues.  My best guess is a part of the repository was corrupted during the unscheduled shut down.  It seems like DS has "forgotten" some of the settings.  
    Any suggestions on a possible solution?

    The issue has been solved. 
    There was a bad path in $LD_LIBRARY_PATH.
    Removed the path and DS started working again.

  • Canceling timers after server restart

    hi,
    i create a couple of timers. while the application server is up i can cancel them by getting the TimerService object of the bean it's associated with, calling getTimers() and cancelling the Timer objects returned from it.
    if i restart the server (let's say it crashed), the timers created in the previous session are back to run - they are persistent by definition. but now i can't cancel them anymore: same getTimers() returns an empty Collection. i think this happens because the old timers from the previous session were not rebound to the new ejbcontext, or something like this.
    my question is: how can i cancel timers, that were re-invoked after server restart.
    thank you.
    Message was edited by:
    cyclid

    Below are my tests that show canceling of timers working as expected:
    Session bean methods:
    public void createTimers()
    {       System.out.println("### CREATE - a single-action timer that expires in 4s");
    ctx.getTimerService().createTimer(4000, "single-action timer that expires in 4s");
    System.out.println("### CREATE - an interval timer that expires in every 2s");
    ctx.getTimerService().createTimer(2000, 2000, "interval timer that expires in every 2s");
    public void cancelAllTimers() {   
         System.out.println("### CANCEL - timers:");     
         for (java.util.Iterator iter = ctx.getTimerService().getTimers().iterator(); iter.hasNext();) {
              Timer timer = (Timer) iter.next();
              System.out.println(" canceling ... " + timer.getInfo());
              timer.cancel();
    public void logCurrentTime() {
         System.out.println("### CURRENT TIME - " + java.util.Calendar.getInstance().getTime());
    public void ejbTimeout(Timer timer)
    {     System.out.println("### EJB TIMEOUT - " + timer.getInfo());       
    Java Client test:
    ejb.cancelAllTimers();
    Thread.sleep(4000);
    ejb.logCurrentTime();
    ejb.createTimers();
    Thread.sleep(8000);
    ejb.cancelAllTimers();
    ejb.logCurrentTime();
    Thread.sleep(8000);
    ejb.logCurrentTime();
    Logs:
    1. Shutdown servers while there is an interval timer
    The log shows the interval timer came back and then was cancel after server restart
    07/02/06 13:46:23 ### CANCEL - timers:
    07/02/06 13:46:27 ### CURRENT TIME - Tue Feb 06 13:46:27 EST 2007
    07/02/06 13:46:27 ### CREATE - a single-action timer that expires in 4s
    07/02/06 13:46:27 ### CREATE - an interval timer that expires in every 2s
    07/02/06 13:46:29 ### EJB TIMEOUT - interval timer that expires in every 2s
    07/02/06 13:46:31 ### EJB TIMEOUT - single-action timer that expires in 4s
    07/02/06 13:46:31 ### EJB TIMEOUT - interval timer that expires in every 2s
    07/02/06 13:46:32 Shutting down OC4J...
    C:\oc4j\10131_061009\j2ee\home>java -jar oc4j.jar
    07/02/06 13:48:12 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    07/02/06 13:48:13 ### EJB TIMEOUT - interval timer that expires in every 2s
    07/02/06 13:48:15 ### EJB TIMEOUT - interval timer that expires in every 2s
    07/02/06 13:48:17 ### EJB TIMEOUT - interval timer that expires in every 2s
    07/02/06 13:48:18 ### CANCEL - timers:
    07/02/06 13:48:18 canceling ... interval timer that expires in every 2s
    07/02/06 13:48:22 ### CURRENT TIME - Tue Feb 06 13:48:22 EST 2007
    2. Cancel timers right after they were created
    07/02/06 13:50:11 ### CANCEL - timers:
    07/02/06 13:50:15 ### CURRENT TIME - Tue Feb 06 13:50:15 EST 2007
    07/02/06 13:50:15 ### CREATE - a single-action timer that expires in 4s
    07/02/06 13:50:15 ### CREATE - an interval timer that expires in every 2s
    07/02/06 13:50:17 ### EJB TIMEOUT - interval timer that expires in every 2s
    07/02/06 13:50:19 ### EJB TIMEOUT - single-action timer that expires in 4s
    07/02/06 13:50:19 ### EJB TIMEOUT - interval timer that expires in every 2s
    07/02/06 13:50:21 ### EJB TIMEOUT - interval timer that expires in every 2s
    07/02/06 13:50:23 ### EJB TIMEOUT - interval timer that expires in every 2s
    07/02/06 13:50:23 ### CANCEL - timers:
    07/02/06 13:50:23 canceling ... interval timer that expires in every 2s
    07/02/06 13:50:23 ### CURRENT TIME - Tue Feb 06 13:50:23 EST 2007
    07/02/06 13:50:31 ### CURRENT TIME - Tue Feb 06 13:50:31 EST 2007

  • Java.lang.InternalError: Can't connect to X11 window server using ':0.0'

    Hi all,
    I am getting the following error while running the JSP program.
    Actually we are running our applications in REMOTE LINUX SERVER (Redhat 7.0).
    Installed Softwares : jdk1.3.1_02 & Resin-2.1.0
    500 Servlet Exception
    java.lang.InternalError: Can't connect to X11 window server using ':0.0'
    as the value of the DISPLAY variable.
         at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
         at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:59)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:120)
         at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
         at java.awt.Font.initializeFont(Font.java:264)
         at java.awt.Font.<init>(Font.java:298)
         at CreateImage.create(CreateImage.java:22)
         at send2trinity_jsp._jspService(/sms/send2trinity.jsp:136)
         at com.caucho.jsp.JavaPage.service(JavaPage.java:74)
         at com.caucho.jsp.Page.subservice(Page.java:485)
         at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:181)
         at com.caucho.server.http.Invocation.service(Invocation.java:291)
         at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:132)
         at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:341)
         at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:271)
         at com.caucho.server.TcpConnection.run(TcpConnection.java:136)
         at java.lang.Thread.run(Thread.java:484)
    After getting this error i have logged in from local and set the DISPLAY varible as ':0.0'.
    But there is no improvemnt and getting the error like,
    java.lang.NoClassDefFoundError
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:120)
         at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
         at java.awt.Font.initializeFont(Font.java:264)
         at java.awt.Font.<init>(Font.java:298)
         at CreateImage.create(CreateImage.java:22)
         at send2trinity_jsp._jspService(/sms/send2trinity.jsp:136)
         at com.caucho.jsp.JavaPage.service(JavaPage.java:74)
         at com.caucho.jsp.Page.subservice(Page.java:485)
         at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:181)
         at com.caucho.server.http.Invocation.service(Invocation.java:291)
         at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:132)
         at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:341)
         at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:271)
         at com.caucho.server.TcpConnection.run(TcpConnection.java:136)
         at java.lang.Thread.run(Thread.java:484)
    How should i solve this problem? Have anybody faced the same problem ?
    Please help.
    Thanks in advance.
    Bye.

    Hi all,
    Thanks a lot for ur reply. It worked me atlast.I have installed JDK1.4 and try to run my program.But it was creating some junk value instaed of creating picture. Actullay my programme needs some third party fonts , it was not loading after i have upgraded. But what i did is , copied the fonts file in to <Java_home>/jre/lib/fonts/ directory. Now it's working fine.
    I have done another thing .I am using resin-2.1.0 to serve my JSp pages . So i have added $JAVA_ARGS="-Djava.awt.headless=true"; in wrapper.pl . If u will not add this line then iot will not work for you.
    Thank u once again.
    Bye.

  • Can't connect to Game Center server.

    Can't connect to Game Center server.

    Hello, same issue.
    Alternating error messages:
    a) GK Error domain error 3
    b) Can't connect to Game Center server
    The test solutions:
    a) Multiple restart and hard restart iPhone
    b) Test WiFi and 3G connection
    c) Reset password
    Error still persists about 3 hours. Maybe it's a coincidence, but the error began to show me the 8.1 update on iPhone 5.

  • Can't connect to PPTP-VPN server...

    When attempting to connect to a DD-WRT PPTP VPN server I kept receiving the general "Can't connect to PPTP-VPN server." message. All of the settings were exactly correct and tested on a Windows laptop. I began writing this because I didn't have any other ideas but half way through it (out of the blue) decided to attempt connecting. It worked!
    The only thing I did different was delete the /Library/Preferences/SystemConfiguration contents and reboot.
    Let's hope it continues to work. Posting this in case anyone else has the same error as I.

    A follow up on the VPN issue: it would only work if my laptop's wireless was tethered off of my Android phone - any other connection would connect to the VPN and get an IP but I couldn't ping anything. Also, after rebooting, I get the exact same damning error message now and any combination of rebooting and removing/renaming (don't ever delete system files!) /Library/Preferences/SystemConfiguration/* hasn't fixed the issue.
    I very much hope Apple releases an update soon for this - it's a serious inconvenience! It must be a network stack issue too because I've tried many 3rd party applications that barf as well.

  • Retaining listening channel password after server restart

    Hi,
    I have configured b2b email listening channel & everytime i restart the soa server, the password is blank.
    Is there a way to retain/store the password after server restart?
    Thanks
    Ganesh

    Hi Anuj,
    I faced the problem with PS2 and now with PS3 also.
    For me in listening channel, it does not store the password & during server startup, it tries to connect to email server & fails with invalid password or some error like that.
    I am going to raise a SR today & will see how that goes.
    Thanks
    Ganesh

  • "Safari can't connect to the proxy server"

    Hello again...
    My 10.6 Server is up and running! thanks for all the help...however...
    When I try to access the internet via Safari from the actual server, I get the "Safari can't connect to the proxy server" message" but all the client machines can successfully access the internet....
    I'll start to read up on proxies but if someone can offer a suggestion in the meantime, that would be terrific. I know it's something simple I am missing...
    thanks!

    No snarkiness taken Mr. Hoffman...As a full-time high school teacher, I've been setting up our small school server on my own time for the past three months...with the help of the server docs, manuals, and the great help found within this forum, we are finally to a point where we can begin using the server.
    What I'm just not understanding is WHAT proxy do I use? I see all kinds of proxy servers out there but is there a specific one I should be using?
    Again, forgive me for my ignorance on this matter...I just don't understand why after a year of not using a proxy server, all of a sudden we need to have one? And this issue came about when Safari was unable to "connect to the proxy server"...
    MrHoffman wrote:
    1) So normally, there ISN'T a proxy being used?
    Proxies are used in school and corporate environments, and as a mechanism to >implement "network nanny" or parental controls, or when information leakage >involving sensitive or classified data, or personal or credit card data, or >other sensitive data is involved.
    When IT folks (or parents) are looking to monitor or control or track network access.
    up to this point I don't believe we were using a proxy server?
    2) A proxy "regulates" what traffic is passed between machines?
    A proxy can enforce access, or can cache access, yes.
    So no proxy in effect means traffic goes unchecked between computers...?
    Correct.
    do we HAVE to use a proxy server with the server?
    3) Where does a proxy take effect? At the Router/Gateway? The Server? or >individual machines?
    A functional proxy requires a proxy server, and settings at the firewall, and >on the client box.
    The proxy setting can be established via WGM, or locally via the system >preferences, or (and the following are less common) via malware or such, or due >to a bug. These settings are usually altered with WGM and system preferences, >in the vast majority of cases.
    Enabling a proxy server on the snow leopard server should help us out...but again, which address do I use? (in the server doc you referenced, it had "proxyserver.apple.com:8080")but I think that was just the format to use...
    Without intending any snark, read the manuals? Servers are big and complex >and expect an understanding of much more than the client boxes do; that's the >inherent difference between "server computing" and "client computing", after >all.
    I'm definitely appreciating how much involvement and understanding it takes to get one of these set up...and over the past three months, we've come a long way...
    again, thanks for the guidance and help!

  • Error: Can't connect to X11 window server using '172.16.1.254:0.0'

    Dear all,
    i am installing sap4.7 in hp-ux, after installing CI, i start DI, in 17 th step it asking to install oracle by executing RUNINSTALLER.....just i open new termenal (xshell) with orasid user i executed RUNINSTALLER but after some time it will show like this---- 172.16.1.254 is my local machine 80.0.0.151 is server
    /oracle/stage/920_64/Disk1/SAP/SVRCUSTOM.RSP --> /tmp/.orainst_rsp.8848: Done
    Initializing Java Virtual Machine from ../../stage/Components/oracle.swd.jre/1.3.1.0.0a/1/DataFiles/Expanded/bin/java. Please wait...
    $ Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '172.16.1.254:0.0' as the value of the DISPLAY variable.
         at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
         at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:58)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:53)
         at java.awt.Window.<init>(Window.java:183)
         at java.awt.Frame.<init>(Frame.java:310)
         at java.awt.Frame.<init>(Frame.java:289)
         at oracle.ewt.popup.PopupFrame.<init>(Unknown Source)
         at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)
         at oracle.sysman.oii.oiif.oiifm.OiifmMainFrame.<init>(OiifmMainFrame.java:296)
         at oracle.sysman.oii.oiic.OiicInstaller.<init>(OiicInstaller.java:231)
         at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:599)
    How to resolve this issue, what is the problem.
    Regards,
    satish-k

    If you logon to the console with a user, only that user is permitted to "send" the display to the screen. If you do an "su - ora<sid>" that user must be enable to do so too.
    - logon as root
    - open a terminal windows (a new one)
    - execute "xhost +"
    - use another terminal window
    - execute "su - ora<sid>"
    - execute "setenv DISPLAY <ip>:<port>"
    - then execute ./RUNINSTALLER in the SAP subdirectory of Disk1 (NOT runInstaller)
    Markus

  • MySQL problem -- ERROR 2002 Can't connect to local MySQL server

    Not Sure if this would be a right forum for my problem...
    I'm installing mySQL on my iBook, and thought that I have configured it. But then, after followring some instuctions from Adobe and Marc Liyanage sites, I have a problem to connect. This is what I've done in "TERMINAL"
    ~username$> cd /usr/local/mysql
    mysql ~username$> sudo chown -R mysql data/
    (asking for admin password)
    mysql ~username$> sudo echo
    mysql ~username$> sudo ./bin/mysqld_safe &
    username-ibook-g4:/usr/local/mysql username$ Starting mysqld daemon with databases from /usr/local/mysql/data
    STOPPING server from pid file /usr/local/mysql/data/roshaili-osmans-ibook-g4.local.pid
    060611 16:31:30 mysqld ended
    mysql ~username> /usr/local/mysql/bin/mysql test
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
    [1]+ Done sudo ./bin/mysqld_safe
    mysql ~username>
    When I typed ::
    /usr/local/mysql/bin/mysqladmin -u root
    (see that there's no password)
    Then it displays:
    /usr/local/mysql/bin/mysqladmin Ver 8.41 Distrib 5.0.22, for apple-darwin8.6.0 on powerpc
    Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
    This software comes with ABSOLUTELY NO WARRANTY. This is free software,
    and you are welcome to modify and redistribute it under the GPL license
    Administration program for the mysqld daemon.
    Usage: /usr/local/mysql/bin/mysqladmin [OPTIONS] command command....
    -c, --count=# Number of iterations to make. This works with -i
    (--sleep) only.
    ...... bla bla bla.....
    Variables (--variable-name=value)
    and boolean options {FALSE|TRUE} Value (after reading options)
    count 0
    force FALSE
    compress FALSE
    character-sets-dir (No default value)
    default-character-set (No default value)
    host (No default value)
    port 0
    .........bla bla....
    ping Check if mysqld is alive
    processlist Show list of active threads in server
    reload Reload grant tables
    refresh Flush all tables and close and open logfiles
    shutdown Take server down
    status Gives a short status message from the server
    start-slave Start slave
    stop-slave Stop slave
    variables Prints variables available
    version Get version info from server
    roshaili-osmans-ibook-g4:~ roshailiosman$ >
    -----------------finish-----------------
    Does that mean that I'm connected to mySQL?
    Does anybody how to connect to MYSQL from the terminal? Thanks.
    iMac Mac OS X (10.4.6)
    iMac   Mac OS X (10.4.6)  

    Your biggest 'issue' right now is that your mysqld process is stopping on you -- making a connection impossible.
    Why it's bombing might be in a log .. try in mysql/data/usr.local.err .. and fix why itsbombing.
    To connect to it it'll be : mysql -u root -ppassword -D database

  • Can't connect to X11 Windows Server - Error

    Dear All,
    Greetings!!
    We had successfully installed ECC6.0 EHP7 with HANA Database on SUSE 11 SP3. Now we are in the process of upgrading the components in the ECC via SUM. When we try to start the upgrade via SUM using <SID>ADM userid in the Linux Machine, we are getting an JAVA Error like "Can't connect to X11 Windows Server". Please find the complete error log in the attached screenshot (SUM.pmg).
    But when we try the same with the root userid, we can able to see the SUM GUI Opening Screen.
    Please help us with suggestions or solutions at the earliest.
    Regards,
    Ela

    Hello Ella,
    Please follow the SUM upgrade guide for starting the SUM tool.
    Start the SL controller on primary application server with command :
    ./STARTUP
    After this, you can access the GUI from the browser :
    http://<host>:4239/
    Problem you described, seems to be related to variables.
    Please set the variable DISPLAY for the SIDADM user.
    Thanks.
    Regards,
    Gaurav

  • How can I connect to a windows server from a mac book pro

    How can I connect to a windows server from a mac book pre?

    I have a Dell Power Edge T110 ii in the office that has files and software I need to access when away from the office, when I am on the road I use a mac book pro and an iPad.
    I am sorry if I am being a bit vague but this is all new to me, I have tried 3 IT guys but they can not find a way.
    Any help is greatly appeciated.

Maybe you are looking for

  • Concatenate fields with doc number

    HI In cv01n tcode in second tab ADDITIONAL data we have 3 inputs -category,sub category and sub type . now i need to concatenate these three when document no is created . doc number generation i created but how to concatenate these 3 filds and displa

  • Ipad 2 iOS 6 Update App Question

    Hi, i just downloaded the new iOS 6 for my ipad 2 and i have a question...why doesn't it have youtube anymore as an app that you can't get rid of? i downloaded the youtube app, that's new, but it's only for ipod. how come the youtube app is still on

  • Now on LINUX too: LabHSM, the toolkit for agile and complex event-driven development

    We are happy to announce that, thanks to the efforts of Mr. German Schumacher, LabHSM is now available to the Linux users too. If you are a LabVIEW for Linux user, please feel free to download LabHSM from the respective page of our site: http://labhs

  • Moving iTunes playlists, ratings and play counts to a new computer

    Hi everyone, I got a new MacBook and had set up and used iTunes on it for the last 6 months. I am just now getting around to moving my old (40GB) iTunes library over from my old computer. I figured out how to move the music files and I successfully i

  • GenerateBWReportUrl and the PCD

    Hello all, I'm creating custom iViews with Java. Right now I'm displaying BW Queries in iViews, assigning the URL of a given query to be displayed in an IsolatedHtmlContainer. This is all simple enough. What I had been doing before was displaying the