550 series problems display vs Linux (Ubuntu)

I am having a lenovo Y 550 laptop with nVidia GeForce 240 M graphics card in it and I am using Ubuntu 9.10. I installed the graphics card driver version 190.42 from nvidia web site. I had a problem in the beginning. There in my laptop it showed 6 mini screen with same content at the same time. On searching I found out that in X configuration file we need to place -> Option "ModeValidation" "NoTotalsizecheck" in the Device section. I had done that and after reboot I found that the 6 mini screen problem gone. But after logout/stand by/switching to text terminal the screen gets flickery/fuzzy. I am not able to read/see anything clearly. I have found out so many queries about this problem in net; but sadly didn't find a solution. I am attaching my x configuration file with this. Thanking you in advance.
/etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Tue Oct 20 21:00:15 PDT 2009
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "ModeValidation" "NoTotalSizeCheck"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0

xclock throws an error.
oracle@linux-ubuntu-desktop:~/database$ xclock
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '192.168.1.128:0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at java.awt.Window.init(Unknown Source)
at java.awt.Window.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at oracle.ewt.popup.PopupFrame.<init>(Unknown Source)
at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.<init>(OiocOneClickInstaller.java:378)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2091)
directly loged onto the linux.not using putty etc..

Similar Messages

  • Problem with a Flex into Linux (Ubuntu)

    Good morning to all
    I have a problem with a project done in flash builder 4.
    My   project works well in a WAMP Server in Windows 7 is a project that   connects to a MySQL database, but I would like to migrate the entire   project done in a WAMP server on Linux (Ubuntu Web Server). The problem I have is that my Ubuntu server I have everything properly installed:
    Apache
    Php
    MySQL - phpMyAdmin
    Zend Framework
    but when I upload all my project from WAMP to my Linux server - I get an error:
    ... Class "CategoryService" does not exist: Plugin by name 'CategoryService' was not found in the registry; Used paths:
    : C: / wamp / www / Servers-debug / services /
    #   0 / opt/ZendFramework/release-1.9.7/library/Zend/Amf/Server.php (550):   Zend_Amf_Server-> _dispatch ('getAllCategory', Array,   'CategoryService')
    # 1 /   opt/ZendFramework/release-1.9.7/library/Zend/Amf/Server.php (626):   Zend_Amf_Server-> _handle (Object (Zend_Amf_Request_Http))
    # 2 / var / www / Servers-debug / gateway.php (69): Zend_Amf_Server-> handle ()
    # 3 (main) ...
    obviously -> "... C: / wamp / www / Servers-debug / services / ..." it  is a mistake because it is the path of my wamp server (Windows), but do  not know
    where to modify the code of my project to understand the
    following path: / var / www / Servers-debug / services / <- that is my address in ubuntu?
    anyone can help me, please!!

    Good morning to all
    I have a problem with a project done in flash builder 4.
    My   project works well in a WAMP Server in Windows 7 is a project that   connects to a MySQL database, but I would like to migrate the entire   project done in a WAMP server on Linux (Ubuntu Web Server). The problem I have is that my Ubuntu server I have everything properly installed:
    Apache
    Php
    MySQL - phpMyAdmin
    Zend Framework
    but when I upload all my project from WAMP to my Linux server - I get an error:
    ... Class "CategoryService" does not exist: Plugin by name 'CategoryService' was not found in the registry; Used paths:
    : C: / wamp / www / Servers-debug / services /
    #   0 / opt/ZendFramework/release-1.9.7/library/Zend/Amf/Server.php (550):   Zend_Amf_Server-> _dispatch ('getAllCategory', Array,   'CategoryService')
    # 1 /   opt/ZendFramework/release-1.9.7/library/Zend/Amf/Server.php (626):   Zend_Amf_Server-> _handle (Object (Zend_Amf_Request_Http))
    # 2 / var / www / Servers-debug / gateway.php (69): Zend_Amf_Server-> handle ()
    # 3 (main) ...
    obviously -> "... C: / wamp / www / Servers-debug / services / ..." it  is a mistake because it is the path of my wamp server (Windows), but do  not know
    where to modify the code of my project to understand the
    following path: / var / www / Servers-debug / services / <- that is my address in ubuntu?
    anyone can help me, please!!

  • Problem with Site Studio sites unde Linux - Ubuntu 9.10

    Hello all,
    I installed UCM under Linux (Ubuntu 9.10). As part of the setup I configured the installed Apache server by adding to apache2.conf:
    LoadModule IdcApacheAuth /opt/oracle/ucm/server/shared/os/linux/lib/IdcApache22Auth.so
    IdcUserDB idc "/opt/oracle/ucm/server/data/users/userdb.txt"
    Alias /idc "/opt/oracle/ucm/server/weblayout"
    <Location /idc>
    Order allow,deny
    Allow from all
    DirectoryIndex portal.htm index.htm
    IdcSecurity idc
    </Location>
    UCM interface works as expected and all was working ok.
    I then followed the Site Studio Tutorial Setup Guide and added some lines to the apache2.conf and it now looks like:
    LoadModule IdcApacheAuth /opt/oracle/ucm/server/shared/os/linux/lib/IdcApache22Auth.so
    IdcUserDB idc "/opt/oracle/ucm/server/data/users/userdb.txt"
    Alias /idc "/opt/oracle/ucm/server/weblayout"
    <Location /idc>
    Order allow,deny
    Allow from all
    DirectoryIndex portal.htm index.htm
    IdcSecurity idc
    </Location>
    UseCanonicalName off
    <Location "/">
    IdcSecurity idc
    </Location>
    Afterwards I installed the Ravenna Hosting Tutorial. It appears ok in the site studio configuration pages. But when I try to view the site I get a 404. In apache access.log I see:
    172.18.0.160 - - [01/Mar/2010:10:25:58 +0000] "GET /RVH/index.htm HTTP/1.1" 404 499 "http://ucm/idc/idcplg?IdcService=SS_GET_SITES_ADMIN_PAGE" "Mozilla/5.0 (Windows; U; Windows NT 6.0; pt-PT; rv:1.9.2) Gecko/20100115 Firefox/3.6 GTB5 (.NET CLR 3.5.30729) WIT Toolbar 2.0.17 for Firefox"
    And in error.log I have:
    [Mon Mar 01 10:28:05 2010] [error] [client 172.18.0.160] File does not exist: /var/www/RVH, referer: http://ucm/idc/idcplg?IdcService=SS_GET_SITES_ADMIN_PAGE
    Can someone give me a hand at what I'm doing wrong?

    Managed to solve this.
    The problem was with SSUrlMapPlugin.so not being loaded because of a missing dependency in the OS. I had to install libstdc++2.10-glibc2.2_2.95.4-24_i386.deb that is no longer on the Ubuntu 9.10 repositories so one has to fetch it from older releases.
    wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-2.95/libstdc++2.10-glibc2.2_2.95.4-24_i386.deb
    dpkg -i libstdc++2.10-glibc2.2_2.95.4-24_i386.deb
    And then restart apache and the content server.

  • J2SE v 1.4.2_04 SDK on Linux (ubuntu) install problem

    I've seen this question posted on this forum a number of times but no-one seems to know the answer. I would love an answer to this as have already spent far too much time trying to sort it out.
    I am trying to install the j2me mobile development kit: J2SE v 1.4.2_04 SDK with NetBeans 3.6 Bundle, on Linux ubuntu ...
    I download the file from this site ....
    I follow the instructions on the site:
    I do the chmod and this works ok
    I type ./j2sdk-1_4_2_04-nb-3_6-bin-linux.bin ( this is the instruction from Sun)
    and then get the error message:
    bash: j2sdk-1_4_2_04-nb-3_6-bin-linux.bin: command not found
    What's the solution? Any ideas?
    thanks

    try :
    sh jdkblahblhabl.bin
    But there is a debian way to install it see links at http://rzr.online.fr/q/Java

  • Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 howto

    h1. Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 howto
    Author: Dude
    Version: D
    Last modified: 14-Jan-2012
    You are welcome to add comments, but please do not discuss your installation issues in this thread.  If you have a question about the instructions, please add a simple note to the link of your own thread. The instructions are the result of my own research and development. If you would like to use any of the information for your own blog or website, please include a link to this reference to include future changes.
    Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 howto
    h2. Purpose
    This document outlines instructions how to install Oracle XE under Ubuntu 11.10.
    Ubuntu or Debian based Linux is not on the list of supported operation systems according to the Oracle documentation at http://download.oracle.com/docs/cd/E17781_01/install.112/e18802/toc.htm. You may want to consider virtualization software like Oracle Virtualbox and install Oracle Enterprise Linux as a free and professional alternative to installing XE under Ubuntu. You can also download pre-build virtual machines that include Oracle XE. You can browse http://otn.oracle.com/community/developer-vm for more information.
    h2. Topics
    h4. 1) Install Linux Ubuntu
    h4. 2) Remote Terminal
    h4. 3) Install Additional Software
    h4. 4) Managing Swap Space
    h4. 5) Modify Kernel Parameters
    h4. 6) Oracle Home Directory
    ...a) Resize the Root Partition
    ...b) Setup External Storage
    h4. 7) ORA-00845: MEMORY_TARGET
    h4. 8) Installing Oracle 11gR2 Express Edition
    h4. 9) Post-Installation
    h4. 10) Tips and Troubleshooting
    ...a) Port 1521 appears to be in use by another application
    ...b) cannot touch `/var/lock/subsys/listener': No such file or directory
    ...c) ORA-00845: MEMORY_TARGET
    ...d) Apex ADMIN password
    ...e) SYS and SYSTEM password
    ...f) Uninstall Oracle 11g XE
    ...g) Reconfigure Oracle 11g XE
    ...h) Gnome Classic desktop
    ...i) Unix vi cursor keys
    ...j) Backup Database
    h4. 11) History
    h4. 12) References
    h2. 1) Install Linux Ubuntu
    The following assumes you have installed Ubuntu 11.10 Desktop Edition for AMD 64-bit, or upgraded from a previous version. Keep in mind that Oracle 11gR2 Express Edition is only available for 64-bit architecture. It is not necessarily a requirement, but I would not bother to install Oracle 11gR2 XE on a system with less than 2 GB of RAM installed. You can download Ubuntu for free at: http://www.ubuntu.com/download/ubuntu and install it using the default settings provided.
    You can apply the latest OS patch-sets by clicking the power button icon in the upper right hand corner of the screen and selecting "Updates available..."
    h2. 2) Remote Terminal
    You will need command line access to perform the installation tasks. Select the top "Dash Home" button of the Unity toolbar and enter the word "terminal", or use CTRL-ALT-t. If you prefer to open a remote terminal session use SSH. Ubuntu does not come with a secure shell login by default. To install it, use the following command:
    sudo apt-get install openssh-serverYou cannot login as root unless you set a root password using the "sudo passwd root" command. However, you can get root user access using the "sudo" command, which requires only to re-enter the password of your personal account. Access to "sudo" is controlled by the /etc/sudoers file.
    The best way to establish a remote command line session as root is to login with your personal account, e.g.: ssh [email protected], and then type "sudo su -" to become root, or use "sudo <command>" to execute individual commands. If your account does not have "sudo" access you can login as root using "su - root", but will need to know the root password.
    h2. 3) Install Additional Software
    Oracle 11g Express Edition requires additional software that is not installed by default:
    sudo apt-get install alien libaio1 unixodbch2. 4) Managing Swap Space
    Oracle demands that the minimum swap space for Oracle Database XE is 2 GB (2095100 KB) or twice the size of RAM, whichever is lesser. Enter the following shell command to verify your swap space:
    cat /proc/meminfo | grep -i swap
    SwapCached:            0 kB
    SwapTotal:       2095100 kB
    SwapFree:        2095100 kBYou can increase available swap space by using a swap file as long as disk space permits. The advantage of a swap file versus a swap partition is flexible space management because you can add or delete swap space on demand as necessary. The following will create and enable an additional 1 GB swap file at system startup, located in the /home directory:
    Login as root:
    sudo su -Enter the following commands:
    dd if=/dev/zero of=/home/swapfile bs=1024 count=1048576
    mkswap /home/swapfile
    swapon /home/swapfile
    swapon -aCreate a backup of the original "fstab" file and add the new swap file:
    cp /etc/fstab /etc/fstab.backup_`date +%N`
    echo '/home/swapfile swap swap defaults 0 0' >> /etc/fstabExit from root and verify the new swap space:
    exit
    swapon -s
    Filename                    Type          Size     Used     Priority
    /dev/sda5                               partition     2095100     0     -1
    /home/swapfile                          file          1048572     0     -2Swap space is not a substitute for installed RAM. Swap space is a safeguard that allows the system to move idle processes to disk before the OOM killer will begin to terminate processes in order to free up enough real memory to keep the system operational. The general rule for sizing the swap space depends on the size of installed RAM. If your system has less then 4 GB of RAM the swap space should usually be at least twice this size. If you have more than 8 GB of RAM installed you may consider to use an equal size as swap space. The more RAM you have installed, the less likely you are going to run into memory starvation, and the less likely you are going to need swap space, unless you have a bad process.
    h2. 5) Modify Kernel Parameters
    Oracle 11gR2 Express Edition requires the following Kernel parameters. Enter the commands exactly as shown:
    Login as root:
    sudo su -Cut & paste the following directly into a command shell (not a text editor):
    cat > /etc/sysctl.d/60-oracle.conf <<-EOF
    # Oracle 11g XE kernel parameters
    fs.file-max=6815744
    net.ipv4.ip_local_port_range=9000 65500
    kernel.sem=250 32000 100 128
    # kernel.shmmax=429496729
    kernel.shmmax=107374183
    EOFLoad and verify the new kernel parameters:
    service procps start
    sudo sysctl -q fs.file-max
    sudo sysctl -q kernel.shmmax
    sudo sysctl -q net.ipv4.ip_local_port_range
    sudo sysctl -q kernel.sem The SHMMAX kernel parameter defines the upper memory limit of a process. It is a safeguard to stop a bad process from using all memory and causing RAM starvation. The Linux default is 32 MB. The official Oracle XE installation documentation suggests a value of 4 GB -1 bytes (429496729). Since Oracle 11g XE has a 1 GB memory limit, a smaller footprint will be a better safeguard for the complete system. Setting the SHMMAX parameter to 107374183 will be sufficient.
    h2. 6) Oracle Home Directory
    At the time of this writing, Enterprise Linux 6 is not supported for Oracle database yet. It is therefore not possible to confirm Oracle ext4 filesystem compatibility, which is default in Ubuntu 11. According to various information, ext4 may cause a performance problem for Oracle 11g database. The following will show you how to add a ext3 partition to your existing setup.
    h3. 6.a) Resize the Root Partition
    Provided you have sufficient free disk space, you should be able to resize the root partition to create an extra ext3 filesystem. Considering the 11 GB user datafile limit of the Express Edition, 18 GB should be more than enough.
    You can use the free Gparted Live CD to shrink your startup volume. Gparted downloads are available at http://sourceforge.net/projects/gparted/files/gparted-live-stable. When burning the CD, pay attention to burn the raw .iso image and not the possibly "mounted" image. If you are using a virtual machine like Oracle Virtualbox, you can mount the .iso image directly. There are going to be a few prompts when the system starts from the CD, but you can press Return to accept the defaults.
    When the Gparted window appears:
    - Select your ext4 root partition, usually /dev/sda1
    - Select the "Resize/Move" button from the toolbar.
    - Enter 18000 into the "Free space following" field and press the Return key.
      Be careful not not change the start of the partition!
    - Click the "Resize/Move" of the dialog and then then the "Apply" toolbar button.
      The process may take several minutes - do not abandon it!
    - Select the new unallocated free space of ~ 18 GB and push the "New" button.
    - Set the file system to "ext3" and label it "oraclexe" and click the "Add" button.
      Be sure to label it oraclexe, otherwise the follow-up instructions will fail.
    - Finally select "Apply from the toolbar to apply the changes.
    - Quit "Gparted", select "Exit" from the desktop and choose "Reboot" to restart the system.
    {code}
    After the system has restarted, open a terminal command shell.
    Login as root:
    {code}
    sudo su -
    {code}
    Backup "fstab" and add the UUID of the partition. The "tr" command remove the quotes:
    {code}
    cp /etc/fstab /etc/fstab_`date +%N`
    uuid=`blkid | grep oraclexe | awk '{print $3}'`
    uuid=`echo $uuid | tr -d '\042'`
    echo $uuid
    echo "$uuid  /u01  ext3  errors=remount-ro 0 1" >> /etc/fstab
    {code}
    The UUID is a unique number and should look similar to:
    {code}
    UUID=d1db753e-b5dd-4a4c-a61e-259c69867b58
    {code}
    Restart the system:
    {code}
    reboot
    {code}
    Verify the success:
    {code}
    df -h /u01
    {code}
    h3. 6.b) Setup External Storage
    If you prefer to setup an external drive to install Oracle XE, beware that it can be a fatal mistake to make an entry in /etc/fstab to automount your external storage device.  An unavailable device in /etc/fstab will prevent a system startup and prompt for appropriate actions at the console.
    The following is an example of how to prepare an external storage device to be used for Oracle 11g, including a script to automatically mount an external drive at system startup without the disadvantages of /etc/fstab. The script will also take into consideration that a device name might shift if you attach additional devices.
    To find out which USB devices are connected:
    {code}
    sudo parted -l
    {code}
    Look for the device that matches your USB storage. For example: /dev/sdb1
    {code}
    Model: USB 2.0 Flash Disk (scsi)
    Disk /dev/sdb: 2064MB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    Number  Start   End     Size    File system  Name     Flags
    1      20.5kB  1929MB  1929MB  hfs+         mystick
    {code}
    Initialize the device using ext3 filesystem - this will erase all data. The "-c" option will check for bad blocks (read-only), "-L" is the volume label:
    {code}
    sudo umount /dev/sdb1
    sudo mkfs.ext3 -c -L oraclexe /dev/sdb1
    {code}
    Install the pmount distribution package:
    {code}
    sudo apt-get install pmount
    {code}
    Login as root:
    {code}
    sudo su -
    {code}
    Cut & paste the following into the command prompt (not a text editor):
    {code}
    cat > /etc/init.d/oracle-mount <<-EOF
    #! /bin/sh
    # /etc/init.d/oracle-mount
    VOL_UUID=alphanumeric
    VOL_LABEL=oraclexe
    VOL_SYMLINK=/u01
    mount=/usr/bin/pmount
    uuid2dev() {
       VOL_DEVICE="\`blkid | grep \$VOL_UUID | awk '{print \$1}'\`"
       VOL_DEVICE="\`echo \$VOL_DEVICE | tr -d ':'\`"
       echo \$VOL_DEVICE
    case "\$1" in
      start)
        echo "Starting script /etc/init.d/oracle-mount"
        uuid2dev
        \$mount \$VOL_DEVICE \$VOL_LABEL
        if [ -d /media/\$VOL_LABEL ]; then
           echo "Mount \$VOL_DEVICE success"
           ln -sf /media/\$VOL_LABEL \$VOL_SYMLINK
        else
           echo "Error mouting \$VOL_DEVICE"
        fi
      stop)
        echo "Stopping script /etc/init.d/oracle-mount"
        uuid2dev
        /bin/umount \$VOL_DEVICE 2>/dev/null
        if [ "\`/usr/bin/pmount | /bin/grep \$VOL_DEVICE\`" ]; then
           echo "Error unmounting \$VOL_DEVICE"
        else
           rm -f \$VOL_SYMLINK
        fi
        echo "Usage: /etc/init.d/oracle-u01 {start|stop}"
        exit 1
    esac
    ### BEGIN INIT INFO
    # Provides:          oracle-mount
    # Required-Start:    \$remote_fs \$syslog
    # Required-Stop:     \$remote_fs \$syslog
    # Default-Start:     2 3 4 5
    # Default-Stop:      0 1 6
    # Short-Description: Start daemon at boot time
    # Description:       Mount hotplug-usb drive and create symlink
    ### END INIT INFO
    EOF
    {code}
    Install the oracle-mount init script:
    {code}
    chmod 755 /etc/init.d/oracle-mount
    update-rc.d oracle-mount defaults 01 99
    {code}
    Get the UUID of the volume "oraclexe" and update the VOL_UUID in the init script accordingly:
    {code}
    uuid=`blkid | grep oraclexe | awk '{print $3}'`
    echo $uuid
    sed -i "s/^VOL_UUID=.*/VOL_$uuid/g" /etc/init.d/oracle-mount
    {code}
    The UUID of your device will be a unique number, but should be similar to:
    {code}
    UUID="3f5e9963-b328-49f3-b3e8-a3561ae34106"
    {code}
    Logout of root and test the init script:
    {code}
    exit
    sudo /etc/init.d/oracle-mount stop
    ls /u01
    sudo /etc/init.d/oracle-mount start
    ls /u01
    {code}
    Your output should look like:
    {code}
    Stopping script /etc/init.d/oracle-mount
    /dev/sdb1
    ls: cannot access /u01: No such file or directory
    Starting script /etc/init.d/oracle-mount
    /dev/sdb1
    Mount /dev/sdb1 success
    lost+found
    {code}
    h2. 7) ORA-00845: MEMORY_TARGET
    Oracle 11gR2 XE under Ubuntu 11.10 will result in "ORA-00845: MEMORY_TARGET not support on this system" either at Oracle database startup or during the initial installation. Ubuntu 11.10 uses a new version of the "systemd" system and session manager and has migrated away from /dev/shm and other common directories in favor of /run.
    There are several ways how to address the problem. You can either enable /dev/shm shared memory, or change the default memory management of Oracle 11g from AMM (Automatic Memory Management) to ASMM (Automatic Shared Memory Management) as it was in used the previous 10g version. Since AMM is one of the new features of 11g, the following will show you how to make to make AMM work.
    Login as root:
    {code}
    sudo su -
    {code}
    Cut & paste the following into the command prompt (not a text editor):
    {code}
    cat > /etc/init.d/oracle-shm <<-EOF
    #! /bin/sh
    # /etc/init.d/oracle-shm
    case "\$1" in
      start)
        echo "Starting script /etc/init.d/oracle-shm"
        # Run only once at system startup
        if [ -e /dev/shm/.oracle-shm ]; then
          echo "/dev/shm is already mounted, nothing to do"
        else
          rm -f /dev/shm
          mkdir /dev/shm
          mount -B /run/shm /dev/shm
          touch /dev/shm/.oracle-shm
        fi
      stop)
        echo "Stopping script /etc/init.d/oracle-shm"
        echo "Nothing to do"
        echo "Usage: /etc/init.d/oracle-shm {start|stop}"
        exit 1
    esac
    ### BEGIN INIT INFO
    # Provides:          oracle-shm
    # Required-Start:    $remote_fs $syslog
    # Required-Stop:     $remote_fs $syslog
    # Default-Start:     2 3 4 5
    # Default-Stop:      0 1 6
    # Short-Description: Bind /run/shm to /dev/shm at system startup.
    # Description:       Fix to allow Oracle 11g use AMM.
    ### END INIT INFO
    EOF
    {code}
    Install the oracle-shm init script:
    {code}
    chmod 755 /etc/init.d/oracle-shm
    update-rc.d oracle-shm defaults 01 99
    {code}
    Restart the system:
    {code}
    reboot
    {code}
    Verify the success:
    {code}
    sudo cat /etc/mtab | grep shm
    {code}
    {code}
    none /run/shm tmpfs rw,nosuid,nodev 0 0
    /run/shm /dev/shm none rw,bind 0 0
    {code}
    The upper limit of shared memory under Linux is set to 50 % of the installed RAM by default. If your system has less than 2 GB of RAM installed, there is still a chance to run into ORA-00845 error if your shared memory is used by other software.
    The verify available shared memory, type the following commands:
    {code}
    sudo df -h /run/shm
    {code}
    h2. 8) Installing Oracle 11gR2 Express Edition
    The final release version of Oracle 11gR2 Express Edition can be downloaded for free at http://otn.oracle.com/database/express-edition/downloads. The software should automatically downloaded into the "Downloads" folder of your home directory.
    Enter the following commands to unpack the installer:
    {code}
    cd ~/Downloads
    unzip oracle-xe-11.2.0-1.0.x86_64.rpm.zip
    rm oracle-xe-11.2.0-1.0.x86_64.rpm.zip
    {code}
    The Debian Linux based package management of Ubuntu is not compatible with the Red Hat package manager. The Oracle installer needs to be converted using the following commands:
    {code}
    cd ~/Downloads/Disk1
    sudo alien --to-deb --scripts oracle-xe-11.2.0-1.0.x86_64.rpm
    (This may take a few minutes)
    rm oracle-xe-11.2.0-1.0.x86_64.rpm
    {code}
    The following needs to be set for compatibility:
    {code}
    sudo ln -s /usr/bin/awk /bin/awk
    sudo mkdir /var/lock/subsys
    {code}
    Ubuntu uses different tools to manage services and system startup scripts. The "chkconfig" tool required by the Oracle installer is not available in Ubuntu. The following will create a file to simulate the "chkconfig" tool.
    Login as root:
    {code}
    sudo su -
    {code}
    Copy & paste the following *directly* into the command prompt to create a file:
    {code}
    cat > /sbin/chkconfig <<-EOF
    #!/bin/bash
    # Oracle 11gR2 XE installer chkconfig hack for Debian based Linux (by dude)
    # Only run once.
    echo "Simulating /sbin/chkconfig..."
    if [[ ! \`tail -n1 /etc/init.d/oracle-xe | grep INIT\` ]]; then
    cat >> /etc/init.d/oracle-xe <<-EOM
    ### BEGIN INIT INFO
    # Provides:                  OracleXE
    # Required-Start:        \\\$remote_fs \\\$syslog
    # Required-Stop:        \\\$remote_fs \\\$syslog
    # Default-Start:            2 3 4 5
    # Default-Stop:            0 1 6
    # Short-Description:   Oracle 11g Express Edition
    ### END INIT INFO
    EOM
    fi
    update-rc.d oracle-xe defaults 80 01
    EOF
    {code}
    Exit root:
    {code}
    exit
    {code}
    Set execute privileges:
    {code}
    sudo chmod 755 /sbin/chkconfig
    {code}
    Install Oracle 11gR2 Express Edition entering the following commands:
    {code}
    cd ~/Downloads/Disk1
    sudo dpkg --install ./oracle-xe_11.2.0-2_amd64.deb
    (This may take a couple of minutes)
    {code}
    Run the configuration script to create (clone) the database and follow the screen. Accept the default answers, including "y" to startup the database automatically, or modify as required.
    {code}
    sudo /etc/init.d/oracle-xe configure
    (This can take a few minutes - the installation completed successfully.)
    {code}
    To verify success, the procedure should end showing:
    {code}
    Starting Oracle Net Listener...Done
    Configuring database...Done
    Starting Oracle Database 11g Express Edition instance...Done
    Installation completed successfully.
    {code}
    Set a password for the Oracle account:
    {code}
    sudo passwd oracle
    {code}
    h2. 9) Post-Installation
    In order to use sqlplus and other tools, the Oracle account requires specific environment variables. The following will set these variables automatically at every Oracle login:
    Login as the Oracle user:
    {code}
    su - oracle
    {code}
    Copy the default account skeleton files and add the Oracle env script to .profile:
    {code}
    cp /etc/skel/.bash_logout ./
    cp /etc/skel/.bashrc ./
    cp /etc/skel/.profile ./
    echo "" >>./.profile
    echo '. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh' >>./.profile
    {code}
    By default, the Oracle Database XE graphical user interface is only available at the local server, but not remotely. The following will enable remote logins:
    Login as the Oracle user:
    {code}
    su - oracle
    {code}
    Login as SYSDBA and execute the following:
    {code}
    sqlplus / as sysdba
    SQL> EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
    exit
    {code}
    See http://download.oracle.com/docs/cd/E17781_01/admin.112/e18585/toc.htm for more information.
    h3. a) Unity desktop configurations
    The Oracle XE menu under the previous Gnome Classic desktop shows several useful scripts to backup the database, start and stop the database, etc. Under the Unity based desktop this menu is not available. You can either switch to the Gnome Classic desktop as outlined in chapter 2, or perform the following steps to modify and copy the scripts as outlined below. The start and stop database scripts will also be modified to perform a progress feedback.
    Login as user root:
    {code}
    sudo su -
    {code}
    Convert desktop files:
    {code}
    cd /usr/share/applications
    sed -i 's/Categories.*/Categories=Database;Office;Development;/g' oraclexe*
    sed -i 's/MultipleArgs/X-MultipleArgs/g' oraclexe*
    sed -i 's/MimeType.*/MimeType=application\/x-database/g' oraclexe*
    sed -i 's/.png//g' oraclexe*
    sed -i 's/Terminal=false/Terminal=true/g' oraclexe-startdb.desktop
    sed -i 's/Terminal=false/Terminal=true/g' oraclexe-stopdb.desktop
    {code}
    Exit root:
    {code}
    exit
    {code}
    Login as user Oracle:
    {code}
    su - oracle
    {code}
    Modify database start and stop scripts:
    {code}
    cd /u01/app/oracle/product/11.2.0/xe/config/scripts
    cp startdb.sh start.sh_orig
    cp stopdb.sh stopdb.sh_orig
    sed -i 's/>.*//g' startdb.sh
    sed -i 's/>.*//g' stopdb.sh
    {code}
    You will need SYSDBA privileges and set Oracle environment variables in order to use your regular user account.
    Login to your regular user account:
    {code}
    su - dude
    {code}
    Enter the folowing command:
    {code}
    sudo usermod -a -G dba dude
    {code}
    Then update your profile to automatically set the necessary Oracle environment variables:
    {code}
    echo "" >>./.profile
    echo '. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh' >>./.profile
    {code}
    Update your Desktop folder to contain useful Oracle XE scripts:
    {code}
    cp /usr/share/applications/oraclexe* ~/Desktop
    chmod 750 ~/Desktop/oraclexe*
    {code}
    To verify success re-login and try "sqlplus":
    {code}
    su - oracle
    sqlplus / as sysdba
    {code}
    h2. 10) Tips and Troubleshooting
    h3. 10. a) Port 1521 appears to be in use by another application
    Error: Port 1521 appears to be in use by another application. Specify a different port.This error happens after a previously unsuccessful configuration attempt using /etc/init.d/oracle-xe configure script. The script was able to start the Listener process, but most likely failed to continue  to clone the database, e.g. ORA-00845. The following should correct the problem:
    Determine the oracle listener process that is already running:
    {code}
    $ ps -ef | grep oracle
    {code}
    Your output should be similar to:
    {code}
    oracle   19789     1  0 19:46 ?        00:00:00 /u01/app/oracle/product/11.2.0/xe/bin/tnslsnr
    {code}
    Then kill the process, using the appropriate process id, for instance:
    {code}
    $ sudo kill -9 19789
    {code}
    h3. 10.b) cannot touch `/var/lock/subsys/listener': No such file or directory
    Starting Oracle Net Listener...touch: cannot touch `/var/lock/subsys/listener': No such file or directoryThis error occurs when you run /etc/init.d/oracle-xe configure, but failed the preinstallation step to create the /var//lock/subsys directory as outlined in chapter 8.
    h3. 10.c) ORA-00845: MEMORY_TARGET
    ORA-00845: MEMORY_TARGET not supported on this system See chapter 7 to enable /dev/shm and verify free space available in /run/shm
    h3. 10.d) Apex ADMIN password
    According to the Oracle documentation, the password for the INTERNAL and ADMIN Oracle Application Express user accounts is initially the same as the SYS and SYSTEM administrative user accounts. Well, I tried several times without success. To reset the Apex Admin password:
    Login as user oracle:
    {code}
    su - oracle
    {code}
    Login as SYSDBA and type the following:
    {code}
    sqlplus / as sysdba
    {code}
    At the SQL prompt, type the following to be prompted to change the password:
    {code}
    SQL> @?/apex/apxxepwd.sql
    exit
    {code}
    When done, open your browser and go to http://127.0.0.1:8080/apex
    Workspace: Internal
    Username: ADMIN
    Password: password you set with apxxepwd.sql
    I will prompt you to reset the password:
    old password: password you set with apxxepwd.sql
    new password: final_password
    You can also login as the Apex Admin using http://127.0.0.1:8080/apex/apex_admin
    h3. 10.e) SYS and SYSTEM password
    Use the following commands to reset the SYS and SYSTEM passwords if necessary:
    Login as the Oracle user:
    {code}
    su - oracle
    {code}
    Login as SYSDBA and type the following at the SQL prompt:
    {code}
    sqlplus / as sysdba
    SQL> alter user sys identified by "password" account unlock;
    SQL> alter user system identified by "password" account unlock;
    SQL> exit
    {code}
    h3. 10.f) Uninstall Oracle 11g XE
    The following will completely uninstall and remove Oracle 11g XE:
    Open a terminal seesion and login as user root:
    {code}
    sudo su -
    {code}
    Enter the following:
    {code}
    /etc/init.d/oracle-xe stop
    dpkg --purge oracle-xe
    rm -r /u01/app
    rm /etc/default/oracle-xe
    update-rc.d -f oracle-xe remove
    update-rc.d -f oracle-mount remove
    update-rc.d -f oracle-shm remove
    {code}
    h3. 10.g) Reconfigure Oracle 11g XE
    Type the following commands in a terminal window:
    {code}
    sudo /etc/init.d/oracle-xe stop
    sudo rm /etc/default/oracle-xe
    sudo /etc/init.d/oracle-xe configure
    {code}
    h3. 10.h) Gnome Classic desktop
    Ubuntu 11 moved from the Gnome Classic desktop to Unity and removed the "Ubuntu Classic" login option. Unity was designed to make more efficient use of space given a limited screen size and touch screens. If you prefer to use the Gnome Classic desktop, enter the following into a terminal window:
    {code}
    sudo apt-get install gnome-panel
    {code}
    To log into the Gnome Classic desktop, select the "Gearwheel" at the login screen and select "Gnome Classic".
    h3. 10.i) Unix vi cursor keys
    The instructions in this tutorial do not require the use of any text editor. However, if you would like use the backspace and cursor keys in the "vi-editor", the following needs to be installed:
    {code}
    sudo apt-get install vim
    {code}
    h3. 10.j) Backup Database
    In order to perform an online database backup using the supplied "Backup Database" script, the database needs to run in Archive-Log mode. This can be setup using the following commands:
    Login as the Oracle user:
    {code}
    su - oracle
    {code}
    Login as SYSDBA and type the following:
    {code}
    sqlplus / as sysdba
    SQL> shutdown immediate
    SQL> startup mount
    SQL> alter database archivelog;
    SQL> alter database open;
    SQL> exit
    {code}
    h2. 11) History
    Version: A, 24-Oct-2011
    - first release
    Version: B, 25-Oct-2011
    - reduced instructions.
    - corrected errors in 6a and 8.
    - new strategy addressing ORA-00845 error.
    - rework of chapter 10.
    Version: C, 30-Nov-2011
    - corrected typo in 6a
    - new procedures in 9a.
    - added progress feedback to database scripts.
    Version D, 14-Jan-2012
    - corrected presentation errors.
    - reorganized instructions.
    h3. 12) References
    http://download.oracle.com/docs/cd/E17781_01/install.112/e18802/toc.htm
    http://askubuntu.com/questions/57297/why-has-var-run-been-migrated-to-run
    http://lwn.net/Articles/436012/
    https://forums.oracle.com/forums/thread.jspa?threadID=2300750&tstart=0
    Kind regards and best of luck!
    Dude.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Excellent Blog. Thank You
    Small clarification on Step **6) Oracle Home Directory, ...a) Resize the Root Partition**
    Ubuntu 11.10 has Gparted available as a Ubuntu software download, DONT use that while trying the above step, instead download the ISO file from http://sourceforge.net/projects/gparted/files/gparted-live-stable/ gparted-live-0.12.0-5.iso (124.6 MB)
    Burn that ISO file on a Blank DVD, reboot the Ubuntu , during startup select Boot from DVD Option if not already selected. this will take to Boot Menu Options of Gparted Live then select the first menu option, and this allows to do further action such as Re-sizing .
    and once you have chosen and executed step a) . do NOT run step b) also that is "Setup External Storage"
    I hope this minor clarification can avoid some confusion
    Regards
    Madhusudhan Rao
    Edited by: MadhusudhanRao on Mar 24, 2012 11:30 PM

  • W540 - Sound and Display in Linux

    Hey dear supporter/user/reader!
    After calming down due to the vast loss in quality of the new Lenovo ThinkPads (2.2k€ for such a plastic toy - rly?) I started installing a Debian sid with XFCE d/e. There were a couple of problems to solve, especially this rattly one-click-fits-all clickpad needed a lot of caring and compiling. And not to forget the first two days of my odyssey trying to boot up the machine with my OCZ Vertex 2 SSD installed with any format, partition table protocol or whatever firmware loaded - which was a sobering and vain experience. I ended up taking another SSD from my studio desktop which isn't only half the size but slower, too. 2.2k€ for a machine unable to boot a regular SSD - rly? Whatever, posting my whole snaggling-list would go far beyond the scope of this thread and we all know how capitalism and "consulting" works - so let's look forward.
    There are lots of problems left but some of the major ones are:
    Bad sound in Linux
    Bad color reproduction from the 3k display in Linux
    Sound:
    In Windows the sound is quite nice. I know that it's a problem of alsa/pulseaudio drivers and that the community has to create appropriate drivers first. But there's no information around by now about the capabilities of the installed sound chip to create some usable workarounds:
    Is there a subwoofer built in?
    Or other channels/speakers I can route some signals to?
    How is this full, brilliant and wide sound achieved in Windows?
    Because just using the stereo speakers at the front edge of the notebook sounds really crappy. Routing the signal through an equalizer gets back some of the highs and the "bass" and eliminates some of the bugging mids around 1.5k but it is still far from the sound experience in Windows. And it brings in some problems because I have to setup a dirty workaround via DBus to select different presets in the e/q depending on the selected output device (speakers or headphone jack) which introduces more and more problems with muted channels after plugging a headphone aso.
    Display:
    The colors look quite okay in Windows, in Linux it's a yellowish-green mess. Since I read about the pretty poor quality of the built-in colorimeter before I ordered this device I didn't buy it in anticipation of the tutorials about using the Windows color profiles in Linux. Unfortunatley copying the profiles from the Windows HDD (C:\WINDOWS\System32\spool\drivers\color) and loading any of them via xicc, xcalib or any other tool handling color profiles does nothing to the color reproduction of the display. I found a profile made by a helpful person somewhere on the internet (notebookcheck? Unfortunately I don't remember) which makes this display kind of usable but it's far from being correct since it introduces a greenish inking at the lower end and a rose red one in the middle of the spectrum. Additionally the overall gamma curve doesn't fit that well. But at least it draws white as white and eliminates the overall lime style of the device.
    Résumé:
    Maybe I'm just an idiot, too dumb to correctly copy and apply color profiles or to use alsa/pulseaudio the correct way. If so I would be very happy about anyone who would lead me in the right direction. Perhaps someone stumbled over the same problems and has some fixes or at least ideas where to look at. Perhaps someone calibrated his 3k display with a professional colorimeter and is willing to share the results.
    If someone is interested in e.g. my Xorg config, the amd64 DEB package for getting a usable clickpad, the slightly working color profile or other informations I'm able to share, please let me know.
    Disclaimer:
    I can understand if anyone is deterred by this rant in a way that she or he avoids to talk to such a poor goof, but perhaps someone understands my vast disappointment after spending a huge amount of money and a lot of time for a brand which is (was?) well known under (Linux-) enthusiasts for the outstanding build quality, the overwhelming compatibility and the ubergood hardware which was built into ThinkPad machines in the past. I owned, sold, recommended and installed lots of these notebooks before, my own last two machines were two t61p which I would call the peak in quality of this brand. But those times definetly seem to be over.
    Thankful for every hint to make this thing more usable, best, Markus.
    Your ads here!

    Here's another profile I stumbled upon. It was made for the T540p shipped with the same display. It is a little more even, so less different colours in the overall grayscale and it has a better gamma curve. But it has an overall greenish touch just like the display without any profile but considerably less.
    http://mein-neues-blog.de/files/t540p.icm
    And to prevent users from searching I upped the profile from my last post to my blog, too:
    http://mein-neues-blog.de/files/LEN40B5.icm
    BTW I'm actually hacking a GTK application for manipulating the ramps of a LUT profile in realtime since those profiles are not that bad but need a little tweaking to fit my own display.
    Your ads here!

  • ITunes, TV Series - Menu display's the 853 x 480 files as well as the 1280 x 720HD files?

    Hi All
    Can anybody tell me why the iTunes, TV Series - Menu display's the 853 x 480 files as well as the 1280 x 720HD files?
    It means when you scroll through you TV or film collections using your remote you get a duplicate title. I can understand having 2 files for viewing on the iPhone or HDTV but you would think iTunes would filter and display the files subject to how you were viewing your TV shows etc?
    Can anybody tell me how to solve this?

    3 Items show up, all the same:
    ThinkPad Display 1280 x 800
    I first tried to remove, rebooted, and nothing happened.
    When I went back in to device manager, they all 3 showed back up
    Second time, disabled all 3, rebooted and nothing happened.
    Third time tried to remove 2 of the 3, nothing happened.
    Any and all help is greatly appreciated!!  
    I have been working on this for over a month.  If I upgrade to Windows 7, I can get online, will all of these problems go away?  
    I have all data and pics that I need saved as well.  I just don't have the recovery disc.  I am thinking I might as well 

  • Solaris Express on Linux Ubuntu (Gutsy)

    I am trying to install SDXE on my VAIO laptop. It passed the compatibility tests, so there should be no problem.
    But, despite I have a 12 GB primary partition available, the installer tells that there is a problem with Linux FDisk partitions, which can not coexist with Solaris FDisk partitions.
    I have read that it is possible to have a multiboot computer with Solaris/Linux(Ubuntu 7.10 in my case) and Windows.
    But the installer does not go further.
    Or should I get rid of my Ubuntu Linux?
    thanks in advance for any advice on this.

    Finally, after three shots, I got Solaris in my notebook.
    Now, I am struggling with WPA for my wireless network. Where does Solaris store WPA keys?
    After a couple of hours, I decided to move to my router and wire my notebook :(
    But it is ok. May be somebody could help me with this.
    Also, is there a stand-by / hibernate option?
    best regards from Lima, Peru
    Sergio

  • Problem displaying charts

    Hi all,
    I have a report and I have 4 charts linked to it
    The problem is that the 4 charts (3D) don't have the same size displaying
    I am displaying 2 charts on Region position 1 (using column 1 & 2 ) & 2 charts at region position 2 (using column 1 & 2 )
    I limited the size for each of the four regions to 300px;
    but some of them look small and some bigger, I tried to play with the size but there is always a difference between the four
    Can someone help please

    I'm using Product Build: 4.1.1.00.23 and have the following problem.
    I have created a line chart with multiple series, to display tablespace growth over time.
    For each tablespace I use the following SQL
    select null,
    to_date(a.tsp, 'YYYYMMDD') stp,
    avg(a.amb) SYSAUX
    from (select substr(tstamp,1,8) tsp,
    tsname tsn,
    sizemb amb
    from x_tablespace_usage
    where cname=*:P1_X*
    and dname=*:P2_X*
    and tsname=' SYSAUX ') a
    group by a.tsp, a.tsn
    order by 2;
    SYSAUX changes for each series
    *:P1_X* and *:P2_X* are variables taken from drop down list in the application.
    I also noticed that the chart examples provided at
    [| http://www.oracle.com/technetwork/developer-tools/apex/application-express/packaged-apps-090453.html]
    Do not contain any line chart examples.
    As can be seen, I currently have to write a seperate piece of sql for each tablespace in a database.
    I would like to re-write this as a function that returns sql. I've not been able to find any examples that work.
    I have tried the following which works in Sqldeveloper
    function tbs_data_fn return varchar2 is
    l_qry VARCHAR2(32767);
    BEGIN
    l_qry := 'SELECT null, a.tsp, ';
    --Loop through the states and add a sum(decode...) column with column alias
    FOR r1 IN (SELECT DISTINCT tsname FROM x_tablespace_usage)
    LOOP
    l_qry := l_qry || 'avg(decode(a.tsn,''' || r1.tsname ||
    ''',a.amb,0)) ' || r1.tsname || ',';
    END LOOP;
    --Trim off trailing comma
    l_qry := rtrim(l_qry, ',');
    --Append the rest of the query
    l_qry := l_qry || ' from (select substr(tstamp,1,8) tsp, tsname tsn, sizemb amb from x_tablespace_usage where cname=''cname'' and dname=''calypso'') a group by a.tsp, a.tsn order by 2;';
    RETURN l_qry;
    END tbs_data_fn;
    But I can't get it to run in Apex.
    I have tried applying the changes with and without validation, and without 'return varchar2 is'.
    Any help gratefully received.
    Tony

  • TS3212 How i can download iTunes for Windows 64Bit if I have downloading this through Linux Ubuntu?

    How i can download iTunes for Windows 64Bit if I have downloading this through Linux Ubuntu?

    Thank you for you answer, but it isn't heart of the problem. The problem is that I don't have choose iTunes version manually, it's happens automatically, and start downloading iTunes for Windows 32-bit.

  • How backup bootmarks in firefox 5.0 /linux ubuntu?

    how can i do a bootmark's backup in firefox 5.0 for linux ubuntu?

    If you have Ubuntu 11.04 then see this:
    * [/questions/822193]
    Ubuntu 11.04 displays window menus in the control bar at the top of the screen<br />
    Click on Bookmarks/Show All Bookmarks then move your mouse to the left upper corner toward Firefox Web Browser.<br />
    You'll get pop up menu (Organize, Views and Import and Backup).<br />
    <br />

  • Linux ubuntu firefox 3.6 fonts

    I have mentioned last time the firefox fonts problem in linux ubuntu.
    Now i have the proof !
    I already follow many fonts setting instructions via forums but it still the same.
    This is the only reason i switch to chromium, google chrome.
    http://img442.imageshack.us/img442/7126/70196238.png
    Note: view this images in "fit view"
    == This happened ==
    Every time Firefox opened
    == User Agent ==
    Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.9 Safari/533.2

    I just upgraded to Kubuntu 10.04 and I immediately noticed how cruddy the text looked in Firefox. Here's something I found that seems to help.
    Go to System Settings > Fonts
    Enable "Use anti-aliasing", then click on the "Configure" button. A
    pop-up window comes up titled "Configure anti-aliasing settings," and click in the box for "Use sub-pixel renderings"; next to that, in the drop-down window, I chose RGB. I left "Hinting Style" at "Medium."
    I don't know all the details, but these settings use the color sub-pixels to smooth out the font appearance. Good enough for me, at any rate.

  • Firefox can't open hotmail from Linux ubuntu, but from windows it can

    Today nov 9, trying to access hotmail using firefox from linux ubuntu is not working, it opens the login.live.com, but after entering credentials it just hangs and later it says: Connection reset by remote server.
    3 days ago i just could logged in perfectly, i've spent the whole day trying and testing.
    I've tried to login from a windows machine and it works perfectly, so whats the problem with firefox for linux???. PLZ HELP !!!!!!!!

    When you load a video on YouTube, Firefox starts the Flash plugin with YouTube's SWF player. The SWF player imports and plays the actual MP4 or FLV media. Firefox doesn't associate Flash with these formats directly.
    Can you use a stand-alone player, such as QuickTime or VLC to play the downloaded file outside of the browser?
    If you need to play it in the browser, perhaps someone has posted instructions on how to do it. Because of security restrictions, you probably would need to save a web page file (.html) and a SWF player into the same folder as the media in order to get everything to work together.

  • SplitMenuButton and Linux Ubuntu

    I am using a split menu button (on Linux Ubuntu). I click on the drop-down arrow, and when I move the mouse over a selection, it will sporadically on and off select the button item. The cursor also changes to a text edit cursor, since it drops over a text field. Is this a bug? Is this just on Ubuntu? If this is a known problem - is there a work-around? It seems as if it needs to be over the text characters themselves for the button to work... which makes it very difficult to select.
    Thanks,
    joe
    Edited by: user13395625 on May 6, 2013 7:03 PM

    You might try posting this in the iphone forum.  This is the itunes match forum and you might get a faster answer in the using iphone forum.

  • Toshiba, make Linux - Ubuntu drivers for bluetooth USB sticks

    Toshiba, please make proper Linux - Ubuntu drivers to your bluetooth USB sticks. I was surprised unpleasantly noting that there are no drivers available for Ubuntu. Please could someone explain THE reason to this kind of abortive policy towards Ubuntu users?

    The problem is Ubuntu here. The Bluetooth adapter is directly connected to the USB bus so it should work without any problems if the OS comes along with the suitable Bluez software. Try to update your Ubuntu installation (apt-get update). Check if bluez is properly installed.

Maybe you are looking for