T440 Unable to create managed/master HOTSPOT using hostapd

Hello All,
I am trying to create a HOTSPOT on my laptop as Super user. However It fails.
Linux details :- [vigneshwara@oc2002381118 ~]$ uname -a
Linux oc2002381118 2.6.32-504.16.2.el6.x86_64 #1 SMP Tue Mar 10 17:01:00 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux
Kindly assist with an solution.
[root@oc2002381118 ~]# hostapd -dd /etc/hostapd/hostapd.conf
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=10 (from group name 'wheel')
nl80211: interface wlan0 in phy phy0
rfkill: initial event: idx=0 type=2 op=0 soft=0 hard=0
rfkill: initial event: idx=1 type=2 op=0 soft=0 hard=0
rfkill: initial event: idx=2 type=1 op=0 soft=0 hard=0
nl80211: Using driver-based off-channel TX
nl80211: wifi status sockopt failed
nl80211: Add own interface ifindex 3
nl80211: Set mode ifindex 3 iftype 3 (AP)
nl80211: Failed to set interface 3 to mode 3: -95 (Operation not supported)
nl80211: Interface already in requested mode - ignore error
nl80211: Setup AP - device_ap_sme=0 use_monitor=0
nl80211: Subscribe to mgmt frames with AP handle 0xa062f0
nl80211: Register frame type=0xb0 nl_handle=0xa062f0
nl80211: Register frame match - hexdump(len=0): [NULL]
nl80211: Register frame command failed (type=176): ret=-22 (Invalid argument)
nl80211: Register frame match - hexdump(len=0): [NULL]
nl80211: Failed to set interface wlan0 into AP mode
netlink: Operstate: linkmode=0, operstate=6
nl80211: Set mode ifindex 3 iftype 2 (STATION)
nl80211 driver initialization failed.

vigveera, welcome to the forums. Please edit your post and add code tags around output from the terminal. Thank you.

