Admin Life Errors, Fixes, and Encounters

24Jun/101

John Isner won the longest-running Wimbeldon tennis match in history

John Isner won the longest-running Wimbeldon tennis match in history today...USA

WIMBLEDON, England – On and on and on, and on some more, they played — longer than anyone ever had before. And still there was no winner.

John Isner of Tampa, Fla., and Nicolas Mahut of France were tied at 59-59 in the fifth set at Wimbledon after exactly 10 hours of action when play was suspended because of darkness Wednesday night. It is by far the longest match in terms of games or time in the century-plus history of tennis.

"Nothing like this will ever happen again. Ever," Isner said.

The first-round match already had been suspended because of fading light Tuesday night after the fourth set.

The 23rd-seeded Isner and the 148th-ranked Mahut, who needed to qualify to get into the tournament, shared a court for 7 hours, 6 minutes in Wednesday's fifth set alone, enough to break the full-match record of 6:33, set at the 2004 French Open.

Never before in the history of Wimbledon, which first was contested in 1877, had any match — singles or doubles, men or women — lasted more than 112 games, a mark set in 1969. Isner and Mahut played more games than that in just the fifth set, and still did not determine a victor, although the American came close: He had four match points — four chances to end things by winning the next point — but Mahut saved each one.

"He's serving fantastic. I'm serving fantastic. That's really all there is to it," Isner said. "I'd like to see the stats and see what the ace count looks like for both of us."

Well, here they are: Isner hit 98 aces, Mahut 95 — both eclipsing the previous high in a match at any tournament, 78. All the numbers were truly astounding: They played 881 points (Mahut took 452, Isner 429), 612 in the fifth set (315 for Mahut, 297 for Isner).

Isner compiled 218 winners, Mahut 217. Isner made only 44 unforced errors, Mahut 37.

There were zero service breaks in the fifth set, which is why the end never arrived Wednesday.

Even a courtside electronic scoreboard couldn't keep up, getting stuck at 47-47 when the score really had risen to 48-48, then eventually going dark entirely.

Yet the pair played on.

And this cannot be emphasized enough: They are not finished.

After 118 games, no one had won.

The match will continue, stretching into a third day. At least Wimbledon gave them a bit of a break, saying the match would not pick up again before 3:30 p.m. Thursday.

"He's just a champ. We're just fighting like we never did before," Mahut said. "Someone has to win, so we'll come back tomorrow and see who is going to win the match."

At 58-all, more than 6 1/2 hours into Wednesday's action, both players took a bathroom break — and, frankly, who could blame them? Not much later, shortly after 9 p.m., Mahut and Isner approached the net to discuss with a Grand Slam supervisor, Soeren Friemel, whether to keep going.

"I want to play," Mahut said, "but I can't see."

Fans began chanting, "We want more! We want more!" Then they screamed in unison, "Centre Court! Centre Court!" — the only stadium at the All England Club equipped with artificial lights, and therefore the only place play could continue at that hour. When Friemel decided they would stop at that moment and resume Thursday, spectators saluted Isner and Mahut with a standing ovation.

"I have almost no words anymore watching this," 16-time Grand Slam champion Roger Federer said. "It's beyond anything I've ever seen and could imagine. I don't know how their bodies must feel the next day, the next week, the next month. This is incredible tennis."

Other Wimbledon competitors were glued to locker-room TVs, while some players headed out to the court to see if they could catch a glimpse in person. That was easier said than done, because the stands at the relatively tiny Court 18 — its official capacity is 782 — were full, and people packed in three-or-more deep along a railing.

"I don't think I'd move. I think if you moved, you lose your seat," Venus Williams said.

"It's a marathon," she added, then corrected herself: "It's longer than a marathon."

Roddick tweeted that it was "unreal."

Not that anyone will ever remember, but for the record Tuesday's portion of the match went this way: Isner won the first set 6-4, Mahut took the next two 6-3, 7-6 (7), and Isner claimed the fourth 7-6 (3).

