September 30, 2010

Gentoo, Linux

Posted by otioti

This is too weird, but when I tried to restore a course from backup, all HTML tags was broken. I thought it was related to PHP and XML but I could never think it was caused of libxml2 version. I had installed libxml2-2.7.3, so to resolv this problem you just have to uninstall this version and install the recommended versions: 2.6.32 or 2.7.0.

If you have an old system, in Gentoo would be:

echo “>=dev-libs/libxml2-2.7.1″ >> /etc/portage/package.mask
emerge -av libxml2

If you have a newly fashioned portage:

emerge -av ‘=dev-libs/libxml2-2.7.6′

See: http://docs.moodle.org/en/Backup_FAQ#Restoring_a_course_results_in_broken_HTML_tags._What_can_I_do.3F

July 20, 2010

Fun at work

Posted by otioti

Imagen 2

June 5, 2010

Travels

Posted by otioti

IT Crowd is back!

Miami Downtown

May 25, 2010

Travels

Posted by otioti

Hi guys,

I’ve been in Miami last week for 6 days. I’ve been there to give a talk in the Ottawa Conference about technical challenges for assessing health care professionals for Public Healthcare System of Andalusia. Miami is an amazing city, too bad I could not practise much English, ’cause most people speak Spanish there, specially Latinos.

And Miami Beach was great!

But, anyway, I tried to take advantage of trip, it could be last one to USA. Yes, I know what you’re thinking, I will also travel to Seattle this summer, so it was not last travel 🙂

At first, I thought which locations would be interesting to visit near Miami. I research for something cool, and I found it: KSC (John F. Kennedy Space Center) in Cape Canaveral.

[googlemaps http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=es&amp;geocode=&amp;q=Kennedy+Space+Center,+FL,+United+States&amp;sll=37.0625,-95.677068&amp;sspn=54.269804,119.179687&amp;ie=UTF8&amp;hq=&amp;hnear=Kennedy+Space+Center,+Titusville,+Condado+de+Brevard,+Florida&amp;t=h&amp;ll=28.590303,-80.659333&amp;spn=0.052755,0.072956&amp;z=13&amp;iwloc=A&amp;output=embed”></iframe><br /><small><a href=”http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=es&amp;geocode=&amp;q=Kennedy+Space+Center,+FL,+United+States&amp;sll=37.0625,-95.677068&amp;sspn=54.269804,119.179687&amp;ie=UTF8&amp;hq=&amp;hnear=Kennedy+Space+Center,+Titusville,+Condado+de+Brevard,+Florida&amp;t=h&amp;ll=28.590303,-80.659333&amp;spn=0.052755,0.072956&amp;z=13&amp;iwloc=A&output=embed&w=425&h=350]

Other options were visit Disneyworld in Orlando… not cool 🙂

Kennedy Space Center Tour includes visit LC-39 Observation Gantry, where you have a marvellous view of Lauch Complex 39 (A and B)

I recommend you visit Kennedy Space Center. Enjoy!

May 12, 2010

Gentoo, Linux

Posted by otioti

I’d surprised when i saw this error updating my servers:

>>> Emerging (1 of 5) perl-core/IO-Compress-2.021
>>> Installing (1 of 5) perl-core/IO-Compress-2.021
>>> Failed to install perl-core/IO-Compress-2.021, Log file:
>>>  '/var/tmp/portage/perl-core/IO-Compress-2.021/temp/build.log'
...

 * This package will overwrite one or more files that may belong to other
 * packages (see list below).
 * perl-core/IO-Compress-Zlib-2.015
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Adapter/Deflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Adapter/Identity.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Deflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Gzip.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Gzip/Constants.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/RawDeflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Zip.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Zip/Constants.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Zlib/Constants.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Zlib/Extra.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Adapter/Identity.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Adapter/Inflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/AnyInflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Gunzip.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Inflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/RawInflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Unzip.pm
 *
 * perl-core/Compress-Zlib-2.015
 * 	/usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/auto/Compress/Zlib/autosplit.ix
 *
 * perl-core/IO-Compress-Bzip2-2.015
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Adapter/Bzip2.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Bzip2.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Adapter/Bunzip2.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Bunzip2.pm
 *
 * perl-core/IO-Compress-Base-2.015
 * 	/usr/lib/perl5/vendor_perl/5.8.8/File/GlobMapper.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Base.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Base/Common.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/AnyUncompress.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Base.pm
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *  * Detected file collision(s):
 *
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Bunzip2.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Adapter/Bunzip2.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Bzip2.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Adapter/Bzip2.pm
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
* perl-core/IO-Compress-Zlib-2.015
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Adapter/Deflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Adapter/Identity.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Deflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Gzip.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Gzip/Constants.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/RawDeflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Zip.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Zip/Constants.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Zlib/Constants.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Zlib/Extra.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Adapter/Identity.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Adapter/Inflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/AnyInflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Gunzip.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Inflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/RawInflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Unzip.pm
 *
 * perl-core/Compress-Zlib-2.015
 * 	/usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/auto/Compress/Zlib/autosplit.ix
 *
 * perl-core/IO-Compress-Bzip2-2.015
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Adapter/Bzip2.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Bzip2.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Adapter/Bunzip2.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Bunzip2.pm
 *
 * perl-core/IO-Compress-Base-2.015
 * 	/usr/lib/perl5/vendor_perl/5.8.8/File/GlobMapper.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Base.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Base/Common.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/AnyUncompress.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Base.pm
 *
 * Package 'perl-core/IO-Compress-2.021' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.

