Tag Archive for Business_Finance

Google Analytics Showing Strange Statistics

Google Analytics has been showing me weird numbers since the beginning of February. While it is completely possible that these numbers are correct, it is also hard for me to believe.

Since February Analytics shows the same number of visitors each dayUsually, the traffic looks like a rough bell will low traffic on the weekends.

The number of visitors each day is almost exactly the same (103,102,103,104) which has never been the case for this site.

Webservd Default Home Directory

Someone currently building an internal development environment required some integration between servers using SSH and the webservd user.

He came to me when he saw that the default home directory for the webservd user is /.  He didn’t want to create a /.ssh/authorized_keys file and I didn’t blame him. My first reaction was to change the home directory but I didn’t want to break something so I opened up Google and found something incredible.

DISCLAIMER: The following is quoted from documentation at docs.sun.com (emphasis is mine). I do not recommend you actually listen to it’s instructions:

If the runtime user of the OpenSSO Enterprise web container instance is a non-root user, this user must be able to write to its own home directory.

For example, if you are installing Sun Java System Web Server, the default runtime user for the Web Server instance is webservd. On Solaris systems, the webservd user has the following entry in the /etc/passwd file:

webservd:x:80:80:WebServer Reserved UID:/:

The webservd user does not have permission to write to its default home directory (/). Therefore, you must change the permissions to allow the webservd user to write to its default home directory. Otherwise, the webservd user will encounter an error after you configure OpenSSO Enterprise using the Configurator.

Did someone actually write in documentation to give the webservd user write access to / ?!?!? What were they thinking?

Match RSA private key to Certificate

== Step One ==
Run the following command on the key file to determine the modulus:
openssl rsa -noout -text -in secure.server.com.pem

=== Example Output ===

Private-Key: (1024 bit)
modulus:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
00:00:00:00:00:00:00:00:00
...

== Step Two ==
Run the following command on the certificate file to match the modulus:
openssl x509 -noout -text -in secure.server.com.pem

=== Example Output ===

    ...
RSA Public Key: (1024 bit)
Modulus (1024 bit):
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
00:00:00:00:00:00:00:00:00
...

If they match the certificate and key match.

Google Analytics fixed but is Google crashing?

Google has finally added Israel to the list of Countries in the sign up process which is good news.
On the other hand, they got the timezone wrong (Israel is in DST right now and uses GMT+3 till about October) and that’s after spending over a week fixing it.

What’s going on inside Google? Why did it take so long? Why wasn’t Israel on the list to begin with?
I recieved no explanation from Google but my guess is that they must of had a bug in the code generating the form fields and the javascript behind them. Look at the following code sample:

CC["ID"] = new Array("220|(GMT+07:00) Jakarta","234|(GMT+08:00) Makassar","221|(GMT+09:00) Jayapura");
CC["IR"] = new Array("257|(GMT+03:30) Tehran");
CC["IQ"] = new Array("198|(GMT+03:00) Baghdad");
CC["IE"] = new Array("300|(GMT+00:00) Greenwich Mean Time");
CC["IL"] = new Array("222|(GMT+02:00) Jerusalem");

Before the fix, Jerusalem time was present in the javascript but it was ORed to something else like the first line above.

That is still no excuse for such a system going live. Google’s quality control should have stepped in.

On the other hand it points to a growing list of technical difficulties within Google.

  1. Since Google’s last update to their algorithms, they’ve been returning pages from sites of mine that haven’t been online in years.
  2. For over a week I’ve been experiencing problems with Gmail timing out.
  3. Blogger is less than responsive as always.
  4. Analytics, in the day that I’ve been using it, has often claimed to be under maintenance one second and fine the next- I guess maintenance means “I’m a tired server, leave me alone please.”

The Register reports that Google is choking on web spam: http://www.theregister.co.uk/2006/05/04/google_bigdaddy_chaos/

Webmasters now report sites not being crawled for weeks, with Google SERPS (search engine results pages) returning old pages, and failing to return results for phrases that used to bear fruitful results.

“Some sites have lost 99 per cent of their indexed pages,” reports one member of the Webmaster World forum. “Many cache dates go back to 2004 January.” Others report long-extinct pages showing up as “Supplemental Results.”

But the new algorithms may not be solely to blame. Google’s chief executive Eric Schmidt has hinted at another reason for the recent chaos. In Google’s earnings conference call last month, Schmidt was frank about the extent of the problem.

“Those machines are full,” he said. “We have a huge machine crisis.”

While here they attempt to save face for Google by putting Schmidt’s comment in context, it’s clear that Google has been having technical problems.

Google continued to make substantial capital investments, mainly in computer servers, networking equipment and its data centers. It spent $345 million on such items in the first quarter, more than double the level of last year. Yahoo, its closest rival, spent $142 million on capital expenses in the first quarter.

Referring to the sheer volume of Web site information, video and e-mail that Google’s servers hold, Schmidt said: “Those machines are full. We have a huge machine crisis.”

Jordan Rohan of RBC Capital Markets called Google’s capital spending “unfathomably high,” noting that it spent the same percentage of its revenue on equipment as a wire-line phone company.

I don’t see how the context makes things any better. The bottom line remains that Google needed a heck of a lot more hardware than it had and who knows if they bought everything they needed. Those are only the first quarter figures- I would imagine it could take a whole quarter to deploy $345 million dollars of equipment. I wonder what they will spend next quarter?