That portion lasted 2:54, longer than many entire matches, but these guys were just getting started. The first four sets encompassed a total of 45 games, less than half of the fifth set alone. To put it in some more perspective: The 2009 Wimbledon final between Federer and Andy Roddick was the longest Grand Slam championship match in history, running 77 games in all.

Mahut actually has some recent experience in such matters: He won a four-hour match in the second round of qualifying last week that ended 24-22 in the third set.

Isner and Mahut began Wednesday at 2:04 p.m., with the court bathed in sunlight and in heat that topped 80 degrees. As play carried on, shadows crept across the court, and the well-manicured blades of green grass along both baselines wore away, leaving patches of beige dirt. By the time the players left the court, the moon was rising overhead.

Organizers moved other matches that were supposed to be played on the same court, and postponed Isner's doubles match that happened to be on Wednesday's schedule.

While this was only a first-round match, the stakes were big for the participants. Isner lost his only previous match at Wimbledon, exiting in the first round in 2008, while Mahut lost in the first round at the All England Club each of the past two years.

Because Isner served first in the fifth set, Mahut faced the difficult task of always trailing while serving, knowing that if he were to get broken, he would lose.

Both players showed signs of fatigue and frustration.

Seeking some extra energy, Isner wolfed down a sandwich and sipped water during one changeover, and he scarfed down a banana at another. At the end of the day, he was gritting his teeth on serves, rubbing his back or putting his hands on his knees while sucking air between points, and occasionally deciding not to chase shots.

During one break, Mahut was visited by a tournament doctor and given some pills to swallow, and later had a finger taped. After missing one shot, Mahut dropped to his knees and covered his head with both hands. Somehow, Mahut summoned the strength to dive for a shot in the fifth set's 117th game — yes, you read that number correctly.

Even chair umpire Mohamed Lahyani, sitting in his perch long enough to have taken a trans-Atlantic flight, seemed to be tired. He tried to stay loose by massaging his neck or stretching his legs, and as the match dragged on, Lahyani paused while reciting the score, as if to make sure he had the count correct.

"This is one of the few times where I feel bad for the umpire," well-known official-berater John McEnroe joked on BBC's TV coverage.

It might not necessarily have been the most scintillating tennis, given that so many points were so brief, often consisting of merely an unreturned serve, followed by both players shuffling along the baseline to get in position for the next point.

The match was without a doubt riveting from this standpoint: Who would falter, even for a split second, on a solitary stroke — enough to finally turn control one way or the other? Who would wilt first, physically or mentally?

"Maybe they should agree on playing a tiebreak if it's 50-all," 2008 Australian Open champion Novak Djokovic mused. "That's maybe one of the solutions."

It was a test of wills tough to compare to another individual sport — unless, perhaps, a golf tournament's playoff extended for, say, 36 holes. The longest Major League Baseball game in history lasted a mere 8 hours, 6 minutes.

And to think: Isner vs. Mahut could have concluded much, much earlier in the day.

Isner held a match point all the way back in the 20th game of the fifth set, when he was ahead 10-9 with Mahut serving. Mahut double-faulted twice to give Isner a break point and match point, but the Frenchman erased it with an ace.

10-10.

Hard to believe, perhaps, but there wasn't another break point or match point for either player until the set's 66th game, with Isner ahead 33-32.

Isner smacked a backhand return winner down the line to go ahead 15-40, earning two match points, then waved his right hand to signal to the overflowing crowd to cheer louder. But he couldn't convert either chance. Mahut delivered a volley winner to erase the first, then a service winner on the second.

Two points later, Isner ceded the game by putting a forehand return into the net, prompting some fans backing Mahut to chant, "Nico! Nico! Nico!"

33-33.

In the 71st game, with Isner serving, he faced a deuce. Two more points for Mahut would have allowed the Frenchman to serve for the match. But Isner delivered a second-serve ace at 124 mph, followed by a service winner.

36-35 for Isner.

Mahut earned his first break points of the fifth set in — believe it or not — the 101st game, when Isner missed a forehand wide to fall behind 15-40. Isner saved the first with a service winner at 132 mph. On the second, Mahut tried a lob — perhaps not the ideal strategy against the 6-foot-9 Isner — and the American hit an overhead winner. Two more service winners ended the game.

