Setting up archlinux server

Hi, I'm fairly new to archlinux, so I'm not quite sure how everything works yet. I've been running Arch for some weeks now on my desktop and I like the concept. So I'm considering moving my server from Gentoo to Arch. It would basically be a LAMP+NFS+SAMBA+FTP server. The reason I'm considering dropping gentoo is because it's such a pain to upgrade. Now I'm wondering would there be any danger running 'pacman -Syu --noconfim' as a cron job ? I'm thinking I would email myself the output of the progress. But what about config files etc? How does Arch handle updated config files?
Any other tips regarding setting up an arch server?

I only upgrade my server once every couple of months, not seeing the output as it happens and dealing with any problems immediately is asking for problems with rolling release I feel.  But a upgrade every two months with care is likely to cause less problems.  I haven't had a problem in 18 mths, I run everything you mentioned plus an rsync server.
man pacman
HANDLING CONFIG FILES
pacman uses the same logic as rpm to determine action against files that are designated to be backed up. During an upgrade, 3 md5 hashes are used for each backup file to determine the
required action: one for the original file installed, one for the new file that's about to be installed, and one for the actual file existing on the filesystem. After comparing these
3 hashes, the follow scenarios can result:
original=X, current=X, new=X
All three files are the same, so overwrites are not an issue Install the new file.
original=X, current=X, new=Y
The current file is the same as the original but the new one differs. Since the user did not ever modify the file, and the new one may contain improvements or bugfixes,
install the new file.
original=X, current=Y, new=X
Both package versions contain the exact same file, but the one on the filesystem has been modified. Leave the current file in place.
original=X, current=Y, new=Y
The new file is identical to the current file. Install the new file.
original=X, current=Y, new=Z
All three files are different, so install the new file with a .pacnew extension and warn the user. The user must then manually merge any necessary changes into the original
file.
Last edited by gazj (2008-01-08 23:56:29)

