Basic CSS Troubleshooting commands
What are some basic troubleshooting commands to look for items such as how many users on a content vip, how many users are using the services for a vip - are the services truly balanced, other items concerning utilization of the content & services, utlization of the CSS as a whole.
Thank You,
Drew
A few to add
sh rule-summary -- To check the Content Statistics. No of connections
Find ip address -- Displays configuration lines with real IP address
* Does not work for Virutual IP
Show log sys.log tail XX -- To check the log
XX: No. of lines
llama --Debug mode (use caution)
Similar Messages
-
I Lost my BASIC tool bar command. I Need to get it back, please !!!
Hi ! Good Morning ! Last week I Had a problem and you guys helped to fixed it. Today, one again I have the same problem and I don´t remember how to fix it. I Lost my BASIC tool bar command. I Need to get it back, please !!!
Missing Panels/Modules - Lightroom Forums
-
CSS Troubleshooting "advanced-balance url" based on string-range
Hi together,
a questions for troubleshooting "string range stickyness".
I configured a content rule:
content L5_HTTP_81
vip address 192.168.1.1
balance aca
no persistent
protocol tcp
port 81
url "/*"
advanced-balance url
add service service1 weight 1
add service service2 weight 1
string range 30 to 255
string eos-char "_"
string prefix "shopId="
active
service service1
ip address 10.1.128.23
keepalive maxfailure 2
protocol tcp
redundant-index 2102
keepalive frequency 15
keepalive retryperiod 10
keepalive type http
keepalive port 80
keepalive method get
keepalive uri "/admin/Ping.simple"
string 148.49
port 80
active
service service2
ip address 10.1.128.22
keepalive maxfailure 2
protocol tcp
redundant-index 2101
keepalive type http
keepalive method get
keepalive frequency 15
keepalive retryperiod 10
keepalive port 80
keepalive uri "/admin/Ping.simple"
string 148.48
port 80
active
1. I take a string from the 30rd to 255 character out of the URL starting at "/".
2. Now I search for a string between "shop_Id=" and "_", on which the stickyness is based.
3. string "148.49" is allocated to service1, string "148.48" is allocated to service2.
Is there any possibillity to view or debug the handling, how the string is matched in the http request and on which service the request is forwarded ?
thanks in advance
saschaHere is the command reference. take a look at the available commands.
http://www.cisco.com/univercd/cc/td/doc/product/webscale/css/css_710/cmdrefgd/index.htm -
I am posting as a newbie trying to understand the programming errors I am creating in my code. I posted last week concerning an error message I was receiving in a simple program I was creating while trying to learn from the "Learning Java" book. Everyone was very helpful then. I have another programming error I am attempting to understand and would appreciate any help you guys can provide.
In my current project I have an error message that states "<identifyer> expected". This is occurring at the end of my code at this line:
Synchronized private Color currentColor() {
return someColors[colorIndex];
}Here is the complete program:
* HelloJava3.java
* Created on February 2, 2007, 3:57 PM
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
package hellojava3;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
* @author singraham
public class HelloJava3 {
* Creates a new instance of HelloJava3
public HelloJava3() {
* @param args the command line arguments
public static void main(String[] args) {
JFrame frame = new JFrame("HelloJava2");
frame.getContentPane().add(new HelloComponent2("Hello, Java!"));
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(300, 300);
frame.setVisible(true);
class HelloComponent3 extends JComponent
implements MouseMotionListener, ActionListener
String theMessage;
int messageX = 125, messageY = 95; // Coordinates of the message
JButton theButton;
int colorIndex; // Current index into someColors
static Color[] someColors = {
Color.black, Color.red, Color.green, Color.blue, Color.magenta };
publick HelloComponent3(String message) {
theMessage = message;
theButton = new JButton("Change Color");
setLayout(new FlowLayout());
add(theButton);
theButton.addActionListener(this);
addMouseMotionListener(this);
public void paintComponent(Graphics g) {
g.drawString(theMessage, messageX, messageY);
public void mouseDragged(MouseEvent e) {
messageX = e.getX();
messageY = e.getY();
repaint();
public void mouseMoved(MouseEvent e) {
public void actionPerformed(ActionEvent e) {
// Did somebody push our button?
if (e.getSource() == theButton)
changeColor();
synchronized private void changeColor() {
// Change the index to the next color, awkwardly.
if (++colorIndex == someColors.length)
colorIndex = 0;
setForeground(currentColor()); // Use the new color.
repaint();
Synchronized private Color currentColor() {
return someColors[colorIndex];
}I have been reading where this error is an indicator that there is a missing { or } somewhere above where this error is occurring. I am really going blind trying to see such an omission but I cannot see any missing brackets. I have counted and recounted and to the best of my knowledge I have matched all opening brackets { with a closing bracket } yet this error is still present.
Can anyone point out what I obviously am missing? Is there a simple way to track down some of these beginning errors or is there a way as a newbie to format the code when I create it so I can minimize the chances of these basic errors? I am using NetBeans 5.5 to write these programs and am not too adept at using that program yet either. I would appreciate any comments anyone may have.
Thanks,
Steveint colorIndex;As far as I see you do not initialize it. Initialize
it, in your constructor, to the index corresponding
to the initial foreground color.Oh, ok I understand what you are saying. I am working through the O'Reilley "Learning Java" book. This program is one of the programs from Chapter 2. I have been pretty much typing what the book has been telling me to type without knowing too much about why I am doing it. I am not sure why they did not want me to "initialize" the color as you say. I am sure when I get into some more of the later chapters they will explain this in more detail.
Thanks,
Steve -
Help with basic CSS positioning
I am learning the rudiments of CSS positioning - I have gone
through the good Macromedia docs and even bought a book which is
useful (HTML Utopia). I am now applying some concepts to my first
site.
Oh how I thought I knew how to apply theory.
The sily thing is I am stuck on a very basic stage. And I
just cant figure out the solution. This is my problem.
I want to centre my site on the page so I created a #wrapper
<div> which works fine
Then, I wanted to position two <div> 'boxes', each
containing a logo within this wrapper, next to each other, left to
right, with a small margin imbetween them.
The first box on the left aligns fine, relatively positioned
to the wrapper. Great.
However, the next box 'jumps' down to the next line, even
though there is space within the wrapper element for it. I assumed
as <div> tag elements 'flow' after each other, it would
continue right. But no, it flows onto the next line, a bit like
this
image 1
image 2
I was after
image 1 image 2
What am I doing wrong. Im sure Im missing the obvious. Should
I be floating at this stage?
Forgive me - Im grasping the concepts here
Heres the code:
CSS
#master_wrapper {
width: 760px;
margin-top: 0px;
margin-bottom: 0px;
margin-right: auto;
margin-left: auto;
position: relative;
#logo_box {
width: 145px;
height: 120px;
position: relative;
#banner_box {
width: 580px;
height: 120px;
margin-top: 0;
margin-left: 25px;
position: relative;
HTML
<body>
<div id="master_wrapper">
<div id="logo_box"><img
src="website_graphics/index_page/logo.jpg" alt="Logo" width="145"
height="120" />
</div>
<div id="banner_box"><img
src="website_graphics/index_page/banner_cityscape.jpg" alt="Banner"
width="580" height="120"/>
</div>
</body>
If you are feeling especially kind, could you let me know the
correct code to position a further 2 boxes which sit under the logo
and the banner respectively
Yours, cap in hand
Chris> The first box on the left aligns fine, relatively
positioned to the
> wrapper.
> Great.
Remove the relative positioning. You don't need it. Now,
float that box
left.
> However, the next box 'jumps' down to the next line,
even though there is
> space within the wrapper element for it. I assumed as
<div> tag elements
> 'flow'
> after each other, it would continue right. But no, it
flows onto the next
> line,
> a bit like this
Div tags are block tags - that means that unless told not to,
the occupy the
entire line within their container, thus forcing them to a
new line, and all
adjacent content above and below.
Remove the position:relative from all your divs, and just
make the first two
float left.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"socks_" <[email protected]> wrote in
message
news:[email protected]...
>I am learning the rudiments of CSS positioning - I have
gone through the
>good
> Macromedia docs and even bought a book which is useful
(HTML Utopia). I am
> now
> applying some concepts to my first site.
>
> Oh how I thought I knew how to apply theory.
>
> The sily thing is I am stuck on a very basic stage. And
I just cant figure
> out
> the solution. This is my problem.
>
> I want to centre my site on the page so I created a
#wrapper <div> which
> works
> fine
>
> Then, I wanted to position two <div> 'boxes', each
containing a logo
> within
> this wrapper, next to each other, left to right, with a
small margin
> imbetween
> them.
>
> The first box on the left aligns fine, relatively
positioned to the
> wrapper.
> Great.
>
> However, the next box 'jumps' down to the next line,
even though there is
> space within the wrapper element for it. I assumed as
<div> tag elements
> 'flow'
> after each other, it would continue right. But no, it
flows onto the next
> line,
> a bit like this
>
> image 1
> image 2
>
> I was after
>
> image 1 image 2
>
> What am I doing wrong. Im sure Im missing the obvious.
Should I be
> floating at
> this stage?
>
> Forgive me - Im grasping the concepts here
>
> Heres the code:
>
> CSS
> #master_wrapper {
> width: 760px;
> margin-top: 0px;
> margin-bottom: 0px;
> margin-right: auto;
> margin-left: auto;
> position: relative;
> }
>
> #logo_box {
> width: 145px;
> height: 120px;
> position: relative;
> }
>
> #banner_box {
> width: 580px;
> height: 120px;
> margin-top: 0;
> margin-left: 25px;
> position: relative;
> }
>
>
> HTML
>
> <body>
> <div id="master_wrapper">
>
> <div id="logo_box"><img
src="website_graphics/index_page/logo.jpg"
> alt="Logo"
> width="145" height="120" />
> </div>
>
> <div id="banner_box"><img
> src="website_graphics/index_page/banner_cityscape.jpg"
alt="Banner"
> width="580"
> height="120"/>
> </div>
> </body>
>
> If you are feeling especially kind, could you let me
know the correct code
> to
> position a further 2 boxes which sit under the logo and
the banner
> respectively
>
> Yours, cap in hand
>
> Chris
> -
Greeting,
I'm a new'b to Grid. I have a grid installation monitoring multiple servers that I need to patch.
I'm just looking for basic command to stop and restart all components of the grid db.
I've:
emctl stop dbconsole
emctl stop agent
Tried to run: emctl stop iasconsole but errors out.
I shutdown the db but I still have a lot of processes runing under th oem user, mostly apache and opmn
Can someone please just provide the normal shutdown and then start steps for the 10.2.0.3 grid db?
Thank youOn the OMS server, you need to run:
$OMS_HOME/bin/opmnctl stopall and to restart everything use startall.
In addition to this, you stop the agent from $AGENT_HOME/bin/emctl stop agent
Then you shut down grid control repository as well.
You should check the doco. -
Basic CSS question. New learner
I am just learning CSS and HTML and I have a basic question. How can I make my float left div's expand down for content? I have a wrapper and within my wrapper I have 3 columns all floated left with margins added to them, I ommited height so that my columns can expand as I add stuff to it. I have content on my columns, but instead of wrapping the content down as I add...the div's are expanding and dropping below each other because there is no space for them. I tried clearing, but I am not sure I understand the clear property well so I stuck "none" in there for now. Here is my HTML and CSS:
<body>
<div id="wrapper">
<div id="head"></div>
<div id="slideshow"></div>
<div id="menu"></div>
<!--End Navigation-->
<div id="firstcolumn">stuffstuffstuff
stuffstuffstuffstuffstuff
stuffstuffstuffstuffstuff
stuffstuff</div>
<div id="secondcolumn">stuffstuffstuff
stuffstuffstuffstuffstuffstuffstuff
stuffstuffstuffstuffstuff</div>
<div id="thirdcolumn">stuffstuffstuff
stuffstuffstuffstuffstuffstuff
stuffstuffstuffstuffstuffstuff</div>
</div>
<!--End Wrapper-->
<div id="footer">This is my footer</div>
<!--End Footer-->
</body>
</html>
-------CSS---------
body {
margin: 0;
font-family: Verdana, Geneva, sans-serif;
font-size: 10px;
background: url(images/bg.png) #666 repeat;
#wrapper {
margin: 0 auto;
width: 975px;
background-color: #CCC;
height: 1000px;
#head {
width: 975px;
height: 100px;
background-color:#666;
position: relative;
#slideshow {
height: 110px;
width: 975px;
position: relative;
background-color: #066;
#menu {
width: 975px;
height: 30px;
background-color:#999;
position: relative;
#firstcolumn {
width: 315px;
float: left;
position: relative;
background-color:#666;
clear: none;
margin: 10px 10px 0px 10px;
#secondcolumn {
width: 305px;
float: left;
position: relative;
background-color: #CCC;
clear: none;
margin: 10px 10px 0px 0px;
#thirdcolumn {
width: 315px;
float: left;
position: relative;
background-color:#666;
clear: none;
margin: 10px 10px 0px 0px;
#footer {
margin: 0 auto;
width: 975px;
height: 200px;
position: relative;
background-color:#666;
This is what I am seeing on my display in Dreamweaver. As you can see, these rectangular elements are my div's. They are supposed to line up side by side, but my "content" isn't filling my div's properly, but rather expanding them causing my div's to drop down below each other.
Thanks for any input.It would be much easier to advise you if you could post a URL for a site or page.
Height and CSS is a bit of mystery to me but the most simple principle is that content is the way to give an element height. There are ways around it and you might like to Google "Faux Columns CSS" or something like it. The principle is that you construct an image that is a slim band of color that align with your intended columns. You apply that image as a background in you CSS and set it to repeat down the page. Then as your content grows or differs the graphic takes care of that.
There are other ways such as using positioning and javascript but they are more complicated.
Martin -
Basic CSS Functionality Questions
Hi,
I have a CSS 11501 loaner on the way from Cisco, but was hoping to ask a few questions ahead of time. I am relatively new to this, so bear with me.
I have three offices connected via a VPN between two pix devices. Local users and anonymous web traffic all funnels through the remote office. I am hoping I can incorporate a CSS box to direct traffic (via a VPN to another pix) to a third office in the event the www server at the main office is not reachable, but return to the first office when it is back online.
I am a little confused by VIP. Right now, my domain name resolves to an IP address on the outside of my pix which NATs and sends the request on to my web server. If the CSS is behind it, do I create a VIP that maps to the actual IP of the www server, and have the pix send traffic to the VIP?
I have read the PDFs found online, but am still a little foggy.
Thanks,
JMthe Pix will have to send the traffic to the VIP.
The VIP should be an address existing only on the CSS and that the rest of your network knows how to reach.
The CSS will then nat to the real server ip.
Gilles. -
For example, when I try to add a new menu bar, horizontal, it is actually a vertical bar. I'm not sure what I did but would like to reinstall? How can I do that without messing up my current sites and css? Thank you.
Hi,
please look here:
http://labs.adobe.com/technologies/spry/samples/tabbedpanels/tabbed_panel_sample2.html
http://labs.adobe.com/technologies/spry/articles/menu_bar/index.html
to get it:
and here the Spry features in Dreamweaver CS4 use the latest Spry version: 1.6.1.
Adobe Labs Downloads
Get prerelease 1.6.1 of Spry framework now spry_p1-6-1_022508.zip
http://labs.adobe.com/technologies/spry/
Update: The Spry prerelease download was updated on 2/25/2008
to support the shipping version of Adobe AIR.
Please download the new version.
Learn to use the Spry framework for Ajax:
http://www.adobe.com/devnet/dreamweaver/spry.html
... and here a fine tutorial from David Powers:
http://foundationphp.com/tutorials/sprymenu/customize1.php
... and please send a link to your website in question, no matter how it looks like, to get a better idea of your problem.
Hans-G. -
How do I do a very basic CSS customization on the standard Photo Gallery Module lightbox?
Hi,
All I want to do is make the text description that appears when you click on a picture within the standard photo gallery a different colour.
If I view source on a gallery page I see the CSS file used is Catalyststyles/lightbox.
Any help would be appreciated.Thanks Liam,
I found that I can target that Caption in my style sheet by adding a the style:
#imageData #caption
my new style here -
Hi all this is a basic question but I need to ask it
Ther h1, h2, h3 classes that are set normally at the
beginning of each style sheet does that meanm that the same values
are set throughout the whole page? If I have another div how can I
set another value for the h2 and how would I do it? Is it the same
for classes and divs? Sorry just trying to to understand it,
thanksAnd, since a given ID can only be used once per page, it
would only apply to
the first such container it found. A class can be used many
times on a
page, and so it would apply to every such container.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Michael Fesser" <[email protected]> wrote in message
news:[email protected]..
> .oO(Hydrowizard)
>
>>Thanks for the replies so if I made did h1, h2 {
font-size: 80%;} for
>>example
>>then if I had an h2 in another div which I wanted
with font size 40% thyen
>>how
>>would I make the font-size change?
>>
>> like this?: #mynewdiv h2 {font-size:40%;}
>
> This matches all h2 inside a div with the ID 'mynewdiv',
e.g.
>
> <div
id="mynewdiv"><h2>...</h2></div>
>
>> like this?: .mynewdiv h2 {font-size:40%;}
>
> This matches all h2 inside all divs with the class
'mynewdiv', e.g.
>
> <div
class="mynewdiv"><h2>...</h2></div>
> <div
class="mynewdiv"><h2>...</h2></div>
>
> Micha -
Please recommend a book for basic CSS learning
I have "CSS The Missing Manual" and even though I'd say it's
a great book. It does not tell you "how to."
All the books I have read gives you templates, I want to
"know how it was done." Seeing a template already made up does not
show you how to build your own. Yea you can can look at the codes
in the Dreamweaver templates but what happens if you want to build
your own? Why was this DIV placed here? How do I create another
Column?
There are so much I'm not learning.
I am looking for a book that will assume I know nothing about
CSS and tells me, "to make an elastic layout, do this." "To make a
liquid layout do this, write this, use these tags."
Any recommendations? Please help.
I would like to go to school for this, but can't afford it at
the moment.
Patrickhttp://www.projectseven.com/tutorials/css/qdmacfly/index.htm
http://www.macromedia.com/devnet/mx/dreamweaver/css.html
http://www.macromedia.com/devnet/dreamweaver/articles/tableless_layout_dw8.html
http://www.macromedia.com/devnet/dreamweaver/articles/css_concepts.html
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Webethics" <[email protected]> wrote in
message
news:g0jvq4$r8t$[email protected]..
>I have "CSS The Missing Manual" and even though I'd say
it's a great book.
>It
> does not tell you "how to."
> All the books I have read gives you templates, I want to
"know how it was
> done." Seeing a template already made up does not show
you how to build
> your
> own. Yea you can can look at the codes in the
Dreamweaver templates but
> what
> happens if you want to build your own? Why was this DIV
placed here? How
> do I
> create another Column?
>
> There are so much I'm not learning.
>
> I am looking for a book that will assume I know nothing
about CSS and
> tells
> me, "to make an elastic layout, do this." "To make a
liquid layout do
> this,
> write this, use these tags."
>
> Any recommendations? Please help.
>
> I would like to go to school for this, but can't afford
it at the moment.
>
> Patrick
> -
Basic CSS Question - But Can't Sort Out for Self
On my index page, I am creating two divs within my template: .property#links and .property#listings
http://12caliboguecay.com/index.htm
I have tried applying css to these elements, but nothing seems to happen and I am flummoxed as to why. Help?
Also, a refresher on this...why am I applying a class to the div to make it work? why not just call an element a div? what does the class do for me?
Thanks for any assistance.
Samantha.property#links and .property#listings are valid CSS selectors.
.property #links (with whitespace between them) is a descendant selector:
<div class="property">
<div id="links>
whereas
.property#links (no whitespace between) is a multiple selector where class="property" and id="links" are found within the same tag:
<div class="property" id="links"> -
Basic Applescript open command... help!
Hi
I'm completely new to AppleScript (and need to use it for an assignment)
Im being asked to create a script that could be used on any mac that will ask the user to open a file, describe what the file is about, then have that selected file open automatically. As of right now I cant seem to find any script that will allow the user to open the variable/selected file... heres what I have so far:
set variable to choose file with prompt "Please select a file to be opened"
set variable to display dialog "Please enter a short description of this file" default answer ""
tell application "Finder" to open..................
I dont know if Im doing this right, can anyone help?
Another problem Im having is getting the computer to speak to the user telling them that their file which they selected is now opened (once it is).... I understand the say command, but I dont know how string the information from when the user enters the description of the file into the command for the computer to say it. For example, "The file described as (description entered previously by user) is now opened".
Help please!Try using:
set variable1 to choose file with prompt "Please select a file to be opened"
set variable2 to text returned of (display dialog "Please enter a short description of this file" default answer "")
tell application "Finder" to open variable1
say "The file described as " & variable2 &" is now opened."
(56982) -
Basics: using "defaults" command remotely
Hi, i need to use remotely some commands to control some imacs in a lab. I need to modify some .plist files in the clients just to set parameters as dock position, screensaver behaviour, multiple desktop picture and so. Ive been trying to use the defaults command but there is necessary to specify the path of the .plist file ie student1/Lybrary/Preferences/com.apple.desktop.plist. As every computer has a different user name there is no way to send a single command to write to the .plist file. There are almost 100 computers and im using ARD to send the commands
Can anyone help me in finding the way to write to those .plist files or maybe a bsd command to change parameters? comands as networksetup and systemsetup has been useful but i ignore the proper syntax.
bestIt turns out that I was being stupid. Mavericks behaves the same as earlier OS X versions. I forgot that the saved password file, /etc/kcpassword, also needs to be present on the computer before automatic login will work.
Maybe you are looking for
-
I have a macbook air - I am going to buy an iPad, will all my itunes and iPhoto etc be available on my iPad (how do I get it there)? How do i check what of my info is on icloud (can iphoto be on icloud??) i have taken ten annual icloud subscription a
-
Welcome to (the continuation of) the OpenSPARC forum!
Welcome to the OpenSPARC Forum! This is a continuation (after Sun's acquisition by Oracle) of the previously Sun-hosted OpenSPARC forums, including http://forums.sun.com/forum.jspa?forumID=837 Edited by: user12611738 on Oct 28, 2010 4:49 PM Edited by
-
'Recovered' Muse website not loading or allowing saving/closing file.
Serious frustration here. Muse quit on me and when I went to open up my website file, Muse opened a file named "my_original_file_name - Recovered". Which is great and I'm certain this has happened before. So I begin editing and adding to my website,
-
Setting the visibility of columns in document rows
Hello, I have an UDF in a row of a document, this UDF is a drop-down-list with two entries: A and B. If i choose A, i want the column e.g. "discount" get automatically set to inactive. Now, the visibility and active/inactive is set with the form sett
-
Project Billing - Concession amounts are available for billing in following invoices
Hi All, Distribution rule : Event/Event 1. Generated invoice for 10% of rev budget. $100. Approved , Released ,Interfaced to AR, Tied back to Projects 2. Applied a concession of $15. Released ,Interfaced to AR, Tied back to Projects 3. Generated anot