51-50 for Isner.

An opening for Isner came in the 108th game, when Mahut missed a backhand, then a forehand, to fall behind love-30, putting the American two points away from victory. But Mahut came up with a volley winner, then three consecutive aces.

54-54.

In what would wind up being the final game of the day, with Isner ahead 59-58, Mahut's double-fault — his 21st — afforded the American one more match point, just over six hours after the first one. Mahut delivered again, smacking an ace to get to deuce. Isner then shanked a return long, crouched, and bit his white T-shirt. On the next point, Isner's backhand return sailed wide.

59-59.

And that's where they will resume, once more, the 25-year-old Isner and the 28-year-old Mahut, striving to be better than the other just long enough to win.

http://news.yahoo.com/s/ap/20100623/ap_on_sp_te_ga_su/ten_wimbledon_marathon_match

Filed under: Errors 1 Comment
24Jun/100

world cup Slovakia vs Italy

Slovakia 3 : 2 Italy - Italy is out of the world cup!

JOHANNESBURG —No, that’s not another tremor. That’s a shockwave emanating out from College St.

Italy bombed out of this World Cup on Thursday in abominable style, sleepwalking through much of a must-win match against – yes, yes, we must use this word – plucky Slovakia. They were Italy enough to make a match of it after 70 minutes, but – for once that wasn’t enough.

The 3-2 Slovak victory means they will now advance to a likely Round of 16 game against the Netherlands.

Other world giants – England and Germany – have wobbled here. Along with 2006 finalists France, Italy become the second to fall.

The ageing Italians arrived knowing they had to beat Slovakia to ensure advancement. If this game was the place where they mounted their title defence, it ranked somewhere below the Maginot Line.

The Italians have always been expert at paring the game down to its essentials. Airtight defence; ball control; opportunistic counterattack.

Most of this performance was so minimalist it had more in common with orienteering than football. The Italians decided to walk around a football pitch for 70 minutes. Every once in a while, they stumbled over a ball.

Again and again, the Slovaks ran in behind the Italian back four, who could not plug the gaping holes in their set-up.

Another hallmark of Italian football – sacrificing ambition on the altar of exactitude. Italian footballers don’t make mistakes. They take advantage of those made by their opponents.

Yesterday, an elementary error put the Italians on the backheel.

With the game slowed to Italy’s preferred sluggish pace, Daniele De Rossi took a ball just outside his own area. He turned and passed up the middle to Ricardo Montolivo. But the pass was terribly short. Juraj Kucka stepped in front of Montolivo, took the ball and struck it up to the lone Slovak forward, Robert Vittek.

Vittek collected and marched toward one of those aforementioned gaps. The Italians looked on blankly. Vittek’s 25 yard shot sailed into the corner by sprawling Italian keeper Federico Marchetti.

At the outset of the game, it was hard to tell the Italian fans from the Slovak boosters. The two nations share the same colours. By half-time, it was easier. The Italians were the ones staring over the edges of Ellis Park’s terraces, looking for somewhere hard to land.

Manager Marcello Lippi, who often seems as bloodless as a vampire, must have given his team some talking to at half-time.

At the restart, the attitude was suddenly frantic. The introduction of midfield quarterback Andrea Pirlo, who had missed the first two games owing to injury, was supposed to signal a change in approach.

It did. In the 67th minute, Italy nearly pulled an Italy. Substitute Fabio Quagliarella took a lacing shot through a crowd that beat the keeper, but struck Slovak defender Martin Skrtel’s knee as he stood straddling the goal-line. It was a matter of centimeters, but the ball didn’t appear to cross the line.

Six minutes later, Vittek stuck again. A short corner was headed back to taker Marek Hamsik. He stabbed it back toward goal. Again, the Italian defence was napping. Giorgio Chiellini arrived too late to stop Vittek from slotting at unmissable distance.

Italian forward Antonio Di Natale pulled one back in the 81st, and things got silly. Slovak keeper Jan Mucha and Quagliarella tussled inside the net for the ball, both feigning injury in an attempt to get the other sent off. The sight of the pair of them entangled in the net, rolling around, is the sort of thing that allows rubes to run down the sport.

