<?xml version="1.0" encoding="us-ascii"?><InstanceReport xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Version>2.4.0.8</Version><ReportLongName>0012 - Disclosure - 5. ALANCO ENERGY SERVICES</ReportLongName><DisplayLabelColumn>true</DisplayLabelColumn><ShowElementNames>false</ShowElementNames><RoundingOption /><HasEmbeddedReports>false</HasEmbeddedReports><Columns><Column FlagID="0"><Id>1</Id><IsAbstractGroupTitle>false</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><CurrencyCode /><FootnoteIndexer /><hasSegments>false</hasSegments><hasScenarios>false</hasScenarios><MCU><KeyName /><CurrencySymbol /><contextRef><ContextID>From2012-07-01to2013-06-30</ContextID><EntitySchema>http://www.sec.gov/CIK</EntitySchema><EntityValue>0000098618</EntityValue><PeriodDisplayName /><PeriodType>duration</PeriodType><PeriodStartDate>2012-07-01T00:00:00</PeriodStartDate><PeriodEndDate>2013-06-30T00:00:00</PeriodEndDate><Segments /><Scenarios /></contextRef><UPS /><CurrencyCode /><OriginalCurrencyCode /></MCU><CurrencySymbol /><Labels><Label Key="CalendarSupplement" Id="0" Label="12 Months Ended" /><Label Key="Calendar" Id="1" Label="Jun. 30, 2013" /></Labels></Column></Columns><Rows><Row FlagID="0"><Id>1</Id><IsAbstractGroupTitle>true</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><Level>1</Level><ElementName>ALAN_NotesToFinancialStatementsAbstract</ElementName><ElementPrefix>ALAN_</ElementPrefix><IsBaseElement>false</IsBaseElement><BalanceType>na</BalanceType><PeriodType>duration</PeriodType><IsReportTitle>false</IsReportTitle><IsSegmentTitle>false</IsSegmentTitle><IsCalendarTitle>false</IsCalendarTitle><IsEquityPrevioslyReportedAsRow>false</IsEquityPrevioslyReportedAsRow><IsEquityAdjustmentRow>false</IsEquityAdjustmentRow><IsBeginningBalance>false</IsBeginningBalance><IsEndingBalance>false</IsEndingBalance><IsReverseSign>false</IsReverseSign><FootnoteIndexer /><Cells><Cell FlagID="0" ContextID="" UnitID=""><Id>1</Id><IsNumeric>false</IsNumeric><IsRatio>false</IsRatio><DisplayZeroAsNone>false</DisplayZeroAsNone><NumericAmount>0</NumericAmount><RoundedNumericAmount>0</RoundedNumericAmount><NonNumbericText /><FootnoteIndexer /><CurrencyCode /><CurrencySymbol /><IsIndependantCurrency>false</IsIndependantCurrency><ShowCurrencySymbol>false</ShowCurrencySymbol><DisplayDateInUSFormat>false</DisplayDateInUSFormat></Cell></Cells><ElementDataType>xbrli:stringItemType</ElementDataType><SimpleDataType>string</SimpleDataType><IsTotalLabel>false</IsTotalLabel><UnitID>0</UnitID><Label>Notes to Financial Statements</Label></Row><Row FlagID="0"><Id>2</Id><IsAbstractGroupTitle>false</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><Level>2</Level><ElementName>ALAN_AlancoEnergyServicesDisclosureTextBlock</ElementName><ElementPrefix>ALAN_</ElementPrefix><IsBaseElement>false</IsBaseElement><BalanceType>na</BalanceType><PeriodType>duration</PeriodType><IsReportTitle>false</IsReportTitle><IsSegmentTitle>false</IsSegmentTitle><IsCalendarTitle>false</IsCalendarTitle><IsEquityPrevioslyReportedAsRow>false</IsEquityPrevioslyReportedAsRow><IsEquityAdjustmentRow>false</IsEquityAdjustmentRow><IsBeginningBalance>false</IsBeginningBalance><IsEndingBalance>false</IsEndingBalance><IsReverseSign>false</IsReverseSign><FootnoteIndexer /><Cells><Cell FlagID="0" ContextID="From2012-07-01to2013-06-30" UnitID=""><Id>1</Id><IsNumeric>false</IsNumeric><IsRatio>false</IsRatio><DisplayZeroAsNone>false</DisplayZeroAsNone><NumericAmount>0</NumericAmount><RoundedNumericAmount>0</RoundedNumericAmount><NonNumbericText>&lt;p style="margin: 0pt"&gt;&lt;/p&gt;

