Networksetup script cannot commit changes to network database

I use a shell script to configure my machines ip address quickly. This script works perfectly on 10.8 and 10.7. when i upgraded to 10.9, I can't use this script anymore. the system promt :
networksetup -setmanual $2 $3 $4 $5
** Error: Unable to commit changes to network database.
however, if I type the command in the terminal it is OK. But not in a sh script.
I tried wait, sleep after the command in the script both doesn't work.
any suggestions?
#set IP addr
#networksetup -listallnetworkservices
if [ "$1" != "nochange" ]
then
systemsetup -setcomputername $1
wait
systemsetup -setlocalsubnetname $1
wait
#defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server.plist NetBIOSName $1
fi
if [ "$3" != "nochange" ]
then
networksetup -setmanual $2 $3 $4 $5
wait
fi
if [ "$6" != "nochange" ]
then
networksetup -setdnsservers $2 $7
wait
fi
networksetup -setsearchdomains $2 cn.oracle.com
wait
networksetup -setautoproxyurl $2 http://wpad/wpad.dat
wait

if you want to disable service, you can write script and put it to /Library/Startupitems/yourscriptname/
this is a folder you must create ,and your script name must the same as folder name. and you also need a plist file in the same folder
you can search for keyword "Startupitems"
and i am using this to modify ip address when start. the script will run under root privilige
and if you want to run in terminal, you must use
sudo networksetup ....
or sudo -i
networksetup ...
in addition
add sleep several seconds after running this cmd seems solve this problem.
I think the system need time to make change

