How to rebuild glibc?

Hey,
I read on http://www.archlinux.org/news/minimum-r … creased-1/ that for kernels older than that we need to rebuild glibc for them,
the VPS i have has 2.6.18-194.26.1.el5.028stab079.2 but im unsure how to go about rebuilding it is there any guides or anything about that?

a *very* quick guide
you can change the details to suit your environment
# = run as root
$ = run as regular user
# pacman -S abs
# abs
$ mkdir -p ~/abs/core/glibc
$ cp -R /var/abs/core/glibc ~/abs/core/glibc
$ cd ~/abs/core/glibc
$ vi PKGBUILD
modify the --enable-kernel line so it reads 2.6.18
$ makepkg
# pacman -U <your new glibc package>.xv
You might also want to add glibc to the ignorepkg line in pacman.conf.  That way, you'll just be notified when a new version is out and you can repeat all of this.  You don't need to resync the entire abs tree though, the following command will do it for one package
# abs core/glibc
One other tip - make sure you have a copy of the regular glibc package before making any changes just to be safe
Last edited by oliver (2011-03-02 21:17:24)

Similar Messages

  • How to rebuild glibc on older gcc & kernel?

    My env (these are dummy package with STLinux's prebuild binaries)
    binutils 2.18.50.0.8-43
    gcc 4.2.4-76
    gcc-libs 4.2.4-76
    glibc 2.6.1-74
    linux-api-headers 2.6.23.17-1
    I'm using old kernel on sh4 CPU arch and want to upgrade to newest gcc. So, I changed the glibc's PKGBUILD as
    # toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
    # NOTE: valgrind requires rebuilt with each major glibc version
    pkgname=glibc
    pkgver=2.17
    pkgrel=3
    pkgdesc="GNU C Library"
    arch=('i686' 'x86_64' 'sh4')
    url="http://www.gnu.org/software/libc"
    license=('GPL' 'LGPL')
    groups=('base')
    depends=('linux-api-headers' 'tzdata' 'filesystem')
    makedepends=('gcc')
    backup=(etc/gai.conf
    etc/locale.gen
    etc/nscd.conf)
    options=('!strip')
    install=glibc.install
    source=(http://ftp.gnu.org/gnu/libc/${pkgname}-${pkgver}.tar.xz{,.sig}
    glibc-2.17-sync-with-linux37.patch
    nscd.service
    nscd.tmpfiles
    locale.gen.txt
    locale-gen)
    md5sums=('87bf675c8ee523ebda4803e8e1cec638'
    '6db4d1661cf34282755dc90330465f6d'
    'fb99380d94598cc76d793deebf630022'
    'c1e07c0bec0fe89791bfd9d13fc85edf'
    'bccbe5619e75cf1d97312ec3681c605c'
    '07ac979b6ab5eeb778d55f041529d623'
    '476e9113489f93b348b21e144b6a8fcf')
    build() {
    cd ${srcdir}/${pkgname}-${pkgver}
    # combination of upstream commits 318cd0b, b540704 and fc1abbe
    #patch -p1 -i ${srcdir}/glibc-2.17-sync-with-linux37.patch
    cd ${srcdir}
    mkdir -p glibc-build
    cd glibc-build
    if [[ ${CARCH} = "i686" ]]; then
    # Hack to fix NPTL issues with Xen, only required on 32bit platforms
    # TODO: make separate glibc-xen package for i686
    export CFLAGS="${CFLAGS} -mno-tls-direct-seg-refs"
    fi
    echo "slibdir=/usr/lib" >> configparms
    # remove hardening options from CFLAGS for building libraries
    CFLAGS=${CFLAGS/-fstack-protector/}
    CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2/}
    ${srcdir}/${pkgname}-${pkgver}/configure --prefix=/usr \
    --libdir=/usr/lib --libexecdir=/usr/lib \
    --with-headers=/usr/include \
    --with-bugurl=https://bugs.archlinux.org/ \
    --enable-add-ons=nptl,libidn \
    --enable-obsolete-rpc \
    --enable-kernel=2.6.23 \
    --enable-bind-now --disable-profile \
    --enable-stackguard-randomization \
    --disable-multi-arch
    # build libraries with hardening disabled
    echo "build-programs=no" >> configparms
    make
    # re-enable hardening for programs
    sed -i "/build-programs=/s#no#yes#" configparms
    echo "CC += -fstack-protector -D_FORTIFY_SOURCE=2" >> configparms
    echo "CXX += -fstack-protector -D_FORTIFY_SOURCE=2" >> configparms
    make
    # remove harding in preparation to run test-suite
    sed -i '2,4d' configparms
    check() {
    # bug to file - the linker commands need to be reordered
    LDFLAGS=${LDFLAGS/--as-needed,/}
    cd ${srcdir}/glibc-build
    make check
    package() {
    cd ${srcdir}/glibc-build
    install -dm755 ${pkgdir}/etc
    touch ${pkgdir}/etc/ld.so.conf
    make install_root=${pkgdir} install
    rm -f ${pkgdir}/etc/ld.so.{cache,conf}
    install -dm755 ${pkgdir}/usr/lib/{locale,systemd/system,tmpfiles.d}
    install -m644 ${srcdir}/${pkgname}-${pkgver}/nscd/nscd.conf ${pkgdir}/etc/nscd.conf
    install -m644 ${srcdir}/nscd.service ${pkgdir}/usr/lib/systemd/system
    install -m644 ${srcdir}/nscd.tmpfiles ${pkgdir}/usr/lib/tmpfiles.d/nscd.conf
    install -m644 ${srcdir}/${pkgname}-${pkgver}/posix/gai.conf ${pkgdir}/etc/gai.conf
    install -m755 ${srcdir}/locale-gen ${pkgdir}/usr/bin
    # temporary symlink
    ln -s ../../sbin/ldconfig ${pkgdir}/usr/bin/ldconfig
    # create /etc/locale.gen
    install -m644 ${srcdir}/locale.gen.txt ${pkgdir}/etc/locale.gen
    sed -e '1,3d' -e 's|/| |g' -e 's|\\| |g' -e 's|^|#|g' \
    ${srcdir}/glibc-${pkgver}/localedata/SUPPORTED >> ${pkgdir}/etc/locale.gen
    # Do not strip the following files for improved debugging support
    # ("improved" as in not breaking gdb and valgrind...):
    # ld-${pkgver}.so
    # libc-${pkgver}.so
    # libpthread-${pkgver}.so
    # libthread_db-1.0.so
    cd $pkgdir
    strip $STRIP_BINARIES sbin/{ldconfig,sln} \
    usr/bin/{gencat,getconf,getent,iconv,locale,localedef} \
    usr/bin/{makedb,pcprofiledump,pldd,rpcgen,sprof} \
    usr/lib/getconf/* \
    usr/sbin/{iconvconfig,nscd}
    [[ $CARCH = "i686" ]] && strip $STRIP_BINARIES usr/bin/lddlibc4
    strip $STRIP_STATIC usr/lib/*.a
    strip $STRIP_SHARED usr/lib/{libanl,libBrokenLocale,libcidn,libcrypt}-*.so \
    usr/lib/libnss_{compat,db,dns,files,hesiod,nis,nisplus}-*.so \
    usr/lib/{libdl,libm,libnsl,libresolv,librt,libutil}-*.so \
    usr/lib/{libmemusage,libpcprofile,libSegFault}.so \
    usr/lib/{pt_chown,{audit,gconv}/*.so}
    checking for autoconf... autoconf
    checking whether autoconf works... no
    configure: error:
    *** These critical programs are missing or too old: as ld gcc
    *** Check the INSTALL file for required versions.
    ==> ERROR: A failure occurred in build().
    Aborting...

    a *very* quick guide
    you can change the details to suit your environment
    # = run as root
    $ = run as regular user
    # pacman -S abs
    # abs
    $ mkdir -p ~/abs/core/glibc
    $ cp -R /var/abs/core/glibc ~/abs/core/glibc
    $ cd ~/abs/core/glibc
    $ vi PKGBUILD
    modify the --enable-kernel line so it reads 2.6.18
    $ makepkg
    # pacman -U <your new glibc package>.xv
    You might also want to add glibc to the ignorepkg line in pacman.conf.  That way, you'll just be notified when a new version is out and you can repeat all of this.  You don't need to resync the entire abs tree though, the following command will do it for one package
    # abs core/glibc
    One other tip - make sure you have a copy of the regular glibc package before making any changes just to be safe
    Last edited by oliver (2011-03-02 21:17:24)

  • How to rebuild BPEL process in remote Integration server?

    Please advise kindly how to rebuild a remote wdsl... We have many BPEL processes in a remote Integration server and I need to rebuild one of them after some correction was done in its .xsl file.
    When I right-click on the process name in the Jdeveloper list and chose "Rebuild", it is compiled without errors, but with the message as "Warning: The file http://.........wsdl is not part of the active project Project1.jpr, compiled class will be written to Project1.jpr output directory". (But I have no "Project1.jpr") How to get the compiled results to be deployed in the remote Integration server where needed?
    Please help kindly...

    Dear PuneetRekhade, thank you for your expert comment.
    Could you please advise on the following "...compiled class will be written to Project1.jpr output directory". (But I have no "Project1.jpr" as far as I know.) How to get the compiled results to be deployed in the remote Integration server where needed?"
    Thank you so much in advance..

  • TC HDD deleted (OMG)- how to rebuild my iphoto library?

    Hi folks,
    days ago I realized that my HDD inside this TC had a severe problem that had to be solved. However in the end I deleted this HDD just to make in run again. UHHH! Fortunately I did not reformat the drive.
    I could find most of these files by using "Data rescue 4" - but: How could I rebuild my iphoto library? Is there any tool available?  Data rescue created many many folders including all photos I've ever had on my system, not only those which were stored by iPhoto. Any way to find out, which should be kept?
    And how to rebuild my itunes library?
    iPhoto 9.6.
    iTunes 12.0.1.26
    Yosemite 10.10.1

    The photos are available (they seem not to be damaged!), but they are located in different folders. How to manage?
    An iPhoto Library is a complex database. You have retrieved the photos, but not the database files, and even if you could retrieve them, they would point to the original filenames in the original folders. The same goes for your iTunes library.
    If you cannot restore the original libraries /Mediatheken,  you can only create new libraries and add the photos, folder by folder, and recreate your events and albums. Then rate the photos again and delete the photos you do not want.

  • How to rebuild entire system using ABS

    ArchLinux ABS Wiki says:
    The Arch Build System (ABS for short) is used to:
        * Rebuild your entire system using your compiler flags, "a la FreeBSD"
    But how? I was looking for a wiki, an article or example - no results Please explain, how to rebuild entire system using ABS?
    Thanks in advance for your help!
    Last edited by rics (2008-08-21 13:25:03)

    Allan wrote:makeworld script in the abs package
    So easy?! Cool!
    Thanks! My problem is solved

  • How to rebuild oracle 8.1.7.4 indexes online or thi sindex: sys_c001316

    This select is running for hours
    SELECT t1.native_id
    FROM atc_xref t1
    WHERE t1.app_id = :v0
    AND t1.obj_name = :v1
    AND t1.canonical_id = :v2
    How to rebuild 8 i indexes fo improve performance or to resolve ora_08108

    What is the size of atc_xref ? How many records do you have in it? When did it start behaving like that? What was your last major change to the database?

  • How to rebuild BIA index ?

    Hello,
    I wonder how to rebuild a BI Accelerator index, without deleting it previously ?
    I hope this is not a silly question, cause I do not find for the moment if it is really possible.
    Thank you very much for your help.
    Benjamin

    Hi Benjamin,
    The concept of rebuild of index is to initially delete the index completely and create again. So, there is no option to rebuild the index without deleting it.
    For eg: Based on the initial data volumes, if BIA had decided not to split a fact table on  BIA side, and over a period of time, if the data volumes have increased. BIA triggers an alert indicating the difference of volumes in percentage between BI and BIA. At this point of time, based on the difference, you are required to rebuild the index.
    It then deletes the whole structure of index on BIA and then recreates the index structure. Thereby, it can decide to split the Fact table index based on the new volumes. This is one of the benefit of deleting the whole index structure and then creating again.
    Regards,
    Srini

  • How to rebuild creidt exposure?

    Hi everybody,
    Can anyone let me know how to rebuild credit exposure for business partner? What is the purpose of this?
    Regards

    Hi
    This is for rebuilding the credit limit exposure, which can be seen in F.32.
    This is not normally used but exceptionally used if there are any organization changes made in SAP.
    Yuo can try it first in test system and with test run to see what all customers affected due to this run and understand the consequences to proceed further.
    Regards

  • If my master database got crashed how will rebuild it?

    Hi DBA'S,
    If
    my master database got crashed how will rebuild it?
    Please provide me a scenario based answer if  it is possible.

    You would find below article more interactive
    http://www.codeproject.com/Tips/537811/Rebuilding-Master-Database-in-SQL-Server?
    Please post question which you seem difficult its very easy question and you would have found lot of article on net. If you are preparing for interview read the MSDN document, download sql server express or enterprise evaluation(both are free)  install
    it and try rebuilding master database your self
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • How to Rebuild after BK and Go from Secured CC's to an Unsecured?

    In 2011 I filed a Chapter 13 BK (I'll spare the sob story since I don't want to get depressed). A year later - after making prompt payments to the trustee, I was furloughed from work due to the economic downtown and no longer met the min income qualifications for the BK payment plan; therefore the bankruptcy was dismissed.I can't even start to explain how bad this sitution turned out for me. I was told that if I wanted to keep my home I couldn't file a Ch7 BK, and didn't seem to get anywhere with the legal help I needed. At one point I found an Attorney that promised to help straighten everything out.. charged me $500 and never saw him again - he did nothing for me  but don't worry I was able to get the money back. I read articles, forums, books etc.. to educate myself on what to do. But all in all the creditors didn't want to work with me and I felt so LOST :/Finally, everything paid off when I found a decent Attorney to help me file a Ch.7 BK and it was done in 2014 and discharged with no issues.  But with this, I've been hit twice on my credit report and made it almost impossible to rebuild credit I have 3 secured credit cards (Merrick, Opensky, and a Credit Union). I also was just able to refinance my 19% auto loan to a 5% loan - which I'm extremely thankful for.  The issue now is that no one is willing to give me an unsecured credit card - not even CapOne - who most claim are the best at this.  How do I go from having secured cc's to qualifying to an unsecured? my cards don't seem to graduate to unsecured and although I've grown addicted to checking my scores and reports I can't seem to find a way - I tend to grow impatient, and I spend way too much time on all these credit forums (credit.com,CK,creditboards, etc) its seriously becoming insane.  My scores aren't really that bad (I think) but I think its the 2 public notices on my report that I believe are hurting me the most - any feedback on that? Scores are; EX 669, TU 662, EQ 675 I also hired a company who is helping me with my credit repair because I found myself going crazy mailing letters and paying certified mail costs and getting nowhere with the CB's.So where do i go next?? Thanks everyone

    First off - dump the credit repair company. They simply CANNOT do the things that you can do, despite the promises they make. How old are your secured cards? Have you maintained perfect payment history forward from the discharge? Do you have current credit reports and is everything reporting as IIB with balances zeroed out?

  • How to Rebuild OS X Server

    I need to rebuild my OS X Server, and I'd like to do this from scratch without resorting to migration assistant tools.
    Briefly, my server crashes every 3-5 days, whether booting from an internal HD or an external CCC clone. Getting it to work after that requires a safe reboot -- a major pain. I've ruled out memory problems, external hardware problems, and disk/bad block problems. That leaves data corruption, which means I have to reinstall the OS and everything else from scratch. I performed a completely fresh install of 10.9.2 on the internal drive (erase/reparition/CCC to create recovery parition/Recovery Mode>Install OS X).
    Now I must rebuild OS X Server and everything that goes with it: DNS, Open Directory, User Accounts, Profile Manager, Web, Mail/Calendar/Contacts, PostGreSQL, and more. I know how to perform rebuilds for single items like recovering an OD Master from backup, but I don't know how to retore user accounts with their email and jabber messages and the like, or the correct order of all this stuff. And I'm wary of guessing because OS X Server can be very fragile.
    How do I rebuild OS X Server on a new OS X install?
    I have backups and more backups, both Time Machine and bootable CCC clones. I can easily boot into the old, presumably corrupted OS, and use it to create anything additional I need. I'd greatly appreciate any pointers or advice. After I get Server rebuilt, I'll also have questions about migrating local accounts and the keychains that go with them.

    > What exactly happens when it crashes?
    This happens with both an internal drive, and a Carbon Copy Clone of the internal drive:
    1. Crashes or freezes occur regularly within days: either the box powers off instantly, or it freezes with a black screen except for arrow cursor, and no network access.
    2. On reboot, authentication to all emails accounts (it's own, as well as gmail, iCloud, and the rest) all fail, as does jabber and other authentication. Mobile clients are able to authenticate to OS X Sever services, indicating some cache corruption on the server.
    3. Disk utility>Verify, Repair on the partition often (not always) indicates incorrect block sizes for many files. Repair always works.
    4. A safe reboot plus normal reboot fixes the authentication problems, and the server will run "normally" until it crashes days later, unless there's a disk repair required.
    5. If I run without disk repair, the Mail service works, then consistently fails within a day, but "sudo serveradmin stop/start mail" fixes this.
    I've learned that for every crash I must boot into recovery, repair the drive, then do a safe reboot, then a normal one. This, obviously, is a giant pain.
    I've tried replacing the memory, and the behavior is the same whether using 8 GB or 16 GB DIMMs, PV resets then booting naked and watching the logs as I plug usb devices into a fresh boot, and booting from clones. Nothing is working
    I've scoured the logs and don't see a thing that might indicate the problem—the logs just stop when the crash appears, so I'm unable to diagnose the actual problem.
    The last reasonable thing to try is a completely fresh reinstall. I may be being overly conservative by avoiding the Time Machine migration, but given the symptoms above, perhaps not.
    What I'd like to try is to copy all OS X Server functionality from one instance (CCC clone) to another (fresh OS X on internal HD), using export/import tools and commands like slapconfig. This box is getting a little long in the tooth anyway, and I expect to refresh it whenever the new minis arrive, so rebuilding the server is something I expect to do soon anyway.

  • How to find out if an INDEX is corrupt and how to rebuild it ?

    How can I find out (from SQL script) if a given INDEX is corrupt and needs to be rebuild ?
    And how do I rebuild it ?

    How can I find out (from SQL script) if a given INDEX is corruptin 9i (not sure about 10g):
    ANALYZE INDEX index_name VALIDATE  STRUCTURE ;

  • How to rebuild previews (thumbnails) in library (lightroom 1.0)?

    After installing the back-up file of my Lightroom-library, the previews (thumbnails) of pictures in my library became 'blank'.
    The settings of the pictures are still intact, but the previews of the photo's are gone. Does anybody know how I can rebuild the previews?

    Normally, the thumbnails should be rendered automatically. You can force the preview rendering process by choosing Render Standard-sized or Render 1:1 Previews from Library menu. However, before running either of these commands you will want to delete the file with named  Lightroom Previews.lrdata
    Above assumes that nothing untoward has happened since you created the backup Library. Do you see a ? badge on the top right corner of thumbnails? If yes then the blank thumbnails will be due to the catalog pointing at photos that it can no longer locate. Not being able to locate the photos will likely be as a result of you moving them since the backup Library was created. If this is the case you will need to relink the photos to the backup Library
    You'll also want to update to Lightroom 1.4.1
    Windows - http://www.adobe.com/support/downloads/detail.jsp?ftpID=3892  and Mac - http://www.adobe.com/support/downloads/detail.jsp?ftpID=3891

  • How to rebuild OS, without installation disk(s)?

    I recently purchased a Mac Pro.  It did not come with a restore installation disk.  If I needed to rebuild my OS, how do I do it without installation disks?

    Restart with the Option key held down and use the preloaded recovery partition. If that becomes unavailable, the computer will download a new one from Apple's servers.
    (69854)

  • SBS 2008 - How to rebuild the reporting database

    I'd like to start using the inbuilt reporting facilities in SBS2008.  But when I start up the console and click on "Reports", although I am taken to the SBS2008 console's reports screen, a couple of seconds later, the following error message
    is displayed:
    "There was an error while loading data for this page".
    When I click "Close" to close the error message, I'm left looking at the console's reports screen but with nothing shown.  The top pane simply says:
    "There are no reports to display".
    So, I then click on "Add a new report" in the right-hand pane.  Nothing happens for a couple of minutes - not even an hour glass.  Eventaully, a window opens up, headed "New Report Properties".  So, I had a go at creating
    a new report, e.g.:
    - Report Name = Test123
    - Content = Summary
    - E-Mail Options = I entered my email address
    - Schedule = I set it to daily at 9pm
    When I clicked "Ok", after a couple more minutes of thinking, it came back with:
    "The report properties cannot be saved. Reopen the Report Properties dialog, and then try again."
    I don't know how to tackle this issue.  I administer the network here but don't know SQL Server - and we don't have any SQL Server applications of our own - just the inbult ones like WSUS.
    If there is a problem with the actual reporting database, I'd be happy to rebuild it, or even reinstall SQL.   But I don't know how.   My main concern is that WSUS is running beautifully and I don't want to go anywhere near anything that might
    break it.  I would rather have no reports than lose WSUS.
    Could someone point me to some step-by-step instructions aimed at someone who knows Windows Server (to an extent) and SBS2008 - but has no knowledge of SQL Server?

    I worked through the article but hit problems.  Any thoughts would be gratefully received.
    Here's what happened:
    1. I checked that SQL Server 2005 is installed and that Windows SBS Manager is installed and started
    2. I looked for "SQLServer (SBSMONITORING)" in the list of services but it is completely missing
    I then followed the section headed "If necessary, create a new SBSMonitoring database".  This takes one to another article:
    http://blogs.technet.com/b/sbs/archive/2011/08/22/how-to-recreate-the-sbsmonitoring-database.aspx.
    I followed the instructions, which included downloading Create-SBSMonitoringDb.ps1 and running it in an administrative Power Shell.  When I ran it, I got a load of errors.
    =============================================================
    PS C:\windows\temp> .\Create-SBSMonitoringDb.ps1
    Stop-Service : Cannot find any service with service name 'MSSQL$SBSMONITORING'.
    At C:\windows\temp\Create-SBSMonitoringDb.ps1:28 char:13
    + Stop-Service <<<<  'MSSQL$SBSMONITORING'
        + CategoryInfo          : ObjectNotFound: (MSSQL$SBSMONITORING:String) [Stop-Service], ServiceCommandException
        + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell.Commands.StopServiceCommand
    Get-ItemProperty : Cannot find path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server\SBSMONITORING\Setup\' because it does not exist.
    At C:\windows\temp\Create-SBSMonitoringDb.ps1:35 char:23
    +     $key=get-itemproperty <<<<  "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server\SBSMONITORING\Setup\"
        + CategoryInfo          : ObjectNotFound: (HKLM:\SOFTWARE\...NITORING\Setup\:String) [Get-ItemProperty], ItemNotFo
       undException
        + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemPropertyCommand
    Start-Service : Cannot find any service with service name 'MSSQL$SBSMONITORING'.
    At C:\windows\temp\Create-SBSMonitoringDb.ps1:54 char:14
    + Start-Service <<<<  'MSSQL$SBSMONITORING'
        + CategoryInfo          : ObjectNotFound: (MSSQL$SBSMONITORING:String) [Start-Service], ServiceCommandException
        + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell.Commands.StartServiceCommand
    Sqlcmd: Error: Microsoft SQL Native Client : An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote
    connections..
    Sqlcmd: Error: Microsoft SQL Native Client : Login timeout expired.
    Sqlcmd: Error: Microsoft SQL Native Client : An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not  allow
    remote connections..
    Sqlcmd: Error: Microsoft SQL Native Client : Login timeout expired.
    Sqlcmd: Error: Microsoft SQL Native Client : An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote
    connections..
    Sqlcmd: Error: Microsoft SQL Native Client : Login timeout expired.
    WARNING: Waiting for service 'Windows SBS Manager (DataCollectorSvc)' to finish starting...
    WARNING: Waiting for service 'Windows SBS Manager (DataCollectorSvc)' to finish starting...
    WARNING: Waiting for service 'Windows SBS Manager (DataCollectorSvc)' to finish starting...
    WARNING: Waiting for service 'Windows SBS Manager (DataCollectorSvc)' to finish starting...
    WARNING: Waiting for service 'Windows SBS Manager (DataCollectorSvc)' to finish starting...
    WARNING: Waiting for service 'Windows SBS Manager (DataCollectorSvc)' to finish starting...
    WARNING: Waiting for service 'Windows SBS Manager (DataCollectorSvc)' to finish starting...
    WARNING: Waiting for service 'Windows SBS Manager (DataCollectorSvc)' to finish starting...
    WARNING: Waiting for service 'Windows SBS Manager (DataCollectorSvc)' to finish starting...
    <Ctrl-C>
    =================================================================
    If you have read this far and understand the above, what should I do next?

Maybe you are looking for