Join the question

Hello

I have a question where I am by selecting a field and counting values on a date of service. Together with a date dimension to pick up all values, even if there is no data available at the date of service, but car_no its not return don't not the car no with no data on the date of service.

The test script is less and the results expected:

CREATE TABLE Date_Dim
(
DateKey INTEGER NOT NULL,
DateValue DATE NOT NULL,
DAY TANK (10).
DayOfWeek INTEGER,
DayOfMonth INTEGER,
DayOfYear INTEGER,
PreviousDay DATE,
NextDay DATE,
WeekOfYear INTEGER,
MONTH CHAR (10),
MonthOfYear INTEGER,
QuarterOfYear INTEGER,
YEAR INTEGER
);

INSERT INTO date_dim
SELECT DateKey, to_number (TO_CHAR (CurrDate, 'YYYYMMDD'))
DateValue AS CurrDate,
DID to_char(CurrDate,'Day') DAY,
TO_NUMBER (to_char(CurrDate,'D')) AS DayOfWeek,
TO_NUMBER (to_char(CurrDate,'DD')) AS DayOfMonth,
TO_NUMBER (to_char(CurrDate,'DDD')) AS DayOfYear,
CurrDate - 1 AS the PreviousDay,.
CurrDate + 1 NextDay,
TO_NUMBER (to_char(CurrDate+1,'IW')) AS WeekOfYear,
HAVE to_char(CurrDate,'Month') MONTHS,
TO_NUMBER (to_char(CurrDate,'MM')) AS MonthofYear,
TO_NUMBER ((to_char(CurrDate,'Q'))) AS QuarterOfYear,
TO_NUMBER (to_char(CurrDate,'YYYY')) YEAR
Of
(SELECT level n,
To_date('31/12/2014','DD/mm/YYYY') + NUMTODSINTERVAL(level,'day') CurrDate
OF the double
CONNECTION level < = 5000
)
ORDER BY 1;

CREATE TABLE fact
(id NUMBER, NUMBER, DATE of car_no service_date
)
;

INSERT INTO VALUES of fact
("001, 1877, 9 JANUARY 2015 ')
);
INSERT INTO VALUES of fact
(' 002, 1877, 11 JANUARY 2015 ')
);
INSERT INTO VALUES of fact
(' 003, 1877, JANUARY 21, 2015 ')
);
INSERT INTO VALUES of fact
("004, 1877, 23 JANUARY 2015 ')
);
INSERT INTO VALUES of fact
("005, 1877, 29 JANUARY 2015 ')
);
INSERT INTO VALUES of fact
("006, 1900, JANUARY 21, 2015 ')
);
INSERT INTO VALUES of fact
("007, 1900, 23 JANUARY 2015 ')
);
INSERT INTO VALUES of fact
("008, 1900, 29 JANUARY 2015 ')
);
INSERT INTO VALUES of fact
("009, 2300, FEBRUARY 1, 2015")
);
INSERT INTO VALUES of fact
("010, 2300, FEBRUARY 28, 2015")
);

CREATE TABLE car_dim
(car_no NUMBER, car_name VARCHAR2 (3))
)
;

INSERT INTO car_dim VALUES
(1877, "PWA")
);
INSERT INTO car_dim VALUES
(1900, 'GHT')
);
INSERT INTO car_dim VALUES
(2300, "SDR")
);
INSERT INTO car_dim VALUES
(2308, "TRE")
);
INSERT INTO car_dim VALUES
(2300, "BIS")
);

-Request 1

Select f.car_no, count (*)
fact f, car_dim c, date_dim d
where f.car_no (+) = c.car_no
and f.service_date = d.nextday
and f.service_date = January 9, 2015.
GROUP BY f.car_no

-Expected results

CAR_NOCOUNT (*)
18771
19000
23000

-Request 2

Select f.car_no, count (*)

fact f, car_dim c, date_dim d

where f.car_no (+) = c.car_no

and f.service_date = d.nextday

and f.service_date = 1 January 2015"

GROUP BY f.car_no

CAR_NOCOUNT (*)
18770
19000
23000

Thanks for the inserts and create tables. Note that your insertions actually use varchars instead of dates you can fix this.

For a query 1, you want to basically all the cars and the County of facts for the date of January 9, 2015? Actually-, it appears that you want only the cars with the service.

