How to contact remot mysql server
hello everyone
I am programming a java application,needing to contact remote mysql server, how should i do?
for example:
the mysql server ip is:192.168.0.1
user:chengshwu
password:123456
what driver should i select?how should i writing the classForName() and DriverManager.getConnection
thanks for you help
what driver should i select?mysql driver offcourse from here
http://servlet.java.sun.com/products/jdbc/drivers
how should i writing the
classForName() and DriverManager.getConnectionhere is a good tutorial which explains.
http://java.sun.com/docs/books/tutorial/jdbc/basics/connecting.html
thanks for you helpyou welcome
Similar Messages
-
How many versions of MySQL Server Standard edition have there been?
I need to know how many versions of MySQL Server Standard edition there has been?
I need to know how many versions of MySQL Server Standard edition there has been?
Do you really mean MySQL? Or maybe MS SQL Server? If it's the last, then have a look at:
http://sqlserverbuilds.blogspot.de/
Olaf Helper
[ Blog] [ Xing] [ MVP] -
Php connection to remote mysql server
Hi,
I've stragne problem using php 4.3.10 with Sun One 6.1 on Solaris 9. The connection to a remote mysql server fail. I've correct grants in both servers and the php.ini is setting to permit no limit connection to databases. the code:
$host='my-remote-server.com';
$link1=mysql_connect($host,"bla","blabla");
if$db1 = mysql_select_db("LOGIN",$link1);
$link = mysql_connect("localhost","bla","blabla");
$db = mysql_select_db("LOGIN",$link);
The remote connection fail but the local one works. When i work with another server Sun One 6 in Solaris 8 , everthing work wonderfull with the same deffinitions, it can connect the remote databases but the others machines can't connect the solaris 8 machine. i think there is something wrong in the solaris 9 or/and sun one 6.1 deffinition it avoid remote connection. The problem i don't know what may be wrong, which setting may affect tcp connections from web application in solaris 9/sun one 6.1 plataform.we found the problem finally and may be useful for someone. Using the solaris 9 network snifer (snoop) we found that the default php timeout connection for mysql doesn't work ,this value is 60 in the php.ini . After 4 or 5 miliseconds php application closes the connection when it runs from the webserver , running from the shell it doesn't happen.The answer from the other server arrived after 20 or 30 milisecods then the connection to the databases fails. The solution is to put unlimited tiemout , mysql_connection_timeout=-1 then it success to connect the remote mysql server correctly. May be problem without timeout connection in case the other server doesn't answer, then application may wait forever or untill the system or webserver take out the application. I didn't check this posibilty, mainly i'm interesting the applications can work and write in the remote databases. If this definition cause problem as application waiting connection we always can try with another value greater than 60.
-
Hi,
Is it possible to access a mysql server which is in a remote computer other than the computer where the java programming is running. Plz tell me how to do that.
Thanks a lot,
Chamal.Yes - use the MySQL type IV JDBC driver to make a connection to any database, including remote ones. It's free to download. Do a Google search on MySQL JDBC.
MOD -
Connecting to remote mysql server
Hi all,
Been having problems connecting to a remote mysql database. Everytime i run the servlet I get the following :
Communication link failure: java.io.EOFException, underlying cause: null
I've been google'ing for a while and it seems the usual respone is that the connection has timed out, but this happens everytime I try to connect so I don't really see how that applies to this particular problem. Here's part of he code I'm using.
Class.forName( "org.gjt.mm.mysql.Driver").newInstance();
Connection db = DriverManager.getConnection("jdbc:mysql://hostname/databasename", "username", "password");I'm using Tomcat 4.1.30 and mysql-connector-java-3.0.15-ga-bin.jar ( and I've also tried with mysql-connector-java-2.0.14-bin.jar). Any advice would be greatly appreciated.Here's the complete error message including the stack trace. Just to specify a little more:
- SQL server is alive and running
- Specifying IP address instead of name results in same error (Same when adding port 3306)
- Running the servlet using tomcat 4.1.30 (http://localhost:8080/servlet/dbtest) with mysql-connector-java-3.0.15-ga-bin.jar
- Not sure if there are any firewalls in between (There probably is one, but not on this end.) I'll try to get in touch with the server admin this week.
java.sql.SQLException: Communication link failure: java.io.EOFException, underly
ing cause: null
** BEGIN NESTED EXCEPTION **
java.io.EOFException
STACKTRACE:
java.io.EOFException
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1394)
at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:1413)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:625)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1782)
at com.mysql.jdbc.Connection.<init>(Connection.java:450)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:411)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at dbtest.service(dbtest.java:37)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
2422)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
rValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:163)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:19
9)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:828)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:700)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:584)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:683)
at java.lang.Thread.run(Thread.java:534)
** END NESTED EXCEPTION **
at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:1446)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:625)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1782)
at com.mysql.jdbc.Connection.<init>(Connection.java:450)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:411)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at dbtest.service(dbtest.java:37)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
2422)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
rValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:163)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:19
9)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:828)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:700)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:584)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:683)
at java.lang.Thread.run(Thread.java:534) -
How to contact the software server
Hi. I have to Reset my iPod Shuffle, but when I try to do it, ITunes tells me it can't contact the software server, that I have to check if my LAN settings are correct. I access Internet by a Proxy, but since I can post this message, I think I have a connection. How can I check mi LAN settings? Can I restore my iPod without a connection, downloading something?
Thanx!!*Thank you!!! It was the problem.*
You're welcome, I'm glad that helped.
*Why are you so efficient, do you get a pay for that?*
I've never felt particularly efficient and no, apart from the moderators the people who help out on the boards are just ordinary users like yourself. -
VDI 3.1 Big Endian vs Little Endian: VDI Cluster to Remote mysql server
Hello,
We are implementing a Dual Data center VDI environment and with that, will be using VCS to Cluster a remote Mysql instance. My question, if the VDI Cluster is on x86 (Little Endian), can the remote Mysql DB be on Sparc (Big Endian)?
Thanks,The endian matching is only a requirement for the management and data nodes of a MySQL cluster. If you are going to be using a remote MySQL DB, the VDI servers will be connecting to that remote MySQL DB as a client connection, and there is no requirement for clients to match the endian type.
http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-limitations-exclusive-to-cluster.html -
How to restart remote cache server
Hi,
I could run cache server on remote JVM, but fails to restart even though i have configured correctly the cache server configuration file.
Please help, thanks!Hi,
You have to add followings to your cluster configuration as below
<shutdown-listener>
<enabled system-property="tangosol.coherence.shutdownhook">true</enabled>
</shutdown-listener>
Hope this can help you. -
How to monitor MySQL Server installed in Windows Server using Nagios
You can do this via NSClient as Gary posted. The NSClient is a communications system that allows nagios to send commands to a target system over the nsclient protocol and they are executed on the remote system. You will still have to build some kind of vbscript or plugin to run on the target system to do the actual query to check on mysql.There are other options to. If you enable snmp on your target computer you can use a few nagios plugins to query the snmp agent on the target computer to see if a service is running. To do this via snmp you will need this plugin "check_snmp_process.pl" fromthis site.Your check command will look something like this:check_win_process:= check_snmp_process.pl -H $HOSTADDRESS$ -C "$USER6$" -n "$ARG1$" -w $ARG2$ -c $ARG3$The service definition will be like this:check_win_process!sqlservr!0!0This will check...
I installed Nagios Core in my Ubuntu workstation 10.04 for me to learn something new in my craft. I use this now to monitor our Windows Server 2008 with MySQL server installed as well as our Datalink Switch (DGS-1210-24). I searched on google on how to monitor a MYSQL server installed in Windows server using Nagios Core but i could not seem to find any. Could anybody who's expert in Nagios give me steps on how to do so. Thanks. All i found in google were steps in monitoring mysql installed in linux and nothing in windows server.
This topic first appeared in the Spiceworks Community -
i am writing an application that transfers data toa remote mysql server.
I want to implement a checking routine which willl check if the the remote server is working or not. If working, then only will the data be sent, else the user will be alerted.
How to write this code.
Neone got any ideas
Any help will be deeply appreciatedHow are you accessing the MySQL Server and what language?
Are you using JDBC???
If so, simply have a method to perform a JDBC Connection to the Server with valid authentication information. This will return the Connection object or throw exception. If the exception is SQL Exception, then it means that the Server is not available for JDBC calls. With this logic you can alert the Users.
Hope this helps.
Thanks and regards,
Pazhanikanthan. P -
Help needed please, Local - Remote mySQL transition
Hi all,
Ok here is my problem.
I have wamp installed on my local system and have created a database in mySQL. I use this connection in my Dreamweaver cs3 site.
I have just requested a mysql database from my hosting company and they have given me a sql address e.g sql34.hostdomain.net, a username and password.
My problem is I know how to connect to this through dreamweaver, but how do I transfer my local database to my remote mysql server?learner2site wrote:
My problem is I know how to connect to this through dreamweaver, but how do I transfer my local database to my remote mysql server?
You export it and then import it on the server. It's all in the phpMyAdmin start page... If you have no direct access to the admin UI, check for a respective PHP script that contains the necessary SQL queries.
Mylenium -
Applet connection to remote MySql - HELP
Hi:
I've got an applet that connects to a MySql database (4.1).
As long as I try to connect to the MySql server on the machine the applet is running on (my development computer), everything works great.
I'm using this jar as the MySql connector:
mysql-connector-java-5.0.3-bin.jar
I can connect to the remote MySql server (also 4.1) with MySql Administrator and also with .NET, no problem.
BUT - when I try to connect to the remote MySql server from the Applet I get an 'access denied' error.
I also tried it from the applet set up as a Java application with a main function. If I try to connect to the local MySql server, no problem. If I try to connect to the remote machine I get a 'connection timeout' error.
I should add that when I connect to the remote machine from MySql Administrator, the connection is almost instantaneous and with no problem.
Any help would be greatly appreciated.Well, I've been over it and over it. I've read and tried everything I could find.
No matter what I do it won't connect.
The applet is signed, I don't need to learn how to do that.
The popup comes up and asks if I want to run it: I click YES
The connection works fine for the local database but not the remote one.
Again, I can connect to the remote one with MySql Admin just fine using the same parameters.
import java.*;
import java.sql.*;
import java.util.*;
import java.security.*;
public class DBaseConn extends java.applet.Applet {
private java.sql.Connection oCn = null;
private final String MySqlUrl = "jdbc:mysql://555.555.555.555:3306/mysql";
private final String MySqlserverName= "555.555.555.555";
private final String MySqlportNumber = "3306";
private final String MySqldatabaseName= "mysql";
private final String MySqluserName = "SomeUser";
private final String MySqlpassword = "SomePassword";
private final String selectMethod = "cursor";
public String sErr = "";
public void init() {
// TODO start asynchronous download of heavy resources
public java.sql.Connection OpenMySqlDBase() throws Exception
try
Class.forName("com.mysql.jdbc.Driver");
//oCn = DriverManager.getConnection(MySqlUrl, MySqluserName, MySqlpassword);
oCn = (Connection)AccessController.doPrivileged(new PrivilegedAction() {
public Object run()
try
return DriverManager.getConnection(MySqlUrl, MySqluserName, MySqlpassword);
catch(Exception exp)
sErr = exp.getMessage();
return null;
if(oCn!=null)
sErr = "MySQL Connection SUCCEEDED!!";
return oCn;
else
if(!sErr.equals(""))
sErr = "MySQL Connection FAILED with ERROR: " + sErr;
else
sErr = "MySQL Connection FAILED!";
return null;
catch(Exception exp)
sErr = "MySQL Connection FAILED With ERROR!:\r\n" + exp.getMessage();
return null;
}The error is:
Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: java.security.AccessControlException: access denied (java.net.SocketPermission 555.555.555.555:3306 connect,resolve)
STACKTRACE:
, , , -
Dreamweaver, ColdFusion and Remote MySql
I've read through the forum and I found a thread but no
answer, well it seems someone posted somthing about the jconnector
has to not be a certain version.
I cannot get Dreamweaver MX 2004 to connect to my remote
mysql server. I have tried both the jconnector V5 AND just went and
tried JConnector 3.1.17 from www.mysql.com. The ColdFusion
Administrator Panel does connect to the database. I ever tested to
see if it was just a "it looks like it connects, but it doesn't" by
mistyping the password. When I do that, it gives an error message.
So I know coldfusion is connecting (and it did so on version 5.x
too). Now I set up my dreamweaver site using the ColdFusion Server
option. All my remote FTP's and URLS work (altered files remotely).
But then I goto the Application Panel>Databases
tab>database>table it pops up a "Datasource Login Screen" and
I tried both the username I setup for this database (which
according to ColdFusion Administrator says it's OK) and the root
user (which ColdFusion Accepted as a proper connecting username).
Neither worked!
I did look at this thread and it goes really no where:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=189&threadid =1110110&highlight_key=y&keyword1=remote%20mysqlTry here:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=6ef0253
Get a prior version of the connector file.
Brendon
"MiniFireDragon" <[email protected]> wrote
in message
news:eo779p$452$[email protected]..
> I've read through the forum and I found a thread but no
answer, well it
> seems
> someone posted somthing about the jconnector has to not
be a certain
> version.
>
> I cannot get Dreamweaver MX 2004 to connect to my remote
mysql server. I
> have
> tried both the jconnector V5 AND just went and tried
JConnector 3.1.17
> from
> www.mysql.com. The ColdFusion Administrator Panel does
connect to the
> database. I ever tested to see if it was just a "it
looks like it
> connects,
> but it doesn't" by mistyping the password. When I do
that, it gives an
> error
> message. So I know coldfusion is connecting (and it did
so on version 5.x
> too). Now I set up my dreamweaver site using the
ColdFusion Server
> option.
> All my remote FTP's and URLS work (altered files
remotely). But then I
> goto
> the Application Panel>Databases
tab>database>table it pops up a
> "Datasource
> Login Screen" and I tried both the username I setup for
this database
> (which
> according to ColdFusion Administrator says it's OK) and
the root user
> (which
> ColdFusion Accepted as a proper connecting username).
Neither worked!
>
> I did look at this thread and it goes really no where:
>
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=18
>
9&threadid=1110110&highlight_key=y&keyword1=remote%20mysql
> -
How do i install mysql on my mac mini lion server?
How do i install mysql on my mac mini lion server?
I have this error log
May 27 07:06:35 server servermgrd[13454]: -[AccountsRequestHandler(AccountsSystemConfigurationObservation) registerForKeychainEventNotifications]: SecKeychainAddCallback() status: -25297
May 27 07:06:35 server servermgrd[13454]: servermgr_ipfilter:ipfw config:Notice:Flushed IPv4 rules
May 27 07:06:35 server servermgrd[13454]: servermgr_ipfilter:ipfw config:Notice:Flushed IPv6 rules
May 27 07:10:35 server servermgrd[13454]: No requests in 300 seconds, shutting down
May 27 07:20:29 server ScreensharingAgent[13999]: [CL_INVALID_DEVICE] : OpenCL Error : Failed to create context! Invalid device
May 27 07:26:03 server login[14203]: USER_PROCESS: 14203 ttys000
May 27 07:26:42 server SafariDAVClient[14233]: ServerNotifications: Setting delegate to APSD
May 27 07:26:43 server SafariDAVClient[14233]: Subscription request completed
May 27 07:27:58 server SafariDAVClient[14284]: ServerNotifications: Setting delegate to APSD
May 27 07:27:59 server SafariDAVClient[14284]: Subscription request completed
May 27 07:29:03 server login[14203]: DEAD_PROCESS: 14203 ttys000
May 27 07:29:09 server login[14331]: USER_PROCESS: 14331 ttys000
May 27 07:47:30 server com.mysql.mysqld[15000]: 120527 07:47:30 mysqld_safe Logging to '/usr/local/mysql/data/server.martinhedegaard.dk.err'.
May 27 07:47:30 server com.apple.launchd[1] (0x7f82db634810.anonymous.nohup[15222]): Bug: launchd_core_logic.c:9394 (25693):0
May 27 07:47:30 server com.apple.launchd[1] (0x7f82db634810.anonymous.nohup[15222]): Switching sessions is not allowed in the system Mach bootstrap.
May 27 07:47:30 server com.apple.launchd[1] (0x7f82db634810.anonymous.nohup[15222]): _vprocmgr_switch_to_session(): kr = 0x44c
May 27 07:47:30 server com.apple.launchd[1] (0x7f82dc9015d0.anonymous.nohup[15223]): Bug: launchd_core_logic.c:9394 (25693):0
May 27 07:47:30 server com.apple.launchd[1] (0x7f82dc9015d0.anonymous.nohup[15223]): Switching sessions is not allowed in the system Mach bootstrap.
May 27 07:47:30 server com.apple.launchd[1] (0x7f82dc9015d0.anonymous.nohup[15223]): _vprocmgr_switch_to_session(): kr = 0x44c
May 27 07:47:30 server com.mysql.mysqld[15000]: 120527 07:47:30 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
May 27 07:48:31 server Safari[541]: IPCClient: Server port 0 is invalid; looking it up again...
May 27 09:06:34 server servermgrd[18040]: -[AccountsRequestHandler(AccountsSystemConfigurationObservation) registerForKeychainEventNotifications]: SecKeychainAddCallback() status: -25297
May 27 09:06:35 server servermgrd[18040]: servermgr_ipfilter:ipfw config:Notice:Flushed IPv4 rules
May 27 09:06:35 server servermgrd[18040]: servermgr_ipfilter:ipfw config:Notice:Flushed IPv6 rules
May 27 09:09:01 server ScreensharingAgent[18184]: [CL_INVALID_DEVICE] : OpenCL Error : Failed to create context! Invalid device
May 27 09:09:08 server SafariDAVClient[18193]: ServerNotifications: Setting delegate to APSD
May 27 09:09:09 server SafariDAVClient[18193]: Subscription request completed
May 27 09:10:34 server servermgrd[18040]: No requests in 300 seconds, shutting down
May 27 09:29:44 server System Preferences[581]: about to perform command
May 27 09:29:48 server com.mysql.mysqld[15000]: 120527 09:29:48 mysqld_safe mysqld from pid file /usr/local/mysql/data/server.martinhedegaard.dk.pid ended
May 27 09:29:48 server com.mysql.mysqld[19056]: 120527 09:29:48 mysqld_safe Logging to '/usr/local/mysql/data/server.martinhedegaard.dk.err'.
May 27 09:29:48 server com.apple.launchd[1] (0x7f82db62da20.anonymous.nohup[19280]): Bug: launchd_core_logic.c:9394 (25693):9
May 27 09:29:48 server com.apple.launchd[1] (0x7f82db62da20.anonymous.nohup[19280]): Switching sessions is not allowed in the system Mach bootstrap.
May 27 09:29:48 server com.apple.launchd[1] (0x7f82db62da20.anonymous.nohup[19280]): _vprocmgr_switch_to_session(): kr = 0x44c
May 27 09:29:48 server com.apple.launchd[1] (0x7f82dc800da0.anonymous.nohup[19281]): Bug: launchd_core_logic.c:9394 (25693):0
May 27 09:29:48 server com.apple.launchd[1] (0x7f82dc800da0.anonymous.nohup[19281]): Switching sessions is not allowed in the system Mach bootstrap.
May 27 09:29:48 server com.apple.launchd[1] (0x7f82dc800da0.anonymous.nohup[19281]): _vprocmgr_switch_to_session(): kr = 0x44c
May 27 09:29:48 server com.mysql.mysqld[19056]: 120527 09:29:48 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
May 27 09:29:49 server System Preferences[581]: status= 0
May 27 09:29:49 server System Preferences[581]: stat /usr/local/mysql/data
May 27 09:33:54 server login[14331]: DEAD_PROCESS: 14331 ttys000
May 27 09:34:12 server com.apple.launchd.peruser.501[456] (com.apple.talagent[494]): Exited: Killed: 9
May 27 09:34:12 server com.apple.launchd.peruser.501[456] ([0x0-0x3a03a].com.apple.AppleSpell[15293]): Exited: Killed: 9
May 27 09:34:12 server com.apple.launchd.peruser.501[456] (com.apple.mdworker.pool.0[18053]): Exited: Terminated: 15
May 27 09:34:12 server loginwindow[98]: DEAD_PROCESS: 98 console
May 27 09:34:12 server com.apple.dock.extra[19467]: Could not connect the action buttonPressed: to target of class NSApplication
May 27 09:34:12 server com.apple.dock.extra[19467]: 2012-05-27 09:34:12.356 com.apple.dock.extra[19467:1707] Could not connect the action buttonPressed: to target of class NSApplication
May 27 09:34:12 server com.apple.dock.extra[19467]: Could not connect the action buttonPressed: to target of class NSApplication
May 27 09:34:12 server com.apple.dock.extra[19467]: 2012-05-27 09:34:12.357 com.apple.dock.extra[19467:1707] Could not connect the action buttonPressed: to target of class NSApplication
May 27 09:34:12 server com.apple.dock.extra[19467]: Could not connect the action buttonPressed: to target of class NSApplication
May 27 09:34:12 server com.apple.dock.extra[19467]: 2012-05-27 09:34:12.357 com.apple.dock.extra[19467:1707] Could not connect the action buttonPressed: to target of class NSApplication
May 27 09:34:12 server com.apple.dock.extra[19467]: Could not connect the action buttonPressed: to target of class NSApplication
May 27 09:34:12 server com.apple.dock.extra[19467]: 2012-05-27 09:34:12.358 com.apple.dock.extra[19467:1707] Could not connect the action buttonPressed: to target of class NSApplication
May 27 09:34:12 server shutdown[19471]: reboot by martinhedegaard:
May 27 09:34:12 server shutdown[19471]: SHUTDOWN_TIME: 1338104052 753955
rc.server[ 8 ]: Tuning server for 4 GB (rounded down).
May 27 09:34:22 localhost bootlog[0]: BOOT_TIME 1338104062 0
May 27 09:34:33 localhost UserEventAgent[30]: starting CaptiveNetworkSupport as SystemEventAgent built May 25 2011 12:27:35
May 27 09:34:33 localhost UserEventAgent[30]: CertsKeychainMonitor: configuring
May 27 09:34:33 localhost UserEventAgent[30]: WirelessAirPortDeviceNameCopy(): no BSD interface name found for object 12551
May 27 09:34:33 localhost UserEventAgent[30]: CaptiveNetworkSupport:CaptiveSCCopyWiFiDevices:388 WiFi Device Name == NULL
May 27 09:34:23 localhost com.apple.launchd[1]: *** launchd[1] has started up. ***
May 27 09:34:32 localhost com.apple.launchd[1] (com.apple.powerd): Unknown value for key POSIXSpawnType: Interactive
May 27 09:34:32 localhost com.apple.launchd[1] (com.apple.sandboxd): Unknown value for key POSIXSpawnType: Interactive
May 27 09:34:32 localhost com.apple.launchd[1] (com.apple.xgridd.pcastserver): Bug: launchd_core_logic.c:5193 (25693):2
May 27 09:34:32 localhost com.apple.launchd[1] (com.apple.xgridd.pcastserver): Path monitoring failed on "/var/pcast/server/xgridd/keepalive": No such file or directory
May 27 09:34:36 localhost airportd[47]: _processDLILEvent: en1 attached (down)
May 27 09:34:36 localhost mDNSResponder[31]: mDNSResponder mDNSResponder-320.16 (Mar 17 2012 21:31:16) starting OSXVers 11
May 27 09:34:36 localhost UserEventAgent[30]: CaptiveNetworkSupport:CreateInterfaceWatchList:2788 WiFi Devices Found.
May 27 09:34:36 localhost UserEventAgent[30]: CaptiveNetworkSupport:CaptivePublishState:1211 en1 - PreProbe
May 27 09:34:36 localhost UserEventAgent[30]: CaptiveNetworkSupport:CaptiveSCRebuildCache:81 Failed to get service order
May 27 09:34:36: --- last message repeated 1 time ---
May 27 09:34:36 localhost UserEventAgent[30]: CaptiveNetworkSupport:CaptivePublishState:1211 en1 - PreProbe
May 27 09:34:36 localhost UserEventAgent[30]: CaptiveNetworkSupport:CaptiveSCRebuildCache:81 Failed to get service order
May 27 09:34:36: --- last message repeated 1 time ---
May 27 09:34:36 localhost UserEventAgent[30]: CaptiveNetworkSupport:CaptivePublishState:1211 en1 - PreProbe
May 27 09:34:37 server configd[35]: setting hostname to "server.martinhedegaard.dk"
May 27 09:34:37 server configd[35]: network configuration changed.
May 27 09:34:40 server systemkeychain[52]: done file: /var/run/systemkeychaincheck.done
May 27 09:34:40 server configd[35]: network configuration changed.
May 27 09:34:40: --- last message repeated 1 time ---
May 27 09:34:40 server mDNSResponder[31]: D2D_IPC: Loaded
May 27 09:34:40 server mDNSResponder[31]: D2DInitialize succeeded
May 27 09:34:40 server com.apple.ucupdate.plist[83]: ucupdate: Checked 1 update, no match found.
May 27 09:34:40 server com.apple.pfctl[92]: No ALTQ support in kernel
May 27 09:34:40 server com.apple.pfctl[92]: ALTQ related functions disabled
HeadlessStartup: Already setup or this is an upgrade so we will not set the password.
May 27 09:34:40 server emond[108]: SetUpLogs: uid = 0 gid = 0
May 27 09:34:40 server named[78]: starting BIND 9.7.3-P3 -f
May 27 09:34:40 server named[78]: built with '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--prefix=/usr' '--sysconfdir=/private/etc' '--localstatedir=/private/var' '--enable-atomic=no' '--with-openssl=yes' '--with-gssapi=yes' '--enable-symtable=none' 'CFLAGS=-arch x86_64 -arch i386 -g -Os -pipe -gdwarf-2 -D__APPLE_USE_RFC_2292' 'LDFLAGS=-arch x86_64 -arch i386 ' 'CXXFLAGS=-arch x86_64 -arch i386 -g -Os -pipe '
May 27 09:34:40 server emond[108]: SetUpLogs: opening /Library/Logs/EventMonitor/EventMonitor.error.log
May 27 09:34:40 server com.apple.SystemStarter[84]: Starting MySQL database server
May 27 09:34:40 server loginwindow[97]: Login Window Application Started
May 27 09:34:40 server com.apple.usbmuxd[82]: usbmuxd-268.5 on Jan 5 2012 at 03:34:01, running 64 bit
May 27 09:34:40 server UserEventAgent[30]: WebUserEventAgent: installed
May 27 09:34:42 server UserEventAgent[30]: Registered Workstation service - Wellness Guiden Server [3c:07:54:72:75:94]._workstation._tcp.
May 27 09:34:43 server PasswordService[93]: -[PasswordServerPrefsObject getSearchBase]: Unable to locate search base: -1 Can't contact LDAP server
May 27 09:34:43 server PasswordService[93]: -[PasswordServerPrefsObject loadXMLData]: Unable to locate passwordserver config record's plist attribute: -1 Can't contact LDAP server
May 27 09:34:43 server PasswordService[93]: -[PasswordServerPrefsObject getSearchBase]: Unable to locate search base: -1 Can't contact LDAP server
May 27 09:34:43 server PasswordService[93]: -[PasswordServerPrefsObject saveXMLData]: ldap_modify_ext_s of the passwordserver config record's plist attribute: -1 Can't contact LDAP server
May 27 09:34:43 server named[78]: command channel listening on 127.0.0.1#54
May 27 09:34:43 server mds[95]: (Normal) FMW: FMW 0 0
May 27 09:34:44 server com.mysql.mysqld[117]: 120527 09:34:44 mysqld_safe Logging to '/usr/local/mysql/data/server.martinhedegaard.dk.err'.
May 27 09:34:44 server com.apple.launchd[1] (0x7f82db403900.anonymous.nohup[359]): Bug: launchd_core_logic.c:9394 (25693):2
May 27 09:34:44 server com.apple.launchd[1] (0x7f82db403900.anonymous.nohup[359]): Switching sessions is not allowed in the system Mach bootstrap.
May 27 09:34:44 server com.apple.launchd[1] (0x7f82db403900.anonymous.nohup[359]): _vprocmgr_switch_to_session(): kr = 0x44c
May 27 09:34:44 server com.apple.launchd[1] (0x7f82db62bfd0.anonymous.nohup[360]): Bug: launchd_core_logic.c:9394 (25693):0
May 27 09:34:44 server com.apple.launchd[1] (0x7f82db62bfd0.anonymous.nohup[360]): Switching sessions is not allowed in the system Mach bootstrap.
May 27 09:34:44 server com.apple.launchd[1] (0x7f82db62bfd0.anonymous.nohup[360]): _vprocmgr_switch_to_session(): kr = 0x44c
May 27 09:34:44 server com.mysql.mysqld[117]: 120527 09:34:44 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
May 27 09:34:44 server com.apple.launchd[1] (0x7f82dd0023b0.anonymous.nohup[620]): Bug: launchd_core_logic.c:9394 (25693):0
May 27 09:34:44 server com.apple.launchd[1] (0x7f82dd0023b0.anonymous.nohup[620]): Switching sessions is not allowed in the system Mach bootstrap.
May 27 09:34:44 server com.apple.launchd[1] (0x7f82dd0023b0.anonymous.nohup[620]): _vprocmgr_switch_to_session(): kr = 0x44c
May 27 09:34:44 server com.apple.launchd[1] (0x7f82dd0023b0.anonymous.nohup[621]): Bug: launchd_core_logic.c:9394 (25693):0
May 27 09:34:44 server com.apple.launchd[1] (0x7f82dd0023b0.anonymous.nohup[621]): Switching sessions is not allowed in the system Mach bootstrap.
May 27 09:34:44 server com.apple.launchd[1] (0x7f82dd0023b0.anonymous.nohup[621]): _vprocmgr_switch_to_session(): kr = 0x44c
May 27 09:34:45 server freshclam[79]: Can't query current.cvd.clamav.net
May 27 09:34:45 server freshclam[79]: Invalid DNS reply. Falling back to HTTP mode.
May 27 09:34:46 server freshclam[79]: Can't get information about database.clamav.net: nodename nor servname provided, or not known
May 27 09:34:46 server freshclam[79]: Can't read main.cvd header from database.clamav.net (IP: )
May 27 09:34:47 server rpcsvchost[660]: sandbox_init: com.apple.msrpc.netlogon.sb succeeded
May 27 09:34:47 server configd[35]: network configuration changed.
May 27 09:34:48 server servermgrd[88]: servermgr_accounts: noteDirectorySearchPolicyChanged (reopening nodes)
May 27 09:34:49 server ntpd[77]: proto: precision = 1.000 usec
May 27 09:34:50 server loginwindow[97]: **DMPROXY** Found `/System/Library/CoreServices/DMProxy'.
May 27 09:34:50 server com.apple.launchctl.LoginWindow[673]: com.apple.findmymacmessenger: Already loaded
May 27 09:34:50 server loginwindow[97]: Login Window Started Security Agent
May 27 09:34:50 server SecurityAgent[682]: Echo enabled
May 27 09:34:51 server WindowServer[143]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
May 27 09:34:51 server freshclam[79]: Current functionality level = 61, recommended = 63
May 27 09:34:53 server ScreensharingAgent[695]: [CL_INVALID_DEVICE] : OpenCL Error : Failed to create context! Invalid device
May 27 09:34:54 server screensharingd[694]: 3891612: (connectAndCheck) Untrusted apps are not allowed to connect to or launch Window Server before login.
May 27 09:34:54 server screensharingd[694]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
May 27 09:35:10 server sandboxd[713] ([712]): xscertd(712) deny job-creation
May 27 09:35:10 server UserEventAgent[30]: CertsKeychainMonitor: ready to process keychain & timer events
May 27 09:35:48 server servermgrd[88]: getting service list
May 27 09:35:49 server servermgrd[88]: servermgr_ipfilter:ipfw config:Notice:Flushed IPv4 rules
May 27 09:35:49 server servermgrd[88]: servermgr_ipfilter:ipfw config:Notice:Flushed IPv6 rules
May 27 09:36:08 server SecurityAgent[682]: User info context values set for martinhedegaard
May 27 09:36:08 server SecurityAgent[682]: Login Window login proceeding
May 27 09:36:08 server loginwindow[97]: Login Window - Returned from Security Agent
May 27 09:36:08 server loginwindow[97]: USER_PROCESS: 97 console
May 27 09:36:08 server com.apple.launchd.peruser.501[703] (com.apple.ReportCrash): Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
May 27 09:36:08 server com.apple.launchctl.Aqua[757]: load: option requires an argument -- D
May 27 09:36:08 server com.apple.launchctl.Aqua[757]: usage: launchctl load [-wF] [-D <user|local|network|system|all>] paths...
May 27 09:36:09 server com.apple.launchd.peruser.501[703] (com.apple.launchctl.Aqua[757]): Exited with code: 1
May 27 09:36:09 server ScreensharingAgent[773]: [CL_INVALID_DEVICE] : OpenCL Error : Failed to create context! Invalid device
May 27 09:36:09 server UserEventAgent[30]: CaptiveNetworkSupport:CNSServerRegisterUserAgent:187 new user agent port: 17183
May 27 09:36:10 server com.apple.dock.extra[802]: Could not connect the action buttonPressed: to target of class NSApplication
May 27 09:36:10 server com.apple.dock.extra[802]: 2012-05-27 09:36:10.163 com.apple.dock.extra[802:1707] Could not connect the action buttonPressed: to target of class NSApplication
May 27 09:36:10 server com.apple.dock.extra[802]: Could not connect the action buttonPressed: to target of class NSApplication
May 27 09:36:10 server com.apple.dock.extra[802]: 2012-05-27 09:36:10.164 com.apple.dock.extra[802:1 -
How to connect a CVS server with remote Hosts(NWDS7.0)
Hi Frndz..
I installed CVSNT server in one machine n itz workiing fine with that NWDS in that machine , now i want make connect that CVS server from remote machines NWDS's to use that CVS server as a central repo'
Can anyone guide me how can i connect that server from remote machines thru NWDS.
Thnaks in Advance
Regards
Rajeshrajesh,
did u check this link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d079e754-8c85-2b10-8b9a-b36db5262122
Thanks
Bala Duvvuri
Maybe you are looking for
-
How do I delete unauthorized songs that won't play in iTunes?
I recently just downloaded all of my purchases I've made from my iphone, onto my itunes on my macbook. I've also noticed there are songs that are in dull grey writing (not the solid black) so when I click on them nothing happens, I can't delete or pl
-
Why does my computer self-assign an IP address whenever I rest the network?
All of a sudden both my wife's and my MacBook Pro dropped their internet connections (Verizon FIOS). I spent a long time with the Verizon tech person and he suggested that I post here. My computer is running Mountain Lion and my wife's is running Li
-
Truncating Strings(stringbuffer)
Hello again im trying to delete portions of a string that are over a certain length, i know i need to use StringBuffer and public delete(int start, int end) command, but i am having trouble working it in, how do i initialize a Stringbuffer? Stringbuf
-
I want to run single instance of my class ?
i have a class with name Abc, i want when my Abc class is in running mode then i cant run my Abc class again untill my Abc class not exit. i want to do that in pure java, i have one logic but it is not proper salution. my logic is that when my progra
-
aye so im getting this weird knocking sound in the centre of my macbook pro whenever i play video for awhile or gaming. this just started happening recently its been perfectly fine before even when it gets hot. anybody have or had this probem? pleas