Applescript with mysql problem (An error of type 1 has occured)
Hi all!
I'm quite new to scripting with applescript...
Currently I'm trying to get applescript to connect to a remote mysql-database, and execute a insert-command.
All is working fine, when I just use a select-command.
But when I try to use my insert-query, I get this error:
"An error of type 1 has occured".
I've googled high and low, but cant seem to find out either if this is mysql returning the error-code or if it's applescript returning it.
set mySQLList to {"/usr/local/mysql-5.1.30-osx10.5-x86/bin/", "/Library/mysql-5.1.30-osx10.5-x86/bin"}
repeat with i from 1 to the count of mySQLList
try
set theResult to do shell script (item i of mySQLList) & "mysql -V"
set gPathToMySQL to (item i of mySQLList)
set haveFound to true
exit repeat
end try
end repeat
set gmySQLCommand to gPathToMySQL & "mysql"
set theHost to "server"
set theUser to "username"
set thePassword to "password"
set thePort to "3306"
set theDatabase to "database"
set theTable to "recivedMail"
set theLoginString to " -h " & theHost & " -u " & theUser & " --password=" & thePassword
set dataBaseString to " -D " & "'" & theDatabase & "'"
--set theCommand to gmySQLCommand & theLoginString & dataBaseString & " -e \"" & "select count(*) from recivedMail;" & "\""
set theCommand to gmySQLCommand & theLoginString & dataBaseString & " -e \"" & "INSERT INTO database.recivedMail (sentTo,ticket,dateRecived) VALUES ('[email protected]', 'en ticket', '2009-01-21 17:15:56'); " & "\""
-- set theCommand to gmySQLCommand & theLoginString & dataBaseString & " -e \"" & "SELECT COUNT(*) FROM recivedMail;" & "\""
set theResult to ""
--display dialog theCommand
try
set theResult to do shell script theCommand
on error errMsg
display dialog errMsg
end try
return theResult
can someone here help me out?
I just had the same problem you described below. I did some searching on the subject in the forums and there seems to be an issue with A.Pack on dual processor machines. I kept getting errors until I shut one of the processors off. The encoding went thru on the first attempt after that.
There is a system preference pane called Processor that will allow you to shut off one of the processors. Then launch A.Pack and encode. I believe this preference pane is installed when you install the developer software with xcode. The developer software can be found on the Tiger install disc.
Also, they have done away with A.Pack and this issue in DVDSP 4. Apparently A.Pack is integrated somehow into Compressor.
Hope this helps. Good luck.
Dual 1.25GHz Mac OS X (10.4.3) 1.25GB Ram 22" Cinema & 17" Acer
Similar Messages
-
ITunes got an error: An error of type 9037 has occurred
My playlist sometimes produces this error on play from a Applescript:
"iTunes got an error: An error of type 9037 has occurred"
It happens if it is a smart playlist or a playlist. I thought it may be due a bad podcast reference as there was one mp3 podcast file that couldn't be found.
Any assistance in how to solve this or how to investigate further would be greatly appreciated.
JeffHello Mowri,
Well, I think that the 'file specication' problem is another story and is not the cause of error -10661 because kLSExecutableIncorrectFormat is to be thrown BEFORE the script is run.
As for 'file specification' (typeFSS), it has been deprecated under OSX.
Perhaps 10.6 has finished it.
Instead you can use 'POSIX file' (typeFileURL) or 'file' (typeFile) for both existing and non-existing file system object. And 'alias' (typeAlias) for existing file system object.
(Note that 'file' (typeFile) cannot be used by itself for some reason but only in conjunction with command.)
For example, if you're using 'file specification' for 'open for access' command such as -
set hfspath to "HFS:path:to:new file"
set fss to hfspath as file specification -- # 'file specification' (typeFSS) is deprecated
open for access fss with write permission
you may use 'file' such as -
set hfspath to "HFS:path:to:new file"
--set f to hfspath as file -- # you cannot do this for some reason
--set f to file hfspath -- # NG either
open for access file hfspath with write permission -- # 'file' (typeFile) is OK in command parameter
or 'POSIX file' such as -
set posixpath to "/POSIX/path/to/new file"
set furl to posixpath as POSIX file -- # 'POSIX file' (typeFileURL) is OK
open for access furl with write permission
Hope this may help,
H
Message was edited by: Hiroto (fixed typo) -
7.1 Error: transaction type SMIN has already been included in the categoriz
Hello Experts,
I'm getting the following error while running a program AI_CRM_CREATE_CAT_SCHEMA:
Error: transaction type SMIN has already been included in the categorization schema - SAP_SOLUTION_MANAGER_TEMPLATE.
Please remove SMIN from application area of SAP_SOLUTION_MANAGER_TEMPLATE and then run this report again.
Can you please advice how to resolve this?
Thank you,
123I invite the colleagues that if they do not have a solid answer to a question, please do not bother on answering it. Even the guide does not say how to get rid of that error. The guide on page 17 says "Please ensure that there is no active categorization schema for the transaction types listed above before you run the report". Well, how do you do that? Also the guide says to create a version of the schema, and release that new schema, but that still does not work. You go into the new schema version to delete all entries related to SMIN, but even after that you still get the same error trying to run the report AI_CRM_CREATE_CAT_SCHEMA.
I am writting all this because from the answers above:
Answer 1, the SAP Note: They do not mention anything about schema.
Aswer 2 and 3. Already answered. The implementation guide does not help as mentioned above.
Answer 4. This error has nothing to do with copying SMIN into ZMIN.
Please accept my complaint and do not get offended. We all know we are trying to help one another, although it is nicer to save time getting to the correct answer faster.
Thanks,
Juan -
I uploaded 2 powerpoints with no problem, now it looks like it has uploaded to icloud but the icon is a page with a "P" on it. Any help please?
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar -
OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
Hello Gurus,
i have run coomand:
opatch lsinventory -detail
it gives me error as follows:
kindly advice to resolve the issue.
opatch lsinventory
Oracle Interim Patch Installer version 1.0.0.0.57
Copyright (c) 2007 Oracle Corporation. All Rights Reserved..
We recommend you refer to the OPatch documentation under
OPatch/docs for usage reference. We also recommend using
the latest OPatch version. For the latest OPatch version
and other support related issues, please refer to document
293369.1 which is viewable from metalink.oracle.com
Oracle Home : /goldfm/goldfm/GOLD/apps/tech_st/10.1.3
Oracle Home Inventory : /goldfm/goldfm/GOLD/apps/tech_st/10.1.3/inventory
Central Inventory : /testfm/testfm/BCTEST/oraInventory/oraInventory
from : /etc/oraInst.loc
OUI location : /goldfm/goldfm/GOLD/apps/tech_st/10.1.3/oui
OUI shared library : /goldfm/goldfm/GOLD/apps/tech_st/10.1.3/oui/lib/aix/liboraInstaller.so
Java location : /goldfm/goldfm/GOLD/apps/tech_st/10.1.3/jre/1.4.2/bin/java
Log file location : /goldfm/goldfm/GOLD/apps/tech_st/10.1.3/.patch_storage/<patch ID>/*.log
Creating log file "/goldfm/goldfm/GOLD/apps/tech_st/10.1.3/.patch_storage/LsInventory__05-30-2011_09-00-44.log"
Result:
LsInventory: OPatch Exception while accessing O2O
OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
OPatch Exception:
OUI found no such ORACLE_HOME set in the environment
Can not get details for given Oracle Home
An exception occurs
null
There is no Interim Patch
OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
Can not get a list of inventory on this home.
ERROR: OPatch failed because of Inventory problem.
opatch lsinventory -detail
Invoking OPatch 11.1.0.6.2
Oracle Interim Patch Installer version 11.1.0.6.2
Copyright (c) 2007, Oracle Corporation. All rights reserved.
Oracle Home : /golddb/golddb/GOLD/db/tech_st/11.1.0
Central Inventory : /testfm/testfm/BCTEST/oraInventory/oraInventory
from : /etc/oraInst.loc
OPatch version : 11.1.0.6.2
OUI version : 11.1.0.7.0
OUI location : /golddb/golddb/GOLD/db/tech_st/11.1.0/oui
Log file location : /golddb/golddb/GOLD/db/tech_st/11.1.0/cfgtoollogs/opatch/opatch2011-05-31_09-30-41AM.log
List of Homes on this system:
Home name= BCPROD_WEBOH__bcprodfm_bcprodfm_BCPROD_apps_tech_st_10_1_3, Location= "/bcprodfm/bcprodfm/BCPROD/apps/tech_st/10.1.3"
Home name= BCPROD_TOOLS__bcprodfm_bcprodfm_BCPROD_apps_tech_st_10_1_2, Location= "/bcprodfm/bcprodfm/BCPROD/apps/tech_st/10.1.2"
Home name= BCPROD_DB__bcprodfm_bcprodfm_BCPROD_db_tech_st_11_1_0, Location= "/bcproddb/bcproddb/BCPROD/db/tech_st/11.1.0"
Home name= BCTEST_WEBOH__testfm_testfm_BCTEST_apps_tech_st_10_1_3, Location= "/testfm/testfm/BCTEST/apps/tech_st/10.1.3"
Home name= BCTEST_TOOLS__testfm_testfm_BCTEST_apps_tech_st_10_1_2, Location= "/testfm/testfm/BCTEST/apps/tech_st/10.1.2"
Home name= BCCLN_WEBOH__bcclnfm_bcclnfm_BCCLN_apps_tech_st_10_1_3, Location= "/bcclnfm/bcclnfm/BCCLN/apps/tech_st/10.1.3"
Home name= BCCLN_TOOLS__bcclnfm_bcclnfm_BCCLN_apps_tech_st_10_1_2, Location= "/bcclnfm/bcclnfm/BCCLN/apps/tech_st/10.1.2"
Home name= BCCLN_DB__bcclndb_bcclndb_BCCLN_db_tech_st_11_1_0, Location= "/bcclndb/bcclndb/BCCLN/db/tech_st/11.1.0"
Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
Possible causes are:
Oracle Home dir. path does not exist in Central Inventory
Oracle Home is a symbolic link
Oracle Home inventory is corrupted
LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo
OPatch failed with error code 73HI,
Please suggest if this was working before?
What stopped it working..any change that you are aware of? like cloning,db upgrade, server movement etc etc..
Their are different error for different oracle home but still issue can be one i.e. corrupt central inventory..try to fix the issue one by one using below metalink notes:-
LsInventory: OPatch Exception while accessing O2OOPatch_JAVA_ERROR=CheckConflict: Opatch Exception While Accessing O2O [ID 395187.1]
Opatch Lsinventory Raises An OPatchException While Accessing O2O [ID 401454.1]
Opatch Fails With 'Can not get details for given Oracle Home' [ID 413829.1]
"Oui Found No Such Oracle_home Set In The Environment" During Opatch Lsinventory [ID 419625.1]
please check below metalink ntoe for help.
Strategies for a Corrupted Oracle Central Inventory [ID 414600.1]
OPatch Fails With "LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo" [ID 728417.1]
Thanks,
JD -
FRM-92103: A network error or server failure has occurred.
Hello,
I always get this error after everytime i run a report my forms getting crash.
heres the jre console error :
Java Plug-in 1.6.0_33
Using JRE version 1.6.0_33-b05 Java HotSpot(TM) Client VM
User home directory = C:\Users\charles
Forms Session ID is formsapp.2
The proxy host is null, and the proxy port is 0.
Native HTTP implementation is being used for the connection.
The connection mode is HTTP.
Forms Applet version is 11.1.2.0
FRM-92103: A network error or server failure has occurred.
You will need to restart your application.
Java Exception:
java.io.IOException: Server returned HTTP response code: 503 for URL: http://application:8888/forms/lservlet;jsessionid=yjc6QfjGNkr8fjlyD26fZjqmwBGKkGVgG1L7s91X8y6rBsgGl650!-1255936909
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at oracle.forms.net.HTTPNStream.doPost(Unknown Source)
at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
at oracle.forms.net.HTTPNStream.flush(Unknown Source)
at java.io.DataOutputStream.flush(Unknown Source)
at oracle.forms.net.StreamMessageWriter.run(Unknown Source)
the http ohs1 server always hang i need to restart it again.
any help?Michael Ferrante (Oracle) wrote:
I'm sorry, but I'm having a difficult time understand what you are saying...
What do you mean here? "... +if the forms run first then the report will not run it gives always this error+ ..." Are you loading the report results in the same browser that is running the form?
this will be the problem i should posted :
*2.1 Oracle HTTP Server Returns 503 Apache Bridge Failure Error While Toggling Between Forms and Reports*
While toggling between Oracle Forms and Oracle Reports applications through Oracle HTTP Server, you may see the "503 Apache Bridge failure" error. This is due to the wrong patch 12632886 being shipped with the Oracle Forms and Reports installer.
This document found in : http://docs.oracle.com/cd/E24269_01/doc.11120/e25445/install_upgrade.htm#BABHBABB
for those with oraclesupport find the document subject : Forms / Reports 11g Intermittent FRM-92103 Or "Failure of Server APACHE Bridge" - OHS Log Shows "apr_socket_connect call failed" [ID 1380762.1]
I downloaded the patch from
OPatch 12632886 (OHS-WLS COMMUNICATION NOT WORKING ON IPV6 ENABLED SOLARIS M/C [Patch ID 14069292]) for your Windows Platform from My Oracle Support
i successfully patched now its working.
thank you for your patience and help..
Edited by: ck on Aug 7, 2012 3:41 AM -
An error in the system has occurred. Please contact the system admin'
Hi chaps
So I get this message when I try and click "Solved" :
An error in the system has occurred. Please contact the system administrator if the problem persists.
And then when I try to send a 'comment' AppleCare I get
"An error has occurred. Please try again later".
Is it me or them ?
Many thanks RogerHi Roger!
My reply here Error when trying to mark a reply as "solved" , also has additinal information.
ali b -
An error in the system has occurred. Please contact the system administrato
This error appears when I try to access the Leopard Server- Advanced forum:
Error
An error in the system has occurred. Please contact the system administrator if the problem persists.
Useful links :
Forum Home -- browse the forums here.
Search Forums -- visit the search page to query all forum content.Hi Roger!
My reply here Error when trying to mark a reply as "solved" , also has additinal information.
ali b -
Getting "An error in the system has occurred" using Safari on Apple site
When using Safari 3.1 on the Apple site to view the discussion forums I get the message: "An error in the system has occurred. Please contact the system administrator if the problem persists."
I'm able to use the forums using FireFox.
No one else seems to be having this problem according to the search function.This appears to be a one-off problem, so mark as resolved.
-
“Internal error: An unexpected exception has occurred“ error message displayed when browsing a cube.
The error behaviour is quite irregular and does not occur for specific condition.
Will cumulative update 9 for SQL Server 2008 R2 (SP1) installation help to fix the issue which is provided on the below link:
(http://support.microsoft.com/kb/2152148)
The current version of SQL Server I am using is as below:
Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) Jun 17 2011 00:54:03 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)
Thanks in advance for the help!Hi Mon,
The hotfix you said is for Microsoft SQL Server 2008. So it will not work on your scenario since you are using SQL Server 2008 R2.
Based on the limited information, we cannot give you the exact reason that cause this issue. In order to narrow down this issue, you can apply the latest Service Pack and Cumulative Update as GregGalloway said. Besides, you can troubleshoot this issue by
using the Windows Event logs and msmdsrv.log.
You can access Windows Event logs via "Administrative Tools" --> "Event Viewer". SSAS error messages will appear in the application log.
The msmdsrv.log file for the SSAS instance that can be found in \log folder of the instance. (C:\Program Files\Microsoft SQL Server\MSAS10.MSSQLSERVER\OLAP\Log)
Here is a blog about data collection for troubleshooting Analysis Services issues, please see:
Data collection for troubleshooting Analysis Services issues
Regards,
Charlie Liao
TechNet Community Support -
FRM-92102: A network error or server failure has occurred.
Hi
I am trying to access a shared Vision instance in Solution Beacon. I am getting the below error while accessing forms
FRM-92102: A network error or server failure has occurred. The Forms client has attempted to reestablish its connection to the Server 1 time(s) without success.
java.net.MalformedURLException: illegal character in URL.
I am running on IE 8.0, JRE 1.6.0_43
Please help
Regards
Reemre**** wrote:
Hi
I am trying to access a shared Vision instance in Solution Beacon. I am getting the below error while accessing forms
FRM-92102: A network error or server failure has occurred. The Forms client has attempted to reestablish its connection to the Server 1 time(s) without success.
java.net.MalformedURLException: illegal character in URL.
I am running on IE 8.0, JRE 1.6.0_43
Please help
Regards
ReemCan you reproduce the issue using a different browser or from a different machine?
Please contact "Solution Beacon" support since we don't maintain their environments.
Thanks,
Hussein -
"ERROR An undefined exception has occurred in the plugin"
Hi,
We are not able to access one of our Business Object Web server ( using IBM web Sphere) thur web browser.
While checking the log in the server i find the error message " ERROR An undefined exception has occurred in the plugin" please can anyone explain about the error massage. Thank you.
Regards,
SunilI can see the following message in a log " *assert failure: (.\authhandler.cpp:171). (false : no message)* " for more description about the issue...
Sunil -
Trouble Getting Dreamweaver 8 to work with MySQL: The "Unidentified Error"
I set up MySQL on my Macintosh yesterday, along with PHP --
all went fine yesterday, until I tried to connect Dreamweaver to it
(today I went back and uninstalled and tried to reinstall, and all goes less well -- can anyone tell me what
robert:/usr/local/mysql robert$ bin/mysqladmin -u root password 'himmel'
bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
signifies?)
In any case -- back to the story:
I go to connect to the DB in Dreamweaver 8, and when I try to set up the DB in the "databases" tab and click on the "database" field I get
"An unidentified error has occurred"
and then
"HTTP Error Code 404 File Not Found....
[Possible Reasons]: 1) No testing server running on this machine.
2) The Testing Server specified for this site does not map to the http://127.0.0.1/~robert/Sites/_mmServerScripts/MMHTTPDB.php?Type=MySQL&Connecti onString=host=localhost;uid=dwmx;pwd=mm&Host=localhost&&UserName=dmwx&Password=m m&Timeout=30 URL. Verifiy that the URL prefixs points to the root of the site."
Any clue? I know little about PHP or Unix, but am trying to learn.
iMac 17 Mac OS X (10.3.9)There's a 64-bit version of Power Query which you should be able to get from the same site you downloaded the 32-bit version.
It sounds like you used "From SQL Server" to try to connect from Excel to MySQL. This will not work. You would likely need to acquire and install a MySQL ODBC driver and then use "From Microsoft Query". Similarly, to use MySQL from inside
Power Query, you will need to acquire and install a MySQL ADO.NET driver. -
Building postfix with mysql problem
Hi all,
I have a sun fire v880 machine running solaris 10, i need to set an email server using postfix+mysql.
I already installed myql and its working fine. but when trying to build postfix with mysql i get a compliation error, here's wts going on:
bash-3.00# make makefiles 'CCARGS=-DHAS_MYSQL -I/usr/local/bdb/include -I/opt/mysql/mysql/include -DUSE_SASL_AUTH' 'AUXLIBS=-L/opt/mysql/mysql/lib -R/opt/mysql/mysql/lib -lmysqlclient -lz -lm'
(echo "# Do not edit -- this file documents how Postfix was built for your machine."; /bin/sh makedefs) >makedefs.tmp
set +e; if cmp makedefs.tmp conf/makedefs.out; then rm makedefs.tmp; \
else mv makedefs.tmp conf/makedefs.out; fi >/dev/null 2>/dev/null
set -e; for i in src/util src/global src/dns src/tls src/xsasl src/milter src/master src/postfix src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop src/postkick src/postlock src/postlog src/postmap src/postqueue src/postsuper src/qmqpd src/spawn src/flush src/verify src/virtual src/proxymap src/anvil src/scache src/discard src/tlsmgr; do \
(set -e; echo "[$i]"; cd $i; rm -f Makefile; \
make -f Makefile.in Makefile MAKELEVEL=) || exit 1; \
done;
[src/util]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/global]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/dns]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/tls]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/xsasl]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/milter]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/master]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/postfix]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/smtpstone]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/sendmail]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/error]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/pickup]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/cleanup]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/smtpd]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/local]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/trivial-rewrite]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/qmgr]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/oqmgr]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/smtp]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/bounce]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/pipe]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/showq]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/postalias]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/postcat]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/postconf]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/postdrop]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/postkick]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/postlock]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/postlog]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/postmap]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/postqueue]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/postsuper]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/qmqpd]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/spawn]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/flush]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/verify]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/virtual]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/proxymap]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/anvil]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/scache]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/discard]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/tlsmgr]
(set -e; echo "# DO NOT EDIT"; /bin/sh ../../makedefs && cat Makefile.in) >Makefile
rm -f Makefile; (cat conf/makedefs.out Makefile.in) >Makefile
* Then when i run:
bash-3.00# /usr/local/bin/make
The compilation goes on till i get the following error
"ld: warning: file /opt/mysql/mysql/lib/libmysqlclient.a(libmysql.o): wrong ELF class: ELFCLASS64
Undefined first referenced
symbol in file
mysql_fetch_row ../../lib/libglobal.a(dict_mysql.o)
mysql_query ../../lib/libglobal.a(dict_mysql.o)
mysql_error ../../lib/libglobal.a(dict_mysql.o)
mysql_close ../../lib/libglobal.a(dict_mysql.o)
mysql_free_result ../../lib/libglobal.a(dict_mysql.o)
mysql_store_result ../../lib/libglobal.a(dict_mysql.o)
mysql_init ../../lib/libglobal.a(dict_mysql.o)
mysql_real_connect ../../lib/libglobal.a(dict_mysql.o)
mysql_real_escape_string ../../lib/libglobal.a(dict_mysql.o)
mysql_num_rows ../../lib/libglobal.a(dict_mysql.o)
mysql_num_fields ../../lib/libglobal.a(dict_mysql.o)
mysql_escape_string ../../lib/libglobal.a(dict_mysql.o)
ld: fatal: Symbol referencing errors. No output written to error
collect2: ld returned 1 exit status
make: *** [error] Error 1
make: *** [update] Error 1"
Please help me with this issue, i use gcc-3.3.2 and used both GNU make and the "make" shipped with solaris, both gave the same result.
I installed Mysql as a pkg and didn't compile it from source.
Thanks in advance."ld: warning: file /opt/mysql/mysql/lib/libmysqlclient.a(libmysql.o): wrong ELF class: ELFCLASS64Usually this kind of error is an indication that both 32- and 64-bit object files are being used in building the application. Use all 32-bit objects or 64-bit objects - please do not mix them during compilation.
If building from scratch is not mandatory for you, you can try installing postfix {and other applications, libraries, ..} with the help of Blastwave's 'pkg-get'. Some instrustions are at: http://technopark02.blogspot.com/2005/06/solaris-installing-appspackages-with.html
% pkg-get -a | grep postfix
postfix 2.2.8,REV=2006.03.13 -
Error-System Type Initialization Exception occured in system data dll
hello sir,
because of transferring my project from one pc to another pc i am getting following error:
error massage:
first chance exception of type 'System.TypeInitializationException' occurred in System.Data.dll
Additional information: The type initializer for 'System.Data.Common.DbConnectionOptions' threw an exception.
If there is a handler for this exception, the program may be safely continued.
also attached image of error massage
so how to by pass this error
please help,
regards,
kavi-kalashHello,
>>because of transferring my project from one pc to another pc i am getting following error:
This seems to be related with an environment issue, please have a check the worked machine and the non-worked one, to compare if there are some difference.
>>If there is a handler for this exception, the program may be safely continued.
This could be due to missing references. Or it could be due to an error in the app config file. Is it possible for you to post your code about the connect part and the connection string? And here is an article describes how to process the first chance exception:
https://msdn.microsoft.com/en-us/library/dd997368(v=vs.110).aspx
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Maybe you are looking for
-
How do I include custom URLs in a Sharepoint Search?
I have links pointing to files on our file server. I would like to have these links show up in a Sharepoint search. Any idea how to accomplish this?
-
I have some thousand photos on my old PC using Adobe Photoshop Album Starter Edition 3.2. How can I transfer them on a new PC (and a new more professional photoshop edition) without losing the tags? Thanks for any help.
-
Data load / Collection of R/3 Table filelds to BW
Hi, Here is the situation...I have to pull data from sap R/3 tables like VBRP, VBAK,VBKD TO BW on monthly basis. Can anyone of you gurus tell me what I have to do, to load these data from R/3 to cube in BW. Can you please help us by step by step pro
-
Crop and Straighten not separating photos but is producing a single image file.
I have been trying to use crop and straighten on multiple scanned images and am getting very disappointing results. Instead of separating each of the images with white space around them into individual files, I am getting back a single image of the e
-
Lightroom 4.1 - activity bar gone?
There used to be an activity or progress bar that showed the progress of processing preview images, etc. I only see it upon exporting files now, but it does not appear for previews. Is there a way to enable this? Thx.