Resolv.conf problems [SOLVED]

hey all,
i was playing around with  https://wiki.archlinux.org/index.php/Pdnsd  ,followed step by step the tutorial.
the tutorial states;
System setup
Now it is time to point your system toward your brand-new DNS server.
If you use DHCP to configure your network settings, you need to edit /etc/resolv.conf.head (otherwise, you should modify /etc/resolv.conf); add pdnsd before all of the other nameservers:
# pdnsd cache @ localhost
nameserver 127.0.0.1
my resolv.conf
# Generated by dhcpcd from eth0
# /etc/resolv.conf.head can replace this line
domain telenet.be
nameserver 195.130.130.5
nameserver 195.130.131.5
# /etc/resolv.conf.tail can replace this line
becomes
# Generated by dhcpcd from eth0
# /etc/resolv.conf.head can replace this line
# pdnsd cache @ localhost
nameserver 127.0.0.1
domain telenet.be
nameserver 195.130.130.5
nameserver 195.130.131.5
# /etc/resolv.conf.tail can replace this line
am i right so far /? ,well when i do '/etc/rc.d/network restart'  my resolv.conf gets reset-ed to default....what am i doing wrong.
Last edited by gregor (2012-01-30 19:03:53)

yup so i did ,made a file  '/etc/resolv.conf.head' with
# pdnsd cache @ localhost
nameserver 127.0.0.1
restarted my network '/etc/rc.d/network restart' and my resolv.conf got adjusted the right way
# Generated by dhcpcd from eth0
# pdnsd cache @ localhost
nameserver 127.0.0.1
domain telenet.be
nameserver 195.130.131.133
nameserver 195.130.130.5
# /etc/resolv.conf.tail can replace this line
the con-tense of the file  '/etc/resolv.conf.head' replaces literary !!!!!
# /etc/resolv.conf.head can replace this line
Last edited by gregor (2012-01-30 19:08:09)

