Tag Archives: APR

Extracting Sysdate-1 ORA Errors – Can you help me in this UNIX Script?

By raja_dba

Hi Guys,

I wanted to create an Unix Shell Script that should fetch a particular string from a text file on a particular date.

We all know Oracle generates alert logs for each and every day for every actions in the database.

I have an alert log file now where it contains for about a months generated alert log.

I wanted to extract the ORA errors generated yesterday. ( APR 15 )

I was trying this,

===================================

SCRIPT

cd /back/alert/log
a=`date ‘+%b %d’ -d “yesterday”`
b=`date ‘+%b %d’`
c=”$a $b”
echo “$c”
awk “/$1 $2/,/$3 $4/” alert_dbname.log | sed ‘$d’
exit

=================================================

echo “$c” would output yesterday’s date and today’s date in the format

Apr 15 Apr 16

And from here I want to substitute the Apr 15 Apr 16 in awk as

[[[ awk ‘/Apr 15/,/Apr 16/’ alert_dbname.log | sed ‘$d’ | grep ORA ]]]]

And for this substitution I have written in the script

awk “/$1 $2/,/$3 $4/” alert_dbname.log | sed ‘$d’

But this doesn’t bring me the required output.

Could you please help me working on this script?

Thanks,
Raja

From: http://www.unix.com/shell-programming-scripting/221219-extracting-sysdate-1-ora-errors-can-you-help-me-unix-script.html

./configue

By Adriano Schmidt

hello,

I’m trying install apache http server version 2.2.22.

I downloaded the file httpd-2.2.22.tar.bz2.

I unzipped this file..

When I type “./configure”, the following error occurs:

[root@SERVER_JBOSS_235 httpd-2.2.22]# ./configure –prefix=/opt/work/apache2.2.22
checking for chosen layout… Apache
checking for working mkdir -p… yes
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
checking target system type… x86_64-unknown-linux-gnu

Configuring Apache Portable Runtime library …

checking for APR… reconfig
configuring package in srclib/apr now
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
checking target system type… x86_64-unknown-linux-gnu
Configuring APR library
Platform: x86_64-unknown-linux-gnu
checking for working mkdir -p… yes
APR Version: 1.4.5
checking for chosen layout… apr
checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: in `/opt/work/httpd-2.2.22/srclib/apr’:
configure: error: no acceptable C compiler found in $PATH
See `config.log’ for more details.
configure failed for srclib/apr
[root@SERVER_JBOSS_235 httpd-2.2.22]#

trying install the gcc (gcc-4.8.0-1.fc19.x86_64.rpm) the following error occurs:

[root@SERVER_JBOSS_235 installers]# rpm -ivh gcc-4.8.0-1.fc19.x86_64.rpm
warning: gcc-4.8.0-1.fc19.x86_64.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID fb4b18e6
error: Failed dependencies:
binutils >= 2.20.51.0.2-12 is needed by gcc-4.8.0-1.fc19.x86_64
cpp = 4.8.0-1.fc19 is needed by gcc-4.8.0-1.fc19.x86_64
glibc-devel >= 2.2.90-12 is needed by gcc-4.8.0-1.fc19.x86_64
libc.so.6(GLIBC_2.11)(64bit) is needed by gcc-4.8.0-1.fc19.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by gcc-4.8.0-1.fc19.x86_64
libc.so.6(GLIBC_2.7)(64bit) is needed by gcc-4.8.0-1.fc19.x86_64
libgcc >= 4.8.0-1.fc19 is needed by gcc-4.8.0-1.fc19.x86_64
libgmp.so.10()(64bit) is needed by gcc-4.8.0-1.fc19.x86_64
libgomp = 4.8.0-1.fc19 is needed by gcc-4.8.0-1.fc19.x86_64
libmpc.so.3()(64bit) is needed by gcc-4.8.0-1.fc19.x86_64
libmpfr.so.4()(64bit) is needed by gcc-4.8.0-1.fc19.x86_64
rpmlib(FileDigests) <= 4.6.0-1 is needed by gcc-4.8.0-1.fc19.x86_64
rpmlib(PayloadIsXz) <= 5.2-1 is needed by gcc-4.8.0-1.fc19.x86_64

What can I do?

I’m using Red Hat Enterprise Linux 5.8.

Thanks!!
Adriano Schmidt

From: http://www.unix.com/unix-dummies-questions-answers/221113-configue.html

Rise of the ATM Machines

By Rich Duprey, The Motley Fool

Filed under:

As various so-called reforms get passed by Congress, banks devise new schemes to get more fees out of consumers. ATMs have been a good source for much of the pillaging, and though banks have routinely opposed payday loans, their fees for accessing your money through an ATM are usurious enough to make payday lenders blush.

Paying through the nose
The FDIC found that if you overdrew your account by $20 from using an ATM and the bank charged you an average of $27 for doing so, it equated to an APR of $3,520%! And a $2 fee for withdrawing $20 works out to a 260% APR.

Now banks are lining up to make it even more expensive. Typically $20 has been the minimum amount you could withdraw from an ATM, but JPMorgan Chase rejiggered its next generation machines to allow withdrawals of $1 bills. Over the past year or so, some 400 such machines have debuted and it will double the number available by the end of 2013. PNC Financial has similarly reworked half of its 7,200 ATMS to allow them to dispense $5 and $1 bills, 

Considering the ATM transaction costs the bank far less than what it would if you used a real teller, the persistence and growth of ATM fees has become a cash cow for the banks. Certainly there’s an argument to be made for paying for the convenience of 24-hour access to your money, but the consumer can also rack up a costly bill if he or she is not paying attention.

Rise of SkyNet
Which makes Wells Fargo‘s new ATM personalized interface something of a worrisome advance even as it seeks to enhance a customer’s experience.

Based on your history with the ATM, you’ll get a snapshot of your account balance (though I’m guessing this won’t be a feature for non-Wells customers and it will continue charging a $2 fee to get your balance) along with one-click buttons for what you mostly do at the ATM. Are you constantly taking out $60 at a pop? You’ll have that button right on the home screen. It will even track how much you’ve taken out via ATM transactions. You can also set limits on how much you want to take out in a given period. 

Simplicity is a worthy goal, and you shouldn’t have to jump through hoops to get at your money. Of course, you shouldn’t have to pay so much to get it, either.

Know me better than my wife
Wells expects the new interface to be available on all of its 12,000 or so ATMs by next month. While the development is part of its “ATMs Know You Better” campaign and is a more positive technological advance than spewing out $1 bills — and cheaper for the consumer — this smart technology that changes based on your habits almost brings out the Luddite in me as I’m sure we’ll be paying for this interface through …read more
Source: FULL ARTICLE at DailyFinance

SuperMedia CIO to Speak at Dallas CIO Executive Leadership Summit

By Business Wirevia The Motley Fool

Filed under:

SuperMedia CIO to Speak at Dallas CIO Executive Leadership Summit

DALLAS–(BUSINESS WIRE)– SuperMedia (NAS: SPMD) Chief Information Officer (CIO) Michael Dunn joins a distinguished panel of CIOs from across the DFW area to discuss Leadership Strategies and Innovation at the 2013 Dallas CIO Executive Leadership Summit. During the panel, Dunn will share ideas and best practices to create a culture of innovation to drive business value and the challenges and opportunities of applying these skills across business landscapes. The summit will be held on April 3, 2013 at the Westin Galleria in Dallas.

During his tenure at SuperMedia, Dunn has led technology transformation for the company. Dunn is currently responsible for managing the delivery and support of technology solutions that enable the online, mobile, print, and social network distribution of advertising for SuperMedia clients. He manages the company’s technology strategy and architecture, infrastructure support, application development, software quality assurance, and application maintenance for all information systems within the enterprise. Dunn is also responsible for the development and support of digital products that are offered by SuperMedia, including Superpages.com®, the Yellow Pages by Superpages® and EveryCarListed.com® mobile applications. He has been charged with leading digital product development as well as rationalizing the IT systems and operations supporting SuperMedia as a leader in local advertising for small and medium businesses.

For more information about the Summit, please visit http://www.hmgstrategy.com/events/speakers.asp?eventID=45

About SuperMedia

SuperMedia Inc. (NAS: SPMD) and its marketing consultants in local communities help small- and medium-sized businesses grow using marketing solutions across print, online, mobile and social media. SuperMedia solutions include: the award-winning Superpages shopping guide mobile site and apps, SocialEze® social marketing solution and SuperGuarantee® program; search engine marketing, directories published for Verizon®, FairPoint® and Frontier®, Superpages.com®, website, video, search engine optimization and reputation monitoring; print and digital display advertising, direct mail solutions and EveryCarListed.com® to shop for new and used vehicles. For more information, visit www.supermedia.com.

SPMD-G

SuperMedia Inc.
Reace Smith, APR, 972-453-3642
reace.smith@supermedia.com

KEYWORDS:   United States  North America  Texas

INDUSTRY KEYWORDS:

The article SuperMedia CIO to Speak at Dallas CIO Executive Leadership Summit originally appeared on Fool.com.