Controversy, which seems to trail Italy like an unpleasant memory, reared its head again in the 85th. Quagliarella penetrated the Slovak defence, took a short pass and struck it past Mucha for the tying goal. But he was ruled off-side on the play. Again, replays showed it was a matter of centimeters.

With the Italians now pressing hard, the Slovaks stuck the knife in at the other end. The most humiliating blow of all came from Kamil Kopunek, who was allowed to run through four Italians and onto the end of a throw-in to lob one over Marchetti.

It hurt all the more when Quagliarella scored from a perfectly struck ball in extra time. Two questions will haunt Italian fans – why didn’t Napoli’s Quagliarella feature in the first two games?

More importantly, why didn’t Italy play the first 70 minutes of this one the way the played the last 20?

http://www.thestar.com/article/827938--italy-ousted-from-world-cup-by-slovakia

Filed under: Errors No Comments
24Jun/100

stream world cup soccer

The world and its dog are beaming World Cup insight and inanities into the web sphere. Here are our picks for insight.

For fixtures, results, interviews, player information, statistics, ticketing info, venue info and more you'd be a fool not to go straight for Fifa's site and its Twitter feed. It's also got a decent amount of global fan comment.
For that constant news stream of the minutiae and occasional big stuff from the tournament the unofficial Fifa tweets are good. On the alternative side you can check out World Cup Blog and Goal.com for match reports, blogs, and interviews. Goal.com also has a useful instruction guide on how to blow a Vuvuzela. Then for the master class, self-styled half-decent football mag When Saturday Comes has a useful Vuvuzela tunes guide.

Weighing in heavily on the side of inanity are the players themselves, abusing their Twitter accounts (“All I can say is WOW! Thanks for all of the support!”, tweets USA's Edson Buddle), but others are less schooled in saying nothing.

Holland's World Cup squad has been banned from using Twitter during the tournament after winger Eljero Elia sparked a racism row with ill-judged comments about Moroccans on a live streaming video. This promptly shut up the tweets of defender Gregory van der Wiel, ultra-chatty Ryan Babel (who got into trouble at his club Liverpool for tweeting about being left out of the side) and Elia himself. England's manager Fabio Capello banned all social media activity well before the tournament got underway, and Spanish players are also not allowed to use Twitter during the event.

But for a comprehensive list of verified player Twitter accounts, check out World Cup Blog.

As a Reg reader, a side of this sporting spectacle you're likely to be interested in is the internet traffic it's generating. Web managed services business Akamai has put a tool online monitoring the real time traffic of global broadcasters delivering World Cup traffic over its network. The snapshot, at the time of writing, was 20,002 page views per minute, with http hits per second for raw requests at 59,830.

Google is kicking around the search trends on the competition, which is off to a slower start than the 2006 event, based based on global trends for queries – but the Vuvuzela angle might boost things. Portugal captain Christian Ronaldo is the most searched player by a country mile.

A different side of the spectacle is revealed as investment bankers look at the World Cup and Economics 2010, which it describes as a companion to the competition. Contributors include former South African Central Bank Governor Tito Mboweni and Andy Anson, CEO of England's 2018 World Cup bid.

From another angle, following the money being bet on matches can add an interesting perspective to the tournament. At the betting exchanges, where individuals can act as bookies, you can watch huge sums slosh around in real time as the games unfold.

Betfair is the biggest exchange site with the most money on it (rising from more than £10m to £12m in just the first 30 minutes of Italy v Paraguay on just the win/lose/draw market), with Betdaq its rival.

Just squint a bit and pretend it's your own bank account. That way you'll get just a hint of what it's like to be one of the top flight players down there in SA

http://www.theregister.co.uk/2010/06/15/world_cup_internet/

Filed under: Errors No Comments
24Jun/100

iPhone 4 yellow spot

If you just bought an iPhone 4 and it has a yellow spot on it, no worries it'll go away in a few days.

Apple is using a bonding agent called Organofunctional Silane Z-6011 to bond the layers of glass. Apparently, Apple (or more likely Foxconn) is shipping these products so quickly that the evaporation process is not complete. However, after one or two days of use, especially with the screen on, will complete the evaporation process and the yellow "blotches" will disappear. How do I know? I was involved in pitching Z-6011 to Apple.

Let us know if you get the yellow spot and if and when it goes away. Other iPhone 4 users would love to hear your feedback.

Filed under: Errors No Comments
23Jun/100

earthquake toronto canada

A magnitude 5.5 earthquake hit central Canada this afternoon, rattling buildings from Windsor to Montreal and several U.S. states.

The Toronto newsroom of The Globe and Mail shook just before 1:45 p.m. EDT. The Ottawa newsroom was evacuated at about 1:43 p.m.

Twitter users as distant as Springfield, Massachusetts and Traverse City, Michigan reported feeling tremors. A Globe reporter in Montreal said that city also shook.

The earthquake rattled buildings in Ottawa, where the streets are crowded with office workers who evacuated their workplaces.

An eyewitness saw items flying off the shelves at a pharmacy in Gatineau, QC.

“We felt the building shake. It was actually it was pretty serious. It was definitely the strongest quake that I ever felt,” said Dennis Choquette, a Globe and Mail online editor based in Ottawa.

The shaking lasted about 15 seconds, Mr. Choquette said.

The severity of the earthquake is not yet known. It is not yet known whether there have been any reports of injuries.

http://www.theglobeandmail.com/news/national/earthquake-shakes-central-canada/article1614941/

Filed under: Errors No Comments
18Mar/100

Changing your hosts file in Vista

By default, if you try to modify your hosts file in windows Vista, it will not let you save it. It tells you that you don't have permission. To successfully modify the hosts file, run notepad.exe as an administrator open the file. This is a windows vista and windows 7 issue and does not need to run in windows XP

1 ) Browse to Start -> All Programs -> Accessories
2 ) Right click "Notepad" and select "Run as administrator"
3 ) Click "Continue" on the UAC prompt
4 ) Click File -> Open
5 ) Browse to "C:\Windows\System32\Drivers\etc"
6 ) Change the file filter drop down box from "Text Documents (*.txt)" to "All Files (*.*)"
7 ) Select "hosts" and click "Open"
8 ) Make the needed changes and close Notepad. Save when prompted.