Similar Messages

  • /etc/resolv.conf problems

    In my conky script, the gmail portion stopped working so I just tried to do a normal wget https://mail.google.com in the terminal. The output was
    --11:41:41-- https://mail.google.com/
    => `index.html'
    Resolving mail.google.com... 1.0.0.0
    Connecting to mail.google.com|1.0.0.0|:443...
    which obviously isn't right. What could have changed? I use WICD to connect to my network.
    rc.conf
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime"
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="en_US.utf8"
    HARDWARECLOCK="localtime"
    TIMEZONE="Canada/Pacific"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # Scan hardware and load required modules at bootup
    MOD_AUTOLOAD="yes"
    # Module Blacklist - modules in this list will never be loaded by udev
    MOD_BLACKLIST=()
    # Modules to load at boot-up (in this order)
    # - prefix a module with a ! to blacklist it
    MODULES=(sky2 iwl4965 snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore acpi-cpufreq cpufreq_conservative)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    HOSTNAME="reasons"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
    # interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
    lo="lo 127.0.0.1"
    eth0="dhcp"
    wlan0="dhcp"
    #eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
    INTERFACES=(lo eth0 wlan0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network-profiles
    #NET_PROFILES=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng crond dbus netfs !network !dhcdbd wicd @cups @alsa @acpid @hal @fam @mpd @acpid @cpufreq gdm)
    # End of file
    /etc/hosts
    # /etc/hosts: static lookup table for host names
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 localhost.localdomain localhost reasons
    # End of file
    Last edited by Reasons (2008-01-11 01:28:45)

    nawcom wrote:
    i was wandering around forums and i noticed the wicd issue with archlinux, since it still focuses on dhcpcd, not dhclient - so resolv.conf doesnt upload.
    http://bbs.archlinux.org/viewtopic.php? … 34#p332334
    let me know if it solves the issue.
    That fixed it, thanks. Let's hope it stays this time.
    Cerebral wrote:
    Reasons wrote:
    I tried that all to no avail. The problem actually went away for a while but now it is back. I've disabled ipv6 which is what solved it but now that isn't working. Also,
    [shawn] /etc/rc.d/dhcpd start
    :: Starting DHCP Server                                                  [FAIL]
    Is there a reason you're starting the dhcp Server, and not client?  Do you want dhcpcd?
    That was my mistake.

  • Pacman.conf problem [solved]

    Hi im having a problem with yaourt, and packer and i cant also install any package form Aur for example:
    packer -S opencascade
    grep: /etc/pacman.conf: Permission denied
    error: config file /etc/pacman.conf could not be read: Permission denied
    error: config file /etc/pacman.conf could not be read: Permission denied
    Aur Targets (1): opencascade
    Proceed with installation? [Y/n] y
    Dependencies for `opencascade' are not met, not building..
    i have the same problem with yaourt
    if i try to install from a tarball  for example i get this
    makepkg -s
    ==> Making package: plank-bzr 820-1 (Fri Jun 7 13:06:26 ART 2013)
    ==> Checking runtime dependencies...
    error: config file /etc/pacman.conf could not be read: Permission denied
    ==> ERROR: 'pacman' returned a fatal error (1):
    [dam2@dam1d plank-bzr]$
    i installed arch linux again yesterday and i copy the pacman.conf file that i have in my older arch linux to my new one
    # /etc/pacman.conf
    # See the pacman.conf(5) manpage for option and repository directives
    # GENERAL OPTIONS
    [options]
    # The following paths are commented out with their default values listed.
    # If you wish to use different paths, uncomment and update the paths.
    #RootDir = /
    #DBPath = /var/lib/pacman/
    #CacheDir = /var/cache/pacman/pkg/
    #LogFile = /var/log/pacman.log
    #GPGDir = /etc/pacman.d/gnupg/
    HoldPkg = pacman glibc
    #XferCommand = /usr/bin/curl -C - -f %u > %o
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #CleanMethod = KeepInstalled
    #UseDelta = 0.7
    Architecture = auto
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options
    #UseSyslog
    #Color
    #TotalDownload
    CheckSpace
    #VerbosePkgLists
    # By default, pacman accepts packages signed by keys that its local keyring
    # trusts (see pacman-key and its man page), as well as unsigned packages.
    SigLevel = Required DatabaseOptional
    LocalFileSigLevel = Optional
    #RemoteFileSigLevel = Required
    # NOTE: You must run `pacman-key --init` before first using pacman; the local
    # keyring can then be populated with the keys of all official Arch Linux
    # packagers with `pacman-key --populate archlinux`.
    # REPOSITORIES
    # - can be defined here or included from another file
    # - pacman will search repositories in the order defined here
    # - local/custom mirrors can be added here or in separate files
    # - repositories listed first will take precedence when packages
    # have identical names, regardless of version number
    # - URLs will have $repo replaced by the name of the current repo
    # - URLs will have $arch replaced by the name of the architecture
    # Repository entries are of the format:
    # [repo-name]
    # Server = ServerName
    # Include = IncludePath
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.
    # The testing repositories are disabled by default. To enable, uncomment the
    # repo name header and Include lines. You can add preferred servers immediately
    # after the header, and they will be used before the default mirrors.
    #[testing]
    #Include = /etc/pacman.d/mirrorlist
    [core]
    Include = /etc/pacman.d/mirrorlist
    [extra]
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    #Include = /etc/pacman.d/mirrorlist
    [community]
    Include = /etc/pacman.d/mirrorlist
    # If you want to run 32 bit applications on your x86_64 system,
    # enable the multilib repositories as required here.
    #[multilib-testing]
    #Include = /etc/pacman.d/mirrorlist
    [multilib]
    Include = /etc/pacman.d/mirrorlist
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #SigLevel = Optional TrustAll
    #Server = file:///home/custompkgs
    # /etc/pacman.conf
    # See the pacman.conf(5) manpage for option and repository directives
    # GENERAL OPTIONS
    modedit: added code tags /Xyne
    Last edited by adcdam (2013-06-07 19:28:32)

    grep: /etc/pacman.conf: Permission denied
    error: config file /etc/pacman.conf could not be read: Permission denied
    error: config file /etc/pacman.conf could not be read: Permission denied
    This tells you that you have incorrectly configured permissions when you copied the file. Fix that with
    chmod 644 /etc/pacman.conf
    Also note that I have added code tags ([code]) to your post. Please use them in the future when you post command output or file contents.

  • [SOLVED] Question about resolv.conf

    I successfully configured my Arch box with a static IP by following the instructions on the Arch wiki page here but had a couple of questions about configuring /etc/resolv.conf:
    1) What is the proper way to obtain the domain name that should be inserted into resolv.conf?
    2) What exactly is this domain name used for?  I read the man page but still don't really understand it.  Why do I need a domain name if I already have a working set of nameservers to resolve IP addresses?
    EDIT: @ewaller Yes I edited the OP because I realized that my original problem was that I just hadn't added a domain name in my resolv.conf file.  I edited my original post because 1) the instructions are already posted clearly on Arch Wiki so my post really wouldn't be beneficial and 2) so I could ask my real question without making other people waste their time reading through my other nonsense
    Last edited by choogi (2010-09-09 04:06:45)

    yejun wrote:You can just use public dns like 8.8.8.8 or 4.2.2.1. There's no other way to get dnsserver besides dhcp.
    Yes, I know how to get a nameserver, but I'm asking about the domain name that goes in resolv.conf.  The Arch wiki tutorial for setting up static IP uses the following resolv.conf as an example:
    nameserver 61.23.173.5
    nameserver 61.95.849.8
    search example.com
    My question has to do with what the "search example.com" does.  I don't have a domain name associated with my machine, but if I remove that line, then I get "web page unavailable" when I try to load any web site, which suggests that I'm not connecting to any nameservers right?

  • [SOLVED] How Can I Stop DHCPCD from Overwriting my /etc/resolv.conf...

    Hey guys,
    For some unknown reason /etc/dhcpcd.conf continually overwrites my /etc/resolv.conf file, eventhough I set the "nohook resolv.conf" hook in /etc/dhcpcd.conf.
    This is screwing up my DNS and intermittently creating connection problems. Any of you guys know why the hook is not taking effect or how I can stop dhcpcd from overwritting this file?
    Thanks
    Last edited by w201 (2013-03-18 19:05:15)

    drcouzelis wrote:
    w201 wrote:I set the "nohook resolv.conf" hook in /etc/dhcpcd.conf.
    kaszak696 wrote:
    dhcpcd's configuration file may be edited to prevent the dhcpcd daemon from overwriting /etc/resolv.conf. To do this, add the following to the last section of /etc/dhcpcd.conf:
    nohook resolv.conf
    I don't think that information will help w201...
    I changed my DNS to the Google one (8.8.8.8 or something). That's in "resolv.conf", isn't it? I remember editing some OTHER configuration file, which is then read to create the "resolve.conf" file. There it is, in that link to the wiki, under "Use resolv.conf.head". Does that help you do what you want to do?
    There's three techniques at the wiki link, the nohook one, the resolv.conf.head one and the write-protection attribute. 

  • [SOLVED]manually set resolv.conf nameserver when using netcfg

    This is probably simple, but i can't seem to find the answer anywhere (wiki/google/forums), so if someone could point me in  the right direction that would be great!
    When netcfg brings up my wireless connection it automatically overwrites my nameserver settings in /etc/resolv.conf
    how do i set it up so that it keeps my settings?
    Last edited by stevesutt89 (2009-02-23 21:58:27)

    Use DNS=()
    DNS=(192.123.123.123 167.21.51.12)
    There is also SEARCH= and DOMAIN= if needed.
    Last edited by iphitus (2009-02-21 10:22:36)

  • Dhcpcd overriding /etc/resolv.conf, 'nohook resolv.conf' [solved]

    hello.
    I set dhcpcd not to override the /etc/resolv.conf file:
    [root@ jenia]# cat /etc/dhcpcd.conf
    # A hook script is provided to lookup the hostname if not set by the DHCP
    # server, but it should not be run by default.
    nohook lookup-hostname
    noipv4ll
    nohook resolv.conf <----------------------------------------------------------------------------
    However, this has no effect:
    [root@ jenia]# cat /etc/resolv.conf
    domain members.linode.com
    nameserver 72.14.179.5
    nameserver 72.14.188.5
    nameserver 2600:3c00::2
    nameserver 2600:3c00::3
    options rotate
    [root@ jenia]# systemctl start [email protected]
    [root@ jenia]# cat /etc/resolv.conf
    # This file is managed by systemd-resolved(8). Do not edit.
    # Third party programs must not access this file directly, but
    # only through the symlink at /etc/resolv.conf. To manage
    # resolv.conf(5) in a different way, replace the symlink by a
    # static file or a different symlink.
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    nameserver 2001:4860:4860::8888
    # Too many DNS servers configured, the following entries may be ignored
    nameserver 2001:4860:4860::8844
    As you can see dhcpcd ovveride the /etc/resolv.conf file.
    How can I avoid this? How can I change the file and make the changes permanent.
    Thanks in advance.
    Last edited by jenia (2014-07-16 17:20:02)

    yes. exactly. i removed and used a text editor to make the necessary changes to a file of the same name (/etc/resolv.conf).
    now the changes remained.
    thanks.

  • [solved]how to stop /etc/resolv.conf keeps being overwritten ???

    no matter how many times to change the content, it keeps like that:
    # Generated by dhcpcd from eth0
    # /etc/resolv.conf.head can replace this line
    nameserver 192.168.8.1
    # /etc/resolv.conf.tail can replace this line
    so i can't add nameserver in it
    Last edited by tempo (2010-01-14 15:01:35)

    The clue is in the message, use a file called resolv.conf.head to add a nameserver to the top and resolv.conf.tail to add it to the bottom.
    It's being overwritten because you are using dhcpcd to auto configure your network settings.
    Last edited by Meyithi (2010-01-14 13:03:43)

  • [SOLVED] /etc/resolv.conf vs. the DNS field in netctl profiles

    I'm a bit confused about the current role of /etc/resolv.conf.  The Netctl profile documentation has a DNS field, so has /etc/resolv.conf become functionally obsolete when using netctl?  Or is /etc/resolv.conf still useful when you have multiple interfaces, as it specifies DNS servers for all interfaces?
    Last edited by pgoetz (2014-08-30 11:51:50)

    From https://wiki.archlinux.org/index.php/resolv.conf:
    dhcpcd, netctl, NetworkManager, and various other processes can overwrite /etc/resolv.conf.

  • /etc/openvpn/update-resolv-conf': No such file or directory

    Hi,
    First, sorry if this isn't the right section. I was quite hesitant on which one to post in.
    I was using OpenVPN a few months ago, it was working great. I left it aside during a moment because I didn't need it.
    Recently, I tried to connect to the VPN server I used to use (a friend's server, which is still up and running, I can connect with no problem on my Windows session with openvpn-gui), but I was getting this error each time I tried to connect.
    Here's my command line with the error:
    [brendan@Archisen openvpn]$ openvpn --config client.conf
    Options error: --up script fails with '/etc/openvpn/update-resolv-conf': No such file or directory
    Options error: Please correct this error.
    Use --help for more information.
    [brendan@Archisen openvpn]$
    client.conf
    # Client
    client
    dev tun
    proto tcp
    remote 62.210.207.73 443
    resolv-retry infinite
    cipher AES-256-CBC
    # Cles
    ca ca.crt
    cert brendan.crt
    key brendan.key
    tls-auth ta.key 1
    # Securite
    nobind
    persist-key
    persist-tun
    comp-lzo
    verb 3
    script-security 3 system
    up /etc/openvpn/update-resolv-conf
    If I remove the "up /etc/openvpn/update-resolv-conf" line, OpenVPN doesn't output any error, but I can barely resolve any domain name.
    Do you have an idea on how to fix this?
    Thanks.

    Please post your oracle's .bash_profile.Please have a quick glance at my .bash_profile
    ============================================
    [root@localhost ~]# cat /home/oracle/.bash_profile
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    PATH=$PATH:$HOME/bin
    export PATH
    unset USERNAME
    ###########oracle variables#############
    echo "welcome to oracle";
    ORACLE_BASE=/u01/app/oracle
    ORACLE_OWNER=oracle;export ORACLE_OWNER
    ORACLE_SID=sai10g
    ORACLE_TERM=xterm; export ORACLE_TERM
    LD_LIBRARY_PATH=$ORACLE_HOME/db_1/lib ; export LD_LIBRARY_PATH
    ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
    export DISPLAY=:0.0
    PATH=$PATH:$ORACLE_HOME/db_1/bin
    export ORACLE_BASE ORACLE_HOME PATH ORACLE_SID
    ########## End of Oracle Variables############
    =============================================
    and also .bashrcHere is .bashrc
    ==================
    [root@localhost ~]# cat /home/oracle/.bashrc # .bashrc
    # User specific aliases and functions
    # Source global definitions
    if [ -f /etc/bashrc ]; then
    . /etc/bashrc
    fi
    ====================
    Can anyone have a quick glance at this and let me know what is the problem and how to solve it?

  • Dhcpcd overrides resolv.conf from vpnc

    As soon dhcpcd renews the lease the resolv.conf from the vpnc gets overridden. At the moment my workaround is to copy periodically the resolv.conf.
    Is there a proper solution? Have I missed a configuration parameter?
    The dhcpcd is startet in this way:
    dhcpcd -b -q -t 0 wlan0

    I just solved this issue and I wanted to share my solution in case anyone else runs into this problem.  Hopefully there isn't a rule against replying to month-old threads =P
    How to make dhcpcd and vpnc work together:
    1) Install openresolv.  This package provides resolvconf, which helps coordinate modifications to /etc/resolv.conf.  With resolvconf, dhcpcd and vpnc will no longer overwrite each other's changes to /etc/resolv.conf
    2) Modify /etc/vpnc/vpnc-script to look for resolvconf at /usr/sbin/resolvconf instead of /sbin/resolvconf
    3) Do not modify /usr/lib/dhcpcd/dhcpcd-hooks/20-resolv.conf.  This hook will work with resolvconf without any modifications
    Hopefully this will be helpful to someone
    Last edited by centenary (2010-11-29 19:20:45)

  • I am no longer able to double click on a file and have it open.  Any suggestions on how to resolve this problem?

    I am no longer able to double click on a file and have it open.  Any suggestions on how to resolve this problem?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • I can't click below the toolbar .half inch to 3inch from right to left. all words or letters are not working. please help to resolve this problem. thanks!

    Everytime I open firefox, all words or letters below the toolbar half inch to 3 inch from right to left are not clickable(not working). but they are working or clickable on google crhome or internet explorer. please help to resolve this problem. thanks!

    The '''''Yahoo! Toolbar''''' and the '''''Babylon''''' extension have been reported to cause that problem. They seem to invisibly extend downward over the top of the web page display area. Disable or uninstall those add-ons.
    *See --> http://support.mozilla.com/en-US/kb/Uninstalling+add-ons
    *See --> http://support.mozilla.com/en-US/kb/Cannot%20uninstall%20an%20add-on
    *See --> http://kb.mozillazine.org/Uninstalling_toolbars
    *See --> https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • Dr.Watson problems solved.

    DR.WATSON PROBLEMS SOLVED:
    System:
    WLS 5.1 with SP11 running on NT4 Using OCI817_8.
    Oracle 7.3.4 running on NT4.
    Problems:
    Dr.Watson exceptions in native code...
    # An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code outside
    the VM.
    # Program counter=0x60239689
    When asking BEA and Oracle:
    "Use the latest OCI available. It is backward compatible !"
    What have been done to solve the problem:
    Going through all SQL code (and doing some rewriting), configuring connection
    pools (TestOnReserve / TestOnRelease, refresh, etc) and several other configurations...
    At last, we tried to change to the OCI version matching the Oracla versions we
    were connecting to (from OCI817_8 to OCI734_7).
    Voila ! NO MORE DR.WATSON EXCEPTIONS !
    Our conclusion:
    If possible, use the OCI version that matches the Oracle version you are running
    on.

    Hi Abhijit
    Couple of pointers which could resolve the issue:
    1. Since you are using the JDBC-ODBC bridge what occurs internally is that your JDBC API through the Virtual Machine make calls into the ODBC API on your Windows system. So the Watson error that you are getting is probably an illegal access by one of the methods in the ODBC API - this is for the Diagnosis part.
    2. The Solution part -
    a. Should I change my JDBC-ODBC driver? Not necessarily because the problems could be with the ODBC interface implementation and changing the driver might not help.
    b. Should I change my programming style? This is one thing which could really help. The problem with creating connections each time is that it takes a lot of resources to do it, So there is a performance degradation. What you could do inyour code is use a Java Bean to create the required Connection. You can also think of using a prepared statement appropriately encapsulate it since you are invoking a particular query repeatedly. In your JSP page you can retrive(create) this bean through the jsp:useBean tag with the session as the scope attribute. The <jsp:setProperty methods could also be used to set the DSN name and the driver.
    Once this bean is successfully created you have an open connection.
    Now for the part you have pasted - replace the create connections with getting a new Statement object which would hold your Query. At the end of the JSP just close the Statement object.
    Once you are done updating the page you may transfer the control to a different JSP - Let that transfer trigger the connection close in the Java bean.
    This should solve the Dr.Watson problem.
    Good Luck!
    Eshwar Rao
    Developer Technical Support
    Sun microsystems inc
    http://www.sun.com/developers/support

  • Chosen font and font encodings differ & could not be resolved  editing problem

    Can anyone advise how I can edit text in a document I received? The document was generated by Ghostscript.
    When attempting to edit text, a message says, All or part of the selection has no available system font. You cannot add or delete text using the currently selected font.
    When I try to alter the font through Touchup Properties, the error message says, The change to a different font was not done because the chosen font and the font encodings in the document differ and could not be resolved.
    I use Adobe Acrobat Standard, version 7.0. Is this problem solved in versions 8 or 9?

    This IS an Acrobat problem, as they should have anticipated this problem and created a way around it (fall back to a more common font, for example).
    The work-around is to copy the text, create a rectangle with a white fill color, then place it on top of the text in Acrobat to cover it up. Paste in the text using whatever font you wanted.