SQL> ed
Wrote file afiedt.buf                                                         

  1  select c.car_no, count(case f.service_date
  2                         when to_date('09-JAN-2015', 'DD-MON-YYYY') then 1
  3                         else null end) cnt
  4  from car_dim c, fact f
  5  where c.car_no = f.car_no
  6* group by c.car_No
SQL> /                                                                        

    CAR_NO        CNT
---------- ----------
      1877          1
      1900          0
      2300          0

Tags: Database

Similar Questions

  • JOIN the question... Join two tables without omitting lines

    I came across a problem that should be an easy fix (I hope), but I'm having a hard time to come up with a solution.

    Basically I have two tables, one with the actual amounts with the budget. I have to write a sql statement select that joins these tables together and includes all of their lines. I was able to join the tables by using JOIN, LEFT JOIN and RIGHT JOIN, but it always fails the lines I need.

    Below, I have examples of my tables (AMOUNT_TABLE and BUDGET_TABLE). For simplicity, I built the examples to show the same values in the first four columns, with the 5th and 6th columns (SUB_ACCOUNT, AMOUNT, BUDGET) as the only values that are different. My actual tables are not quite that simple, but I don't think it was relavent to this issue.

    AMOUNT_TABLE

    FISCAL_YEAR PERIOD ACCT_UNIT ACCOUNT SUB_ACCOUNT AMOUNT

    2013

    111111555555000010020131111115555551000100201311111155555520001002013111111555555300010020131111115555554000100

    BUDGET_TABLE

    FISCAL_YEAR PERIOD ACCT_UNIT ACCOUNT SUB_ACCOUNT BUDGET

    2013

    1111115555553000200201311111155555540002002013111111555555500020020131111115555556000200

    Here's what I hope. Note that SUB_ACCOUNTs 0000, 1000, and 2000 show without budget amounts since there is not a corresponding line in the BUDGET_TABLE. And same for SUB_ACCOUNTs 5000 and 6000, they show budgets with no amount because there is not a corresponding line in the AMOUNT_TABLE.

    (exit)

    FISCAL_YEAR PERIOD ACCT_UNIT ACCOUNT SUB_ACCOUNT AMOUNT BUDGET
    201311111155555500001000
    201311111155555510001000
    201311111155555520001000
    20131111115555553000100200
    20131111115555554000100200
    201311111155555550000200
    201311111155555560000200

    If all goes well, my question is clear. Any help on this would be greatly appreciated. Thanks in advance.

    Use the join ANSI - FULL OUTER JOIN syntax:

    with amount_table like)

    Select fiscal_year 2013, 1 period, 11111 acct_unit, 555555, 0000 sub_account, amount 100 of all the double union

    Select 2013,1,11111,555555,1000,100 from all the double union

    Select 2013,1,11111,555555,2000,100 from all the double union

    Select 2013,1,11111,555555,3000,100 from all the double union

    Select double 2013,1,11111,555555,4000,100

    ),

    budget_table like)

    Select 1 time, 11111 acct_unit, account 555555, sub_account 3000, 2013 fiscal_year, budget of 200 Union double all the

    Select 2013,1,11111,555555,4000,200 from all the double union

    Select 2013,1,11111,555555,5000,200 from all the double union

    Select double 2013,1,11111,555555,6000,200

    )

    Select nvl (a.fiscal_year, b.fiscal_year) fiscal_year,

    period of NVL (a.period, b.period),

    NVL (a.acct_unit, b.acct_unit) acct_unit.

    account of NVL (a.Account, b.Account),

    NVL (a.sub_account, b.sub_account) sub_account.

    Amount NVL(a.amount,0),

    NVL(b.budget,0) budget

    of amount_table one

    full join

    budget_table b

    on)

    a.Fiscal_Year = b.fiscal_year

    and

    a.period = b.period

    and

    a.acct_unit = b.acct_unit

    and

    a.Account = b.account

    and

    a.sub_account = b.sub_account

    )

    /

    FISCAL_YEAR PERIOD ACCT_UNIT ACCOUNT SUB_ACCOUNT AMOUNT BUDGET
    ----------- ---------- ---------- ---------- ----------- ---------- ----------
    2013 1 11111 555555 0 100 0
    2013 1 11111 555555 1000 100 0
    2013 1 11111 555555 2000 100 0
    2013 1 11111 555555 3000 100 200
    2013 1 11111 555555 4000 100 200
    2013 1 11111 555555 6000 0 200
    2013 1 11111 555555 5000 0 200

    7 selected lines.

    SQL >

    SY.

  • First, I'm joining the forum with a question CS4 and CS5 Suite for Mac. Can someone tell me why it is NOT a place to submit a question as it is here?

    First, I'm joining the forum with a question CS4 and CS5 Suite for Mac. Can someone tell me why it is NOT a place to submit a question as it is here?

    Creative Suites Mac forum seems to be closed, so moved that Creative Suites Windows the Forum of Creative Suites "base".

    Then... Post your question and someone may be able to help... is your question about the installation of the old software on a new Mac?

    IF El Capitan Mac read below

    CS6 and previous programs have not been tested and will not be updated to run on Mac El Capitan

    -which means you are trying to use CS6 and earlier at YOUR risk of having problems

    -You can get CS6 and previous programs to install and run, or you can not (some do, some don't)

    -IF not, Details of the message from the error messages and a person may be able to help (just not Adobe)

    This information is a MUST to install old programs on Mac El Capitan

    -You can't get the same error message, but here are some links that CAN help with old programs

    -Java https://helpx.adobe.com/dreamweaver/kb/dreamweaver-java-se-6-runtime.html can help

    Install CS5 on Mac 10.11 https://forums.adobe.com/thread/2003455 can help (also for others than CS5)

    -also a TEMPORARY security change https://forums.adobe.com/thread/2039319

    -http://mac-how-to.wonderhowto.com/how-to/open-third-party-apps-from-unidentified-developer s-mac-os-x-0158095 /

    -the guardian https://support.apple.com/en-au/HT202491

  • two questions. question 1: join the clouds will give me access to QuarkXpress.

    two questions. question 1: join the clouds will give me access to QuarkXpress.

    QuarkXpress is not an Adobe product. The QuarkXpress product page is here http://www.quark.com/Products/QuarkXPress/.

    To see which products are included with Adobe Creative Software cloud go to this page https://creative.adobe.com/apps. There are learn more links for each of the products and services included.

  • Join the ACS 5.4 AD strange question

    Hello

    We have two ACS boxes with the same version of software (5.4.0.46.0a), we have been able to join the domain a that only ACS and other ACS are given the error attached.

    When we checked "main-acs-01 / admin # acs troubleshooting adcheck , he gave the same error for the two candidate countries, however an ACS successfully joined the domain and still others we failed."

    principal-acs-01 / admin # acs troubleshooting adcheck<>

    This command is only for advanced troubleshooting and could suffer a lot of network traffic

    Do you want to continue?  (yes/no) Yes

    OSCHK: Check that it is operating system: pass

    PATCH: Patch Linux check: pass

    PERL: Check that perl is present and is a good version: pass

    SAMBA: Inspection of the installation of Samba: pass

    SPACECHK: Check if there is enough space in/var/usr/tmp: pass

    HOSTNAME: Check the hostname parameter: pass

    NSHOSTS: Check the hosts line in /etc/nsswitch.conf: pass

    DNSPROBE: Probe Server DNS 172.24.1.1: pass

    DNSPROBE: Probe Server DNS 172.24.1.2: pass

    DNSCHECK: Analyze the health of DNS servers database: pass

    WHATSSH: Is it a SSH DirectControl works perfectly with: pass

    SSH: SSHD version and configuration: Note

    : You are running OpenSSH_5.3p1, CiscoSSL 0.9.8r.1.3.

    DOMNAME: Check that the domain name is reasonable: pass

    ADDC: Search for domain controllers in the DNS: pass

    ADDNS: Search DNS DC xxxx.                      : Pass

    ADPORT: Scan of Port DC xxxx.                       : Pass

    ADDNS: Search DNS DC xxxx.                     : Pass

    ADPORT: Scan of Port DC xxxx.                      : Pass

    ADDNS: Search DNS DC xxxx.                      : Failed

    : Could not resolve the IP address of xxxx.hmc.org.qa.

    ADDNS: Search DNS DC xxxx.                      : Pass

    ADPORT: Scan of Port DC xxxx.                       : Pass

    ADDNS: Search DNS DC xxxx.                   : Pass

    ADPORT: Scan of Port DC xxxx.                    : Pass

    ADDNS: Search DNS DC xxxx.                     : Pass

    ADPORT: Scan of Port DC xxxx.                      : Warning

    : One or several ports did not respond correctly. Either:

    (: a) the domain controller is offline

    (: b) a firewall prevents access to a port

    : The following is a list of ports has failed:

    : ldap 389/udp - timeout

    : 445/tcp smb - denied

    : ldap 389/tcp - denied

    ADDNS: Search DNS DC xxxx.                        : Pass

    ADPORT: Scan of Port DC xxxx.                         : Pass

    ADDNS: Search DNS DC xxxx.                        : Pass

    ADPORT: Scan of Port DC xxxx.                         : Pass

    ADDNS: Search DNS DC xxxx.                           : Pass

    ADPORT: Scan of Port DC xxxx.                            : Pass

    ADDNS: Search DNS DC xxxx.                    : Pass

    ADPORT: Scan of Port DC xxxx.                     : Pass

    ADDNS: Search DNS DC xxxx.                      : Pass

    GCPORT: Port scan of GC xxxx.                       : Pass

    ADDNS: Search DNS DC xxxx.                     : Pass

    GCPORT: Port scan of GC xxxx.                      : Pass

    ADDNS: Search DNS DC xxxx.                      : Failed

    : Could not resolve the IP address of airportdc1. .

    ADDNS: Search DNS DC xxxx.                      : Pass

    GCPORT: Port scan of GC xxxx.                       : Pass

    ADDNS: Search DNS DC xxxx.                   : Pass

    GCPORT: Port scan of GC xxxx.                    : Pass

    ADDNS: Search DNS DC xxxx.                     : Pass

    GCPORT: Port scan of GC xxxx. : WARNING

    : One or several ports did not respond correctly. Either:

    (: a) the GC is offline now

    (: b) a firewall prevents access to a port

    : The following is a list of ports has failed:

    : gc 3268/tcp - denied

    ADDNS: Search DNS DC xxxx.                        : Pass

    GCPORT: Port scan of GC xxxx.                         : Pass

    ADDNS: Search DNS DC xxxx.                        : Pass

    GCPORT: Port scan of GC xxxx.                         : Pass

    ADDNS: Search DNS DC xxxx.                           : Pass

    GCPORT: Scan of Port GC xxxx : pass

    ADDNS: Search DNS DC xxxx.                    : Pass

    GCPORT: Port scan of GC xxxx.                     : Pass

    ADGC: Check Global catalog servers: spend

    DCUP: Search for operational controllers : pass

    SITEUP: Check DCs for in our site: go

    DNSSYM: Check the symmetry of DNS server: pass

    ADSITE: Verify that the subnet of this machine is in a site known as AD: pass

    GSITE: See if we think it is the correct site: pass

    TIME: Synchronization of clocks Check: pass

    2 serious issues have been encountered during the audit. These must be fixed before proceeding

    2 warnings were encountered during the audit. We recommend that you check these before proceeding

    principal-acs-01 / admin #.

    The one facing this problem before and grateful if someone can tell how to solve this problem.

    It is a known issue with ACS 5.3 However, we had this problem in ACS 5.3 patch 7 and 5.4 of the ACS

    Since you're under 5.4 ACS, it should not trigger.

    CSCtx53223    After update 5.3 ACS fail to join the domain AD - lack of license Centrify

    Symptom:

    After the upgrade from 5.2 to 5.3, ACS is unable to join the domain. AD connection worked for several days, until the services have been restarted. After this, ACS is unable to join AD with the following in ACSADAgent.log error message:

    Jan 20 02:36:32 CBR1BACS01 Bordes [6814]: DEBUGGING cli.adjoin Join to area is permitted only with a licensed copy of DirectControl. Obtain a license or learn more about Centrify following http://www.centrify.com/express

    Jan 20 02:36:32 CBR1BACS01 Bordes [6814]: DEBUGGING cli.adjoin without a permit, you can connect to a domain via Auto Zone by specifying Bordes w Test.Test

    Conditions:

    Move from 5.2 to 5.3. Restart the services thereafter.

    Workaround solution:

    Save the ACS db and recreate the picture on the box to 5.3

    How upgrade to 5.4 ACS

    1.] updated to 5.3 to 5.4 using the upgrade package.

    2.] reianged with ACS 5.4 ISO and restored the database ACS 5.3.

    I suggest you to prosecute on this TAC. [Most likely you must reimage the server and restore the database if you had crossed with option 1.]

    ~ BR
    Jatin kone

    * Does the rate of useful messages *.

  • DNS question... Help, please. Cannot join the client to the domain.

    I played with workstation 10 for about a day now.

    I'm pretty green when it comes to the DNS configuration. The reason for it, for the experience.

    I created a Virtual Server R2 of 2012 and a VM 7 Win machine. I'm trying to join the VM 7 Win the field laboratory.
    I've already promoted the server to be a domain controller.

    The error I get is:

    An attempt to resolve the DNS of a domain controller in the domain being joined has failed. Please check that this client is set to reach a DNS server that can resolve DNS names in the target domain.

    Not sure what is the cause.

    In the IPV4 properties, I changed the DNS server to use the IP address of the domain controller that I read but still no luck.

    Also how can I set up the network for the VM?

    Thank you

    Jason

    Come on come on client machine Winodows 7 > network and sharing Center > adapter set it > right click Local area connection and click Properties

    Double-click PTC/IPv4

    In the preferred DNS server, type the IP Address of the domain controller and see if that helps the problem.

    Also check if the firewall is blocking communication. Disable the firewall and check.

  • How do I get this off my departure to the top of the page, what kind of Web do you want? Join the Firefox users around the world, shape its future.

    I googled and upon my departure to the top of page, under Google search space, that question is beneath him.
    What kind of Web you want? Join the Firefox users around the world, shape its future. I don't like it and want to remove it. I did it ask me, but that it contains to appear?
    Thank you

    Hi Demberg, regarding your problem of message on the home page of firefox, I think that not fair to say that you can't remove it. Indeed, it is a message to get involved.

    I hope I've been helpful.

    romsdu81

  • Joined the community of Apple support by mistake

    While trying to find the answer to a problem with iTunes, I joined the community of apple support by mistake thinking this, he had to join the blog.  I have little experience with support questions and desire to retire from this.  My email is now get 100 more per day - not that I can help with any questions.

    Suggestions welcome.

    Just click on your user name, and it will take you to your profile screen. Click on Preferences and disable the email option. You won't get email more.

    See you soon,.

    GB

  • Join the SCCM R2 2012 primary site in front of the pile of pre-existing R2 SCCM 2012

    Hello

    I have a client who intends to install in his office in El El Salvador a SCCM 2012 R2 server as the main site.

    This new server want and then attach to the hierarchy who have already installed in Spain, who have a SCCM 2012 R2 server with the role IF.

    The areas between the two offices are different forests, working for allowing communication between the two offices using trust relationships in Active Directory.

    The question I have is, if we can install SCCM primary site and possibly join the existing CAS server?

    Thanks to advice.

    Best regards

    Manual

    Hello

    SCCM is not supported in these forums. I suggest that you try to repost your question in the relevant forum on Microsoft TechNet:

    https://social.technet.Microsoft.com/forums/en-us/home

    Thank you.

  • Windows Vista Server Log-on the question

    When I try to log on to a file server, I get the user name and password window. My computer Windows Vista keeps adding the name of account before the user name when I click the OK button to open a session. Of course, it then then tells me I have the wrong user name or password. Anyone know how I can disable this function?

    Hi Dave,.

    Since your question involves the use of the file server please join the TechNet community for assistance. They specialize in THIS type of environment Pro and will be better suited to help you.

    TechNet community

    http://social.technet.Microsoft.com/forums/en/itprovistanetworking/threads

  • Unable to join the domain "DNS name does not exist."

    Working on this computer remotely in my company, it has more a problem but at this moment, that we focus on trying to reach the area. We removed everything first to see if it would fix the trust relationship issues she felt the long side not being able to browse the files all computer network or servers.
    When trying to join the field, that's what we get in the dcdiag.txt in the debug folder.
    The domain name 'xxxxx' can be a NetBIOS domain name.  If this is the case, check that the domain name is properly registered with WINS.
    If you are certain that the name is not a NetBIOS domain name, then the following information can help you troubleshoot your DNS configuration.
    The following error occurred when DNS was questioned about the resource record (SRV) service location used to locate an Active Directory (AD DC) domain controller for the domain "xxxxx":
    The error was: "the DNS name does not exist."
    (0x0000232B RCODE_NAME_ERROR error code)
    The query was for the SRV record for _ldap._tcp.dc._msdcs.xxxxx
    Common causes of this error are:
    -The DNS SRV records to locate an AD DC for the domain are not registered in DNS. These records are automatically saved with a DNS server when an AD domain controller is added to a domain. They are updated by the AD DC at set intervals. This computer is configured to use DNS servers with the following IP addresses:
    198.6.1.5
    198.6.100.38
    -One or more of the following areas do not include delegation to its child zone:
    XXXXX
    . (the root zone)
    XXXXX = domain
    Also the listed IP addresses have been changed.

    I worked on this computer for about 2 days, and then the user is able to work remotely with a server terminal server, they will need access to the server later.

    Reset the network device - completely.  Uninstall the network driver and have someone there install the latest manufacturer.

    Manually enter the DNS information for the DNS servers of your company on the computer - even if it uses DHCP.

    Make sure that its time/time zone is the same as your DNS server.

    Reset all default HOSTS file.

    Ping the DNS server.

    When you join - use the FQDN (mycompany.local, etc..)

  • Cannot join the homegroup

    I have two computers windows 7. One is a desktop computer and one is a laptop. I have a printer connected to my desktop computer. I'm trying to implement a homegroup on my desktop, so I can print from the files from my laptop and my desktop on my laptop access.

    I use AT & T as ISP and received a 2WIRE router/gateway to AT & T (Uverse).

    I access Internet through a wired connection from my desktop to the router/gateway and I have access to the Internet via a wireless connection from my laptop to the router/gateway.

    I have the driver for my printer on both computers.

    I created a homegroup on my desktop computer. I have received and printed the password of the residential group created on the desktop.

    When I on my laptop, I don't get the screen asking to join the home group. The screen I received looks like the screen that allows me to create a home on my lap top group.

    I want the House Group to set up on my office and share with my laptop.

    I spent reviewing the documents on the Internet to diagnose the problem without success.

    I don't think that my lap top using the correct network to find the homegroup (just a guess). I need to be able to connect but computers to the Internet without degradation of the service.

    Any help would be appreciated.

    Greg

    Original title: joined the homegroup

    Hi Greg,.

    You get an error message while trying to join the Group of House?

    I suggest going through the article and follow the steps. Here is the link for your reference.

    Why I can't join a homegroup?

    http://Windows.Microsoft.com/en-us/Windows7/why-can-t-I-join-a-HomeGroup

    Additional information:

    Homegroup from start to finish

    http://Windows.Microsoft.com/en-us/Windows/HomeGroup-help#HomeGroup-start-to-finish=Windows-7&V1H=win81tab1&V2H=win7tab1

    Homegroup: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/HomeGroup-frequently-asked-questions

    Hope the helps of information. Let us know if you need help with Windows related issues. We will be happy to help you.

  • force GBA v.5 to join the domain with a certain domain controller

    Hello world

    I try to join a CBS c. 5.3 to the domain.  My acs in A location, I can join without problem using my account. When I try to join the ACS in location B to the same domain with the same account, it does not work.

    I looked for the ad client debugging logs and noticed that the ACS in location B goes to some a domain controller. However, I would have expected the ACS to contact a different DC, located on the same site that GBA... This does not happen.

    My question: how to determine what contact DC GBA? Is it possible to force HQ to reach by connecting a certain DC?

    Thanks for any help or ideas?

    IDA

    Hello

    Please check your sites and services in your DNS configuration to see if the right domain controllers are sent to the ACS when attempting to connect to the domain. This function is essential and allows to optimize the links that GBA chooses to join the domain.

    The way this works is that ACS is trying to resolve dns records for the global catalog servers and domain controllers for the dns server configured in the initial installation script. Then the dns makes a decision based on the source ip address of the dns request and think that the ACS is in a specific site and returns the result which domain controllers and global catalogs is configured in this specific site.

    Let me know if this helps.

    Tarik Admani
    * Please note the useful messages *.

  • Old famous problem - AP LAP1142N cannot join the controller - 4402, please participate, we will make a good guide!

    Hello people,

    I'm sorry for bringing this debate again. I would not dare to ask this question, if I find someone is clear cut suggestion/solution or an overview giving a detailed step by step procedure. Just people suggest jumping through hoops as much as the reset of the AP or conversion to stand-alone mode and then back to LWAPP.

    Therefore, I have so many questions and hope that we can make a good guide that covers all possible problems.

    (1) AP originally ran a stand-alone image.  I started in so-called ROMMON or AP mode (ESC is the right key to start in this mode)

    I found a recovery image in its flash - c1140-rcvk9w8-mx. I did start it AP with him using the 'set' command and I see that it start to boot using this recovery image. That is the question. All the parameters of the AP matter? For example, when I run the command "set" of the PA, I see the following:

    AP: the value

    ?=

    DEFAULT_ROUTER = 10.0.0.1

    Default_router = 10.9.99.1

    ENABLE_BREAK = yes

    IP_ADDR = 10.0.0.1

    IP_AddR = 10.9.99.9

    MANUAL_BOOT = no

    NETMASK = 255.255.255.224

    NEW_IMAGE = yes

    PWR_INJECTOR_DETECT = 0016.c7fa. B394

    RELOAD_REASON = 9

    ROM_PERSISTENT_UTC = 1014941470

    TERMLINES = 0

    subnet mask = 255.255.255.0

    (2) how do something like "write erase" or even to recover the enable password while being in AP mode? Do I really need to do? What I see then makes me believe there is something with the AP (including SSH) configuration that prevents a join AP WLC.

    (3) the access point is turned on, connected to the switchport on the same VLAN L2 where WLC management interface. Then it starts and gets an IP address from the DHCP server located on another switch.

    * 00:00:08.695 Mar 1: % CAPWAP-5-CHANGED: CAPWAP changed state of DISCOVERY

    * 00:00:08.705 Mar 1: % CDP_PD-2-POWER_LOW: all disabled radios - AC_ADAPTOR (0000.0000.0000)

    * 00:00:09.629 Mar 1: % LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed State to

    * 00:00:17.534 Mar 1: % ADDRESS_ASSIGN-6-DHCP: Interface GigabitEthernet0 assigned address DHCP 192.168.1.122, mask 255.255.255.0, hostname AP2

    Here's the question, why I see this on the console (pay attention to the line "transport input ssh")? It has nothing to do with an error for DTLS?

    * 12:44:21.034 Apr 12: % CAPWAP-5-CHANGED: CAPWAP changed state of DISCOVERY

    * 12:44:31.000 Apr 12: % CAPWAP-5-DTLSREQSEND: DTLS connection request sent peer_ip: 192.168.1.141 peer_port: 5246

    * 12 Apr 12:44:55.000: DTLS_CLIENT_ERROR:... /DTLS/dtls_connection_db.c:1924 retransmission count Max reached!

    * 12:44:55.000 Apr 12: % DTLS-3-HANDSHAKE_RETRANSMIT: Max retransmit count for 192.168.1.141 is reached.

    entry ssh transport

    ^

    Invalid entry % detected at ' ^' marker.

    (4) what I need to connect the PA-Manager controller interface to the network, or I can count on the AP the WLC find through its management interface. I've never worked with the 4400 series controllers. It all started with 5500 and they do not have the ap interface - manager.

    Cisco Guide says: "the management interface is also used for communications between access points and WLC layer two", so I assume that this is enough. Moreover, I can ping the AP of the WLC when connected to WLC via SSH and its management interface.

    (5) and finally, what is the problem with the discovery? That's what I see on the controller debugging capwap packages:

    Debugging (cisco Controller) > * spamReceiveTask: 12:53:52.253 Apr 12: <  start="" of="" capwap="" packet ="">>

    * spamReceiveTask: 12:53:52.253 Apr 12: control of CAPWAP mesg 192.168.1.122 Recd, Port 57046

    * spamReceiveTask: 12:53:52.253 Apr 12: 4, HLEN, Radio ID 0, WBID 1

    * spamReceiveTask: 12:53:52.253 Apr 12: Type of Msg: CAPWAP_DISCOVERY_REQUEST

    * spamReceiveTask: 12:53:52.253 Apr 12: Msg length: 29

    * spamReceiveTask: 12:53:52.253 Apr 12: Msg SeqNum: 0

    * spamReceiveTask: 12:53:52.253 Apr 12:

    * spamReceiveTask: 12:53:52.253 Apr 12: Type: CAPWAP_MSGELE_DISCOVERY_TYPE, length 1

    * spamReceiveTask: 12:53:52.253 Apr 12: Type of discovery: CAPWAP_DISCOVERY_TYPE_UNKNOWN

    * spamReceiveTask: 12:53:52.253 Apr 12:

    * spamReceiveTask: 12:53:52.253 Apr 12: Type: CAPWAP_MSGELE_WTP_FRAME_TUNNEL, length 1

    * spamReceiveTask: 12:53:52.253 Apr 12: the Tunnel Mode of frame WTP: NATIVE_FRAME_TUNNEL_MODE

    * spamReceiveTask: 12:53:52.253 Apr 12:

    * spamReceiveTask: 12:53:52.253 Apr 12: Type: CAPWAP_MSGELE_WTP_MAC_TYPE, length 1

    * spamReceiveTask: 12:53:52.253 Apr 12: WTP Mac Type: SPLIT_MAC

    * spamReceiveTask: 12:53:52.253 Apr 12:

    * spamReceiveTask: 12:53:52.253 Apr 12: Type: CAPWAP_MSGELE_VENDOR_SPECIFIC_PAYLOAD, length 10

    * spamReceiveTask: 12:53:52.253 Apr 12: identifier of the seller: 0 x 00409600

    * spamReceiveTask: 12:53:52.254 Apr 12:

    Discovery and how are we? L2 or L3?

    What about the rest of this thread is all over the place...:

    Can you confirm that the Interface of management and the Manager AP are both in the same vlan, same subnet and are configured with the same Port number?

    All these cases to 1 FPS and which port to connect has concerned me divide you the ports or something...

    The first provided newspapers imply that the AP could not reach at the AP Manager (but that the discovery of the Management Interface was very good)

    Newspapers second condition means that the AP never discovered a WLC at all (no attempt to join)...

    But then again, as Leo referenced, the area of Canada that I guess is a no - n... so maybe that was your problem original throughout and the 3600 join just because it is not compatible.

  • Join the public network through the firewall option MCU Conference

    Hello world! Lately, we have a goal to jabber (without vpn) of internet users to join conferences within our network. Our telepresence infrastructure includes VCS, MCUS and endpoints (MX, SX). I discovered that MCU (4505) has a feature called video firewall option (under license). My question is whether it will be sufficient to achieve our goal? I've also heard that VCS expressway is used. What is the difference between these two?

    Firewall MCU option just the second NETWORK card, so you can have one with a public IP address and the second with a private IP address (essentially NAT'ed), and the internal and external clients will be connecting to a virtual meeting room common pre-configured on the MCU.

    The VCS-E (Expressway) works in tandem with your VCS - C to offer secure firewall courses. VCS - C is located on the inside of you firewall and the VCS-E is normally in the demilitarized zone.

    This allows, among other things, external systems to call your systems using H.323 and SIP URI dial, this includes clients of JabberVideo, but not Jabber client CPU.

    For Jabber clients you would deploy normally expressway-e series, see http://www.cisco.com/c/en/us/products/collateral/unified-communications/expressway-series/datasheet-c78-730478.html and http://ciscocollab.wordpress.com/2014/01/29/deploying-collaboration-edge/ - whether it will work with your existing deployment is another story, you might be better off ultimately to something similar to Pexip or Acano - both were developed by former TANDBERG/Codian/Cisco engineers.

    /Jens

    Please note the answers and score the questions as "answered" as appropriate.

Maybe you are looking for

  • Satellite A100-188: is it possible to install Windows Vista?

    can I use Vista on the A100-188?

  • Re-install Windows 8 (get a copy on DVD)

    OK, I bought a m6 on Box HP Envy laptop (I'm in love ),... It came with Windows 8. I immediately upgraded to 8.1 Windows Problem is that I do not see any Windows 8 serial # on it. I get a SSD drive soon and I don't want to clone the current drive, I

  • Failed to install the update to Windows 7.

    Windows 7 Pro, home & student Office, Outlook 2010 installed.  Updates are downloaded outmaticaly.  During the power on the system hangs for at least 10 minutes with a message is displayed:Updates configuration Windows, 0% complete, do not turn off t

  • How can I get rid of this strange terrible rolling type of scrolling? It makes me nausous.

    When I scroll a page for this one weird thing of working capital rather than go right down.  It's like a wave effect and I want what it gone as soon as possible.  It makes me sick at heart.

  • KeyPass

    Mozilla had a program "keypass. Password generation/protection looked like I wanted to. However, when I installed & looked @ the turorial I had no idea how to run the program. I tried to help also without any help. Anyone has an idea on how to use th