Here is a sample of what the hosts file looks like
I added 3 banner sites at the bottom as an example of what you can add.
In this example, everytime your browser tries to go to bannersite1.com bannersite3.com or bannersite3.com
your computer will answer with nothing... which causes no banners to come up!

# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost
::1 localhost
127.0.0.1 bannersite1.com
127.0.0.1 bannersite2.com
127.0.0.1 bannersite3.com

17Mar/101

TRAC multiple projects in apache for freebsd

How to install multiple TRAC projects on freebsd with apache 1.3

# cd /usr/local/www/
# mkdir trac_projects

////////// you have to do this for each project /////////////////////////
# trac-admin /usr/local/www/trac_projects/trac initenv
# trac-admin /usr/local/www/trac_projects/trac deploy /tmp/deploy
# mkdir /usr/local/www/trac_projects/trac_env
# mv /tmp/deploy/* /usr/local/www/trac_projects/trac_env
# chown -R www:www /usr/local/www/trac_projects/trac
# chown -R www:www /usr/local/www/trac_projects/trac_env
# cd /usr/local/www/trac_projects/trac_env/cgi-bin/
# chmod 744 trac.cgi
////////// you have to do this for each project /////////////////////////
// I did the steps above again for "trac_prj_2_env"

# cd /usr/local/etc/apache/
# vi httpd.conf


ServerName domain.ath.cx
DocumentRoot /usr/local/www/trac_projects
CustomLog /var/log/trac-apache-access.log combined
ErrorLog /var/log/trac-apache-error.log

ScriptAlias /trac /usr/local/www/trac_projects/trac_env/cgi-bin/trac.cgi
ScriptAlias /trac_prj_2 /usr/local/www/trac_projects/trac_prj_2_env/cgi-bin/trac.cgi