Try any of our Foolish newsletter services …read more
Source: FULL ARTICLE at DailyFinance

Advance Auto Parts to Webcast a Portion of Its Investor and Analyst Conference on April 10, 2013

By Business Wirevia The Motley Fool

Filed under:

Advance Auto Parts to Webcast a Portion of Its Investor and Analyst Conference on April 10, 2013

ROANOKE, Va.–(BUSINESS WIRE)– Advance Auto Parts, Inc., (NYS: AAP) , a leading automotive aftermarket retailer of parts, batteries, accessories, and maintenance items today announced it will be holding an investor and analyst conference in Remington, Indiana on Wednesday, April 10, 2013. A portion of the conference including a management presentation followed by a question and answer session will be webcast live from 8:30 a.m. to 10:00 a.m. eastern time. The webcast will be available on the investor relations section of the Company’s website at www.AdvanceAutoParts.com. The webcast will be archived on the Company’s website until April 10, 2014.


About Advance Auto Parts

Headquartered in Roanoke, Va., Advance Auto Parts, Inc., a leading automotive aftermarket retailer of parts, accessories, batteries, and maintenance items, in the United States, serves both the do-it-yourself and professional installer markets. As of December 29, 2012, the Company operated 3,794 stores in 39 states, Puerto Rico, and the Virgin Islands. Additional information about the Company, employment opportunities, customer services, and online shopping for parts, accessories and other offerings can be found on the Company’s website at www.AdvanceAutoParts.com.

Advance Auto Parts, Inc.
Media Contact
Shelly Whitaker, APR, 540-561-8452
shelly.whitaker@advanceautoparts.com
or
Investor Contact
Joshua Moore, 952-715-5076
joshua.moore@advanceautoparts.com

KEYWORDS:   United States  North America  District of Columbia  Florida  New York  North Carolina  Virginia  West Virginia

INDUSTRY KEYWORDS:

The article Advance Auto Parts to Webcast a Portion of Its Investor and Analyst Conference on April 10, 2013 originally appeared on Fool.com.

Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.

Copyright © 1995 – 2013 The Motley Fool, LLC. All rights reserved. The Motley Fool has a disclosure policy.