Maybe you are looking for

  • Macbook Pro to Sony Bravia connection

    Hi, I would like to connect my Macbook Pro to my Sony Bravia KDL-32V2000 but I'm not sure what input connection i need on the TV and what cable i need? There is a HDMI input but that is being used with the cable box. Will the PC input connection work

  • Converting XML to string

    I have an xml file titled config.xml that looks like this. <textChanges>      <change id = "22833" whatToAdd = "\n\n" whereToAdd = "Front"></change>      <change id = "22843" whatToAdd = "\n" whereToAdd = "End"></change> </textChanges> I'm processing

  • Slow firewire transfer speed in Snow Leopard

    Hello, Everything works fine in Snow Leopard, besides copying large files to my external Freecom firewire hard drives. Having a dual boot system with also Leopard installed, the problem only exists in Snow Leopard. NVRAM/PRAM reset doesn't help. Does

  • Disappearing info in the "Get Info" panel

    When I select "get info" on a jpeg file using Mountain Lion, I am able to see all the "More Info" data, but if I come back to that same file after navigating away from it, all the data disappears? I was able to flawlessly recreate this scenerio with

  • Edit or change the email label in contacts

    I have an Ipad 2 up to date. I notice that in some contacts I can change the label for emails or add a custom label where as others that field cannot be changed or edited. Can anyone help thanks Chris