&lt;p style="font: 8pt Times New Roman, Times, Serif; margin: 0 0 0 27pt; text-align: justify"&gt;During fiscal 2012, the Company formed
Alanco Energy Services, Inc. (&amp;#147;AES&amp;#148;), a wholly owned subsidiary, and in April 2012 executed an agreement with TC Operating,
LLC (&amp;#34;TCO&amp;#34;) of Grand Junction, CO to transfer a land lease for approximately 24 acres near Grand Junction, CO and all
related assets to AES with the intent for AES to construct facilities for the treatment and disposal of large quantities of produced
water generated by oil and natural gas producers in Western Colorado. The site was chosen due to its unique ability to meet stringent
government requirements for disposal of the high saline water produced as a by-product of oil and gas production, and termed &amp;#34;produced
water&amp;#34;. The agreement included the transfer of all related tangible and intangible assets as well as Federal, State and County
permits (issued or in process) required to construct the facilities. The lease terms payable to the landlord include a minimum
monthly lease payment of $100 per acre ($2,400 per month) during the initial ten year term of the lease, plus approximately $.25
per barrel of produced water received at the site. The design and construction of the Deer Creek water disposal facility required
certain changes to the Goodwin Solid Waste facility (&amp;#147;Goodwin&amp;#148;) resulting in extra costs to the landlord, who also
owned Goodwin. As incentive for the landlord to approve the facility design, AES agreed to limit landlord construction improvement
costs related to the leased land to $200,000. Included in the $200,000 limited amount was $100,000 of landlord improvement costs
to be paid by AES and reimbursed through a 50% credit against the $.25 per barrel royalty payments due landlord discussed above.
AES recorded the $100,000 payment as prepaid royalties.&lt;/p&gt;

&lt;p style="font: 8pt Times New Roman, Times, Serif; margin: 0 0 0 27pt; text-align: justify"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt Times New Roman, Times, Serif; margin: 0 0 0 27pt; text-align: justify"&gt;TCO can also earn deferred purchase
price payments based upon a percentage of the net cumulative EBITDA (net of all related AES capital investments) over a period
of approximately 10 years (contingent deferred payment), approximately the initial term of the lease. Under certain circumstances,
the acreage covered by the lease may be expanded by up to 50 acres to allow for additional expansion at the site. See Note 10 -
Fair Value - Contingent Payments for additional discussion of the contingent deferred payment.&lt;/p&gt;

&lt;p style="font: 8pt Times New Roman, Times, Serif; margin: 0 0 0 27pt; text-align: justify"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt Times New Roman, Times, Serif; margin: 0 0 0 27pt; text-align: justify"&gt;During April 2012, AES also entered
into a definitive agreement with Deer Creek Disposal, LLC (&amp;#34;DCD&amp;#34;) whereby AES acquired a 160 acre site near Grand Junction,
CO, for additional expansion to the proposed water&lt;/p&gt;

&lt;p style="font: 8pt Times New Roman, Times, Serif; margin: 0 0 0 27pt; text-align: justify"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt Times New Roman, Times, Serif; margin: 0 0 0 27pt; text-align: justify"&gt;treatment and disposal facility. As
consideration for the land purchase, AES paid $500,000 at the April 13, 2012 closing and assumed a non-interest bearing, secured,
$200,000 note due November 15, 2012, which was repaid upon maturity. AES has also agreed to potential additional quarterly earn-out
payments to DCD up to a maximum total of $800,000, generally determined as 10% of quarterly revenues in excess of operating expenses
up to $200,000 per quarter (contingent land payment). See Note 10 &amp;#150; Fair Value - Contingent Payments for additional discussion
of the contingent land payment. The land, known as Indian Mesa, is currently undeveloped as the Company is in the permitting process.&lt;/p&gt;

&lt;p style="font: 8pt Times New Roman, Times, Serif; margin: 0 0 0 27pt; text-align: justify"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt Times New Roman, Times, Serif; margin: 0 0 0 27pt; text-align: justify"&gt;Related to the treatment and disposal
facilities, AES also entered into a management agreement with TCO to manage the project for a monthly management fee of $10,000
initially and $20,000 after final permits are attained. In an amendment to the TCO agreement, TCO agreed to provide certain administrative
duties for AES and the management fee was increased to $23,000 per month. In addition, the Company agreed to pay TCO, at closing,
up to $85,000 and issue 40,000 shares of Common Stock of Alanco Technologies, Inc. as reimbursement for past expenses and efforts
in acquiring permits and for past management services and a covenant not to compete. The initial term of the management agreement
expired in January 2013 and is continuing on a month to month basis.&lt;/p&gt;



&lt;p style="margin: 0pt"&gt;&lt;/p&gt;</NonNumbericText><FootnoteIndexer /><CurrencyCode /><CurrencySymbol /><IsIndependantCurrency>false</IsIndependantCurrency><ShowCurrencySymbol>false</ShowCurrencySymbol><DisplayDateInUSFormat>false</DisplayDateInUSFormat></Cell></Cells><ElementDataType>nonnum:textBlockItemType</ElementDataType><SimpleDataType>na</SimpleDataType><ElementDefenition>No authoritative reference available.</ElementDefenition><ElementReferences>No definition available.</ElementReferences><IsTotalLabel>false</IsTotalLabel><UnitID>0</UnitID><Label>5. ALANCO ENERGY SERVICES</Label></Row></Rows><Footnotes /><IsEquityReport>false</IsEquityReport><ReportName>5. ALANCO ENERGY SERVICES</ReportName><MonetaryRoundingLevel>UnKnown</MonetaryRoundingLevel><SharesRoundingLevel>UnKnown</SharesRoundingLevel><PerShareRoundingLevel>UnKnown</PerShareRoundingLevel><ExchangeRateRoundingLevel>UnKnown</ExchangeRateRoundingLevel><HasCustomUnits>true</HasCustomUnits><IsEmbedReport>false</IsEmbedReport><IsMultiCurrency>false</IsMultiCurrency><ReportType>Sheet</ReportType><RoleURI>http://alanco.com/role/AlancoEnergyServices</RoleURI><NumberOfCols>1</NumberOfCols><NumberOfRows>2</NumberOfRows></InstanceReport>