(function(c,a){window.mixpanel=a;var b,d,h,e;b=c.createElement(“script”);
b.type=”text/javascript”;b.async=!0;b.src=(“https:”===c.location.protocol?”https:”:”http:”)+
‘//cdn.mxpnl.com/libs/mixpanel-2.2.min.js’;d=c.getElementsByTagName(“script”)[0];
d.parentNode.insertBefore(b,d);a._i=[];a.init=function(b,c,f){function d(a,b){
…read more
Source: FULL ARTICLE at DailyFinance

Accuride Corporation Sets Date of 2013 Annual Meeting of Stockholders

By Business Wirevia The Motley Fool

Filed under:

Accuride Corporation Sets Date of 2013 Annual Meeting of Stockholders

EVANSVILLE, Ind.–(BUSINESS WIRE)– Accuride Corporation (NYS: ACW) , a Delaware corporation (“the Company”), today announced that its 2013 Annual Meeting of Stockholders will be held on Tuesday, May 28, 2013, beginning at 3:00 p.m. Eastern Daylight Time at the offices of Latham & Watkins LLP, located at 885 Third Avenue, New York, N.Y. 10022.

The Company’s stockholders of record at the close of business on April 17, 2013, will be entitled to receive notice of the annual meeting and to vote upon matters considered at the meeting. Additional information regarding the annual meeting will be provided in the company’s Notice of Annual Meeting which will be mailed together with proxy materials to shareholders of record.

About Accuride Corporation

With headquarters in Evansville, Ind., USA, Accuride Corporation is a leading supplier of components to the North American commercial vehicle industry. The company’s products include commercial vehicle wheels, wheel-end components and assemblies, truck body and chassis parts, and other commercial vehicle components. The company’s products are marketed under its brand names, which include Accuride®, Accuride Wheel End Solutions™, Gunite®, Imperial™ and Brillion™. Accuride’s common stock trades on the New York Stock Exchange under the ticker symbol ACW. For more information, visit the Company’s website at www.AccurideCorp.com.

Accuride Corporation
Media Relations
Timothy G. Weir, APR,812-962-5128
Director of Public Affairs, Communications & Marketing
tweir@accuridecorp.com
or
Investor Relations
Chad Monroe,812-962-5041
Director of Corporate Development
cmonroe@accuridecorp.com

KEYWORDS:   United States  North America  Indiana  New York

INDUSTRY KEYWORDS:

The article Accuride Corporation Sets Date of 2013 Annual Meeting of Stockholders originally appeared on Fool.com.

Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.

Copyright © 1995 – 2013 The Motley Fool, LLC. All rights reserved. The Motley Fool has a disclosure policy.

(function(c,a){window.mixpanel=a;var b,d,h,e;b=c.createElement(“script”);
b.type=”text/javascript”;b.async=!0;b.src=(“https:”===c.location.protocol?”https:”:”http:”)+
‘//cdn.mxpnl.com/libs/mixpanel-2.2.min.js’;d=c.getElementsByTagName(“script”)[0];
d.parentNode.insertBefore(b,d);a._i=[];a.init=function(b,c,f){function d(a,b){
var c=b.split(“.”);2==c.length&&(a=a[c[0]],b=c[1]);a[b]=function(){a.push([b].concat(
Array.prototype.slice.call(arguments,0)))}}var g=a;”undefined”!==typeof f?g=a[f]=[]:
f=”mixpanel”;g.people=g.people||[];h=[‘disable’,’track’,’track_pageview’,’track_links’,
…read more
Source: FULL ARTICLE at DailyFinance

10 Incredible Ways You Can Save a Lot — Right Now!

By Sean Williams, The Motley Fool

Filed under:

In December, I offered up 11 great and easy ways that consumers could save money in 2013. These ideas ranged from paying off your high-interest credit cards and buying generic brands all the way down to customizing your health plan and eliminating your checking fees.

But yesterday, my grandfather lost his battle to cancer, and today I honor his memory by sharpening my pencil and dishing out an additional 10 ways that you can save money, right now, without significantly altering your living habits.

Getting a great deal
My relationship with my grandfather was built upon jokes. Literally, joke after joke, with perhaps the only serious moment coming when the check at the restaurant we’d meet up at came due. If there was one thing he truly loved, it was in knowing he was getting a great deal. The family quip between my dad and me when he wasn’t around was that we were “going to sharpen our pencil” when we we’re in search of a good deal on something. 

Here’s some fresh ideas inspired by my memory of my grandfather that could help save you money.

1. Refinance your mortgage
This is an easy one that I completely overlooked last time. What on Earth are you people with mortgages rates at 5% or higher still doing paying your loans? Stop trying to second-guess the next move in interest rates and be happy that we’re trudging along at a seven-decade-low in lending rates. A family with a 30-year mortgage at a 5% APR will pay nearly $280,000 in interest over the life of the loan. The current 30-year rate of 3.625% will lower your interest payment by roughly $87,000 over the life of the loan! That’s not chump change! Also, be decisive but picky when looking for your loan or a refinancer, as you can occasionally obtain lower costs by shopping around.

2. Stop living like you’re in the tropics
Unlike you Floridians and Southern Californians, I live in Seattle where we get these things called “seasons.” Seasons, for the remainder of the country, mean a noticeable use of the thermostat in the winter and summer. The key here to saving money is to reduce the extremism to which we utilize the thermostat. In the winter there is practically no need to set the needle at 78 degrees Fahrenheit, nor is there a need to peg the household temperature at 68 degrees if its 106 degrees outside. The California Energy Commission states on its webpage that every degree above 72 that you place your thermostat at in the summer will save you 1% to 3%. I tried this out myself and lowered my thermostat to 68 degrees from 70 degrees and noticed a nearly $50 cumulative reduction in my energy bill over the course of two months.

3. Buy LED lights
I admit to having bashed the heck out of Cree last week on a valuation basis, but its …read more
Source: FULL ARTICLE at DailyFinance

Accuride to Webcast March 21st Investor Presentation in Louisville

By Business Wirevia The Motley Fool

Filed under:

Accuride to Webcast March 21 st Investor Presentation in Louisville

EVANSVILLE, Ind.–(BUSINESS WIRE)– Accuride Corporation (NYS: ACW) – a leading supplier of components to the North American commercial vehicle industry – today announced that it will webcast its investor meeting presentation on Thursday, March 21, 2013 in Louisville, Ky. Accuride is hosting the meeting at the Crowne Plaza Louisville Airport, located at 830 Phillips Lane in Louisville.

Rick Dauch, Accuride President & CEO, and Greg Risch, Vice President & Chief Financial Officer, will speak to the investment community beginning at 10:00 a.m. Eastern Time.

Accuride’s presentation will be broadcast live through an audio webcast available at the Investors section of the Company’s website – www.AccurideCorp.com/Investors. Presentation slides will be available for download at the site and the webcast will be available for replay for 30 days following the event.

About Accuride Corporation

With headquarters in Evansville, Ind., USA, Accuride Corporation is a leading supplier of components to the North American commercial vehicle industry. The company’s products include commercial vehicle wheels, wheel-end components and assemblies, truck body and chassis parts, and other commercial vehicle components. The company’s products are marketed under its brand names, which include Accuride®, Accuride Wheel End Solutions™, Gunite®, Imperial™ and Brillion™. Accuride’s common stock trades on the New York Stock Exchange under the ticker symbol ACW. For more information, visit the Company’s website at www.AccurideCorp.com.

Accuride Corporation
Media Relations Contact
Timothy G. Weir, APR, Director of Public Affairs, Communications & Marketing, 812-962-5128
tweir@accuridecorp.com
or
Investor Relations Contact
Chad Monroe, Director of Corporate Development, 812-962-5041
cmonroe@accuridecorp.com

KEYWORDS:   United States  North America  Indiana  Kentucky

INDUSTRY KEYWORDS:

The article Accuride to Webcast March 21st Investor Presentation in Louisville originally appeared on Fool.com.

Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.

Copyright © 1995 – 2013 The Motley Fool, LLC. All rights reserved. The Motley Fool has a disclosure policy.

(function(c,a){window.mixpanel=a;var b,d,h,e;b=c.createElement(“script”);
…read more
Source: FULL ARTICLE at DailyFinance

2014 Volkswagen Beetle GSR Is Retro ‘Schnell’

By Kurt Ernst

2014 VW Beetle GSR - image: Volkswagen

2014 VW Beetle GSR – image: Volkswagen

While the original Volkswagen Beetle isn’t a car that most people associate with speed or driving excitement, VW still built the car in several popular limited editions. In 1972, the German automaker released a special-edition Beetle called the “Gelb-Schwartz Renner” (Yellow-Black Racer), or simply the Beetle GSR. Production was limited to just 3,500 units, and sales were restricted to Germany; in two months, the edition was sold out.

At this week’s Chicago Auto Show, Volkswagen is introducing a new Beetle GSR, based on the 2014 VW Beetle Turbo in Sunroof and Sound trim. The GSR package gets buyers a 10 horsepower bump in output (to 210 hp), 19-inch “Tornado” aluminum wheels, a gauge package with clock, stopwatch and boost pressure readouts and R-Line bumpers.

2014 VW Beetle GSR - image: Volkswagen

2014 VW Beetle GSR – image: Volkswagen

As you’d guess, the GSR wears yellow paint accented with black, and the same color theme spills over into the interior. Black leather seats are trimmed with yellow accent stitching, and the handbrake lever gets the same detailing. A steering-wheel mounted emblem identifies the car as one of just 3,500 built, same as with the original Beetle GSR.

2014 VW Beetle GSR - image: Volkswagen

2014 VW Beetle GSR – image: Volkswagen

Volkswagen says the 2014 Beetle GSR is capable of a 0-60 mph time of 6.6 seconds, which is quite an improvement on the original’s 0-60 mph time of around 19 seconds. If you want more thrust, higher output is just a phone call to your local APR dealer away.

2014 VW Beetle GSR

Unlike the original, the U.S. will get production of this GSR variant (though not all 3,500). Look for pricing to be published closer to the car’s third-quarter 2013 introduction.

…read more
Source: FULL ARTICLE at Automotive Addicts

Motorsports: Notes from day one of the Rolex 24 at Daytona

By Jonathon Ramsey

Filed under: , , ,

We came to Daytona Beach, Florida where you can drive on the beach, gun shops outnumber doughnut shops and you can putt-putt and fish for alligators at the same place. But we’re not here for any of that – we’ve made the trip with Audi in order to experience the Rolex 24 at Daytona, the first race in the 2013 Grand-Am season and the only 24-hour race in America.

Three teams are racing four Audi R8 Grand-Am cars – WeatherTech Racing, Rum Bum Racing and APR, which is running two cars. Shown to the world two years ago, the R8 Grand-Am is part of Audi Sport’s R8 LMS customer racing program that was commenced in 2008, and ever since 2009 has been nabbing success all over the world: In four years it has taken 154 victories and 17 series titles. That is with less than 100 cars sold to customers throughout the world, and the trophies – either class wins or overall victories – have been gathered from all of the major endurance races except one: Daytona.

Continue reading Notes from day one of the Rolex 24 at Daytona

Notes from day one of the Rolex 24 at Daytona originally appeared on Autoblog on Sat, 26 Jan 2013 14:30:00 EST. Please see our terms for use of feeds.

Permalink | Email this | Comments

Source: FULL ARTICLE at Autoblog