Similar Messages

  • Unable to create the Master repository Using ODI 10.1.3.5.0 on windows

    Hello,
    I have installed the ODI 10.1.3.5.o on windows environment. I am using sql server 2008.
    When i am trying to create the master repository it was not creating, When i am tested the connection it was successfull, but when i am click on OK it not performing.
    I have down loaded Microsoft SQL Server JDBC Driver 3.0 and copied sqljdbc4.jar in to D:\OraHome_1\oracledi\drivers.
    And also installed java 6 on my machine.
    Please help me.
    Regards,
    Krishna
    Edited by: 897734 on Dec 14, 2011 3:03 AM

    Hi krishna,
    Check *3.2 Creating Repository Storage Spaces* in below URL, Hope this may helps you
    http://docs.oracle.com/cd/E21764_01/integrate.1111/e12643/admin_reps.htm
    Regards,
    Phanikanth

  • Unable to create Customer master in ECC 6

    Hii Gurus
    I am unable to create customer master in ECC 6 version as system says that sales area defined even though it is defined. if i am going to XD01 when i click on All sales area Button it is showing only sales organisaiton and rest distribution channel and division is not appearing. is there any activation required for distribution channels or at divisions so that i can appear in avalible sales area.
    i have tried to enter it manually but it is not accepting. when i check at enterprise structure it is defined and assinged
    can any body help me oout?
    thanks in advance
    sur

    Hello,
    This is an issue by non-assigning on common distribution channel and common division.
    Go to SPRO --> Sales & Distribution --> Masterdata --> Define Common Distribution channel (Txn : VOR1).
    Give you distribution channel to the fields Reference distribution channle for conditions and Reference DC for customer and material masters
    Go to SPRO --> Sales & Distribution --> Masterdata --> Define Common Division (Txn : VOR2)
    Maintian Common division 00 agaist your sales org as well as the fields Reference Division for conditions and Reference Division for customer and material masters
    Prase

  • Unable to create a clustered VM using Remote Server Administration Tools - Failover Cluster Manager

    Hi
    I am using two Hyper-V Server 2012 R2 and a single WS2012 Datacenter Edition with GUI Interface for management purpose.
    I have installed Failover Clustering feature on these two Hyper-V servers and remote server administration tools for Failover Clustering on WS2012 DC Edition with GUI.
    I have created cluster using powershell cmdlets on Hyper-V server because I was unable to create a cluster using RSAT-Failover Clustering (May be some privileges issues).
    The problem is " I am still not able to create a Hyper-VM using Failover Cluster Manager on WS2012 DC Edition server". It gives me an error "Invalid operation"
    Any Help regarding this issue will be very appreciated.
    Thanks in Advance.....
    Abhinav | MCTS-Server Virtualization

    Thanks Tim for your response but atleast I should be able to create and configure VMs for high availability. 
    I think this is not the issue which I am facing. It gives me an error "invalid class". There is something missing.
    Please check and let me know if it can be solved. Any help will be really appreciated.
    Thanks in advance.
    Abhinav | MCTS-Server Virtualization

  • Unable to create a pdf file using the print routine

    Hey all,
    Recently, i've been unable to create a pdf using the print routine from quickbooks, word, outlook, etc... using the print routine and the adobe pdf driver....
    I have vista and cs3... Any thoughts?
    Thanks,
    Murph
    [email address deleted by host]

    If you are trying to print to the Adobe PDF printer and that fails, try using print-to-file. Then open the file in Distiller. If the result is the desired PDF, then check for AcroTray running as a background application. Sometimes it has to be restarted, but should be in your startup (you can check msconfig from the start>run menu to see if AcroTray is there).

  • Unable to create material master

    Hi
    I tried creating material master using tcode MM01. I have done the basic config to start using MM (i am a FICO guy).
    When i create the material master, and try to save, it opens another window of "ABAP Debugger Controls Session" and I am not sure what to do there...when i exit from the debugger screen, it takes me back to SAP Easy Access Menu...
    any idea guys why this error is coming.
    thanks
    Vikash

    Hi,
    You should get your ABAPer to sit down with you while you are maintaining material master creation and once the same error was encountered, you shall ask them to turn off the 'debugging mode' of the related program.
    Cheers,
    HT

  • Send SMS while creating Customer Master Record using XD01?

    Hi Experts,
    We have a requirement that " Send SMS from XD01 (customer Master)".  Send SMS to customer's mobile after successfully creating customer master  record by pressing SAVE button in XD01 tcode.
    Successfully, sending SMS through the ABAP program.
    How to send SMS from XD01 tcode? I tried using USER-EXIT "SAPMF02D", but it is not sending and giving error message. If I send through the program, it is sending and working fine.
    Whether I have to use Work Flows or any other solutions?
    Please help me out.
    thanks in advance.
    Regards
    Saray.

    Hi,
    Can you please paste your code here?
    Also check BADI CUSTOMER_ADD_DATA in se18.
    Regards,
    Amit

  • Unable to create Sybase master device

    Hello,
    Before starting Sybase install, I have created two raw devices c0t0d0s3 & c0t0d0s4.
    Then I did:
    chown sybase:staff /dev/rdsk/c0t0d0s3
    chown sybase:staff /dev/rdsk/c0t0d0s4
    Sybase install errors off while creating master device:
    kernel Checked out license ASE_DEV
    kernel Adaptive Server Enterprise Developer Edition
    kernel basis_dsizecheck: attempt to open device '/dev/rdsk/c0t0d0s3' failed, system error is: Device busy
    kernel kistartup: Unable to create master device
    I have investigated who holds the device:
    # fuser /dev/rdsk/c0t0d0s3
    /dev/rdsk/c0t0d0s3: 443o
    # ps -ef | grep 443
    root 1276 1274 0 13:22:27 pts/3 0:00 grep 443
    root 443 1 0 mar 05 ? 0:00 /usr/sbin/vold
    Why does vold prohibit Sybase to establish the master device ?

    Hello,
    Before starting Sybase install, I have created two raw devices c0t0d0s3 & c0t0d0s4.
    Then I did:
    chown sybase:staff /dev/rdsk/c0t0d0s3
    chown sybase:staff /dev/rdsk/c0t0d0s4
    Sybase install errors off while creating master device:
    kernel Checked out license ASE_DEV
    kernel Adaptive Server Enterprise Developer Edition
    kernel basis_dsizecheck: attempt to open device '/dev/rdsk/c0t0d0s3' failed, system error is: Device busy
    kernel kistartup: Unable to create master device
    I have investigated who holds the device:
    # fuser /dev/rdsk/c0t0d0s3
    /dev/rdsk/c0t0d0s3: 443o
    # ps -ef | grep 443
    root 1276 1274 0 13:22:27 pts/3 0:00 grep 443
    root 443 1 0 mar 05 ? 0:00 /usr/sbin/vold
    Why does vold prohibit Sybase to establish the master device ?

  • Unable to create a jco destination using remote AS Java system on myjava sy

    Dear SAP Gurus,
                  I had ce 7.1 and nw 2004s based AS java Systems.I want to create a jco destination in my CE 7.1 system using usermapping data of  nw 2004s for jco communication.So i created a AS Java  system of NW2004s in my CE 7.1 SLD .when i try to create a jco destination using the AS JAVA as Nw2004s system it is not creating .Please help me to solve this issue.
    regards,
    vanamaSanthosh.

    Hi vanamaSanthosh
    try this
    1. In your CE1 System where u define your JCO destination, Go to C:\WINDOWS\system32\drivers\etc
    open hosts file and define the  identity of AS System like <IP address> <name of the system>
    for example 159.858.2.45  abcd
    restart the server and then check.
    Best Regards
    Satish Kumar

  • Unable to Create Image Map Hotspot

    I've got a GIF image inserted into a RoboHelp HTML 8 topic and am trying to create multiple image map hotspots on the graphic. I successfully created the first hotspot (a rectangular one). When I try to create the second, the crosshair cursor displays, but when I drag with the mouse, it fails to draw a box outline. When I release the mouse, nothing happens.
    This behavior is erratic. Sometimes, if I close and reopen the topic, I can draw a hotspot. Other times, if I complete exit and re-launch RoboHelp, I can draw a hotspot. Is this a bug, or is there something I can do to make it work more effectively?

    Do you have many other hotspots in this topic?
    Do you have other dynamic HTML in this topic (Related Topics, See Also, drop-down text, etc.)?
    Have you been performing a lot of Cut/Paste operations prior to experiencing this issue?
    Have you ever hit multiple keys in this topic and caused a RH crash?
    RH places numerically identified data in the <HEAD> section for dynamic HTML entities, in addition to the related, numerically matched code that resides in the BODY section. At some point, these numeric matches can get corrupted (the old fat fingers causing a crash trick, for example). The only cure to that is to delete all the HEAD and BODY data, and then start over. Sorry.
    Good luck,
    Leon

  • T440s - Unable to create recovery disk

    I just got my Thinkpad T440s, my first Thinkpad and I really love the machine! I've been having this issue though which has been spoiling my enjoyment of the device: I can't make the recovery disks. I tried following the instructions here http://support.lenovo.com/en_US/downloads/detail.page?DocID=HT076024 but I always get this error: https://skydrive.live.com/redir?resid=5DCF305C859982FB!709&authkey=!ANxAZ-i4hSnedBA&v=3&ithint=photo... . On the previous page I can't check the box for copying the recovery partition. In the Disk Management snap-in (diskmgmt.msc) I can see that the recovery partition is there, so I'm not sure what the problem is.
    I would really like to get the recovery media created, as I can't risk starting to use this machine without recovery media since there is no DVD drive. I would appreciate any help in this matter. Thanks!

    Hi ibrahima,
    What kind of media do you try to do your recovery on?
     usb flash drive might be 16GB minimum.
    Otherwise you should try to restore your laptop to factory defaults and try again.
    Vince.
    Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information on it.
    ThinkPad T510 4313-CTO Windows 8 x64 - Intel Core i7-620M - NVIDIA NVS 3100M - 8GB RAM - 240GB SSD- Intel Centrino Ultimate-N 6300 - Gobi 2000.
    ThinkPad Helix 3697-CTO Windows 8.1 x64 - Intel Core i7-3667U - Intel HD Graphics 4000 - 8GB RAM- 256GB SSD - Intel Centrino Advanced-N 6205 - Ericsson C5621gw

  • New-CMGlobalCondition unable to create New script Condition using Power Shell

    I am using config Manger 2012 and trying to use power shell cmdlet to create a new Global Condition using PowerShell but its not working for me using this
    Do not understand how to use that command any idea.
    New-CMGlobalCondition -DataType Boolean -DeviceType Windows -FilePath file.ps1 -Name test -ScriptLanguage PowerShell
    Error comes as 
    New-CMGlobalCondition : No object corresponds to the specified parameters.
    At line:1 char:1
    + New-CMGlobalCondition -DataType Boolean -DeviceType Windows -FilePath file.ps1 - ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (Microsoft.Confi...onditionCommand:NewGlobalConditionCommand) [New-CMGlobalCondition], I 
       temNotFoundException
        + FullyQualifiedErrorId : ItemNotFound,Microsoft.ConfigurationManagement.Cmdlets.AppModel.Commands.NewGlobalConditionCommand

    Hi,
    What's your version of SCCM? I ran this command line on SCCM 2012 R2 CU2.
    It seems SCCM 2012 R2 CU2 fixed New-CMGlobalCondition cmdlet issue.
    "The New-CMGlobalCondition cmdlet incorrectly requires use of the
    -WhereClause parameter."
    Description of Windows PowerShell changes in Cumulative Update 2 for System Center 2012 R2 Configuration Manager
    Best Regards,
    Joyce

  • Zprogram to create material master data using bapi

    can anyone send me a zprogram which uses a
    bapi to create\update material master data .
    thanks ,
    Amit

    hi,
    here below a code sample that will help you
    FORM execution .
      DATA: is_headdata TYPE bapimathead.
      DATA: is_clientdata TYPE bapi_mara.
      DATA: is_clientdatax TYPE bapi_marax.
      DATA: is_plantdata TYPE bapi_marc.
      DATA: is_plantdatax TYPE bapi_marcx.
      DATA: is_valuationdata  TYPE bapi_mbew.
      DATA: is_valuationdatax  TYPE bapi_mbewx.
      DATA: it_materialdescription TYPE bapi_makt OCCURS 0 WITH HEADER LINE.
      DATA : is_storagelocationdata TYPE bapi_mard,
             is_storagelocationdatax TYPE bapi_mardx.
    *... views
      is_headdata-material = mara-matnr.
      is_headdata-ind_sector = 'M'.
      is_headdata-matl_type = 'ROH'.
      is_headdata-basic_view = 'X'.
      is_headdata-purchase_view = 'X'.
      is_headdata-mrp_view = 'X'.
      is_headdata-account_view = 'X'.
      is_headdata-cost_view = 'X'.
      is_headdata-storage_view = 'X'.
    *... constants
      is_clientdata-pur_valkey = '3'.
      is_clientdatax-pur_valkey = 'X'.
    *... Données article générales (de l'écran)
      is_clientdata-base_uom = mara-meins.
      is_clientdata-matl_group = mara-matkl.
      is_clientdata-mfr_no = mara-mfrnr.
      is_clientdata-manu_mat = mara-mfrpn.
      is_clientdata-pur_status = mara-mstae.
      is_clientdata-old_mat_no = mara-bismt.
      is_clientdatax-base_uom = 'X'.
      is_clientdatax-matl_group = 'X'.
      is_clientdatax-mfr_no = 'X'.
      is_clientdatax-manu_mat = 'X'.
      is_clientdatax-pur_status = 'X'.
      is_clientdatax-old_mat_no = 'X'.
    *... Description
      it_materialdescription-langu = sy-langu.
      it_materialdescription-matl_desc = makt-maktx.
      APPEND it_materialdescription.
      is_plantdata-sm_key = '000'.
      is_plantdata-dep_req_id = '2'.
      is_plantdata-availcheck = '02'.
      is_plantdata-auto_p_ord = 'X'.
      is_plantdatax-sm_key = 'X'.
      is_plantdatax-dep_req_id = 'X'.
      is_plantdatax-availcheck = 'X'.
      is_plantdatax-auto_p_ord = 'X'.
      is_plantdata-pur_status = mara-mstae.
      is_plantdatax-pur_status = 'X'.
          is_plantdata-profit_ctr = '100012'.
      is_plantdata-proc_type = 'F'.
      is_plantdata-determ_grp = 'Z001'.
      is_plantdata-deploy_horiz = '000'.
      is_plantdatax-proc_type = 'X'.
      is_plantdatax-determ_grp = 'X'.
      is_plantdatax-deploy_horiz = 'X'.
    *... Plant data
      is_plantdata-plant = marc-werks.
      is_plantdata-pur_group = marc-ekgrp.
      is_plantdata-abc_id = marc-maabc.
      is_plantdata-mrp_type = marc-dismm.
      is_plantdata-plnd_delry = marc-plifz.
      is_plantdata-lotsizekey = marc-disls.
      is_plantdata-safety_stk = marc-eisbe.
      is_plantdata-mrp_ctrler = marc-dispo.
      is_plantdata-iss_st_loc = marc-lgpro.
      is_plantdata-sloc_exprc = marc-lgfsb.
      is_plantdata-round_prof = marc-rdprf.
      is_plantdatax-plant = marc-werks.
      is_plantdatax-pur_group = 'X'.
      is_plantdatax-abc_id = 'X'.
      is_plantdatax-mrp_type = 'X'.
      is_plantdatax-plnd_delry = 'X'.
      is_plantdatax-lotsizekey = 'X'.
      is_plantdatax-safety_stk = 'X'.
      is_plantdatax-mrp_ctrler = 'X'.
      is_plantdatax-iss_st_loc = 'X'.
      is_plantdatax-sloc_exprc = 'X'.
      is_plantdatax-round_prof = 'X'.
    *... Valuation
      is_valuationdata-val_area = marc-werks.
      is_valuationdatax-val_area = marc-werks.
      is_valuationdata-price_ctrl = 'V'.
      is_valuationdata-price_unit = '1'.
      is_valuationdata-val_class = '3000'.
      is_valuationdata-qty_struct = 'X'.
      is_valuationdata-orig_mat = 'X'.
      is_valuationdata-price_unit = mbew-peinh.
      is_plantdata-lot_size = mbew-peinh.
      is_valuationdatax-price_ctrl = 'X'.
      is_valuationdatax-price_unit = 'X'.
      is_valuationdatax-val_class = 'X'.
      is_valuationdatax-qty_struct = 'X'.
      is_valuationdatax-orig_mat = 'X'.
      is_valuationdatax-price_unit = 'X'.
      is_plantdatax-lot_size = 'X'.
    Storage
      IF NOT marc-lgpro IS INITIAL.
        is_storagelocationdata-plant = marc-werks.
        is_storagelocationdata-stge_loc = marc-lgpro.
        is_storagelocationdata-stge_bin = mard-lgpbe.
        is_storagelocationdatax-plant = is_storagelocationdata-plant.
        is_storagelocationdatax-stge_loc = is_storagelocationdata-stge_loc.
        is_storagelocationdatax-stge_bin = 'X'.
      ENDIF.
      CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
      EXPORTING
      headdata                   = is_headdata
      clientdata                 = is_clientdata
      clientdatax                = is_clientdatax
      plantdata                  = is_plantdata
      plantdatax                 = is_plantdatax
      FORECASTPARAMETERS         =
      FORECASTPARAMETERSX        =
      PLANNINGDATA               =
      PLANNINGDATAX              =
       storagelocationdata        = is_storagelocationdata
       storagelocationdatax       = is_storagelocationdatax
      valuationdata              = is_valuationdata
      valuationdatax             = is_valuationdatax
      WAREHOUSENUMBERDATA        =
      WAREHOUSENUMBERDATAX       =
      SALESDATA                  =
      SALESDATAX                 =
      STORAGETYPEDATA            =
      STORAGETYPEDATAX           =
      FLAG_ONLINE                = ' '
      FLAG_CAD_CALL              = ' '
      IMPORTING
      return                     = return
    TABLES
         materialdescription        = it_materialdescription
      UNITSOFMEASURE             =
      UNITSOFMEASUREX            =
      INTERNATIONALARTNOS        =
      MATERIALLONGTEXT           =
      TAXCLASSIFICATIONS         =
         returnmessages             = it_returnmessages
      PRTDATA                    =
      PRTDATAX                   =
      EXTENSIONIN                =
      EXTENSIONINX               =
    endform.
    Regards.
    David

  • Unable to create server pool cluster using ISCSI/NFS... OVMAPI_4010E error

    Hi
    I have a OVM 3.0.3 setup. The OVM manager and the Oracle 11g database are running as 2 seperate VM's on a X6270 M2 Blade which is on VMware ESXi.
    I created 2 LUN's one 25GB for the Clusterfilesystem and another 300GB as a storage repository for the OVM server on a NetApp 3020 filer. I am able to map the LUN onto the OVM manager but when I try to create a server pool and select the 25GB LUN as the repository for the cluster file system I keep getting the following error.
    tamp:     Aug 03, 2012 2:18:38 pm
    Status:     Failed
    Description:     Create Server Pool clustpool
    Created By:     admin
    Duration:     93ms
    Start Time:     Aug 03, 2012 2:30:24 pm
    End Time:      Aug 03, 2012 2:30:24 pm
    Message:     (08/03/2012 02:30:24:400 PM) OVMAPI_4010E Attempt to send command: create_pool_filesystem to server: englabbld06 failed. OVMAPI_4004E Server Failed Command: create_pool_filesystem nfs 206.236.134.21:/u01/clustrepo 620c03e59354719c 0004fb00000500000655780207887c30 920c26a9-dfdf-4977-8987-32bf39b47e25 0004fb000001000063c25c719da3e856 0004fb0000020000620c03e59354719c, Status: java.lang.InterruptedException Fri Aug 03 14:30:24 IST 2012 Fri Aug 03 14:30:24 IST 2012
    I repeated the same exercise using NFS but the same error keeps popping up.
    I have thoroughly checked the configuration of OVM servers as well as the OVM manager including, host file resolution, DNS entry, firewall, ntp etc...but nothing seems to work, I have re installed the complete infrastructure once again but does not seem to solve the problem.

    Hi Pioneer
    thanks for your inputs...but it does not seem to be working...recreated the LUN's assigned it to the OVM manager but server pool creation fails...the issue here is that the server pool creation process gets locked for more than 15-20 mnts and then fails...
    BTW I was going through the following thread mentioned below and its seems to be a bug in OVM..which is resolved by installing the patch...please advise if I need to do the same. I will anyway once again recheck all the parameters
    Can't create repository as iSCSI physical disk
    Please find the log files below
    b Construction Phase
    begin()
    Appended operation 'Pool File System Construct' to object '0004fb0000050000feccace26da5f020 (Pool filesystem for clustrepo)'.
    commit()
    Completed Step: COMMIT
    Objects and Operations
    Object (CREATED): [Cluster] 8b88de52d58a611b
    Object (CREATED): [ServerPool] 0004fb00000200008b88de52d58a611b (clustrepo)
    Object (CREATED): [PoolFileSystem] 0004fb0000050000feccace26da5f020 (Pool filesystem for clustrepo)
    Operation: Pool File System Construct
    Object (IN_USE): [StorageElement] 0004fb000018000049d49e4aca3a430b (clustrepo)
    Object (CREATED): [BalancerControl] balancer_0004fb00000200008b88de52d58a611b
    Job Running Phase at 10:10 on Tue, Aug 7, 2012
    Job Participants: [ff:20:00:08:ff:ff:ff:ff:ff:ff:da:48:de:28:21:00 (englabbld06)]
    Actioner
    Starting operation 'Pool File System Construct' on object '0004fb0000050000feccace26da5f020 (Pool filesystem for clustrepo)'
    Job: 1344314405855, aborted post-commit by user: admin
    Write Methods Invoked
    Class=InternalJobDbImpl vessel_id=2580 method=addTransactionIdentifier accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=setName accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=setFoundryContext accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=onPersistableCreate accessLevel=6
    Class=ClusterDbImpl vessel_id=2595 method=setName accessLevel=6
    Class=ClusterDbImpl vessel_id=2595 method=setFoundryContext accessLevel=6
    Class=ClusterDbImpl vessel_id=2595 method=onPersistableCreate accessLevel=6
    Class=ClusterDbImpl vessel_id=2595 method=setLifecycleState accessLevel=6
    Class=ClusterDbImpl vessel_id=2595 method=setRollbackLifecycleState accessLevel=6
    Class=ClusterDbImpl vessel_id=2595 method=setServerPool accessLevel=6
    Class=BalancerControlDbImpl vessel_id=2601 method=setName accessLevel=6
    Class=BalancerControlDbImpl vessel_id=2601 method=setFoundryContext accessLevel=6
    Class=BalancerControlDbImpl vessel_id=2601 method=onPersistableCreate accessLevel=6
    Class=BalancerControlDbImpl vessel_id=2601 method=setLifecycleState accessLevel=6
    Class=BalancerControlDbImpl vessel_id=2601 method=setRollbackLifecycleState accessLevel=6
    Class=BalancerControlDbImpl vessel_id=2601 method=setServerPool accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=setLifecycleState accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=setRollbackLifecycleState accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=setSimpleName accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=setSimpleName accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=setVirtualIP accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=setKeymapName accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=setVmMigrateUsingSsl accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=createPoolFileSystem accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=setName accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=setFoundryContext accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=onPersistableCreate accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=setLifecycleState accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=setRollbackLifecycleState accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=setSimpleName accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=setStorageDevice accessLevel=6
    Class=StorageElementDbImpl vessel_id=2448 method=addLayeredFileSystem accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=setUuid accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=setManagerUuid accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=setServerPool accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=addJobOperation accessLevel=6
    Class=InternalJobDbImpl vessel_id=2580 method=setCompletedStep accessLevel=6
    Class=InternalJobDbImpl vessel_id=2580 method=setAssociatedHandles accessLevel=6
    Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: create_pool_filesystem to server: englabbld06 failed. OVMAPI_4004E Server Failed Command: create_pool_filesystem lun /dev/mapper/360a98000433465644e346c654c51642d 8b88de52d58a611b 0004fb0000050000feccace26da5f020 0004fb000001000063c25c719da3e856 0004fb00000200008b88de52d58a611b, Status: java.lang.InterruptedException
    Tue Aug 07 10:13:53 IST 2012
    Tue Aug 07 10:13:53 IST 2012
    at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:475)
    at com.oracle.ovm.mgr.action.ActionEngine.sendUndispatchedServerCommand(ActionEngine.java:427)
    at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:369)
    at com.oracle.ovm.mgr.action.ClusterAction.createPoolFileSystem(ClusterAction.java:47)
    at com.oracle.ovm.mgr.op.physical.storage.PoolFileSystemConstruct.constructAction(PoolFileSystemConstruct.java:101)
    at com.oracle.ovm.mgr.op.physical.storage.PoolFileSystemConstruct.action(PoolFileSystemConstruct.java:50)
    at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:193)
    at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:264)
    at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1090)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:247)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:207)
    at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
    at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
    at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
    at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:751)
    at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
    at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
    at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: com.oracle.ovm.mgr.api.exception.IllegalOperationException: OVMAPI_4004E Server Failed Command: create_pool_filesystem lun /dev/mapper/360a98000433465644e346c654c51642d 8b88de52d58a611b 0004fb0000050000feccace26da5f020 0004fb000001000063c25c719da3e856 0004fb00000200008b88de52d58a611b, Status: java.lang.InterruptedException
    Tue Aug 07 10:13:53 IST 2012
    at com.oracle.ovm.mgr.action.ActionEngine.sendAction(ActionEngine.java:753)
    at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:471)
    ... 21 more
    FailedOperationCleanup
    Starting failed operation 'Pool File System Construct' cleanup on object 'Pool filesystem for clustrepo'
    Complete rollback operation 'Pool File System Construct' completed with direction=Pool filesystem for clustrepo
    Rollbacker
    Objects To Be Rolled Back
    Object (CREATED): [Cluster] 8b88de52d58a611b
    Object (CREATED): [ServerPool] 0004fb00000200008b88de52d58a611b (clustrepo)
    Object (CREATED): [PoolFileSystem] 0004fb0000050000feccace26da5f020 (Pool filesystem for clustrepo)
    Object (IN_USE): [StorageElement] 0004fb000018000049d49e4aca3a430b (clustrepo)
    Object (CREATED): [BalancerControl] balancer_0004fb00000200008b88de52d58a611b
    Write Methods Invoked
    Class=InternalJobDbImpl vessel_id=2580 method=addTransactionIdentifier accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=setName accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=setFoundryContext accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=onPersistableCreate accessLevel=6
    Class=ClusterDbImpl vessel_id=2595 method=setName accessLevel=6
    Class=ClusterDbImpl vessel_id=2595 method=setFoundryContext accessLevel=6
    Class=ClusterDbImpl vessel_id=2595 method=onPersistableCreate accessLevel=6
    Class=ClusterDbImpl vessel_id=2595 method=setLifecycleState accessLevel=6
    Class=ClusterDbImpl vessel_id=2595 method=setRollbackLifecycleState accessLevel=6
    Class=ClusterDbImpl vessel_id=2595 method=setServerPool accessLevel=6
    Class=BalancerControlDbImpl vessel_id=2601 method=setName accessLevel=6
    Class=BalancerControlDbImpl vessel_id=2601 method=setFoundryContext accessLevel=6
    Class=BalancerControlDbImpl vessel_id=2601 method=onPersistableCreate accessLevel=6
    Class=BalancerControlDbImpl vessel_id=2601 method=setLifecycleState accessLevel=6
    Class=BalancerControlDbImpl vessel_id=2601 method=setRollbackLifecycleState accessLevel=6
    Class=BalancerControlDbImpl vessel_id=2601 method=setServerPool accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=setLifecycleState accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=setRollbackLifecycleState accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=setSimpleName accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=setSimpleName accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=setVirtualIP accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=setKeymapName accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=setVmMigrateUsingSsl accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=createPoolFileSystem accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=setName accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=setFoundryContext accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=onPersistableCreate accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=setLifecycleState accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=setRollbackLifecycleState accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=setSimpleName accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=setStorageDevice accessLevel=6
    Class=StorageElementDbImpl vessel_id=2448 method=addLayeredFileSystem accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=setUuid accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=setManagerUuid accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=setServerPool accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=addJobOperation accessLevel=6
    Class=InternalJobDbImpl vessel_id=2580 method=setCompletedStep accessLevel=6
    Class=InternalJobDbImpl vessel_id=2580 method=setAssociatedHandles accessLevel=6
    Class=InternalJobDbImpl vessel_id=2580 method=setFailedOperation accessLevel=6
    Class=ClusterDbImpl vessel_id=2595 method=nextJobOperation accessLevel=6
    Class=ServerPoolDbImpl vessel_id=2589 method=nextJobOperation accessLevel=6
    Class=PoolFileSystemDbImpl vessel_id=2607 method=nextJobOperation accessLevel=6
    Class=StorageElementDbImpl vessel_id=2448 method=nextJobOperation accessLevel=6
    Class=BalancerControlDbImpl vessel_id=2601 method=nextJobOperation accessLevel=6
    Completed Step: ROLLBACK
    Job failed commit (internal) due to OVMAPI_4010E Attempt to send command: create_pool_filesystem to server: englabbld06 failed. OVMAPI_4004E Server Failed Command: create_pool_filesystem lun /dev/mapper/360a98000433465644e346c654c51642d 8b88de52d58a611b 0004fb0000050000feccace26da5f020 0004fb000001000063c25c719da3e856 0004fb00000200008b88de52d58a611b, Status: java.lang.InterruptedException
    Tue Aug 07 10:13:53 IST 2012
    Tue Aug 07 10:13:53 IST 2012
    com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: create_pool_filesystem to server: englabbld06 failed. OVMAPI_4004E Server Failed Command: create_pool_filesystem lun /dev/mapper/360a98000433465644e346c654c51642d 8b88de52d58a611b 0004fb0000050000feccace26da5f020 0004fb000001000063c25c719da3e856 0004fb00000200008b88de52d58a611b, Status: java.lang.InterruptedException
    Tue Aug 07 10:13:53 IST 2012
    Tue Aug 07 10:13:53 IST 2012
    at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:475)
    at com.oracle.ovm.mgr.action.ActionEngine.sendUndispatchedServerCommand(ActionEngine.java:427)
    at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:369)
    at com.oracle.ovm.mgr.action.ClusterAction.createPoolFileSystem(ClusterAction.java:47)
    at com.oracle.ovm.mgr.op.physical.storage.PoolFileSystemConstruct.constructAction(PoolFileSystemConstruct.java:101)
    at com.oracle.ovm.mgr.op.physical.storage.PoolFileSystemConstruct.action(PoolFileSystemConstruct.java:50)
    at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:193)
    at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:264)
    at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1090)
    at sun.reflect.GeneratedMethodAccessor1167.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:247)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:207)
    at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
    at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
    at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)

  • Unable to create records in database using PHP Data Service

    Hello, I've been stuck on this for a few days and search up and down for this on the net, no response I've found has worked, so I come to you...
    Here are the steps I've taken, I think it's pretty standard
    1. I have a macbook pro running osx 10.7.3
    2. I installed MAMP all default (I've acually reinstalled this because someone suggested this might fix it)
    3. Thru phpMyAdmin I created a database called my_test
    4. In that database I created a table, this is the export of that table: (I've also tried this with InnoDB which is the default)
    CREATE TABLE `customer` (
      `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
      `name` varchar(50) NOT NULL,
      `email` varchar(150) NOT NULL,
      PRIMARY KEY (`id`),
      UNIQUE KEY `id` (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
    5. I created a new Flx Project (Running Flash Builder 4.5.1 Premium)
         Project Name: PHPTest
         Application Type: Desktop (Although I've done the same thing with Web and got the same results)
         >> Next
         Application Server Type: PHP
         Web Root: /Applications/MAMP/htdocs/
         URL Root: http://localhost:8888/
         Clicked 'Validate Configuration' and that worked
         Output Folder: /Applications/MAMP/htdocs/PHPService (default by Flash Builder)
         >> Finished
    6. On the Data/Services tab on the bottom I click 'Connect to Data/Service...'
         Select 'PHP'
         >> Next
         Select 'Click here to generate a sample'
         Select 'Generate from database' radio button
         Username: root
         Password: root (default for MAMP)
         Host name: localhost
         Server port: 8889 (default for MAMP MySQL port, the HTTP port default is 8888 which in both cases seem to work but every video I've seen that uses MAMP on youtube uses 8889)
         Database: my_test
         Click 'Test Connection' (works)
         Table: customer
         Primary Key: id (this field is greyed out and Flash Builder selects 'id' which it figures out from the SQL table)
         >> Click OK
    7. Then if I don't have the Zend Framework folder in my /Applications/MAMP/htdocs/ folder it tells me its going to create that and I say alright. Then Flash Builder says stuff about how this is really only for testing and not production server ready and I say alright.
    8. Then it takes me back to the Form from Step 6 when I get the chance to select 'Click here to generate a sample'
         These fields are now filled with this data automaticly:
         PHP Class: /Applications/MAMP/htdocs/PHPTest/services/CustomerService.php
         Service name: CustomerService
         Service package: services.customerservice
         Data type package: valueObjects
         >> Click Next (shows all the functions that will be now availible)
         >> Click Finished (End of the forms and it opens Dreamweaver to the php file it created CustomerService.php which I have no need to edit so I close that down)
    9. Back in Flash Builder I switch to design view and drag a datagrid onto the big white area in the middle, whatever that is called.
    10. Then below in Data/Services tab on the bottom I click drag the function 'GetAllCustomer' on top of the datagrid.
         I say yes to rebound and click ok and the view of the datagrid is updated with the colums from the 'customer' table in mySQL.
    (Now let me say that when I hit save and compile this, if I actually had records in this table that I insert thru phpMyAdmin, this does show in the datagrid. So for the whole CRUD thing I am able to get the R which is Read)
    11. Now going back to the design view in Flash Builder I will create a form to create records in the table... (I guess this isn't really a step)
    12. In the Data/Service tab on the bottom I select 'createCustomer' function and then there is an icon called 'Generate Form' that looks like a white piece of paper with a gear on the bottom of it.
    13. This opens up a new form and since I don't have a crazy bunch of fields in my table I just click Finished (If you click next you can specify which fields you want to exclude from the form but this time I don't need to)
    14. This actually creates 2 forms if you look at the code, the second just shows the return type from when you click 'CreateCustomer' button on the first form. Because they overlap in design view I drag the form out of the way so you can see the input form, the return form, and the datagrid
    15. Then I save and compile...
    (Also if your actually reading this I didn't remove the id form field, I get the same result either way, but if you do remove the form field in the code/design you also have to update the button function to not deal with the id before it gets sent off to the php page since in this case the MySQL table is set to auto_increment the id, sorry this doesn't make much sence but this little area doesn't matter much either way)
    16. Now fill in whatever data you want for name and email, try differnt numbers in the id field like 0, nothing, 1, 1000 and click 'CreateCustomer'
    (For me nothing happens, no return is put in the return field, no error pops up and the datagrid is not updated with the new record, also going over to phpMyAdmin and checking out the table browse doesn't show any changes either, I know the button is calling the function because if I add a state change in that function it changes, it would seem that the line:
    createCustomerResult.token = customerService.createCustomer(customer2); doesn't do anything)
    So any idea what is wrong here, I'm convenced it's something stupid easy simple I just can't see it.

    In case you need more info, here is a code dump on a mxml project that has this problem:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:mx="library://ns.adobe.com/flex/mx"
                           xmlns:customerservice="services.customerservice.*"
                           xmlns:valueObjects="valueObjects.*"
                           currentState="State1">
        <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
                import mx.events.FlexEvent;
                protected function dataGrid_creationCompleteHandler(event:FlexEvent):void
                    getAllCustomerResult.token = customerService.getAllCustomer();
                protected function button_clickHandler(event:MouseEvent):void
                    var customer2:Customer = new Customer();
                    customer2.id = parseInt(idTextInput.text);
                    customer2.name = nameTextInput.text;
                    customer2.email = emailTextInput.text;
                    currentState = "Test";
                    createCustomerResult.token = customerService.createCustomer(customer2);
            ]]>
        </fx:Script>
        <s:states>
            <s:State name="State1"/>
            <s:State name="Test"/>
        </s:states>
        <fx:Declarations>
            <s:CallResponder id="getAllCustomerResult"/>
            <customerservice:CustomerService id="customerService"
                                             fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)"
                                             showBusyCursor="true"/>
            <valueObjects:Customer id="customer"/>
            <s:CallResponder id="createCustomerResult"/>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <s:DataGrid id="dataGrid" includeIn="State1" x="330" y="10" width="392"
                    creationComplete="dataGrid_creationCompleteHandler(event)" requestedRowCount="4">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="id" headerText="id"></s:GridColumn>
                    <s:GridColumn dataField="name" headerText="name"></s:GridColumn>
                    <s:GridColumn dataField="email" headerText="email"></s:GridColumn>
                </s:ArrayList>
            </s:columns>
            <s:typicalItem>
                <fx:Object id="id1" email="email1" name="name1"></fx:Object>
            </s:typicalItem>
            <s:AsyncListView list="{getAllCustomerResult.lastResult}"/>
        </s:DataGrid>
        <s:Form includeIn="State1" defaultButton="{button}">
            <s:FormItem label="Id">
                <s:TextInput id="idTextInput" text="{customer.id}"/>
            </s:FormItem>
            <s:FormItem label="Name">
                <s:TextInput id="nameTextInput" text="{customer.name}"/>
            </s:FormItem>
            <s:FormItem label="Email">
                <s:TextInput id="emailTextInput" text="{customer.email}"/>
            </s:FormItem>
            <s:Button id="button" label="CreateCustomer" click="button_clickHandler(event)"/>
        </s:Form>
        <s:Form includeIn="State1" x="0" y="204">
            <s:FormItem label="CreateCustomer">
                <s:TextInput id="createCustomerTextInput" text="{createCustomerResult.lastResult as int}"/>
            </s:FormItem>
        </s:Form>
    </s:WindowedApplication>

Maybe you are looking for