VPDN PPTP server doesn't work after put it into an VRF instance

Originally we have one internet connection for our router which served as a PPTP server at the same time and everything worked well. Recently we got another internet connection, and we want it as a dedicated PPTP server interface. That means all the traffic except the PPTP data goes to the first internet connection. So we decide to use VRF (virtual routing forwarding) for the PPTP.
First attachment is the configuration that worked,
then is the broken configuration.
When connecting from a Windows client, the process would hang up at "verifying username and password". What's more, I used Wireshark and found that for the broken config, after pptp negotiations, the GRE data that contain ppp data cannot be exchanged, it seems the router cannot find way back for the GRE.

Thank you for your reminding me of this. I'am newly here, and I am really sorry that I've made you uneasy. But firstly, I doesn't think GFW is something officially documented in China's legislation. In fact, it is something the government tried to conceal but already known to all. So breaking through it is not illegal.
And what I want is just to get access to gmail, wikipedia, twitter, facebook, instagram and so on. And what's more, GFW has once blocked github and now, it blocks google entirely. I am a technical ecstasy not a politician. I just want to learn more freely.
Thank you all the way. And I feel fairly good with such a warm-hearted community. The arch wiki has really teached me a lot. Thank you.

Similar Messages

  • Mail server doesn't work after upgrading from SL to ML

    My Mail server doesn't work after upgrading from SL to ML
    Mail client connects with the Mail Server wich seems to run but then they can't receive any email...
    the problem seems to be related with dovecot ... in my smtp log i get this:
    relay=dovecot, delay=324, delays=324/0.02/0/0.01, dsn=4.3.0, status=deferred (temporary failure. Command output: pipe: fatal: pipe_command: execvp /usr/libexec/dovecot/deliver: Permission denied
    I have to say that in the usr/libexec there wasn't the dovecot directory so I just tried to create one but with no luck
    Any Ideas?
    Cheers
    Carlo
    This is my postconf -n info:
    server:Data admin$ postconf -n
    biff = no
    command_directory = /usr/sbin
    config_directory = /Library/Server/Mail/Config/postfix
    content_filter = smtp-amavis:[127.0.0.1]:10024
    daemon_directory = /usr/libexec/postfix
    data_directory = /Library/Server/Mail/Data/mta
    debug_peer_level = 2
    debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5
    dovecot_destination_recipient_limit = 1
    enable_server_options = yes
    header_checks = pcre:/etc/postfix/custom_header_checks
    html_directory = /usr/share/doc/postfix/html
    imap_submit_cred_file = /Library/Server/Mail/Config/postfix/submit.cred
    inet_interfaces = all
    inet_protocols = ipv4
    mail_owner = _postfix
    mailbox_size_limit = 0
    mailbox_transport =
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    maps_rbl_domains =
    message_size_limit = 20971520
    mydestination = $myhostname, localhost.$mydomain, localhost
    mydomain = moremoremore.it
    mydomain_fallback = localhost
    myhostname = server.moremoremore.it
    mynetworks = 127.0.0.0/8,192.168.178.0/24
    newaliases_path = /usr/bin/newaliases
    queue_directory = /Library/Server/Mail/Data/spool
    readme_directory = /usr/share/doc/postfix
    recipient_delimiter = +
    relayhost = mail.mclink.it
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = _postdrop
    smtp_sasl_auth_enable = no
    smtp_sasl_password_maps =
    smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated reject_rbl_client zen.spamhaus.org permit
    smtpd_enforce_tls = no
    smtpd_helo_required = yes
    smtpd_helo_restrictions = reject_invalid_helo_hostname reject_non_fqdn_helo_hostname
    smtpd_pw_server_security_options = cram-md5,gssapi
    smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination check_policy_service unix:private/policy permit
    smtpd_sasl_auth_enable = yes
    smtpd_tls_CAfile = /etc/certificates/server.moremoremore.it.A358901573EE7B9B4D489725407934780D24D5 36.chain.pem
    smtpd_tls_cert_file = /etc/certificates/server.moremoremore.it.A358901573EE7B9B4D489725407934780D24D5 36.cert.pem
    smtpd_tls_exclude_ciphers = SSLv2, aNULL, ADH, eNULL
    smtpd_tls_key_file = /etc/certificates/server.moremoremore.it.A358901573EE7B9B4D489725407934780D24D5 36.key.pem
    smtpd_use_pw_server = yes
    smtpd_use_tls = yes
    tls_random_source = dev:/dev/urandom
    unknown_local_recipient_reject_code = 550
    virtual_alias_maps =
    server:Data admin$

    if this could help:
    mail:setStateVersion = 1
    mail:readWriteSettingsVersion = 1
    mail:connectionCount = 11
    mail:servicePortsRestrictionInfo = _empty_array
    mail:protocolsArray:_array_index:0:status = "ON"
    mail:protocolsArray:_array_index:0:kind = "INCOMING"
    mail:protocolsArray:_array_index:0:protocol = "IMAP"
    mail:protocolsArray:_array_index:0:state = "RUNNING"
    mail:protocolsArray:_array_index:0:error = ""
    mail:protocolsArray:_array_index:1:status = "ON"
    mail:protocolsArray:_array_index:1:kind = "INCOMING"
    mail:protocolsArray:_array_index:1:protocol = "POP3"
    mail:protocolsArray:_array_index:1:state = "RUNNING"
    mail:protocolsArray:_array_index:1:error = ""
    mail:protocolsArray:_array_index:2:status = "ON"
    mail:protocolsArray:_array_index:2:kind = "INCOMING"
    mail:protocolsArray:_array_index:2:protocol = "SMTP"
    mail:protocolsArray:_array_index:2:state = "RUNNING"
    mail:protocolsArray:_array_index:2:error = ""
    mail:protocolsArray:_array_index:3:status = "ON"
    mail:protocolsArray:_array_index:3:kind = "OUTGOING"
    mail:protocolsArray:_array_index:3:protocol = "SMTP"
    mail:protocolsArray:_array_index:3:state = "RUNNING"
    mail:protocolsArray:_array_index:3:error = ""
    mail:protocolsArray:_array_index:4:status = "OFF"
    mail:protocolsArray:_array_index:4:kind = "INCOMING"
    mail:protocolsArray:_array_index:4:protocol = "Junk_mail_filter"
    mail:protocolsArray:_array_index:4:state = "STOPPED"
    mail:protocolsArray:_array_index:4:error = ""
    mail:protocolsArray:_array_index:5:status = "OFF"
    mail:protocolsArray:_array_index:5:kind = "INCOMING"
    mail:protocolsArray:_array_index:5:protocol = "Virus_scanner"
    mail:protocolsArray:_array_index:5:state = "STOPPED"
    mail:protocolsArray:_array_index:5:error = ""
    mail:startedTime = "2013-01-21 21:18:32 +0000"
    mail:logPaths:IMAP Log = "/Library/Logs/Mail/mailaccess.log"
    mail:logPaths:Server Log = "/Library/Logs/Mail/mailaccess.log"
    mail:logPaths:POP Log = "/Library/Logs/Mail/mailaccess.log"
    mail:logPaths:SMTP Log = "/var/log/mail.log"
    mail:logPaths:Migration Log = "/Library/Logs/MailMigration.log"
    mail:logPaths:Virus Log = "/Library/Logs/Mail/clamav.log"
    mail:logPaths:Amavisd Log = "/Library/Logs/Mail/amavis.log"
    mail:logPaths:Virus DB Log = "/Library/Logs/Mail/freshclam.log"
    mail:imapStartedTime = "2013-01-21 21:18:34 +0000"
    mail:servicePortsAreRestricted = "NO"
    mail:state = "RUNNING"
    mail:postfixStartedTime = "2013-01-21 21:18:32 +0000"

  • Client login to OS/X server doesn't work after upgrade to 10.9.3

    I have been running a Mountian Lion Server with open directory to handle several Mac's at home. After upgrading from 10.8.x to 10.9.3 a few days ago login from the client computer with 10.9.3 does't work. If I turn off Wi-fi, login works, and I can access everything after re-enabling wi-fi.
    Works with client computer and 10.9.2. It also works with login to wiki on this server, using safari from my computer.
    /Casi

    I have several network user set up on a server computer.  This computer, macMini, is running 10.9.3 and the latent version of OS/X server.
    When logging in on a MacBook PRO with 10.9.3, and the computer is on the same network as the server, wi-fi or Ethernet cable, i'm not granted access to the network accounts. The screem-shot above is from the server log.
    When not connected to the local network does login work.
    Same issue with two network accounts. But, when trying a MacBook Air with 10.9.2 is it working with both these networks accounts.
    If disable wi-fi, login and then enable wi-fi can I access all resources on the server as shared disks and replicate home directories. Same procedure works with the 10base6 Ethernet cable, i.e. Pull out the contact, login, put in in the contact.

  • Exchange server doesn't work after updating to ios 6.1.3

    I have a 64gb iPhone 5.  After updating to iOS 6.1.3, I can no longer receive email to my exchange account.  I keep getting an "unable to verify" message.  This happened immediately after I updated the phone.  I tried turning the phone off and on after the update, and I then tried deleting the account and reentering the information.  I did not have any luck.  Has anyone had a similar problem?

    My company has disabled MS Exchange access to all iOS devices running 6.1.3.  And this is the second time in 3 months when Apple is delivering something that causes troubles for MS Exchange (also not exactly the best piece of software in the world ). But this time IT department has simply blocked access until the issue is resolved and I agree with them on that decision.
    Apple, you should start listening more to your customers and get more attention to the crap you release, the one that you call the "most advanced mobile OS". If it is most advanced - make sure at least you do not break some basic functions in every second release! Customers (and markets) punish the companies hard for systematically ignoring them. I worked for Nokia, I know it...

  • I configure the JServ , but Oracle HTTP Server doesn't work agian

    my Oracle HTTP Server doesn't work after i've configured the JServ by Oracle Enterprise Manager.
    when i run flowing command :
    D:\oraias\dcm\bin>dcmctl getstate -v
    and Error message : "ADMN-100999 Base Exception:
    java.lang.ClassCastException:java.lang.Boolean" has shown.
    and i navigate Enterprise Manager web site these Error Message showing:
    "Your browser or operating system is not a supported client configuration for this version of Enterprise Manager. Using Enterprise Manager with your current client configuration may result in incorrect display of data or incorrect updates to configuration settings. See the release notes for information on supported client configurations. Root Cause: java.lang.Boolean. java.lang.Boolean"
    how can i do? please help me.
    THX

    The key message -
    mod_plsql: /pls/htmldb/htmldb_login HTTP-503 ORA-12541
    Looking up that error gives -
    [jes@spdb1 ~]$ oerr ora 12541
    12541, 00000, "TNS:no listener"
    // *Cause: The connection request could not be completed because the listener
    // is not running.
    // *Action: Ensure that the supplied destination address matches one of
    // the addresses used by the listener - compare the TNSNAMES.ORA entry with
    // the appropriate LISTENER.ORA file (or TNSNAV.ORA if the connection is to
    // go by way of an Interchange). Start the listener on the remote machine.So it looks like the listener isn't running for your database to me (i.e. "lsnrctl start")

  • [Solved] Network doesn't work after hibernate?

    Hello!  This is my first legit Linux install so excuse me if I'm a bit slow.  I installed Arch last night and everything went smoothly.  However, after I tested out hibernate on my machine, the network doesn't seem to work.  Just prior to the hibernate, I installed Pidgin and Skype but they worked alright, so I think that the hibernate caused a problem on eth0.
    I have an Asus P8Z68-V Pro motherboard with an Intel 82579V Gigabit Ethernet Controller that's using the e1000e driver.  Running "dmesg | grep e1000e" says that it is up.
    I'm not entirely clear here, but from reading, I think that I have several ways of connecting to the network, including network, dhcpcd, networkmanager, and wicd.  I am using wicd so I did the following (or at least I think I am only using wicd):
    #rc.d stop network
    #rc.d stop dhcpcd
    #rc.d stop networkmanager
    Similarly, I put a ! in front of network in rc.conf:
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
    # startup and during the boot process. If set to 'no', the C locale is used.
    # HARDWARECLOCK: set to "", "UTC" or "localtime", any other value will result
    # in the hardware clock being left untouched (useful for virtualization)
    # Note: Using "localtime" is discouraged, using "" makes hwclock fall back
    # to the value in /var/lib/hwclock/adjfile
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # Note: if unset, the value in /etc/localtime is used unchanged
    # 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.UTF-8"
    DAEMON_LOCALE="no"
    HARDWARECLOCK="UTC"
    TIMEZONE="America/New_York"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
    # Replace every !module by an entry as on the following line in a file in
    # /etc/modprobe.d:
    # blacklist module
    # See "man modprobe.conf" for details.
    MODULES=()
    # Udev settle timeout (default to 30)
    UDEV_TIMEOUT=30
    # Scan for FakeRAID (dmraid) Volumes at startup
    USEDMRAID="no"
    # Scan for BTRFS volumes at startup
    USEBTRFS="no"
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="Vicious"
    # Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
    # Wired network setup
    # - interface: name of device (required)
    # - address: IP address (leave blank for DHCP)
    # - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0)
    # - broadcast: broadcast address (ignored for DHCP) (optional)
    # - gateway: default route (ignored for DHCP)
    # Static IP example
    # interface=eth0
    # address=192.168.0.2
    # netmask=255.255.255.0
    # broadcast=192.168.0.255
    # gateway=192.168.0.1
    # DHCP example
    # interface=eth0
    # address=
    # netmask=
    # gateway=
    interface=eth0
    address=
    netmask=
    broadcast=
    gateway=
    # Setting this to "yes" will skip network shutdown.
    # This is required if your root device is on NFS.
    NETWORK_PERSIST="no"
    # Enable these netcfg profiles at boot-up. These are useful if you happen to
    # need more advanced network features than the simple network service
    # supports, such as 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.d
    # This requires the netcfg package
    #NETWORKS=(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
    # If something other takes care of your hardware clock (ntpd, dual-boot...)
    # you should disable 'hwclock' here.
    DAEMONS=(hwclock syslog-ng dbus !network netfs crond wicd)
    Restarting eth0 through wicd-cli still did not work.  I also tried resuscitating the network via instructions on the configure network page before trying to focus solely on wicd.
    I found a few similar problems on the forums by searching "wicd hibernate" and tried several solutions but they did not work.  Several problems seem to be that the network doesn't work after a suspend because I guess the stuff in RAM did not get saved?  But people were able to restart the network by running "/usr/lib/wicd/autoconnect.py" and I wasn't able to get this to work.  As a final effort, I added "resume" into mkinitcpio.conf and placed the machine into sleep again to see if it may magically reset something but of course this did not happen .
    mkinitcpio.conf:
    # vim:set ft=sh
    # MODULES
    # The following modules are loaded before any boot hooks are
    # run. Advanced users may wish to specify all system modules
    # in this array. For instance:
    # MODULES="piix ide_disk reiserfs"
    MODULES=""
    # BINARIES
    # This setting includes any additional binaries a given user may
    # wish into the CPIO image. This is run first, so it may be used to
    # override the actual binaries used in a given hook.
    # (Existing files are NOT overwritten if already added)
    # BINARIES are dependency parsed, so you may safely ignore libraries
    BINARIES=""
    # FILES
    # This setting is similar to BINARIES above, however, files are added
    # as-is and are not parsed in any way. This is useful for config files.
    # Some users may wish to include modprobe.conf for custom module options
    # like so:
    # FILES="/etc/modprobe.d/modprobe.conf"
    FILES=""
    # HOOKS
    # This is the most important setting in this file. The HOOKS control the
    # modules and scripts added to the image, and what happens at boot time.
    # Order is important, and it is recommended that you do not change the
    # order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
    # help on a given hook.
    # 'base' is _required_ unless you know precisely what you are doing.
    # 'udev' is _required_ in order to automatically load modules
    # 'filesystems' is _required_ unless you specify your fs modules in MODULES
    # Examples:
    ## This setup specifies all modules in the MODULES setting above.
    ## No raid, lvm2, or encrypted root is needed.
    # HOOKS="base"
    ## This setup will autodetect all modules for your system and should
    ## work as a sane default
    # HOOKS="base udev autodetect pata scsi sata filesystems"
    ## This is identical to the above, except the old ide subsystem is
    ## used for IDE devices instead of the new pata subsystem.
    # HOOKS="base udev autodetect ide scsi sata filesystems"
    ## This setup will generate a 'full' image which supports most systems.
    ## No autodetection is done.
    # HOOKS="base udev pata scsi sata usb filesystems"
    ## This setup assembles a pata mdadm array with an encrypted root FS.
    ## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
    # HOOKS="base udev pata mdadm encrypt filesystems"
    ## This setup loads an lvm2 volume group on a usb device.
    # HOOKS="base udev usb lvm2 filesystems"
    HOOKS="base udev autodetect pata scsi sata resume filesystems usbinput"
    # COMPRESSION
    # Use this to compress the initramfs image. With kernels earlier than
    # 2.6.30, only gzip is supported, which is also the default. Newer kernels
    # support gzip, bzip2 and lzma. Kernels 2.6.38 and later support xz
    # compression.
    #COMPRESSION="gzip"
    #COMPRESSION="bzip2"
    #COMPRESSION="lzma"
    #COMPRESSION="xz"
    #COMPRESSION="lzop"
    # COMPRESSION_OPTIONS
    # Additional options for the compressor
    #COMPRESSION_OPTIONS=""
    Not sure if my fstab.conf is useful but if this has something to do with settings getting "lost" in swap, here it is.  Linux is on an SSD and HDD (sda and sdc) and Windows 7 is on a HDD (sdb).
    fstab.conf:
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    none /tmp tmpfs nodev,nosuid,noatime,size=2000M,mode=1777 0 0
    /dev/sda1 / ext4 defaults,noatime,discard 0 1
    /dev/sda2 /home ext4 defaults,noatime,discard 0 2
    /dev/sdc1 /boot ext4 defaults 0 1
    /dev/sdc2 /var ext4 defaults 0 0
    /dev/sdc3 swap swap defaults 0 0
    /dev/sdc4 /media/data ext4 defaults 0 0
    shm /dev/shm tmpfs nodev,nosuid,size=10G 0 0
    Is wicd causing these problems or did I configure something else improperly?  Would appreciate any help to get eth0 up again!
    Last edited by TheBigCow7 (2011-09-13 17:57:20)

    Ok, I think I've made some progress!  Hibernate definitely affects my network connection.  Could this be a kernel 3.0 problem?
    I noticed that ifconfig showed eth0 without an inet addr, just an inet6 addr for the longest time.  e1000e seemed to be loading up ok.  I'm not certain here, but I think that meant the dhcp settings didn't stick, or something along those lines.
    Trying to use dhcpcd like the instructions here did not work.  By some chance, one attempt did work and while it did, I downloaded and installed dhclient.  After that one successful attempt, renewing the DHCP lease via dhcpcd did not work again.
    Luckily though, I found that running "dhclient eth0" worked.  My DHCP settings seemed to have somehow gotten messed up after my initial, problematic hibernate to the point where none would stick, even after a reboot.  Manually typing in "dhclient eth0" would get eth0 working, so I decided to add it to the bottom of /etc/rc.local, like in the example on the networking page.
    Now, eth0 works after a boot.  However, after the daemons load up during the boot process, my computer takes a long time to get to the login prompt (this is relatively speaking, since I am on a SSD and the boot process used to be blazing fast before).  I'm pretty sure it's because I added "dhclient eth0" to /etc/rc.local.
    I should say that even with these changes, after a hibernate, my eth0 still does not work and if it weren't for the edit to /etc/rc.local, eth0's inet settings would still not stick after a reboot (that is to say, the hibernate does do something to my network settings). 
    Is this the correct/most efficient way to fix my DHCP problem?  Can I fix my "eth0 after hibernate" issue?  Also, can I make my DHCP settings boot up without changes to /etc/rc.local so that I can get a fast boot again (still not sure how it was able to work before without my edit)?

  • Stand-by button on Cinema HD display doesn't work after Mountain Lion upgrade

    Hi,
    After I upgraded my Mac mini (spring '09) to Mountain Lion it appears that the buttons on the side of my Cinema HD display doesn't work. There is a setting in sys preferences that should put the Mac in stand-by when the power button is pressed. This doesn't work after I upgraded to OSX 10.8 Mountain Lion.
    Does anyone have similar experience. Anyway to fix it?
    Thanks,
    Henrik

    Have done some further investigating (to no avail).  The TV is displaying in my system Info as follows:
    Intel HD Graphics 3000:
      Chipset Model: Intel HD Graphics 3000
      Type: GPU
      Bus: Built-In
      VRAM (Total): 384 MB
      Vendor: Intel (0x8086)
      Device ID: 0x0116
      Revision ID: 0x0009
      Displays:
    Color LCD:
      Display Type: LCD
      Resolution: 1440 x 900
      Pixel Depth: 32-Bit Color (ARGB8888)
      Main Display: Yes
      Mirror: Off
      Online: Yes
      Built-In: Yes
      Connection Type: DisplayPort
    TOSHIBA-TV:
      Resolution: 1920 x 1080 @ 60 Hz
      Pixel Depth: 32-Bit Color (ARGB8888)
      Mirror: Off
      Online: Yes
      Rotation: Supported
      Television: Yes
    But nothing on the screen.
    Does anyone know if Apple have banned certain screens????

  • IPhoto 8.1.2 doesn't work after reinstalled the OS 10.6.8?

    iPhoto 8.1.2 doesn't work after reinstalled OS 10.6.8?

    To re-install iPhoto
    1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
    2. Download it from the App Store to reinstall It's on your Purchases List* there.
    For older versions that have been installed from Disk you'll need these additional steps:
    2a: On 10.5:  Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
    2b: On 10.6: Those receipts may be found as follows:  In the Finder use the Go menu and select Go To Folder. In the resulting window type
    /var/db/receipts/
    2c: on 10.7 or later they're at
    /private/var/db/receipts
    A Finder Window will open at that location and you can remove the iPhoto pkg files.
    3. Re-install.
    If you purchased an iLife Disk, then iPhoto is on it.
    If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
    *Sometimes iPhoto is not visible on the Purchases List. it may be hidden. See this article for details on how to unhide it.
    http://support.apple.com/kb/HT4928
    One question often asked: Will I lose my Photos if I reinstall?
    iPhoto the application and the iPhoto Library are two different parts of the iPhoto programme. So, reinstalling the app should not affect the Library. BUT you should always have a back up before doing this kind of work. Always.

  • Servlet outputstream doesn't work after class.forname

    hi there,
    i'm beginner to servlets and jdbc i was trying a code
    the servlet outputstream doesn't work after registerting the mysql driver
    here is the code:
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class JDBCServo extends HttpServlet
         private Connection con;
         private Statement stmt;
         protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
              // TODO Auto-generated method stub
              try
                   ServletOutputStream out = res.getOutputStream();
                   out.println("WELCOME");
                   Class.forName("com.mysql.jdbc.Driver");
                   con = DriverManager.getConnection("jdbc:mysql://localhost/books" , "root" , null);
                   stmt = con.createStatement();
                   ResultSet result = stmt.executeQuery("select * from book");
                   result.next();
                   con.close();
                   out.println(result.getObject(1)+" "+result.getObject(2));
                   out.close();
              }catch(SQLException e){}
              catch(ClassNotFoundException e){e.printStackTrace();}
    }

    That would almost certainly be because you didn't put that class in the classpath, and therefore Class.forName() throws an exception.

  • Webform Doesn't Work after Update JInitiator

    I have a Windows NT 4.0 with SP6a box which has the 9iAS 1.0.2.1 installed. The Form Server works well but the JInitator is 1.1.8.7 - too old in version. So that I upgrade the JInitiator to 1.3.1.9. After upgrading, the Form Server doesn't work but resume normal when back to 1.1.8.7.
    What I have done are:
    (1) Copy the new Jinit1319.exe into 'd:\oracle\806\jinit\' and rename it as jinit.exe.
    (2) Modify the related entries for Jinitiator in the configuration file 'd:\oracle\806\forms60\server\formsweb.cfg' to reflect the version change.
    When the client machine browses the webform, there is the prompt for JInitiator installation. The installation completes good. But the browser continues to download the page and showing nothing - just the gray background.
    Everything works normal when I resume back JInitiator back to 1.1.8.7. Please advise where the problem is and how to fix it, much thanks.
    SK

    Hi,
    check whether you have changed the classid in your html-startpage for the WebForm. I think you have still the old classid inside your html-startpage.
    nice weekend :-)

  • IMac - Display doesn´t work after restart

    My iMac 21 Display doesn´t work after restart. If I turn it off and 1 hour later I want use it again the iMac shows the white screen with the mac logo and then the display goes off. I connected an external display to check if the iMac was ON and with the external display I can login and do everything but the iMac Display doesn´t work .
    If I turn it off and wait 3 or 4 hours  and then turn it back on the display works OK.
    This is very strange behavior I have spent hours and hours trying to fine the solution or a similar issue but nothing so I am looking help here at apple.com
    BTW When I bougth the iMac 21 there were some spots over the display so the display was replaced by the provider. The warranty has expired by now.

    To tell you the truth, I don't know if they have to repalce the LCD panel or what they do for a bad backlight. In this reality of block or assembly replacement it probably involves repalcing the panel and not the backlight component. Don't know what it would cost. You'd have to ask that of a service center.

  • Touch ID doesn't work after ios 7.1.1 update

    Touch id doesn't work after ios 7.1.1 update..
    Why????

    After IOS update, you first have to use passcode.
    Passcode is needed when
    After restarting your iPhone 5s
    When more than 48 hours have elapsed from the last time you unlocked your iPhone 5s
    To enter the Touch ID & Passcode setting

  • Why tethering with USB cable doesn't work after IOS6.0 update?

    why tethering with USB cable doesn't work after IOS 6.0 update?

    Try updating the carrier settings, if that doesn't do it try following along with this Apple doc -> iOS: Troubleshooting Personal Hotspot

  • My cable doesn't work after two months I bought my iphone 6. Whether could I get a new one from apple free charge?

    my cable doesn't work after two months I bought my iphone 6. Whether could I get a new one from apple free charge?

    It's covered under the same warranty as the phone. So long as it's not physically damaged, they should replace it for you.

  • Fit the window with mouse doesn't work after new update 10.9.2

    Hi, I could fit a windows using my mouse wheel or two finger(on trackpad), doesn't work after I set up new Mavericks update(10.9.2) I'm using Haswell rMBP. Can anyone help me please? Thanks a lot. (Also, minimize with mouse wheel doesn't work too.)

    Doesn't anyone having this issue?

Maybe you are looking for

  • Batch handle with 'Auto Select' option

    Hello Everyone! We are trying to find out how the 'Auto Select' button works with batch handle. Our customer wants to handle batches by FIFO. We need to try if it is possible to 'Auto Select' batches by 'Admission Date'. Even when we found out that i

  • 800 vs 400 and 9 pin to 4 pin - please help!!

    I have a Sony DCR-HC48 with "base station" and just bought a 9 pin to 4 pin cable from Radio Shack. The Gigaware cable says speed supported up to 400Mbps. I plug the 4 pin end into the base station, and the 9 pin into the Firewire 800 port on the bac

  • Queue with callback function - strange behaviour when using max_retries

    Hi, I hope someone can tell me what is wrong or can explain the following strange behaviour to me. I am using one queue with a registered callback function. To test the behavoiur in case of an error I tested different settings, with or without explic

  • Binding Between CFForms

    Hi I hope someone can help me here - thisis driving me nuts I have two forms one one page - reason being that I need to use a certain widget provided to me by a third party. My code is =================================================== this form cal

  • Fichiers *.rw2 (format RAW)

    Bonjour, Photoshop elements 10 ne reconnait pas les fichiers RAW au format  xxx.RW2, comment faire ? Merci [Translation by Google: Photoshop Elements 10 does not recognize RAW format files xxx.RW2, how?] Message was edited by: Terri Stone