SetEnv TRAC_ENV "/usr/local/www/trac_projects/trac"


SetEnv TRAC_ENV "/usr/local/www/trac_projects/trac_prj_2"

# Allow access to the Trac static files
Alias /trac/ /usr/local/www/trac_projects/trac_env/htdocs/
ScriptAlias /cgi-bin/ /usr/local/www/trac_projects/trac_env/cgi-bin/

# Route "/" to the Trac cgi processor
#ScriptAliasMatch ^/(.*) /usr/local/www/trac_projects/trac_env/cgi-bin/trac.cgi/$1


AllowOverride None
Order allow,deny
Allow from all

# Set security on the login page, which allows Trac to use HTTP
# Auth as the mechanism for user authentication

AuthName "Top Secret"
AuthType Basic
#this is a location where all the projects will have access to
AuthUserFile /usr/local/www/trac_projects/trac_auth
Require valid-user

# cd /usr/local/etc/rc.d
# ./apache restart

use http://www.xs4all.nl/~remcovz/htpasswd.html to generate a user name and password to put inside trac_ath

an example line you would have inside trac_auth would be...
test:W.Mrp0Xqwcgxg

the actual username: test and password: test

Filed under: Errors 1 Comment
17Mar/101

mod_wsgi apache freebsd python

The version of Apache on older versions of FreeBSD is not compiled with support for multithreading but Python itself is. Normally this would be where Apache 1.3 is being used. The result is that when starting up Apache with mod_wsgi, an error similar to the following can occur:

Syntax error on line 37 of /usr/local/apache2/conf/httpd.conf: \
Cannot load /usr/local/apache2/modules/mod_wsgi.so into server: \
/usr/local/apache2/modules/mod_wsgi.so: Undefined symbol \
"pthread_attr_init"

You may also get this Error with apache 1.3

Syntax error on line 244 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/libexec/apache/mod_wsgi.so into server: \
/usr/local/lib/libpython2.4.so: Undefined symbol "pthread_attr_destroy"

The solution is to force Apache to preload the reentrant version of the C runtime library which contains the POSIX thread library functions. This can be done by modifying the 'envvars' script, if it exists and is used, contained in the same directory as where the Apache 'httpd' binary is installed, or the Apache startup script, and add the lines:

LD_PRELOAD=/usr/lib/libc_r.so
export LD_PRELOAD

Step 1.

Set the library to system environment.

# LD_PRELOAD=/usr/lib/libc_r.so
# export LD_PRELOAD

Step 2.

Stop apache then start it up again

root@host rc.d # ./apache stop
Stopping apache.
Waiting for PIDS: 35117.

root@host rc.d # ./apache start
Starting apache.

root@host rc.d #

15Mar/100

sqlite error trac install

While trying to install trac on freebsd 7.0 I had an error with sqlite.
The problem was that I had an old version already installed, but the system didn't tell me that!

# cd /usr/ports/www/trac
# make install clean

Installed /usr/local/lib/python2.5/site-packages/pytz-2009r-py2.5.egg
===> Registering installation for py25-pytz-2009r
===> Returning to build of trac-0.11.5
===> trac-0.11.5 depends on file: /usr/local/lib/python2.5/site-packages/_sqlite3.so - not found
===> Verifying install for /usr/local/lib/python2.5/site-packages/_sqlite3.so in /usr/ports/databases/py-sqlite3
===> Vulnerability check disabled, database not found
===> Extracting for py25-sqlite3-2.5.2_1
=> No MD5 checksum recorded for python/Python-2.5.2.tgz.
=> No SHA256 checksum recorded for python/Python-2.5.2.tgz.
=> No suitable checksum found for python/Python-2.5.2.tgz.
*** Error code 1

Stop in /usr/ports/databases/py-sqlite3.
*** Error code 1

Stop in /usr/ports/www/trac.
*** Error code 1

Stop in /usr/ports/www/trac.

I thought to myself, maybe I need to update the system.

# cvsup -g -L 2 /root/cvs-supfile

# make install clean

