1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Internal error: [unixODBC][Driver Manager]Data source name not found, and no default

Discussion in 'Plesk 11.x for Linux' started by JLChafardet, Aug 31, 2012.

  1. JLChafardet

    JLChafardet Regular Pleskian

    26
    57%
    Joined:
    Feb 20, 2004
    Messages:
    379
    Likes Received:
    0
    Location:
    Caracas - Venezuela
    Os: CentOS release 5.8 (Final)
    Arch: x64
    Plesk Version: 11.0.9
    Quote:
    rpm -qa | grep -i odbc
    unixODBC-devel-2.2.11-10.el5
    unixODBC-libs-2.2.11-10.el5
    mysql-connector-odbc-3.51.26r1127-2.el5
    unixODBC-2.2.11-10.el5
    error:
    Error

    Internal error: [unixODBC][Driver Manager]Data source name not found, and no default driver specified

    Message [unixODBC][Driver Manager]Data source name not found, and no default driver specified
    File aps_php.php
    Line 7536
    Type Exception
     
  2. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
  3. JLChafardet

    JLChafardet Regular Pleskian

    26
    57%
    Joined:
    Feb 20, 2004
    Messages:
    379
    Likes Received:
    0
    Location:
    Caracas - Venezuela
    Thanks for your insight, but no, that doesn't fix it, already tried it.

    I've tried several stuff related to unixDBC from the forums, no luck so far.
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,576
    Likes Received:
    1,244
    Location:
    Novosibirsk, Russia
    Make sure that you have correct /etc/odbcinst.ini file. For instance on my test Plesk server:

     
  5. JLChafardet

    JLChafardet Regular Pleskian

    26
    57%
    Joined:
    Feb 20, 2004
    Messages:
    379
    Likes Received:
    0
    Location:
    Caracas - Venezuela
    I'll be checking the ini file, though I think this boxe's ini file looks exactly like yours.
     
  6. JLChafardet

    JLChafardet Regular Pleskian

    26
    57%
    Joined:
    Feb 20, 2004
    Messages:
    379
    Likes Received:
    0
    Location:
    Caracas - Venezuela
    Yeah it does look the same, the files exist, the paths are right!

    it just doesnt work.

    Error

    Internal error: [unixODBC][Driver Manager]Data source name not found, and no default driver specified

    Message [unixODBC][Driver Manager]Data source name not found, and no default driver specified File aps_php.php Line 7536 Type Exception





    I keep getting that message.

     
    Last edited: Sep 3, 2012
  7. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,576
    Likes Received:
    1,244
    Location:
    Novosibirsk, Russia
    But you haven't mysql-connector-odbc section there.
     
  8. JLChafardet

    JLChafardet Regular Pleskian

    26
    57%
    Joined:
    Feb 20, 2004
    Messages:
    379
    Likes Received:
    0
    Location:
    Caracas - Venezuela
    IgorG,

    I dont seem to be able to find a suitable solution

    the content (proven that the files really exist) of /etc/odbcinst.ini

    looks lke this

    still get the same exact error, i have no clue what to do right now, i cant use the app vault at all.
     
  9. JLChafardet

    JLChafardet Regular Pleskian

    26
    57%
    Joined:
    Feb 20, 2004
    Messages:
    379
    Likes Received:
    0
    Location:
    Caracas - Venezuela
    Bumping, really need a reply if anyone can help.
     
  10. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,576
    Likes Received:
    1,244
    Location:
    Novosibirsk, Russia
    Make sure that SELinux is not in Permissive mode. Check that drivers /usr/lib64/libmyodbc5.so and /usr/lib64/libmyodbc3.so are really exists.
     
Loading...