Well, i couldn’t find solution for this error, but bad-practises could be used for this kind of work 

I tried to unmerge IO-Compress-Base, IO-Compress-Bzip2 and IO-Compress-Zlib:

emerge -C IO-Compress-Base IO-Compress-Bzip2 IO-Compress-Zlib

And later, reinstall IO-Compress lib:

emerge -q IO-Compress

Kidnapped

May 6, 2010

Fun at work

Posted by otioti

He was kidnapped ’cause he was taking a MSDN Docs baggage

Irene

May 3, 2010

Fun at work

Posted by otioti

April 29, 2010

Windows

Posted by otioti

Download installer from http://pandion.im/pandion_setup.msi

Then, execute next command:

msiexec.exe /i pandion_setup.msi ALLUSERS=1 LAUNCHAPP=yes

Viewed on: http://pandion.pbworks.com/Installation-Guide

2010-02-18 10.04.17

March 29, 2010

Fun at work

Posted by otioti

 

 

March 24, 2010

MacOSX

Posted by otioti

Well, we got our new XServe, but after that, I discovered that it doesn’t have any video card. So… how can I complete installation process?

Reading XServe User Guide, Chapter 2: Starting Up the Xserve, Local and Remote Software Setup, it explains we can configure and install server by different ways:

  • Screen Sharing: No way, it doesn’t work at the beginning
  • Server Assistant: No way, I can’t see anything without Video Card.
  • Apple Remote Desktop: Ok, but I don’t want to pay for something that I don’t use frequently.
  • VNC Viewer: No way, it isn’t installed on system, and i can’t activate it if i don’t run Screen Sharing Service
  • Connect to the serial port on XServe: Yep, I tried to access to Xserve using serial port, but it didn’t work for me. I used XServe Setup Guide, and I noted Serial Port Specifications. We’ll need a 9-pin D connector, and connect that cable to us Macbook/iMac using a Serial-USB conventer. It will create a new device called /dev/ttyUSB0 o something like that. Late, we just open a Terminal (Applications->Terminal) and write screen /dev/ttyUSB0. But, as I said, it didn’t work for me.

Ok, now I repeat: How can I connect to the server to configure it?

Easy, you’ll need:

  • Connect first network interface to your network, and ensure you have any dhcp service running on it.
  • Wait for dhcp lease and note IP that Xserve has configured.
  • Serial Number of your Xserve: From XServe User Guide: “Slide out the system information tag from the back panel by pulling the small tab.“

Next, access to the server using SSH: ssh root@ip_xserve , and enter Serial Number as password. Then, we’ll start Screen Sharing service:

/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users admin -privs -all -restart -agent -menu

Ok, now we have Screen Sharing service running and we can use VNC Viewer app to access to server. On linux:

vncviewer ip_xserve

It will ask for a password, and we’ll enter Serial Number. Finally, we could finish installation process.

After reboot, Screen Sharing services won’t start. We’ll access again trought SSH and execute last command:

/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users admin -privs -all -restart -agent -menu

But, now we’ll need a Mac OS X to connect to server, because on Linux i received errors like in this thread: http://discussions.apple.com/thread.jspa?threadID=1912914. This is caused of VNC support isn’t activated running Apple Remote Desktop Agent.

So, using a Mac OS X, Finder->Go->Connect to Server and write vnc://ip_xserve. We could use root user with SerialNumber as password, or user created on Server Installation Assistant.

Enjoy 🙂