That did nothing, I get this same error. Maybe if I install it manually

cd /usr/ports/databases/py-sqlite3

root@host py-sqlite3 # make install clean
===> Vulnerability check disabled, database not found
===> Extracting for py25-sqlite3-2.5.2_1
=> No MD5 checksum recorded for python/Python-2.5.2.tgz.
=> No SHA256 checksum recorded for python/Python-2.5.2.tgz.
=> No suitable checksum found for python/Python-2.5.2.tgz.
*** Error code 1

Stop in /usr/ports/databases/py-sqlite3.

that didn't work either, so I tried

# pkg_add -R sqlite3

But the ftp server was wrong to get the correct port...

for sh you type in
setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7-stable/Latest/

for bash you update the ftp location by typing
export PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7-stable/Latest/
export PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/

# pkg_add -r trac

That worked but this is where the Error shows me I have an old version of sqlite already installed!

...
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7-stable/All/py26-sqlite3-2.6.4_1.tbz... Done.
pkg_add: warning: package 'py26-sqlite3-2.6.4_1' requires 'sqlite3-3.6.19', but 'sqlite3-3.5.6' is installed
...

so I upgrade my port that I do have.
# /usr/local/sbin/portupgrade -R sqlite3

---------
root@draco sqlite3 # cd /usr/ports/www/trac
root@draco trac # make install clean

Traceback (most recent call last):
File "setup.py", line 15, in
from setuptools import setup, find_packages
ImportError: No module named setuptools
*** Error code 1

Stop in /usr/ports/www/trac.
*** Error code 1

Stop in /usr/ports/www/trac.

3Mar/100

mysql replication error

MySQL replication broke after a server crash. When trying to start it backup this error shows up.

100303 10:09:54 [ERROR] Slave: Query caused different errors on master and slave. Error on master: 'Invalid error code' (126), Error on slave: 'no error' (0). Default database: 'db_name'. Query: 'INSERT DELAYED INTO stats (clientID, date_accessed, current_url, referred_by, unique_id)
VALUES (0, now(), '/index.php', '', '076c47a32066f611d60e107b3c6be475')', Error_code: 0
100303 10:09:54 [ERROR] Error running query, slave SQL thread aborted. Fix the problem, and restart the slave SQL thread with "SLAVE START". We stopped at log 'mysql-bin.000463' position 207592

After a little searching, in order to fix the problem I just have to repair the table with the following command.

mysql> repair table stats;

In my case the query is fine, the reason why it is failing may be
index file is crashed or file format is wrong. Here is a list of error codes that may be helpful to other people.
126 = Index file is crashed / Wrong file format
127 = Record-file is crashed
132 = Old database file
134 = Record was already deleted (or record file crashed)
135 = No more room in record file
136 = No more room in index file
141 = Duplicate unique key or constraint on write or update
144 = Table is crashed and last repair failed
145 = Table was marked as crashed and should be repaired
28 = You ran out of disk space. Delete unnecesary files, or move the MySQL data files to another partition.
1045: Access denied for user: = You forgot to specify a password, or you used the wrong one. Use the -u and -p options when starting the client. (use mysql --help to see how)
1046: No Database Selected = You must use the command USE database_name or the mysql_select_db() function to select a database to use.
1062: Duplicate entry 'x' for key n = You have attempted to insert or update data that would break the integrity of a UNIQUE index (most likely the primary key). You must redefine either the data you're trying to insert, or the indexes which you have imposed on the table.
1064: Syntax error = You wrote something that doesn't match the syntax definitions in the manual. When you have checked everything else, here's something to consider: A common error is to put a space between a function name and its opening parenthesis '('. Another common error is to use a reserved word out of its normal context.
2000: parse error near ... = see explanation for 1064: Syntax error
2002: Can't connect to local MySQL server = The MySQL socket file (usually, /tmp/mysql.sock) is missing. See the notes on connecting to the server.

Filed under: Errors, MySQL, Unix No Comments

Recent Comments

Categories

Calendar

November 2018
M T W T F S S
« Feb    
 1234
567891011
12131415161718
19202122232425
2627282930