Solaris 10 TX + Mysql

Hi all,
I had a quick question about installing mysql in a global zone user the user root. I essentially downloaded the pkd from mysql.com and went through the pkg add process. On the first run, the installation failed because of not haivng the user and group of msyql. I fixed those and the installation seemed to go though just fine. However, when trying to start mysql I am running into the following error:
# /etc/init.d/mysql start
/etc/init.d/mysql: /opt/mysql/mysql/bin/my_print_defaults: cannot execute
/etc/init.d/mysql: /opt/mysql/mysql/bin/my_print_defaults: cannot execute
Starting MySQL
.nohup: /opt/mysql/mysql/bin/mysqld: Invalid argument
ERROR! Manager of pid-file quit without updating file.
my_print_defaults is set as executable since I can run it by hand. I have also verified the settings in the mysql script in init.d and the env variable are correctly set.
I have verified that mysql user and group own the /opt/mysql/mysql directory. This seems like a file permission issue to me. I have looked within SMC but nothing really jumps out as being misconfigured.
Any thoughts?
Thanks
Shantu

Essentially I ended up using the pkg from coolstack for 64-bit mysql and it all works now.

Similar Messages

  • Problems building DBD::mysql

    Has anyone had any luck with this. I have a freshly built perl 5.8.8, freshly built DBI, all work great, built with no errors. (All done with SUNWspro 11)
    I believe the problem is simply that when DBD::mysql is compiling it is trying to build it in either 32 bit or 64 bit but whatever it is doing, it is doing the opposite of what Perl and DBI were built as. Same thing happens when I use CPAN.
    Any hints on how to get this to build as 32bit?
    ld: fatal: file dbdimp.o: wrong ELF class: ELFCLASS64
    ld: fatal: File processing errors. No output written to blib/arch/auto/DBD/mysql/mysql.so

    Well no luck. Does this clear anything up?
    Unrecognized argument in LIBS ignored: '-xarch=v9'
    Using DBI 1.50 (for perl 5.006002 on sun4-solaris) installed in /usr/local/lib/perl5/site_perl/5.6.2/sun4-solaris/auto/DBI/
    Writing Makefile for DBD::mysql
    cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
    cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
    cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
    cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
    cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
    cp lib/Mysql.pm blib/lib/Mysql.pm
    /opt/SUNWspro/bin/cc -c -I/usr/local/lib/perl5/site_perl/5.6.2/sun4-solaris/auto/DBI/ -I/opt/mysql/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v9 -xc99=none -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"3.0003\" -DXS_VERSION=\"3.0003\" -KPIC "-I/usr/local/lib/perl5/5.6.2/sun4-solaris/CORE" dbdimp.c
    /usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /usr/local/lib/perl5/site_perl/5.6.2/sun4-solaris/auto/DBI//Driver.xst > mysql.xsi
    /usr/bin/perl /usr/local/lib/perl5/5.6.2/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.6.2/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
    Warning: duplicate function definition 'do' detected in mysql.xs, line 224
    Warning: duplicate function definition 'rows' detected in mysql.xs, line 559
    /opt/SUNWspro/bin/cc -c -I/usr/local/lib/perl5/site_perl/5.6.2/sun4-solaris/auto/DBI/ -I/opt/mysql/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v9 -xc99=none -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"3.0003\" -DXS_VERSION=\"3.0003\" -KPIC "-I/usr/local/lib/perl5/5.6.2/sun4-solaris/CORE" mysql.c
    Running Mkbootstrap for DBD::mysql ()
    chmod 644 mysql.bs
    rm -f blib/arch/auto/DBD/mysql/mysql.so
    LD_RUN_PATH="/usr/lib" /usr/bin/perl myld /opt/SUNWspro/bin/cc -G -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/prod/lib/v8plus -L/opt/SUNWspro/prod/lib -L/lib -L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/opt/mysql/mysql/lib -lmysqlclient -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -lmtmalloc
    ld: fatal: file dbdimp.o: wrong ELF class: ELFCLASS64
    ld: fatal: File processing errors. No output written to blib/arch/auto/DBD/mysql/mysql.so
    *** Error code 1
    make: Fatal error: Command failed for target `blib/arch/auto/DBD/mysql/mysql.so'
    /usr/ccs/bin/make -- NOT OK
    Running make test
    Can't test without successful make
    Running make install
    make had returned bad status, install seems impossible

  • MySQL InnoDB performance tuning

    Hi,
    We recently updated our Solaris 10 (Sparc) patch level. It is from:
    Solaris 10 8/07 s10s_u4wos_12b SPARC
    Patch level 137111-05
    to
    Solaris 10 10/09 s10s_u8wos_08a SPARC
    Patch level 144488-14
    We have two functions in MySQL uses InnoDB. In the old version of Solaris 10 (8/07), one function takes less than 1 sec to finish execute.
    However in the newer version of Solaris 10 (10/09). It takes about 40 secs to finish execute.
    So, we found one solution in google that said to change the innodb_flush_log_at_trx_commit to 0 instead of default 1, then the function take only about 0.41 sec to finish execute.
    So does anyone know what did the newer version of Solaris (update 8) has changed that I need to change this innodb_flush_log_at_commit to make better performance b/c the older version of Solaris the mysql innodb_flush_log_at_trx_commit still 1 and peformance is less than 1 secs.
    Thanks!

    No one can tell you how to tune your database because there are too many variables that are specific to your installation.
    Some of the major factors hinge on the size of your database tables, both in terms of number of rows and the type of data within them. Then there's questions of whether you're using InnoDB or MyISAM, the cacheability of the data, the ratio of reads to writes, the size of each record, etc., etc., etc.
    Tuning paramaters for a 4 TB database with 20,000,000 rows are going to be radically different than those for a 100MB database with 10,000 rows.
    Then, of course, there are factors that aren't in my.cnf anyway - things like table indexes, data formats, query structure, etc.
    The same query can take radically different amounts of time depending on the indexes on the table. Conversely, much (most?) performance tuning comes down to query optimization rather than database configuration - reordering the parameters in a query can have dramatic effects on performance, depending on the database structure.
    So, you see, you're not likely to find a magic bullet that says 'make sure you add the gofaster=1 parameter to your my.cnf'. Database Administrators make a living with this stuff and every situation is different.

  • Crosscompiling for Sparc on Intel

    Hello gurus,
    I've a problem on which nobody could help me yet. Maybe I ask the wrong questions or the wrong people - who knows. So I ask YOU as THE gurus for Solaris (a newbie on Solaris I am).
    Here it comes:
    It is ANYHOW possible to compile a program (plain .c) for the SPARC Solaris 8 on a Intel Solaris 8 system? Please help if you can. In case it is possible - you have an idea on howto link the sparc solaris 8 mysql libs within?
    c'ya and thanx in advance, Dirk.

    Hi,
    there was an article in a german magazine (freeX 2'2002) on this subject.
    Title: Cross-Compile von Programmen fuer Linux/sparc (Author Felix J. Ogris)
    (crosscompiling programs for Linux/SPARC).
    The article is very good and gives valuable hints BUT is in german.
    The authors home-page is http://www.ogris.de/.
    Link to the table of contents (also in german)
    http://www.cul.de/data/freex22002inh.pdf
    Maybe the author is willing to send you a draft copy of his article (in german).
    Best regards
    Michael

  • To Zone or not to Zone

    Hi,
    I am studying up on Zones, Containers, LDOMs and anything else they want to make up along the way. I have a Blade 6000 that I am about to set up and I want to know what is really the best way to set it up with the following goals and configuration in mind:
    1. Blade 6000 with 2 - T6300 (T1 Processor) server modules
    2. Will be buying possibly the StorageTek Array 2540 Fiber interface disk array with 2 FC cards
    3. Have various applications like Cool Stack (SAMP) that runs an internally used web based application
    4. Will be running an e-commerce site as well in a couple of months but may have to buy a Opteron based server module since Bozos built it on .ASP (Microsucks) environment.
    5. Want to use first T6300 for production and the second for failover/pre production environment. The second one will allow me to iron out details of all upgrades, or software products that I might want to experiment with and in case something happens to the first one, provide failover. I assume Sun Clustering software would have to be installed for this.
    6. Plan on using ZFS since it's way cool and easy in a RAID 5 config.
    7. Would like to assign resources to various applications/solutions to provide minimal resources to lower priority applications/solutions like internal web app. versus high priority e-commerce web app.
    For those who aren't up on Cool Stack, it is Solaris, Apache, MySQL and PHP (SAMP) that has been preconfigured for easy set up and tuned for Solaris.
    I was told by a Sun rep that I might want to consider using LDOMs in lieu of Zones and also use the failover option for Sun Clustering versus the speed boost configuration. He said that the speed boost version of Sun Clustering has little use for applications that can't take advantage of it. My assumption was that it would operate similar to RAC for Oracle in that, when you add a node it got faster and even more fail safe. I didn't know you had to choose between speed and high availability.
    Questions:
    1. Why use LDOMS as opposed to Zones
    2. Can you briefly explain how Zones, LDOMs and Containers compare to each other and when and how each are used
    3. Can I install Solaris on both T6300s and bind them together somehow to form a Cluster
    4. Is there a dependency of one to the other? Do you have to install one before the other?
    5. Is there a document that compares LDOMs, Container, Zones, Sun Clustering and shows how to plan an installation
    My apologies for so many questions at one time but I am researching and studying the best approach and I haven't seen documentation that does a good job of pulling it all together.

    sunfan wrote:
    1. Why use LDOMS as opposed to ZonesHmm. That's kind of a general trade-off. I don't see one as better than the other. They do somewhat different things.
    2. Can you briefly explain how Zones, LDOMs and Containers compare to each other and when and how each are usedLDOMs are like fully virtual machines, assisted by hardware. You can (must) run a separate operating system in each domain. This gives you a significant amount of flexibility, but there can be some performance trade-offs. Also, you'll select hardware components and assign them to a specific LDOM.
    Zones/Containers are a Solaris construct to restrict how things run. They have some aspects of virtual machines (processes don't see processes in other zones, independent IP addresses, etc...), but they have some restrictions as well. However they can be much lighter-weight than a full VM because you're not running a separate OS in each case. In the case of sparse zones, you might be able to run many more zones than you could LDOMs. By default all hardware components are shared across all zones, but you can enable resource restrictions to assign or limit CPU and memory in particular zones.
    3. Can I install Solaris on both T6300s and bind them together somehow to form a ClusterIt depends on what you mean by "bind", and it depends on the application you want to run.
    You can use cluster software (like SunCluster) to set up failover between different machines, blades, LDOMs, and zones. But if you want an application to run on them simultaneously, that depends on the application and how it supports clusters.
    4. Is there a dependency of one to the other? Do you have to install one before the other?I'm not sure which you're referring to here. But no, not really. A cluster, an LDOM, and a Zone are all independent constructs.
    5. Is there a document that compares LDOMs, Container, Zones, Sun Clustering and shows how to plan an installationHere's a blueprint on some of the virtualization techniques.
    http://www.sun.com/blueprints/0807/820-3023.html
    Darren

  • I pass the 1z0-047

    hello every one,
    I have question
    I pass the 1z0-047 when I can get the certificate.
    in pearsonvue does not show the path of my certificate
    i mean the status of certificate from oracle company to my home
    when i pass java from sun it show me the status of certificate and path
    any one have idea about that.
    Edited by: user2016249 on Nov 30, 2010 7:49 AM

    Welcome on board :-)
    If you read this FAQ, you can find this:
    Question: I completed all the required exams in my certification track. How and when will I receive my certificate?
    Answer:
    The testing center will send your exam results to the Oracle Certification Program. All results are processed once a week. Once all the certification requirements within the track you are pursuing have been complete, including completion and approval of the Course Submission Form, you should receive your certification success kit within 6-8 weeks. The Success Kit will include a personalized certificate as well as instructions on how to obtain your Oracle Certification logo.
    Approximately 72 hours after you have completed all certification requirements (including completion of the Course Submission Form for tracks that require training), your certification record should show in the candidate self-service tool, CertView.
    This link will take you to a screen to authorize your account. You will need your Candidate ID, Full Name (first and last), Email Address and City. You should enter this information exactly as it is in your Prometric or Pearson VUE profile. Once you have authorized your account, you can login to CertView at any time using your Oracle Single Sign On (you will be able to create a single sign on from the CertView link if you do not already have one) and see if your kit has been processed. Once your certification shows up in CertView, you will be able to access your logos through the tool.
    If you do not receive your Oracle certification success kit within 4-6 weeks of the shipping date in CertView, please send an email to [email protected] and provide your name, Oracle Certification Program credential earned, Oracle Testing ID number, current mailing address, and daytime phone number.
    Receiving your Java, Oracle Solaris (Cluster), MySQL, NetBeans and OpenOffice.org certificates >
    So you just have to be patient and hope the mail delivery service in your country is reliable and do not loose mails ;-)
    Regards,

  • How to get expiration date of a voucher

    Hi All
    Can anyone please tell me where can I get the expiration date of a voucher?
    Thanks

    If you have a voucher for a Java, Oracle Solaris (Cluster), MySQL, NetBeans or OpenOffice.org voucher, you should contact Prometric www.prometric.com/oracle to find the expiration date for those vouchers.
    If you have a voucher for any Oracle exams (excluding those above), you should contact Pearson VUE www.pearsonvue.com/oracle to find the expiration date for those vouchers.
    Regards,
    Brandye Barrington
    Certification Forum Moderator

  • Any Good link for mysql Installation in solaris 10?

    Please share with me good link for mysql, Tomcat installation(latest version)
    I found http://instmysql5sol10.blogspot.com/ in internet but not able to download "Download the packages (both Standard and Max) and save them in an appropriate directory".

    alan.pae wrote:
    attempted to install Solaris on it. Everything goes OK but I am confused by an info message that I get upon booting the system from CD:
    SunOS Release 5.10 Version Generic_137138-09 *32-bit* You got it installed and then you booted from the CD???
    If you booted from the hard disk then run:
    isainfo -kv
    alanNo, of course not. It isn't installed yet. I meant that I booted the
    computer from from the install DVD to start the installation process.
    But thanks for the info. I'll install it and will run this command.

  • Problem in compiling mysql++ libraries on Solaris 8 using Sun C++ compiler

    Hi!
    I am trying to compile the mysql++ libraries on Solaris 8 using the Sun C++ compiler CC 5.3 version.
    but I get an error:
    "../../../../tools/mysql++/lib//resiter.h", line 53: Error: Invalid template parameter default.
    Can anyone let me know what can be the problem and whats the solution for the same.
    Thanks,
    Manik Gupta.

    The name of this forum is 'Java compiler'. Your question has nothing to do with that.

  • HS link from Oracle 9.2 to MySQL under Solaris 8

    Solaris 8 ( 64 bit )
    Recent versions of MySQL are dynamically linked ( i think) and as such the Shared Object / driver mentioned in the HS installation details isn't there after you've installed MySQL onto your machine.
    So how then do you get libodbc or unixodbc configured correctly on a Solaris system.
    I've already got it working on a Redhat 7.0 Linux system.
    Any tips / advice ??
    Ta

    check out
    Article-ID: <Note:260981.1>
    Title: How to Setup HSODBC to MySQL
    available on Metalink. It contains a setup of MySQL ODBC with unixODBX Driver Manager on Solaris.

  • Solaris 10_u8 upgrade slow down mysql store procedure

    Hi,
    Recently we upgraded the following and found out that MySQL store procedure takes more than 40 times longer to run:
    Old configurations:
    - Hardware T5120
    - Solaris 10_u4 8/7
    - MySQL 5.1.30
    - Primary service domain has 8 ldoms, primary has 4 cpus and 2G mem
    - Ldom mgr 1.0.3
    - Database server sits on LDOM2 with 12 vcpus and 8G mem, two image file disk export from primary, basically the whole 2nd disk raid 1 for LDOM2, one 15G for OS and other 100G for database
    - Store procedure only takes 0.87 seconds to finish
    New configurations:
    - everything is same as above, except I patched the primary to kernel patch 142900-02, then the mysql store procedure in LDOM2 takes about 35 seconds to finish
    I have tried all different kind of combinations, from the above configuration I think there might be some kernel parameters settings changed since the upgrade but not sure what are they. If any one know or has some kind issues please let me know. Any help would be appreciated.
    Thanks!

    Hello.
    Patch 142900-02 is old. You can try install 142909-17. This patch obsolete 142900.
    For rest you can remove patch 142900-02 and check performance.
    Regards.

  • MySQL links in Solaris 11.2 have gone from /usr/mysql/bin

    I see that Solaris 11.2 now comes with MySQL 5.5 but I notice that the symbolic links (/usr/mysql/bin, etc) have been removed from all the packages.
    # Solaris 11.1
    # ls -l /usr/mysql/
    total 9
    drwxr-xr-x   8 root     bin            8 Feb 15  2012 5.1
    lrwxrwxrwx   1 root     root           7 Feb 15  2012 bin -> 5.1/bin
    lrwxrwxrwx   1 root     root           8 Feb 15  2012 docs -> 5.1/docs
    lrwxrwxrwx   1 root     root          11 Feb 15  2012 include -> 5.1/include
    lrwxrwxrwx   1 root     root           7 Feb 15  2012 lib -> 5.1/lib
    lrwxrwxrwx   1 root     root           7 Feb 15  2012 man -> 5.1/man
    lrwxrwxrwx   1 root     root           9 Feb 15  2012 share -> 5.1/share
    # Solaris 11.1
    # pkg contents -r -m database/[email protected]| grep "link path=usr/mysql/"
    link path=usr/mysql/5.1/bin/64 target=sparcv9 variant.arch=sparc
    link path=usr/mysql/bin target=5.1/bin
    link path=usr/mysql/5.1/bin/64 target=amd64 variant.arch=i386
    link path=usr/mysql/share target=5.1/share
    link path=usr/mysql/docs target=5.1/docs
    # Solaris 11.2
    # pkg contents -r -m database/[email protected] | grep "link path=usr/mysql/"
    link path=usr/mysql/5.1/bin/64 target=amd64 variant.arch=i386
    link path=usr/mysql/5.1/bin/64 target=sparcv9 variant.arch=sparc
    Should they be added back?
    Andrew

    This is not an oversight. As MySQL 5.1 libraries are not compatible with the 5.5 version and to avoid some breaks, you must check and modify all programs and/or scripts that you use if you want to use this new version.

  • Solaris 10 sparc + mysql + perl + dbd mysql + apache2

    Is there any sane way to build dbd 4.013 mysql on a clean solaris box with sunstudio installed?
    I want to use the mysql that comes with solaris 10.
    I want to use the perl installation that comes with solaris 10.
    I have been trying to build it for days on u8 sparc. Everything else works. Heck, I even got imagemagick and perlmagick to build correctly.
    CPAN does not work for DBD
    cc does not work.
    I assume this has to do with the version of mysql that comes 'preinstalled' in solaris 10.
    Any suggestions?

    Nothing at all. In fact I have never ever had a problem with sunstudio. It boggles the mind that they put those SUNWgcc packages on a Solaris release but not sunstudio. It is such a great bit of software.
    I have now found the only way to really get around this is to build mysql from scratch and then build dbd. It worked perfectly just now. I could not get DBD to build with any of the packaged version of mysql. This makes updating difficult but I can get around that.
    Now my stupid perlmagick is busted though. arrggghhh....
    Edited by: kjard_us on Nov 7, 2009 12:38 PM
    Never mind... forgot that silly
    crle -l /lib:/usr/lib:/local/lib:/usr/local/lib
    everything is good now.
    Edited by: kjard_us on Nov 7, 2009 1:03 PM

  • Installing Mysql on Solaris 10

    Ive installed Mysql on solaris 10 and when i try and start it up i get these errors...any help would be appricated...
    # more Felicia.err
    051025 14:45:34 mysqld started
    InnoDB: The first specified data file ./ibdata1 did not exist:
    InnoDB: a new database to be created!
    051025 14:45:35 InnoDB: Setting file ./ibdata1 size to 10 MB
    InnoDB: Database physically writes the file full: wait...
    051025 14:45:36 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
    InnoDB: Setting log file ./ib_logfile0 size to 5 MB
    InnoDB: Database physically writes the file full: wait...
    051025 14:45:37 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
    InnoDB: Setting log file ./ib_logfile1 size to 5 MB
    InnoDB: Database physically writes the file full: wait...
    InnoDB: Doublewrite buffer not found: creating new
    InnoDB: Doublewrite buffer created
    InnoDB: Creating foreign key constraint system tables
    InnoDB: Foreign key constraint system tables created
    051025 14:45:39 InnoDB: Started; log sequence number 0 0
    051025 14:45:39 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
    051025 14:45:39 mysqld ended
    # bin/mysqld --user=root
    051025 16:24:55 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...
    051025 16:24:55 InnoDB: Starting log scan based on checkpoint at
    InnoDB: log sequence number 0 36808.
    InnoDB: Doing recovery: scanned up to log sequence number 0 43634
    051025 16:24:56 InnoDB: Starting an apply batch of log records to the database...
    InnoDB: Progress in percents: 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
    InnoDB: Apply batch completed
    051025 16:24:56 InnoDB: Flushing modified pages from the buffer pool...
    051025 16:24:56 InnoDB: Started; log sequence number 0 43634
    051025 16:24:56 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist

    I dont' mean to be starting up a storm that doesn't need to be stirred but I'm only telling you what it tells me on the mysql page. Below is the excert.
    End of Product Lifecycle.
    Active development and support for MySQL database server versions 3.23, 4.0, and 4.1 has ended. However, for MySQL 4.0 and 4.1, there is still extended support available. For details, see http://www.mysql.com/company/legal/lifecycle/#calendar. According to the MySQL Lifecycle Policy (see http://www.mysql.com/company/legal/lifecycle/#policy), only Security and Severity Level 1 issues will still be fixed for MySQL 4.0 and 4.1. Please consider upgrading to a recent version (MySQL 5.0 or 5.1).
    Anyway I put version 5.0.45 on my mysql zone with no problems. There is a binary version for download at mysql's site. I'm using the SPARC 64-bit version.

  • Solaris 10 with MySQL 5.5

    Hi,
    I have posted similar question in MySQL forums, but I'm not sure if this is due to MySQL or Solaris problem.
    Does anyone know why MySQL 5.5 stops suddenly in Solaris 10 when an error ocurrs in sql script.
    I run mysql from command line instead as service by next command from /opt/mysql/mysql/bin/: bash mysqld_safe --datadir=/export/home/mysql/data &.
    And i have setted my-innodb-heavy-4G.cnf as /etc/my.cnf config file.
    Is there any system log (other tan mysql) where can i find what is happening? how can i see who sends shutdown signal to MySQL?
    Thanks

    About permissions problem, i have tested launching MySQL as root and the problem continue.
    MySQL works fine, applications (Pentaho on tomcat) works fine for a large period, and suddenly MySQL stops.
    I have launched truss (truss -rall -wall) on MySQL pid and these are certain results. I cannot interpret this info. I have only detected the block when first shutdown ocurrs. Anybody is able to interpret this info? thanks.
    /44:     fcntl(51, F_SETFL, FWRITE|FNONBLOCK)          = 0
    /44:     access("./mib", F_OK)                    = 0
    /44:     write(51, "07\0\002\0\0\002\0\0\0", 11)          = 11
    /44:     read(51, 0x13E4F110, 4)                    Err#11 EAGAIN
    /44:     time()                              = 0
    /44:     lwp_kill(25, SIGALRM)                    = 0
    /44:     fcntl(51, F_SETFL, FWRITE)               = 0
    /44:     read(51, " j03\0\0", 4)                    = 4
    /44:     read(51, 0x13E4F110, 874)               = 874
    /44:     03 / * m y s q l - c o n n e c t o r - j a v a - 5 . 1 . 1 7
    /44:     ( R e v i s i o n : $ { b z r . r e v i s i o n - i d } )
    /44:     * / S H O W V A R I A B L E S W H E R E V a r i a b l e
    /44:     _ n a m e = ' l a n g u a g e ' O R V a r i a b l e _ n a
    /44:     m e = ' n e t _ w r i t e _ t i m e o u t ' O R V a r i
    /44:     a b l e _ n a m e = ' i n t e r a c t i v e _ t i m e o u t
    /44:     ' O R V a r i a b l e _ n a m e = ' w a i t _ t i m e o
    /44:     u t ' O R V a r i a b l e _ n a m e = ' c h a r a c t e
    /44:     r _ s e t _ c l i e n t ' O R V a r i a b l e _ n a m e =
    /44:     ' c h a r a c t e r _ s e t _ c o n n e c t i o n ' O R V
    /44:     a r i a b l e _ n a m e = ' c h a r a c t e r _ s e t ' O
    /44:     R V a r i a b l e _ n a m e = ' c h a r a c t e r _ s e t
    /44:     _ s e r v e r ' O R V a r i a b l e _ n a m e = ' t x _
    /44:     i s o l a t i o n ' O R V a r i a b l e _ n a m e = ' t
    /44:     r a n s a c t i o n _ i s o l a t i o n ' O R V a r i a b l
    /44:     e _ n a m e = ' c h a r a c t e r _ s e t _ r e s u l t s '
    /44:     O R V a r i a b l e _ n a m e = ' t i m e z o n e ' O
    /44:     R V a r i a b l e _ n a m e = ' t i m e _ z o n e ' O R
    /44:     V a r i a b l e _ n a m e = ' s y s t e m _ t i m e _ z o
    /44:     n e ' O R V a r i a b l e _ n a m e = ' l o w e r _ c a
    /44:     s e _ t a b l e _ n a m e s ' O R V a r i a b l e _ n a m e
    /44:     = ' m a x _ a l l o w e d _ p a c k e t ' O R V a r i a
    /44:     b l e _ n a m e = ' n e t _ b u f f e r _ l e n g t h ' O
    /44:     R V a r i a b l e _ n a m e = ' s q l _ m o d e ' O R
    /44:     V a r i a b l e _ n a m e = ' q u e r y _ c a c h e _ t y p
    /44:     e ' O R V a r i a b l e _ n a m e = ' q u e r y _ c a c
    /44:     h e _ s i z e ' O R V a r i a b l e _ n a m e = ' i n i
    /44:     t _ c o n n e c t '
    /44:     fcntl(51, F_SETFL, FWRITE|FNONBLOCK)          = 0
    /44:     lwp_kill(25, SIGTERM)                    = 0
    /44:     write(51, "05\0\001FE\0\002\0", 9)          = 9
    /44:     shutdown(51, SHUT_RDWR, SOV_DEFAULT)          = 0
    /44:     close(51)                         = 0
    /25:     Received signal #14, SIGALRM, in sigtimedwait() [caught]
    /25:     siginfo: SIGALRM pid=3456 uid=101 code=-1
    /25:     sigtimedwait(0xFFFFFD7FFC920DC0, 0xFFFFFD7FFC920DD0, 0x00000000) = SIGALRM
    /25:     lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
    /25:     time()                              = 0
    /25:     alarm(1360260006)                    = 8
    /25:     lwp_sigmask(SIG_SETMASK, 0x00807007, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
    /25:     mmap(0x00000000, 196608, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, 4294967295, 0) = 0xFFFFFD7FFBCCD000
    /25:     lwp_create(0xFFFFFD7FFC920B20, LWP_DETACHED|LWP_SUSPENDED, 0xFFFFFD7FFC920B1C) = 45
    /25:     lwp_continue(45)                    = 0
    /25:     Received signal #15, SIGTERM, in sigtimedwait() [caught]
    /25:     siginfo: SIGTERM pid=3456 uid=101 code=-1
    /25:     sigtimedwait(0xFFFFFD7FFC920DC0, 0xFFFFFD7FFC920DD0, 0x00000000) = SIGTERM
    /45:     lwp_create()     (returning as new lwp ...)     = 0
    /45:     setustack(0xFFFFFD7FFBF05AA8)
    /45:     schedctl()                         = 0xFFFFFD7FFF3F82B0
    /45:     time()                              = 0
    /45:     write(2, " 7 0 0 1", 4)                    = 4
    /45:     write(2, " 0", 1)                    = 1
    /45:     write(2, " 1 1", 4)                    = 4
    /45:     write(2, " :", 1)                    = 1
    /45:     write(2, " 0 0 : 0", 4)                    = 4
    /45:     write(2, " 0", 1)                    = 1
    /45:     write(2, " [", 2)                    = 2
    /45:     write(2, " N o t e", 4)                    = 4
    /45:     write(2, " ] ", 2)                    = 2
    /45:     write(2, 0xFFFFFD7FFBCFCA10, 45)          = 45
    /45:     / o p t / m y s q l / m y s q l / b i n / m y s q l d : N o r
    /45:     m a l s h u t d o w n\n
    /45:     write(2, "\n", 1)                    = 1
    /43:     lwp_park(0x00000000, 0)                    = 0
    /43:     lwp_unpark(45)                         = 0
    /43:     lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
    /43:     lwp_exit()
    /45:     lwp_park(0x00000000, 43)               = 0
    /42:     lwp_park(0x00000000, 0)                    = 0
    /42:     lwp_unpark(45)                         = 0
    /42:     lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
    /42:     lwp_exit()
    /45:     lwp_park(0x00000000, 42)               = 0
    /44:     lwp_park(0x00000000, 0)                    = 0
    /44:     lwp_unpark(45)                         = 0
    /44:     lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
    /44:     lwp_exit()
    /45:     lwp_park(0x00000000, 44)               = 0
    /41:     lwp_park(0x00000000, 0)                    = 0
    /41:     lwp_unpark(45)                         = 0
    /41:     lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
    /41:     lwp_exit()
    /45:     lwp_park(0x00000000, 41)               = 0
    /45:     lwp_kill(1, SIGUSR1)                    = 0
    /1:     Received signal #16, SIGUSR1, in pollsys() [caught]
    /1:     siginfo: SIGUSR1 pid=3456 uid=101 code=-1

  • DNS requests from Solaris 10 box to Bind/MySQL DNS server fail

    We have some servers running solaris 9 and some running solaris 10. We also have a DNS server setup running BIND with the MySQL backend. When I query the DNS server from our solaris 9 boxes, they always work just fine. However, when I query the DNS server from our solaris 10 boxes, they always fail. Queries to other DNS servers from the Solaris 10 boxes work just fine - they only fail when being sent to this particular DNS server. Here's exactly what I'm doing:
    ON SOLARIS 9 BOX:
    bash-3.00$ nslookup google.com calo-sunset
    Server: calo-sunset
    Address: <IP_OF_DNS_SERVER>#53
    Non-authoritative answer:
    Name: google.com
    Address: 64.233.187.99
    Name: google.com
    Address: 72.14.207.99
    Name: google.com
    Address: 209.85.171.99
    ON SOLARIS 10 BOX:
    bash-2.05$ nslookup google.com calo-sunset
    *** Can't find server name for address <IP_OF_DNS_SERVER>: Non-existent host/domain
    *** Default servers are not available
    In the case of the SOLARIS 10 box, <IP_OF_DNS_SERVER> is correct - it knows the IP address of the DNS server, but apparently it doesn't recognize that it's actually a DNS server.
    I am utterly perplexed by this. It seems to me that a DNS request is a DNS request, regardless of your OS. Clearly something is different from Solaris 9 to Solaris 10 though because the requests fail on all of our solaris 10 boxes, and they succeed on all of our Solaris 9 boxes. Incidentally, dig requests from the Solaris 10 box also fail, where they succeed on the Solaris 9 boxes.
    I don't really know what other information I could offer that might be useful. If you have any information at all about this or ideas on what I might try to troubleshoot/fix it, I'd love to hear it. Thanks in advance.

    First off, I am an idiot. I got this entire post backwards. The fact is that the DNS requests work swimmingly well on our Solaris 10 boxes. They fail on our Solaris 9 boxes. I don't know how I managed to read this post all of these times and not notice that I got that backwards. Nice.
    In any case, I've found the problem. It was non-trivial to me because I am not terribly familiar with the inner-workings of DNS. To those who are, it may seem painfully obvious. To me it certainly was not.
    The problem was that the DNS server (BIND 9 with MySQL backend) did not contain a reverse DNS entry for itself. Apparently this is a big problem for Solaris 9. I got a hint that this might be the cause when I turned on verbose debugging info when I ran nslookup (nslookup -d2). I had to add the PTR record for the DNS server itself. I don't know why Solaris 9 would require that a DNS server contain reverse DNS information about itself, but sure enough it does. As soon as I added that info, the Solaris 9 boxes were able to successfully query the DNS server. Very odd.
    Anyway, I doubt anyone else will come across this problem, but if you do, now you know something that might fix it.
    Edited by: dprater on Oct 7, 2008 8:09 PM

Maybe you are looking for

  • How to play iTunes and music from external hard drive?

    I recently back up all my music from my old computer on to an external hard drive. I have a new computer but don't want to store all the music on the computer's hard drive. I would rather play iTunes and all the music straight off of the hard drive.

  • Search attatchments GOS

    Hi Gurus, I would like to know if there are any tcode to find documents created with GOS attachments. I see tcode oaad but this tcode is for search documents of Archive link. I see tcode cv04n but this tcode is for search document of dms, but not att

  • Hierarchy Query

    Hi All.. I have a hierarchy query with description as below SQL> desc manager_entity; Name                                      Null?    Type MANAGER_ENTITY_ID               NOT NULL NUMBER MANAGER_ENTITY_TYPE_ID      NOT NULL NUMBER MANAGER_ENTITY_P

  • Disadvantages/risks of using (e)Catt in production systems

    Hi, in a number of documents on e(Catt) there is a warning not to use (e)Catt in production. Can anyone tell me what the risks are or the disadvantages are of using (e)Catt in production? Is there any change of database corruption using (e)Catt? Thx,

  • Different Apple ID, same itunes?

    I want us to share an itunes account so we can share apps but i want different apple IDs so we can back-up our phones separately and we are not sharing every single thing like reminders. Apple says my I can use two different IDs for cloud vs purchasi