Similar Messages

  • Cannot commit changes: [SQL0204] OPENCUT99 in C104504M type *FILE not found

    Hi,
    Just i have created an browser application to see an AS400 file,also I have been followed the Developer book to UPDATE this file but I'm ready to update I'm getting this message
    Cannot commit changes: [SQL0204] OPENCUT99 in C104504M type *FILE not found
    someone can helpme with this issue

    This is the more appropriate place for this but it is a crosspost:
    http://forum.java.sun.com/thread.jspa?messageID=4467711

  • GW Admin Object API cannot commit actual changes on Vista

    It appears to be the case that you can't commit changes through the
    Groupwise Admin Object API to a groupwise user on a Vista box.
    I've tested VS 2008 using .net 3.5 and vista sp1.
    I've tested Delphi 2005 win32 apps and vista sp1.
    The apps work right on xp and not right on Vista.
    Here's the behavior:
    Take your code that works on xp and changes a value.
    Put it on an Vista box.
    If, for example, you change the phone number of a groupwise user to
    111-222-3333
    If it already has that value, the commit call works just fine.
    If it doesn't, it hangs for a minute then generates a commit failed, not
    changing the value.
    You also see it trying to create a Groupwise user.
    As far as read only functions go, those work just fine.
    The clock is ticking on xp as far as patch releases are going and the
    rumoured Administrative soap library for groupwise isn't out yet. This
    means whenever we have to go to Vista and Micro$$$$ quits releasing patches
    for XP we're stuck with
    a) Use an underpatched XP box.
    b) You can't get there from here.
    If anyone can prove me wrong by changing values on Groupwise users and
    committing them on a VISTA SP1 or later box, I'm all ears. Otherwise, we
    may be on a sinking ship.
    Comments welcome, I only ask that you try your code out on Vista sp1+ before
    you tell me I'm wrong.

    I got a Vista box I can test against if I get a free moment I'll attempt to
    do just as you say and see what I get....
    "Robert Jackson" <[email protected]> wrote in message
    news:[email protected]...
    > Yep, same problem.
    > I even added an Elevation Key with Enabled=1 to the relevant class
    > (35fc...77) and that didn't help either.
    > The novell client on the vista box is version 1.0 the latest version.
    >
    > Vista being what it is and this client being what it is, the problem is
    > either
    > a) Vista Security
    > b) One of the DLL's used by this api in the Novell client is off somehow.
    > c) Both
    >
    > Any other suggestions I'm open to.
    >
    > It's buried deep enough that it would be nice if Novell (who knows more
    > about the under the hood side of this) would figure this out and either
    > a) Give us a set of working instructions
    > b) Give us a guesstimate on when we can expect a fix.
    > c) Give us a guesstimate on when we can expect a replacement.
    >
    >
    >>>> On 9/16/2008 at 9:55 AM, in message
    > <[email protected]>, Michael
    > Baker<[email protected]> wrote:
    >> Have you tried running it as Administrator or turning off UAC?
    >>
    >>
    >> "Robert Jackson" <[email protected]> wrote in message
    >> news:[email protected]...
    >>> It appears to be the case that you can't commit changes through the
    >>> Groupwise Admin Object API to a groupwise user on a Vista box.
    >>>
    >>> I've tested VS 2008 using .net 3.5 and vista sp1.
    >>> I've tested Delphi 2005 win32 apps and vista sp1.
    >>> The apps work right on xp and not right on Vista.
    >>>
    >>> Here's the behavior:
    >>> Take your code that works on xp and changes a value.
    >>> Put it on an Vista box.
    >>> If, for example, you change the phone number of a groupwise user to
    >>> 111-222-3333
    >>> If it already has that value, the commit call works just fine.
    >>> If it doesn't, it hangs for a minute then generates a commit failed, not
    >>> changing the value.
    >>> You also see it trying to create a Groupwise user.
    >>> As far as read only functions go, those work just fine.
    >>>
    >>> The clock is ticking on xp as far as patch releases are going and the
    >>> rumoured Administrative soap library for groupwise isn't out yet. This
    >>> means whenever we have to go to Vista and Micro$$$$ quits releasing
    >>> patches
    >>> for XP we're stuck with
    >>> a) Use an underpatched XP box.
    >>> b) You can't get there from here.
    >>>
    >>> If anyone can prove me wrong by changing values on Groupwise users and
    >>> committing them on a VISTA SP1 or later box, I'm all ears. Otherwise,
    >> we
    >>> may be on a sinking ship.
    >>>
    >>> Comments welcome, I only ask that you try your code out on Vista sp1+
    >>> before
    >>> you tell me I'm wrong.

  • Reporting Services Server cannot connect to the DPM database. ( dpm 2010 )

    Reporting Services Server cannot connect to the DPM database.
    To repair the configuration, follow steps for repairing DPM from DPM Setup Help.
    ID: 3001
    i can not try the Recommended action from error codes catalog because i did not found Change reporting
    password

    Hi,
    We have had several customers report this after installing DPM 2012 R2.
    To get past the below error while scheduling reports to be mailed.
    Reporting Services Server cannot connect to the DPM database.
     To repair the configuration, follow steps for repairing DPM from DPM Setup Help.
     ID: 3001
    Perform the following steps as necessary:
    1. Created a new local group called "DPMDBReaders$<DPMServerName>"
    2. Created a new user called, "DPMR$<DPMServerName>" and added this user to DPMDBReader group that we created on step 1.
    3. Open SQL management studio and  add the DPMDBReaders$<DPMServerName  group to Logins under Security in SQL Management Studio.
    4. Modify the properties and under General – change the default database to the current DPMDB name.
    5. Under User Mapping – select the current DPMDB name and check the db_datareader checkbox.
    6. In SQL Management Studio, navigate to the Databases > DPMDB > Security > Users > and select the DPMDBReaders$<DPMServerName>" group.  
    Right-click the DPMDBReaders$<DPMServerName>" group and select properties. Under the
    Securables section, click on Search. On the add objects dialog, click OK. 
    On the Select Objects dialog, click the Objects type, then check the
    stored procedure checkbox. Browse and add the following two stored procedures
     “Prc_MOM_Heartbeat_Get” and “prc_MOM_ProductionServer_Get”.    Grant the Execute permission for both of the stored procedures added. 
    7. In SQL Reporting Services Configuration manager, under Report Manager URL - click on the link to open the portal (http://localhost/Reports)
          i. Click on the DPMReoprts_GUID to open the DPM reports.
          ii. Click on the DPMReporterDataSource
          iii. On the poperties page, enabled "Credentials stored securely in the report server" on DPMReporterDataSource configuration page and added “DPMR$<DPMServerName>” user account that we created in step 2. 
          iv.  tick "Use as Windows credentials when connecting to the data source." 
          v.   Click ‘Test connection’ on the same page to verify whether it can connect successfully.
    8.  In SQL Reporting configuration manager - change the Service Account to use build-in account: Network Service
    9. Reboot the DPM Server.
    10. You should then be able to schedule e-mailed reports.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This
    posting is provided "AS IS" with no warranties, and confers no rights.

  • Migration on active directory from 2003 to 2008 and SharePoint error Cannot connect to the configuration database.

    Hi all,
    In advance i`m thankful for your help,
    I come across a problem while migrating the Active Directory from Windows Server 2003 to Windows Server 2008 R2,
    SharePoint 2010 is getting this error Cannot connect to the configuration database. The same goes for the Administrative page,
    Nothing is change in the MySql database, same log in, same server name, i guess it have something to do with the SharePoint Farm,
    My question is will reinstalling the SharePoint do the job? Or is there an easy way to get back on my old track?
    I`ve try to sync users... no good
    PS C:\Users\administrator.SERVERM> if($configManager.IsSynchronizationRunning()
    -eq $false)
    >> {
    >> $configManager.StartSynchronization($true)
    >> Write-Host "Started Synchronizing"
    >> }
    >> else
    >> {
    >> Write-Host "Already Synchronizing"
    >> }
    >>
    Can someone explain a little bit more about this:
    6.     
    Can they talk to each other?
    Verify that SharePoint is using the correct IP address for the SQL server. To do this, run the ping command on the Windows SharePoint Services server.
    Verify that the SharePoint server is obtaining the correct IP address for the SQL server from DNS. To do this, run the
    nslookup command from the SharePoint Server.
    Make sure that there are no incorrect entries for the SQL server. To do this, examine the Hosts file on the SharePoint server. This file is in the following location:
    %systemroot%\system32\drivers\etc\Hosts
    On the SharePoint server, look for SQL client aliases. To do this, follow these steps: Click
    Start, click Run, and then type cliconfg in the
    open box.
    Click the Alias tab. By default, there are no SQL client aliases. If you have any aliases for the SQL server, verify that they are correct, or remove them.
    Open the SQL Server Configuration Manager (Start SQL Server 2008  Configuration Tools  SQL Server Configuration Manager
    Navigate to the SQL Server Network Configuration  Protocols for MSSQLSERVER node in the tree view
    Enable TCP/IP and Named Pipes (you’ll be warned that these changes will not apply until the service is shut down)
    Aleksandar Delcevski, Web-administrator School of Journalism and Public Relations Jurij Gagarin 17-1/1, 1000 Skopje, R. Macedonia t: + 389 2 3090 004 mob: +38972 257 565 [email protected]; www.vs.edu.mk; www.medium.edu.mk; www.unescochair-vs.edu.mk

    Hiya,
    I don't think it is necessary to reinstall.
    You should just confirm that your basic infrastructure is working.
    1: On the SharePoint server, open cmd and write ping <SQL server name>
    2: On the SharePoint server, open cmd and write nslookup <SQL server name>
    Basically the steps outlined here, is the best way to start:
    6.     
    Can they talk to each other?
    Verify that SharePoint is using the correct IP address for the SQL server. To do this, run the ping command on the Windows SharePoint Services server.
    Verify that the SharePoint server is obtaining the correct IP address for the SQL server from DNS. To do this, run the
    nslookup command from the SharePoint Server.
    Make sure that there are no incorrect entries for the SQL server. To do this, examine the Hosts file on the SharePoint server. This file is in the following location:
    %systemroot%\system32\drivers\etc\Hosts
    On the SharePoint server, look for SQL client aliases. To do this, follow these steps: Click
    Start, click Run, and then type cliconfg in the
    open box.
    Click the Alias tab. By default, there are no SQL client aliases. If you have any aliases for the SQL server, verify that they are correct, or remove them.
    Open the SQL Server Configuration Manager (Start SQL Server 2008  Configuration Tools  SQL Server Configuration Manager
    Navigate to the SQL Server Network Configuration  Protocols for MSSQLSERVER node in the tree view
    Enable TCP/IP and Named Pipes (you’ll be warned that these changes will not apply until the service is shut down)

  • ROI failing because routing control cannot be changed

    Hi,
    I am trying to receive a PO through ROI , having routing option set at "Inspection Required" at PO level. I am getting the following Error : "The Deliver transaction could not be processed. The routing control is not set to Direct Delivery, and cannot be changed when the profile option \"RCV: Allow routing override\" is set to No."
    In interface table I have also changed the routing_header_id=2(for inspection Required) Still I am getting the same error.
    Its works when I change the profile options to "yes" but I cannot do that in production.
    Is there any way I can create Receipts for PO having routing information other then "Direct Delivery"?
    Regards
    Satya

    It worked for me after inserting few columns.
    Following is sample script I prepared for this.
    declare
    v_header_int_id NUMBER;
    v_group_id NUMBER;
    begin
    -- Intializing the Values.
    SELECT rcv_interface_groups_s.NEXTVAL INTO v_group_id FROM DUAL;
    SELECT rcv_headers_interface_s.NEXTVAL into v_header_int_id FROM DUAL;
    -- Interface table.
    insert into RCV_HEADERS_INTERFACE
    ( HEADER_INTERFACE_ID, -- RCV_INTERFACE_GROUPS_S.nextval
    GROUP_ID, -- group_id
    PROCESSING_STATUS_CODE, -- 'PENDING'
    RECEIPT_SOURCE_CODE, -- 'VENDOR'
    TRANSACTION_TYPE, -- 'NEW'
    AUTO_TRANSACT_CODE, -- 'RECEIVE'
    LAST_UPDATE_DATE, -- sysdate
    LAST_UPDATED_BY, --
    CREATION_DATE, -- sysdate
    CREATED_BY, -- 'receipt_header_id'
    LAST_UPDATE_LOGIN,
    VENDOR_ID, --
    SHIP_TO_ORGANIZATION_ID, --
    EXPECTED_RECEIPT_DATE, -- sysdate
    validation_flag -- 'Y'
    VALUES
    ( v_header_int_id
    , v_group_id
    , 'PENDING' -----processing_status_code
    , 'VENDOR' -----receipt_source_code
    , 'NEW' -----transaction_type
    , 'RECEIVE' -----auto_transact_code
    , SYSDATE -----last_update_date
    , 3689 -- last_updated_by
    , SYSDATE ------creation_date
    , 3689 -- created_by
    , 3689
    , 1000432 -- p_vendor_id
    , 103 -- ship_to_organization_id
    , SYSDATE -----expected_receipt_date
    , 'Y' -----validation_flag
    INSERT INTO rcv_transactions_interface
    (interface_transaction_id, -- RCV_TRANSACTIONS_INTERFACE_S.nextval
    group_id, -- rcv_headers_interface.group_id
    last_update_date, -- sysdate
    last_updated_by, --
    creation_date, -- sysdate
    created_by, --
    transaction_type, -- 'RECEIVE'
    transaction_date, -- sysdate
    processing_status_code, -- 'PENDING'
    processing_mode_code, -- 'BATCH'
    transaction_status_code, -- 'PENDING' ? COMPLETED
    quantity,
    unit_of_measure, --
    item_id,
    auto_transact_code, -- 'RECEIVE'
    receipt_source_code, -- 'VENDOR'
    vendor_id,
    SOURCE_DOCUMENT_CODE, -- 'PO'
    SOURCE_DOC_QUANTITY,
    source_doc_unit_of_measure,
    po_header_id, -- po_headers_all.po_header_id
    po_line_id, -- po_lines_all.po_header_id
    po_line_location_id, ------po_line_locations_all.line_location_id
    expected_receipt_date, -- sysdate
    header_interface_id, -- rcv_headers_interface.header_interface_id
    validation_flag, -- Y process_flag , -- Y
    TO_ORGANIZATION_ID,
    SUBINVENTORY,
    attribute1
    VALUES
    ( rcv_transactions_interface_s.NEXTVAL
    ,v_group_id
    ,SYSDATE ----last_update_date
    ,-1---last_updated_by
    ,SYSDATE --creation_date
    , -1 ----created_by
    ,'RECEIVE' ---transaction_type
    , sysdate
    ,'PENDING' ----processing_status_code
    ,'BATCH' ----processing_mode_code
    ,'PENDING' ----transaction_status_code
    , 2204 ----quantity
    ,'EACH' ----unit_of_measure
    , 688069 --1000-008240 item_id
    ,'DELIVER' -------auto_transact_code
    ,'VENDOR' ----receipt_source_code
    , 1000432 -- vendor_id
    ,'PO' ------source_document_code
    , 2204 ----quantity
    ,'EACH' ----unit_of_measure
    ,343382 -- header ID
    ,721459 -- Line ID
    ,720332------po_line_location_id
    ,sysdate ----expected_receipt_date
    ,V_HEADER_INT_ID --header_interface_id
    ,'Y' ----validation_flag
    ,103 ----to_organization_id
    ,'SELLABLE'
    ,'10-022792'
    commit;
    end;

  • Windows Server 2012 R2 - unable to change the Network category when is in domain

    HI, I've read articles about this topic but after all tries - i couldn't find appropriate decision and i still have problem. 
    Set-NetConnectionProfile : Unable to set the NetworkCategory due to one of the following possible reasons: not running
    PowerShell elevated; the NetworkCategory cannot be changed from 'DomainAuthenticated'; user initiated changes to Networ
    kCategory are being prevented due to the Group Policy setting 'Network List Manager Policies'.
    At line:1 char:1
    + Set-NetConnectionProfile -InterfaceIndex 16 -NetworkCategory Public
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : PermissionDenied: (MSFT_NetConnect...EA9E84DF602D}"):root/StandardCi...nnectionProfile)
       [Set-NetConnectionProfile], CimException
        + FullyQualifiedErrorId : MI RESULT 2,Set-NetConnectionProfile
    I have  two NIC on my server2 - joined to domain as domain member  ( NIC are public (internet) and private (local net) )  Now they both are in NetworkCategory - DomainAuthenticated.
    I tryed:
    1. Check for Administrator  privileges on Powershell - OK
    2. Try to Change GPO - Network List Manager Policy - to be available for changes from user  - NO success
    3. Check - Local Policy on Server2 - too NO success
    4. Try to change throught command  with PowerShell   ->   Set-NetConnectionProfile -InterfaceIndex 16 -NetworkCategory Public  Again - NO success
    5.
     thru the registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles\
    open the network profile that you have to change and modify the "Category" value:
    0 = public
    1 = private
    2 = domain
    NO Success
    Did anybody have some other idea - what to do?
    Thanks in advance.
    Krasimir

    Hi, the topology of th network ist the next:
    ISP (DATACENTER) ->  SRV1 (phisical) +  SRV2 &SRV3 (virtual) 
    Every one of them have 2 NIC  ( for server  2 and 3  - virtual  too)  
    NIC1 - operates on private level -  192.168.1.1 dns, gate,dc (srv1)
    NIC2 - real ip address, gate - gateway of ISP  dns - 192.168.1.1
    When set up NIC1 - everything is ok .
    NIC2 - action is : set ip and mask - enable without gate  - then it is in unidentified status  and  go in public state.
    disable nic2, set up gateway  - and dns - 192.168.1.1  and again enable - everything is ok
    But after restart  - nic2 - goes again in Domainauthenticated mode. :(
    Additional:
    On srv2 - i put RRAs role and smthing stange is that after enable rras service - all ports are shutted and machine pretendet to be invisible.

  • Open script cannot get connection from the brower helper after 15 seconds.

    Error:
    ===
    Open script cannot get connection from the brower helper after 15 seconds. Do you want to continue waiting for the browser to load?
    Please Note:
    ========
    1. I have tried this only on IE
    2. I am running OATS on a Remote desktop
    Situation:
    ======
    Trying to stop the recording
    Try to get xpath of an object using Inspect Path
    Setup details
    ========
    Windows XP 5.1 Service Pack 3, x86
    OpenScript 12.1.0.1.383
    Internet Explorer 8.0.6001.18702
    FireFox 13.0.1
    Mitigation steps done till now:
    ==================
    1. Disabled windows firewall
    2. Disable XSS filter setting
    3. Restarted the ATS services (3 of them)
    4. Run the Open Script Diagnosis Tool (PS: There are 3 errros even after running it. The 3 errros are listed in the workspace_log log file snippet below...)
    Error in worspace_log:
    =============
    To Change setting:
    Go to Tools > Internet Options and Choose Security Tab
    Select the Zone to modify and Press Custom level
    Find Enable XSS filter Setting - Select Disable and click Ok
    !ENTRY oracle.oats.scripting.diagnosisTool.api.DiagnosisExecutor 4 0 2012-07-09 17:08:52.594
    !MESSAGE Failure found when diagnosing Oracle EBS/Forms Load Testing Forms LT Diagnoser
    !ENTRY oracle.oats.scripting.diagnosisTool.api.DiagnosisExecutor 4 0 2012-07-09 17:08:52.594
    !MESSAGE Did not auto-fix the problem.
    !ENTRY oracle.oats.scripting.diagnosisTool.api.DiagnosisExecutor 4 0 2012-07-09 17:08:52.594
    !MESSAGE Suggestion for fixing: Please change your Java proxy setting to Use Browser Settings
    Aprreciate help on this.

    To resolve this, you need to reconfigure the "Oracle Application Testing Suite Helper Service" (OATSHelperSvr) to start as a user who has privledges to run open script tests rather than the default SYSTEM user.
    Reconfiguring the OATSHelperSvr Service:
    1. Open the services panel (Start > Run > services.msc)
    2. Find the Oracle Application Testing Suite Helper Service
    3. Right Click > Properties then select the Log On Tab
    4. Specify an interactive user that has rights to run OpenScript (test by logging in as that user and running tests):
    5. Click OK
    6. Restart the service after dialogs are closed by Right Click > Restart
    7. You should now repeat this process for the "Oracle Application Testing Suite Agent Service" (eLoadAgentMon) Service (Two services in
    total)
    You should now retry running the test in Oracle Test Manager

  • SharePoint 2007:Cannot connect to the configuration database.

    The share point 2007 server under Windows Server 2008 R2 runs well formerly, but suddenly the user can't visit the site with error on page:
    Cannot connect to the configuration database.
    I also checked windows log with bellow main errors:
    Log Name:      Application
    Source:        Office Server Search
    Date:          2015/2/28 22:30:47
    Event ID:      10034
    Task Category: Gatherer
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      ***
    Description:
    Could not access the Search service configuration database.
    Context: Application 'b9f7f366-4027-4923-b5ce-b93c132df7c3'
    Details:
     Unspecified error
     (0x80004005)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Office Server Search" />
        <EventID Qualifiers="49152">10034</EventID>
        <Level>2</Level>
        <Task>3</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-02-28T14:30:47.000000000Z" />
        <EventRecordID>2323514</EventRecordID>
        <Channel>Application</Channel>
        <Computer>***</Computer>
        <Security />
      </System>
      <EventData>
        <Data>
    Context: Application 'b9f7f366-4027-4923-b5ce-b93c132df7c3'
    Details:
     Unspecified error
     (0x80004005)</Data>
      </EventData>
    </Event>
    ======================================
    Log Name:      Application
    Log Name:      Application
    Source:        Windows SharePoint Services 3
    Date:          2015/2/28 22:30:50
    Event ID:      5586
    Task Category: Database
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      ***
    Description:
    Unknown SQL Exception 64 occured. Additional error information from SQL Server is included below.
    A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Windows SharePoint Services 3" />
        <EventID Qualifiers="0">5586</EventID>
        <Level>2</Level>
        <Task>484</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-02-28T14:30:50.000000000Z" />
        <EventRecordID>2323517</EventRecordID>
        <Channel>Application</Channel>
        <Computer>***</Computer>
        <Security />
      </System>
      <EventData>
        <Data>64</Data>
        <Data>A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)</Data>
      </EventData>
    </Event>
    ==================================================
    Source:        Windows SharePoint Services 3
    Date:          2015/2/28 22:31:00
    Event ID:      27745
    Task Category: General
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      ***
    Description:
    The description for Event ID 27745 from source Windows SharePoint Services 3 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on
    the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    #50071: Unable to connect to the database SP_Config on ***.  Check the database connection information and make sure that the database server is running.
    the message resource is present but the message is not found in the string/message table
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Windows SharePoint Services 3" />
        <EventID Qualifiers="14130">27745</EventID>
        <Level>2</Level>
        <Task>1105</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-02-28T14:31:00.000000000Z" />
        <EventRecordID>2323520</EventRecordID>
        <Channel>Application</Channel>
        <Computer>***</Computer>
        <Security />
      </System>
      <EventData>
        <Data>#50071: Unable to connect to the database SP_Config on ***.  Check the database connection information and make sure that the database server is running.</Data>
      </EventData>
    </Event>
    Please kindly support to find the root cause and guide how to fix it ASAP.
    Many appreciations for your hellp in advance!
    Note:
    1)As checked, SQL server service is running well;
    2)Web server log under the path C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\LOGS with bellow errors:
    03/02/2015 11:25:53.28  mssearch.exe (0x0F0C)                    0x08FC Search Server Common         
     GathererSql                    0 Monitorable CSqlCrawl::ExecuteCommand() Failed in GetSession, Error is 0x80004005 - File:d:\office\source\search\search\gather\server\gatherobj.cxx
    Line:9654 
    03/02/2015 11:25:53.39  mssearch.exe (0x0F0C)                    0x08FC Search Server Common           Common                       
     0 Monitorable Application b9f7f366-4027-4923-b5ce-b93c132df7c3, resource 1: pIDBInitialize->Initialize error. Failed to create a non fast load session. - File:d:\office\source\search\search\searchdll\resourcemanagerimpl.cpp Line:608 
    03/02/2015 11:25:53.39  mssearch.exe (0x0F0C)                    0x08FC Search Server Common           Common                       
     0 Monitorable CResourceManager::CreateSession Error creating non fastload session 'Provider=SQLOLEDB;Extended Properties='Server=***;Database=SP_SharedServices_Search;Trusted_Connection=yes;App=Windows SharePoint Services;Timeout=15';'. - File:d:\office\source\search\search\searchdll\resourcemanagerimpl.cpp
    Line:658 
    03/02/2015 11:25:53.39  mssearch.exe (0x0F0C)                    0x08FC Search Server Common           UtilCommon                   
     0 Monitorable Dumping error record [0]:   Source: Microsoft OLE DB Provider for SQL Server   HRESULT: 0x80004005   Code: 11   Description: [DBNETLIB][ConnectionRead (recv()).]General network error. Check
    your network documentation. - File:d:\office\source\search\common\pkmutild\atldbext.cxx Line:1250 
    03/02/2015 11:25:53.39  mssearch.exe (0x0F0C)                    0x08FC Search Server Common           GathererSql                  
     0 Monitorable CSqlCrawl::ExecuteCommand() Failed in GetSession, Error is 0x80004005 - File:d:\office\source\search\search\gather\server\gatherobj.cxx Line:9654

    Hi,
    In this forum we mainly discuss questions and feedbacks about Office products, since your question is about SharePoint, I suggest you post the question in SharePoint forum to get further assistance:
    https://social.technet.microsoft.com/Forums/office/en-US/home?category=sharepoint
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Error message: "Querying or saving changes to the database failed."

    Hi all,
    I can sense I'm becoming a regular on this particular forum - the problem of spending 8 hours a day trying to get this software working!
    _*The problem*_
    When i try and setup a new device, or modify an existing one, I get an error message when i get to the Transcode Settings page. The error message is "Querying or saving changes to the database failed." After this I get a blank screen and can no longer see my settings.
    No amount of restarting has fixed this. And I cannot see a way to create a device through the client software and add transcode settings.
    Help?
    Thanks in advance,
    Ben

    Ah very good!
    Ok - it seems then that this works absolutely fine as a work around. I can create a device and then assign the device to transcode settings through the client adminsitration panel (which is indeed what I meant).
    So, there is a work around. Far less pressing now, but I would like to know why I'm getting the error message all the same - I'm now concerned about the integrity of the database...
    Thanks Tony!
    B

  • IPod Touch cannot connect to wireless network

    I have a 1 TB, dual-band time capsule with a wireless network created to share our broadband internet connection for our main computer (the iMac), a windows PC, an iPhone 3G, and a 2nd gen iPod touch to connect to the internet. Wireless security for this network is WPA/WPA2 Personal. The windows box and the iPhone 3G connect without problem, but the iPod touch does not seem to connect correctly. The device sees the network, prompts for the password, and seems to be connected (wi-fi symbol visible in top left corner of device), but when trying to view a website using the Safari app, the screen dims and an endless "Connecting..." message is visible. Furthermore, when trying to update e-mail, I get a message that the connection to the server failed.
    It is worth noting that the iPod did not always have this problem. It was able to connect to the wi-fi network until a few weeks ago. This may have been due to the upgrade to Snow Leopard, or perhaps due to an incident where the windows PC lost its connection to the network. When this occurred, I had to disable all security on the network, connect the PC to the network, then re-enable security (as I had to do when first installing the Time Capsule; for whatever reason, the windows box had a hard time joining the network with security enabled). Anyway, one of these two events is the likely cause of the iPod suddenly being unable to connect; I'm sorry to say that I'm uncertain as to which one, because my wife uses the device sporadically, so we cannot pinpoint exactly when this difficulty started.
    As for attempted solutions, I tried resetting the iPod back to factory settings, only to have the same connection issues. I also changed the network security settings to None, and attempted to connect the iPod to the network (even though it should have no problem connecting to a secure network), but still no go. I am short on ideas for a fix, and would gladly welcome any advice the community has to offer. Thank you in advance for your assistance.

    Pretty much the same thing happened to me. My new Touch connects fine to my work wireless network (WEP64) - still does. But my home wireless network is SOL. I can join the router, wireless icon is in upper left corner (although gray, not green). I can even see the Touch from my router (Verizon FIOS). All other laptops in the house including wireless TiVo work flawlessly. I have not undone my security on my router yet - looks like it won't help. I have tried using static IP and I can still see iPod from router. But I cannot browse, go to AppStore, check email (which works great from work network), and have exact same error messages as above post. It has to be a security thing somewhere, I just didn't want to mess with router if I didn't have to. If I figure it out, I will post here........

  • Change of a database link in OWB

    I have a good suggestion to change a a database link when a server is moved to another location (in that case the database link of the source module has to be changed)
    In OWB 9.0.2 it's not impossible to delete a database link in OWB, so you have to do it manually
    (in 9.0.4 it should be possible, but this version is also not easy to use).
    - Start SQL Plus and log in as the schema on which the OWB repository is created (e.g. OWB).
    - Drop the database link ('drop database link <dblink name>')
    - Create a new database link in the same schema with the new parameters, e.g:
    CREATE DATABASE LINK "<dblink name>"
    CONNECT TO "<...>" IDENTIFIED BY "<...>"
    USING '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (Host = <hostname>) (PORT = 1521))) (CONNECT_DATA = (SID = <sid> )))'
    Done!
    No stupid errors in OWB when you create the database link in OWB itself.
    Regards,
    Maurice
    ;

    SQL> create view test_view as select dummy from [email protected]
    2 ;
    View created.
    SQL> select dummy from test_view;
    D
    X
    Execution Plan
    0 SELECT STATEMENT (REMOTE) Optimizer=CHOOSE
    1 0 TABLE ACCESS (FULL) OF 'DUAL' FIRST9.XXXX.COM
    Statistics
    7 recursive calls
    4 db block gets
    2 consistent gets
    0 physical reads
    212 redo size
    363 bytes sent via SQL*Net to client
    425 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    0 sorts (memory)
    0 sorts (disk)
    1 rows processed
    NOW WE PULL OUT THE NETWORK CABLE connecting the two servers.
    SQL> select dummy from test_view;
    select dummy from test_view
    ERROR at line 1:
    ORA-02068: following severe error from FIRST9.XXXX.COM
    ORA-03113: end-of-file on communication channel
    So all you have to do is to test for the communications error.

  • I updated to os x 10.8.5 today and now I cannot publish changes to my web page through iweb.  iweb crashes every time I try to publish

    I updated to os x 10.8.5 today and now I cannot publish changes to my web page through iweb.  iweb crashes every time I try to publish

    First do the following:
    1 - delete the iWeb preference file, com.apple.iWeb.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete iWeb's cache file, Cache.db, that is located in your
    User/Home/Library/Caches/com.apple.iWeb folder (Snow Leopard and Earlier).
    NOTE:  In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    Next, in Lion and Mountain Lion the Home/Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and press the Return key - 10.7: Un-hide the User Library folder.
    To open your domain file in Lion or Mountain Lion or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an application.
    do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"delay 1
    tell application "iWeb" to activate
    You can download an already compiled version with this link: iWeb Switch Domain.
    Just launch the application, find and select the domain file in your Home/Library/Application Support/iWeb folder that you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
    WARNING: iWeb Switch Domain will overwrite an existing Domain.sites2 file if you select to create a new domain in the same folder.  So rename your domain files once they've been created to something other than the default name.
    OT

  • Shell Script  for Startup and Shutdown the database

    Hi,
    i want Shell Script for Startup and Shutdown the database in Solaries.
    could any one can hep me where i can get this script. or send to me to [email protected]
    Thanks & Regards,
    Gangi reddy

    SHUTDOWN
    SHUTDOWN ABORT]
    Shuts down a currently running Oracle instance, optionally closing and dismounting a database.
    Terms
    Refer to the following list for a description of each term or clause:
    ABORT
    Proceeds with the fastest possible shutdown of the database without waiting for calls to complete or users to disconnect.
    Uncommitted transactions are not rolled back. Client SQL statements currently being processed are terminated. All users currently connected to the database are implicitly disconnected and the next database startup will require instance recovery.
    You must use this option if a background process terminates abnormally.
    IMMEDIATE
    Does not wait for current calls to complete or users to disconnect from the database.
    Further connects are prohibited. The database is closed and dismounted. The instance is shutdown and no instance recovery is required on the next database startup.
    NORMAL
    NORMAL is the default option which waits for users to disconnect from the database.
    Further connects are prohibited. The database is closed and dismounted. The instance is shutdown and no instance recovery is required on the next database startup.
    TRANSACTIONAL [LOCAL]
    Performs a planned shutdown of an instance while allowing active transactions to complete first. It prevents clients from losing work without requiring all users to log off.
    No client can start a new transaction on this instance. Attempting to start a new transaction results in disconnection. After completion of all transactions, any client still connected to the instance is disconnected. Now the instance shuts down just as it would if a SHUTDOWN IMMEDIATE statement was submitted. The next startup of the database will not require any instance recovery procedures.
    The LOCAL mode specifies a transactional shutdown on the local instance only, so that it only waits on local transactions to complete, not all transactions. This is useful, for example, for scheduled outage maintenance.
    Usage
    SHUTDOWN with no arguments is equivalent to SHUTDOWN NORMAL.
    You must be connected to a database as SYSOPER, or SYSDBA. You cannot connect via a multi-threaded server. For more information about connecting to a database, see the CONNECT command earlier in this chapter.
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a90842/ch13.htm#1013607
    Joel Pérez

  • Cannot commit or rollback  a JDBC Connection from CAF project

    Hi Everybody,
    I'm working in CE 7.10. I have a CAF Project that gets a JDBC connection from a Custom Datasource to an external Database.
    Here is the code:
      try
        Context ctx = new InitialContext();
        DataSource ds = (DataSource) ctx.lookup("jdbc/MYDATABASE");               
        con = ds.getConnection();
        con.setAutoCommit(false);
        Statement statement = con.createStatement();
        String updateStatement = "UPDATE TABLE...";
        statement.executeUpdate(updateStatement);
        con.commit();
        catch(SQLException sqle){
             con.rollback();
    I got the following exception on line "con.setAutoCommit(false);":  --> "Cannot begin JDBC transaction from this connection of "MYDATABASE" DataSource. JTA transaction has already started."
    and the following on line "con.commit() / con.rollback()" : --> "Cannot commit JDBC transaction from this connection of "MYDATABASE" DataSource. This resource participates in a JTA transaction."
    If I run the same code from a webDynpro or a J2EE project it works ok, but not from a CAF Application Service. I tried to do it in a simple Class in the CAF Project and call this clas from the Application service, but I get the same error.
    Any Ideas??
    Thanks a lot!
    Regards.

    Solved with   "SessionContext.setRollbackOnly()" instruccion.
    Regards.

Maybe you are looking for