Similar Messages

  • Printing glitches on my archlinux server

    Hello archers,
    i've been having some problems with my archlinux server. Connected to the server is a HP Laserjet CM1312 printer via USB, server is shared via CUPS and Samba.
    I've followed the Archwiki guide for CUPS and Samba for installing the printer.
    The specific problem i'm having is printing from a Windows machine. After printing has begun, printing is first fine, but then it'll sometimes start to print gibberish like this (with PCL5): http://ompldr.org/vNzd2aw
    I've yet to experience problems printing from my linux machine. I've tried shifting in between drivers on the Windows machine (PCL5, PCL6, Postscript)
    Switching to a Postscript driver on the Windows machine prints fine, but after a while produces errors like this: http://ompldr.org/vNzd2dw
    CUPS error log contains:
    E [30/Jan/2011:21:03:05 +0100] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
    E [30/Jan/2011:21:04:00 +0100] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
    D [30/Jan/2011:21:06:20 +0100] [Job 51] The following messages were recorded from 21:00:03 to 21:06:20
    D [30/Jan/2011:21:06:20 +0100] [Job 51] Adding start banner page "none".
    D [30/Jan/2011:21:06:20 +0100] [Job 51] Adding end banner page "none".
    D [30/Jan/2011:21:06:20 +0100] [Job 51] File of type application/vnd.cups-raw queued by "nobody".
    D [30/Jan/2011:21:06:20 +0100] [Job 51] hold_until=0
    D [30/Jan/2011:21:06:20 +0100] [Job 51] Queued on "HP_Color_LaserJet_CM1312_MFP_USB_00CNF8B3Q1SC_HPLIP" by "nobody".
    D [30/Jan/2011:21:06:20 +0100] [Job 51] job-sheets=none,none
    D [30/Jan/2011:21:06:20 +0100] [Job 51] argv[0]="HP_Color_LaserJet_CM1312_MFP_USB_00CNF8B3Q1SC_HPLIP"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] argv[1]="51"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] argv[2]="nobody"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] argv[3]="smbprn.00000039 Remote Downlevel Document"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] argv[4]="1"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] argv[5]="job-originating-host-name=::ffff:192.168.1.133 job-uuid=urn:uuid:6345dae1-010f-3774-55f6-7cb213dff752 time-at-creation=1296417603 time-at-processing=1296417976 AP_D_InputSlot="
    D [30/Jan/2011:21:06:20 +0100] [Job 51] argv[6]="/var/spool/cups/d00051-001"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[1]="CUPS_DATADIR=/usr/share/cups"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[6]="CUPS_SERVERROOT=/etc/cups"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[7]="CUPS_STATEDIR=/var/run/cups"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[8]="HOME=/var/spool/cups/tmp"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[10]="[email protected]"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[11]="SOFTWARE=CUPS/1.4.6"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[12]="TMPDIR=/var/spool/cups/tmp"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[13]="USER=root"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[15]="CUPS_ENCRYPTION=IfRequested"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[16]="IPP_PORT=631"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[17]="CHARSET=utf-8"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[18]="LANG=en_US.UTF-8"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[19]="PPD=/etc/cups/ppd/HP_Color_LaserJet_CM1312_MFP_USB_00CNF8B3Q1SC_HPLIP.ppd"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[20]="RIP_MAX_CACHE=8m"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[21]="CONTENT_TYPE=application/vnd.cups-raw"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[22]="DEVICE_URI=hp:/usb/HP_Color_LaserJet_CM1312_MFP?serial=00CNF8B3Q1SC"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[23]="PRINTER_INFO=HP Color LaserJet CM1312 MFP"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[24]="PRINTER_LOCATION=Local Printer"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[25]="PRINTER=HP_Color_LaserJet_CM1312_MFP_USB_00CNF8B3Q1SC_HPLIP"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] envp[26]="CUPS_FILETYPE=document"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] Started backend /usr/lib/cups/backend/hp (PID 22315)
    D [30/Jan/2011:21:06:20 +0100] [Job 51] PAGE: 1 1
    D [30/Jan/2011:21:06:20 +0100] [Job 51] STATE: +connecting-to-device
    D [30/Jan/2011:21:06:20 +0100] [Job 51] STATE: -connecting-to-device
    D [30/Jan/2011:21:06:20 +0100] [Job 51] STATE: -media-empty-error,media-jam-error,hplip.plugin-error,cover-open-error,toner-empty-error,other
    D [30/Jan/2011:21:06:20 +0100] [Job 51] prnt/backend/hp.c 625: ERROR: 5021 device communication error!
    D [30/Jan/2011:21:06:20 +0100] [Job 51] Backend returned status 4 (stop printer)
    D [30/Jan/2011:21:06:20 +0100] [Job 51] Printer stopped due to backend errors; please consult the error_log file for details.
    D [30/Jan/2011:21:06:20 +0100] [Job 51] End of messages
    D [30/Jan/2011:21:06:20 +0100] [Job 51] printer-state=5(stopped)
    D [30/Jan/2011:21:06:20 +0100] [Job 51] printer-state-message="/usr/lib/cups/backend/hp failed"
    D [30/Jan/2011:21:06:20 +0100] [Job 51] printer-state-reasons=paused
    E [30/Jan/2011:21:11:22 +0100] [Job 51] Stopping unresponsive job!
    Hope you can help me out.

    timm wrote:it now requires a microsoft sql server.
    You may try using Sybase ASE; for long time (until 6.0), MS SQL Server was just Sybase with MS branding and even today differences are not so big (depending, of course, on specific application's needs). I have never tried such a setup, but connecting to MSSQL with Sybase client libraries works OK, maybe you'd have luck in opposite direction.
    There is a document on migrating apps from MSSQL to ASE; I know this is not the case, but there are some valuable information about differences between those RDBMSs that may help you to decide whether there are chances to succeed or not.

  • How can I set up Mavericks Server on a Test Mac without affecting the production server

    I have Mountain Lion server running as on an xserve as our main server, it has developed a few issues particularly related to Profile Manager and Certificates.
    So I was going to use the move to Mavericks as an opportunity to have a fresh start.
    So I want to set up Mavericks Server on a mac mini temporarily to test it and configure all the services before moving it to the Xserve as the main server.
    My question is what is the best way to do this, obviously I can't use the same IP or hostname as the main server if it is connected to the network, and some services can't be set up without a network connection.
    So do I give it a new IP and hostnmame for now and then change it later on, my concern is that changing the hostname might cause issues down the line.
    So what is the best way to set up a fresh server in preperation as a drop in replacement of the current server?

    Ok I got the test server set up fine and cloned it over to a spare partition on the Xserve.
    But when I booted into the new partition several things broke.
    1st the IP address changed itself despite the fact it is set to Manual, The Alert section of Server.app let me repair this.
    Profile Manager no longer worked, the web page just said Profile manager could not be found, was working fine on the test mac
    Tried deleting the OD master and resetting Profile Manager but it still didn't work.
    DNS needed repairing and restarting
    I decided at that point to abandon it and go back to the test mac where everything is still working.
    Any tips for overcoming these issues.
    I have thought maybe it would be best to turn off all server services before making the clone and then turn them on one at a time once it has been restored to the new partition on the xserve
    Also if the certificates that are created when making an OD master were made on the mac mini does that cause a problem when it has been restored to a different machine, should I leave OD off and just set it up when it is in its final place?

  • ArchLinux server

    Hi all,
    I like archlinux very much, and since i installed it on my desktop computer, i don't need any other distro... But now i wonder how good archlinux is for server? Maybe there are some test or smth where i can compare arch with other OSes. Is it stabile? Maybe there are people who can share their experiences about archlinux server. I would be thankful for your neutral opinion. (for example in lithuania most popular servers distributions is Debian and RedHat. Can archlinux compete with these distros?)

    Most depens on what are you looking for, but generally speaking..........
    I use it as server, both web and office.
    At web level I think nothing is missing, o better, all the most important and secondary stuff is avail. By having all latest versions it is surely competitive against other distro.
    At  office server level it is a bit different.
    If you are looking for a simple intranet server it is ok.
    If you are looking for a integrated atuth system, file sharing ant other  local network service there are a lot of work to do.
    You have
    cups for printing services
    nfs/samba for file sharing
    http,squid,  etc. etc. intranet web service
    No auth system centralized on the server actually, o better there is NIS but it is the most insecure auth system avail today.
    Actually I am working on making LDAP auth working under Archlinux, I still have work to do but no time 
    LDAP is there but the pam module are missing, actually I compiled them but I didn't had time to configure server and client and make tests

  • Please help - Scrollable result set in sql server 2000

    Hi can some one please help me. I'm trying to create scrollable result set in sql server 2000, but i just can't get it to work. I've been trying to do this for the past 12 hours. I want to go home, but I can't till I get this going! please help!!! My crap code is as follows:
    package transact;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.JInternalFrame;
    import java.sql.*;
    import java.io.*;
    import java.util.*;
    public class DummyFrame extends Dummy
    protected String name, surname;
    protected Connection conn;
    protected CallableStatement cstatement;
    public DummyFrame()
    createFrame();
    private void createFrame()
    try
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
    conn = DriverManager.getConnection(
    "jdbc:microsoft:sqlserver://server:1433;" +
    "user=user;password=pwd;DatabaseName=Northwind");
    catch (Exception e)
    e.getMessage();
    populateFields();
    menuAction();
    show();
    private void menuAction()
    btncontacts.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    getRecords();
    populateFields();
    btncontacts.setText("NEXT");
    btnkeywords.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    // transaction.getRecords();
    nextRecord();
    populateFields();
    btncontacts.setText("NEXT");
    protected void nextRecord()
    try
    // CallableStatement cstatement = null;
    cstatement = conn.prepareCall(
    "{call Employee_Selection}", ResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_UPDATABLE);
    ResultSet rs = cstatement.executeQuery();
    while (rs.next())
    surname = rs.getString("Lastname");
    cstatement.getMoreResults();
    catch (Exception e)
    e.getMessage();
    protected void getRecords()
    try
    CallableStatement cstatement = null;
    cstatement = conn.prepareCall(
    "{call Employee_Selection}", ResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_UPDATABLE);
    ResultSet rs = cstatement.executeQuery();
    while (rs.next())
    surname = rs.getString("Lastname");
    name = rs.getString("Firstname");
    rs.first();
    // call stored procedure
    catch (Exception e)
    e.getMessage();
    // populate the fields;
    private void populateFields()
    txtfirstname.setText(name);
    txtsurname.setText(surname);
    }

    ummm ok i think the logic in your code is kinda screwy...
    here is what your should be doing.
    create the gui.
    get the resultset...
    have code that looks like this for nextRecord...
    protected void displayNextRecord(){
      // we do not call next here because we already called it last time
      surname = rs.getString("Lastname");
      name = rs.getString("Firstname");
      populateFields();
      if(!rs.next(){
        btncontacts.setEnabled(false);// i'm not sure what btncontacts is but we want to disable next becuase there are no more records...
    // in your intitalization code you need to do this...
    // you old stuff ending with...
    ResultSet rs = cstatement.executeQuery();
    // the new stuff...
    if(rs.first()){
      displayNextRecord();
    }else{
      btncontacts.setEnabled(false);//the result set is empty
    }ok the real problem you are having is that you are trying to display one record at a time but you are scrolling
    through the entire result set using while(rs.next()... what you
    want to do is create the result set once and scroll through
    it one item at a time with your gui.
    the example method i have given displays the data from the current
    row in your gui. then it advances the result set forward one row if possible. this method assumes that the result set will always
    be positioned on a valid row thus the need for calling
    rs.first() before we originally call displayNextRecord()
    well i hope you find this helpful.

  • Need help setting up web server with WRT54GS

    Hello,
    I am trying to set up a web server with my linksys router. For the network settings, I have used 192.168.001.150 as my primary IP (192.168.1.150, all 3 numerical characters have to be filled in), 255.255.255.000 as my primary netmask and 192.168.001.001 (192.168.1.1) as my gateway. I have gone into my router and then enabled port fowarding for port 80 to 192.168.1.150 but I still cannot access my web server. What could be the problem?
    Any help would be greatly appreciated. I'm trying to set up this server so I can test scripts and things.

    bump

  • Set Up Test Server

    The guy who developed our website recently disappeared
    leaving me with the responsibility of making the minor changes we
    needt to make. I only think this is relevant because I really have
    no business doing this and I'm hoping that you all will help me
    through my issue and not tell me to hire a professional.
    Anyway I installed Dreamweaver and IIS on my XP Pro machine.
    I set up the remote server and downloaded (Get) the entire site
    onto a network drive. I set the Local root folder to the location
    that I downloaded the site. I set the Testing Server folder to the
    same location. Given my experience I thought I would change/test in
    the local copy of the site and then Put the changes up for the
    world to see.
    The URL Prefix for my Testing Server is:
    http://localhost/.
    When I try to preview my changes I get a page can not be
    found error. I believe this is because the local copy of my website
    is not in the C:\Inetpub folder. Do I have to move it?
    Do I have to set up a Virtual Directory in IIS? Is it right
    that I can't do this if my website is on a network drive?
    My website does not have a wwwroot page, does that matter?
    I read IIS and Dreamweaver help files today and still
    couldn't figure this out. Thanks for the help.
    Po
    Also - I tried to copy the installation of the software on
    his computer but it doesn't work. I think he changed stuff and IIS
    isn't even there.

    Is the site using ASP? Or ASP.NET?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "powlaz" <[email protected]> wrote in
    message
    news:f97n0v$p1p$[email protected]..
    > The guy who developed our website recently disappeared
    leaving me with the
    > responsibility of making the minor changes we needt to
    make. I only think
    > this
    > is relevant because I really have no business doing this
    and I'm hoping
    > that
    > you all will help me through my issue and not tell me to
    hire a
    > professional.
    >
    > Anyway I installed Dreamweaver and IIS on my XP Pro
    machine. I set up the
    > remote server and downloaded (Get) the entire site onto
    a network drive.
    > I set
    > the Local root folder to the location that I downloaded
    the site. I set
    > the
    > Testing Server folder to the same location. Given my
    experience I thought
    > I
    > would change/test in the local copy of the site and then
    Put the changes
    > up for
    > the world to see.
    >
    > The URL Prefix for my Testing Server is:
    http://localhost/.
    >
    > When I try to preview my changes I get a page can not be
    found error. I
    > believe this is because the local copy of my website is
    not in the
    > C:\Inetpub
    > folder. Do I have to move it?
    >
    > Do I have to set up a Virtual Directory in IIS? Is it
    right that I can't
    > do
    > this if my website is on a network drive?
    > My website does not have a wwwroot page, does that
    matter?
    >
    > I read IIS and Dreamweaver help files today and still
    couldn't figure this
    > out. Thanks for the help.
    >
    > Po
    >
    > Also - I tried to copy the installation of the software
    on his computer
    > but it
    > doesn't work. I think he changed stuff and IIS isn't
    even
    > there.
    >

  • Setting up VPN Server fails in Windows 8.1

    Hello Folks
    I'm trying to set up VPN server in my Windows 8.1 box to receive incoming connections. It fails at the last step (http://www.diaryofaninja.com/blog/2012/09/11/setting-up-a-vpn-server-on-windows-7-or-windows-8-ndash-secure-your-internet-use-while-away)
    of the process (Allow Access) with the following error. I binged a lot but none of the trouble shooting mechanisms worked for me. I made sure that concerned service (Routing and Remote Access) can be started and stopped manually. Also, the same step works
    in Windows 7.
    Please see attached for error details.
    Highly appreciate any help for fixing the issue.
    Cheers
    Manohar

    Hi  Manooh,
    Besides disabling IP v6, try reset the TCP/IP in the way below:
    Open the command line windows as an administrator and type the command “nets hint ip reset” hit enter, or you can try the fix it below:
    http://support.microsoft.com/kb/299357
    We usually modify the default RDP port 3389 to another value, if you followed this too, you should add an port exception through a firewall in the way below:
    1.Open Windows Firewall
    2.In the left pane, click Advanced settings. 
    3.In the Windows Firewall with Advanced Security dialog box, in the left pane, click Inbound Rules, and then, in the right pane, click New Rule.
    4. Choose “port” and input the port number as allowed to connect.
    Regards
    Wade Liu
    TechNet Community Support

  • Airport extr port setting w/SL server

    When moving our offices to a new location I lost all the settings on my Airport extreme.
    I have a Mini Server with Snow Leopard Server 10.6.8 that's connected to the internet via an Airport Extreme base station.
    We have a set of wikis that we usually acces from the internet with a domain name for which the IP was managed by Dyndns. I can access the wiki locally with the local adress (http://miniserver.local/groups/xxx/calendar/ or http://miniserver.local/groups/xxx/wiki/) but can't do it with the domain name as we used to before.
    I've opened port 80 on the airport extreme but it still doesn't work.
    Any ideas?

    Although the information specific to 10.6 has not yet been posted, lynda.com has an excellent step-by-step tutorial on setting up 10.5. server. It will cost you $25, but I believe it will be well worth the time and minimal cost.
    At this point, if I were you, I would start over with the Mini. Watch the tutorial on setting up the server in general and especially DNS and then reinstall server on the Mini. Remember that the server MUST have a static IP address.
    I hope you have some sort of external storage attached to the Mini as none of the internal drives are anywhere large enough to support 10 users with file sharing and Final Cut. Buy the biggest drive you can get with FireWire 800 and connect it to the Mini.
    Once you have the server and DNS set correctly, you can use Workgroup Manager to do all sorts of fun things, including shutting off the internet to client systems. To make it work, though, you will need to bind the client systems to the server.
    Not sure about moving to 10.5.x clients of that vintage. I have 10.5.x running on a 1Ghz machine at home and it is slow-going at best. The only advantage to 10.5.x is additional management tools that don't work in 10.4.x. I don't believe the parental controls (which can be used to lock down internet settings) will work the way you need under 10.4.x, but to be honest, I don't remember that far back.
    You will use Server Administrator to set up share points, including options to auto-mount a share point (again I highly recommend that this be an external drive). Workgroup Manager is where you will set up student accounts and, if desired, make share points auto-mount. Don't forget to set permissions, too. You can also do cool things like start up and shut down the clients on a schedule.
    Disconnecting the system from the outside world certainly has advantages, but it would be nice to be able to get software updates, especially for the server.
    Good luck.

  • How to use open Row set in sql server 2014

    Hello All,
    How to open the row set using sql server 2014 using link server connection.

    Hi  denyy,
    Are you referring to the OPENROWSET function in SQL Server 2014?
    The OPENROWSET method is an alternative to accessing tables in a linked server and is a one-time, ad hoc method of connecting and accessing remote data by using OLE DB. The examples below demonstrate how to use the OPENROWSET function:
    A. Using OPENROWSET with SELECT and the SQL Server Native Client OLE DB Provider
    SELECT a.*
    FROM OPENROWSET('SQLNCLI', 'Server=Seattle1;Trusted_Connection=yes;',
    'SELECT GroupName, Name, DepartmentID
    FROM AdventureWorks2012.HumanResources.Department
    ORDER BY GroupName, Name') AS a;
    B. Using the Microsoft OLE DB Provider for Jet
    SELECT CustomerID, CompanyName
    FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0',
    'C:\Program Files\Microsoft Office\OFFICE11\SAMPLES\Northwind.mdb';
    'admin';'',Customers);
    GO
    C. Using OPENROWSET to bulk insert file data into a varbinary(max) column
    USE AdventureWorks2012;
    GO
    CREATE TABLE myTable(FileName nvarchar(60),
    FileType nvarchar(60), Document varbinary(max));
    GO
    INSERT INTO myTable(FileName, FileType, Document)
    SELECT 'Text1.txt' AS FileName,
    '.txt' AS FileType,
    * FROM OPENROWSET(BULK N'C:\Text1.txt', SINGLE_BLOB) AS Document;
    GO
    D. Using the OPENROWSET BULK provider with a format file to retrieve rows from a text file
    SELECT a.* FROM OPENROWSET( BULK 'c:\test\values.txt',
    FORMATFILE = 'c:\test\values.fmt') AS a;
    Reference:
    OPENROWSET (Transact-SQL)
    Using the OPENROWSET function in SQL Server
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.

  • How to set a Proxy Server for appletv

    The network I'm on requires that I set a Proxy server to get out to the internet.
    Is there anyway to specify a Proxy server for AppleTV?

    Hi Red-Baron,
    The Apple TV does not support Proxy Server configuration (http://docs.info.apple.com/article.html?artnum=305010). An alternative is to enable internet sharing on a computer and have the Apple TV connect to that computer.
    Regards,
    John

  • Need Help on Setting up OBIEE server setup

    Hi All,
    I am new to OBIEE. we are setting up a server which can be utilized for Informatica and OBIEE. for that can anybody suggest which windows server is compatable to install the both softwares.

    Hi,
    Check the certification matrix :
    http://www.oracle.com/technetwork/middleware/bi/oracle-obia-111151-cert-matrix-525376.xls

  • Fnd_profile.save for setting APPS_FRAMEWORK_AGENT on server level

    Hi,
    i can set APPS_FRAMEWORK_AGENT on user level using " result := fnd_profile.save('APPS_FRAMEWORK_AGENT',URL,'USER',usr.user_id); "
    but this  "result := fnd_profile.save('APPS_FRAMEWORK_AGENT',URL,'SERVER',Node_id); " does not work for setting it on server level.
    Help from anyone will be much appreciated.
    Regards,
    Zafar

    What is the error you are getting when you try to set at server level?

  • Setting for J2EE server do not exist

    Hi,
    I have prepared a web service from a FM.
    I can't test it from the WSADMIN since this system is not integrated to a J2EE server. So I get the error message "Setting for J2EE server do not exist"
    I am able to generate the WSDL file from Tcode WSADMIN
    How can I test this web service from a browser with a J2EE server? If browser not possible then how can I test this web service.
    Thank you,
    Sam

    Hi Sam,
    I am not sure if you can test the web services without a J2EE server. For
    testing in wsadmin, you do not need the system to be integrated with a J2EE server. Only the details of any J2EE server in the landscape can be given in
    wsadmin -> Goto -> Administration Settings .
    Regards
    Srikishan

  • Setting up DR Server

    Dear Sir,
                Please send me steps for setting o DR Server for ECC 5 with oracle 9.2  database.

    Hi Ketan,
    I hope you might have gone through the document provided by Orkun Gedik. Here are the highlevel steps involved in setting up DR.
    1. Install the SAP R/3 system in a similar hardware
    2. Backup the PRD DB (offline backup)
    3. Stop the application and DB in the DR site
    4. Restore the backup in DR using BRRESTORE
    5. Create a standby controlfile in PRD and copy the same to the controlfile locations in DR
    6. Start the DB at the DR site in the standby mode
    7. Copy the archive logs (you can either do this manually or automate the same usnig oracle dataguard)
    8. Apply/recover the archive logs in the DR (ongoing process).
    Hope this helps.
    Regards,
    Varadharajan M

Maybe you are looking for

  • HT4236 Hello. I need to know how to sync pictures from my PC to my Iphone 3gs?

    I just recently bought a iphone 3gs updated with 5.0 and I want to transfer pictures from my computer to the iphone. how do i do that using a PC? I also would like to know how to transfer text messages from my old 3g to this 3gs. Can anyone guide me

  • License management in BOBJ4.0

    We are installing BOBJ4 on our POC sandbox. We notice on SAP Market Place there is a button: Obtain an SAP BusinessObjects temporary license key. The instruction downloaded with the temp license is pretty complicated. Just curious, we accepted the li

  • I need a toolbar that works with firefox 5

    I need to get a toolbar that is compatible to Firefox 5, can you help me? since I downloaded Firefox 5 this problem started.

  • Songs sync out of order

    I created mp3 versions of songs and since then the songs don't play in order on my iPhone.  I recently 'cleaned out' my library by removing duplicates and consolidating library...wiped music from iPhone...restored iPhone...still have the same issues.

  • Clearing Caches, affecting start-up times?

    I ran some cache clearing using Main Menu a month ago and it seems to have impacted my start-up time (now takes about 90 seconds). I also notice when I repair disk permissions I always get the following text: +++++++++++++++++++++++++++++++++++++++++