Saturday, April 30, 2011

problems with ubuntu 11.04 do not upgrade!! before you read

 DO NOT USE THIS (unless you know what you are doing )

 if you are dual booting windows + ubunut and you upgrade you can lost all the booting data and all the driver and windows partitions can become unbootable


After upgrading to ubuntu 11.04 you can lose all access to your other partitions .And it looks like a lot of people are having the issue

http://ubuntuforums.org/showthread.php?t=1724345
sudo aptitude safe-upgrade' and 'sudo apt-get dist-upgrade'. It needed both. Now the system boots OK.

==============================
data from my terminal
 Resolving dependencies...              
The following NEW packages will be installed:
  gambas2-gb-db-sqlite2{a}
The following packages will be REMOVED:
  gambas2-gb-db-sqlite{u} gambas2-gb-v4l{u} ttf-lyx{u}
The following packages will be upgraded:
  gambas2
1 packages upgraded, 1 newly installed, 3 to remove and 0 not upgraded.
Need to get 40.7 kB of archives. After unpacking 434 kB will be freed.
Do you want to continue? [Y/n/?] y
Get:1 http://archive.ubuntu.com/ubuntu/ natty/universe gambas2-gb-db-sqlite2 i386 2.21.0-1ubuntu1 [37.2 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ natty/universe gambas2 i386 2.21.0-1ubuntu1 [3,532 B]
Fetched 40.7 kB in 2s (19.9 kB/s)
Selecting previously deselected package gambas2-gb-db-sqlite2.
(Reading database ... 199683 files and directories currently installed.)
Unpacking gambas2-gb-db-sqlite2 (from .../gambas2-gb-db-sqlite2_2.21.0-1ubuntu1_i386.deb) ...
Setting up gambas2-gb-db-sqlite2 (2.21.0-1ubuntu1) ...
(Reading database ... 199690 files and directories currently installed.)
Preparing to replace gambas2 2.19.0-2 (using .../gambas2_2.21.0-1ubuntu1_i386.deb) ...
Unpacking replacement gambas2 ...
(Reading database ... 199688 files and directories currently installed.)
Removing gambas2-gb-db-sqlite ...
Removing gambas2-gb-v4l ...
Removing ttf-lyx ...
Processing triggers for fontconfig ...
Setting up gambas2 (2.21.0-1ubuntu1) ...
                                       
Current status: 0 updates [-1].

still not rectified
======================
Trying solution from here
http://ubuntuforums.org/showthread.php?t=1744027
  1. Boot Ubuntu.
  2. Open a Terminal window.
  3. Type "sudo apt-get install gdisk" to install the gdisk package.
  4. Type "sudo gdisk -l /dev/sda". This will display the partition table using gdisk.
  5. Post the results.

It's possible you used to have a hybrid MBR, which would enable Windows to boot from such a disk. If so, you'll need to either restore a new hybrid MBR (which gdisk can do; you'd use the "h" option on the recovery & transformation menu, as described on the hybrid MBR page I just referenced) or convert the disk from GPT to MBR form (which you can do with gdisk using the "g" option on the recovery & transformation menu)

    sudo apt-get install gdisk
    [sudo] password for
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    The following NEW packages will be installed:
      gdisk
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 170 kB of archives.
    After this operation, 397 kB of additional disk space will be used.
    Get:1 http://archive.ubuntu.com/ubuntu/ natty/universe gdisk i386 0.6.14-1 [170 kB]
    Fetched 170 kB in 3s (52.7 kB/s)                    
    Selecting previously deselected package gdisk.
    (Reading database ... 199657 files and directories currently installed.)
    Unpacking gdisk (from .../gdisk_0.6.14-1_i386.deb) ...
    Processing triggers for man-db ...
    Setting up gdisk (0.6.14-1) ...
    ==========================================
    sudo gdisk -l /dev/sda
    GPT fdisk (gdisk) version 0.6.14



    Partition table scan:
      MBR: MBR only
      BSD: not present
      APM: not present
      GPT: not present


    ***************************************************************
    Found invalid GPT and valid MBR; converting MBR to GPT format.
    ***************************************************************
     ==================================================
    to repair your MBR into a  Hybrid MBR

    1)   sudo gdisk /dev/sda
    2) Command (? for help): r
    3)Recovery/transformation command (? for help): p


    command 1 :-  sudo gdisk /dev/sda
    GPT fdisk (gdisk) version 0.6.14

    Partition table scan:
      MBR: MBR only
      BSD: not present
      APM: not present
      GPT: not present


    ***************************************************************
    Found invalid GPT and valid MBR; converting MBR to GPT format.
    THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by typing 'q' if
    you don't want to convert your MBR partitions to GPT format!
    ***************************************************************


    Command (? for help):



    Command (? for help): r

    Recovery/transformation command (? for help): p

    Thursday, April 28, 2011

    Fatal error: Call to undefined function defined() wp-admin/admin.php on line

    http://wordpress.org/support/topic/fatal-error-call-to-undefined-function-get_option-3I am going to say it again wordpress support sucks .
    http://wordpress.org/support/topic/fatal-error-call-to-undefined-function-get_option-3

    what causes this error ? this is def not to do with something on the line because when i press refresh it loads the page like there was nothing wrong.


    is it a database error on my hosting provider?

    maybe the W3 total cache plugin (i see it is active) ?

    Tuesday, April 26, 2011

    how to increase the internet speed in ubuntu

    sudo gedit  /etc/sysctl.conf   
    add the text at the bottom given here
    http://ubuntumanual.org/posts/10/how-to-increase-internet-speed-in-ubuntu

    type in at the terminal
    ~/Downloads$ sudo sysctl -p
    net.core.rmem_max = 16777216
    net.core.wmem_max = 16777216
    net.ipv4.tcp_rmem = 4096 87380 16777216
    net.ipv4.tcp_wmem = 4096 65536 16777216
    net.ipv4.tcp_no_metrics_save = 1
    net.ipv4.tcp_moderate_rcvbuf = 1
    net.core.netdev_max_backlog = 2500
    net.ipv4.tcp_sack = 0
    net.ipv4.tcp_window_scaling = 1



    http://ubuntumanual.org/posts/10/how-to-increase-internet-speed-in-ubuntu
    http://www.ubuntugeek.com/how-to-change-mtu-maximum-transmission-unit-of-network-interface-in-ubuntu-linux.html

    frankly it did not really work on my system (April 2011) that article was written in 2008 so not sure if that is the reason 

    http://www.bufferbloat.net/projects/bloat/wiki/Linux_Tips

    check your internet connection in ubuntu

    1) Download the Netalyzr client
    2) open your terminal and then type in sudo  java -jar NetalyzrCLI.jar
    3) enter your admin password


    Netalyzr's Command-Line Client

    In some situations it would be quite handy to run Netalyzr remotely, for example to test connectivity of a machine whose user has just reported problems, or to schedule a run at a particular time of the day. To accomodate these use cases, we now provide a Netalyzr command-line client in addition to the web-based applet. The client executes exactly the same code as the applet running in a browser—the only difference is that the tests are wrapped into a stand-alone, text-only Java application instead of an applet.
    To use the command-line client, download the JAR archive below and execute it as shown. More help on running JAR-packaged code is available here. Once Netalyzr is running, you will see textual feedback at the console that looks very much like the one presented during a web-based Netalyzr session:
    $ java -jar NetalyzrCLI.jar                        
    ====      ICSI Netalyzr CLI, build 37456       ====
    ====          15-03-2011 22:36:30 UTC          ====
    ==== ID ae81b058-11263-d2e5cc18-13c9-4d4d-b78c ====
    
    00:02 02/91  Checking local vs. global IP address...
    
    The last line of the output updates continuously, showing total test time and the currently executing test. Once the tests complete, the client reports the URL at which you can inspect the session's results.
    The command-line client is a new feature. We'd be glad to hear your feedback.

    Monday, April 25, 2011

    Update to Android, Windows Phone 7 and More

    Greetings Seesmic Friends,

    We have made some major enhancements to Seesmic for Android, Seesmic for Windows Phone 7, and even launched some pretty awesome plugins for Seesmic Desktop. Take a gander at the details, below.

    Seesmic for Android 1.7: Go Fast with Shortcuts and More

    When you are on your Android, you want to go fast, be more efficient and manage information overload without ever leaving your homescreen. Save time with Seesmic for Android 1.7, featuring shortcuts and much more. The new release is live, and here's what you can expect to find.

        Shortcuts - add shortcuts for anything within Seesmic directly to your home screen.
        Compose - Post to Facebook Pages, Twitter, Chatter, etc... in one tap.
        Facebook Pages - Monitor, respond and post to your Facebook wall on the fly. Admins never had it so easy.
        Salesforce Chatter - What about the watercooler conversations and internal collaboration? Tap to chime in instantly.
        Translation - Translate updates to your current language instantly.
        Improvements - We took care of many of the the little things you asked us to fix and made some great UI improvements.

    Have a look at Seesmic for Android below:


    Seesmic for Windows Phone 7 Just Got Better

    Of course we like compliments, but we could not survive without your feedback. While our initial release of Windows Phone 7 was well received, you had some great suggestions on how to make it even better. You'll find the following enhancements in the Windows Phone 7 release, which is now live.

        Improved User Experience - We worked hard to improve the user experience in the context menus, check it out.
        Salesforce Chatter - We improved the UI to make navigation more intuitive.
        Speak a Tweet - Yes, tweets read outloud to you! We are not kidding!
        Trend integration - A list of the top topics on Twitter.
        SMS Integration - Send a tweet via SMS.
        Hyperlinks - You choose how you would like to open hyperlinks, either in app browser or internet explorer.
        Spring Cleaning - We got rid of some pesky issues with Facebook timelines and Twitter logins.

    New Seesmic Desktop Plugins

    We're always adding plugins to our marketplace of over 70 integrations. Here's what's new this week:

        Stocktwits: For the finance fanatics and traders out there
        Elgg: Your internal intranent seamlessly in Seesmic
        Viadeo: Europe's professional social network
        InboxQ: Turn Twitter conversations into business leads

    Stay tuned for the next update from Seesmic.


    Sincerely,

    Team Seesmic

    Seesmic, 1550 Bryant, Suite 890, San Francisco, CA 94103, USA -

    w3 total cache plugin conflicts with wp minify plugin and and shut your site

    If you have wp minify plugin enabled and install w3 total cache you could crash your site . And you will have a confusing error on the home page (error on line 14) . The only way to get your site back would be to log into your cpanel goto wp-contents and then plugins and delete the whole folder for w3 total cache and you may also need to delete some files in the wp-content folder like db.php (you it does not fix the prob).

    This happened to me 5 times and all the help forums are worthless.

    To avoid this happening . Disable and delete the wp minify plugin before install the w3 total cache plugin

    Tuesday, April 19, 2011

    facebook spam continues in diff variants

    new spam event  "WOW Now you can see who views your facebook profile!"




    people are still clicking on these events which is spreading it to everyone on their friends list (not sure how)

    another spam is

    hahah mine is hilarious!!! check yours out :)
    See what you'll look in the future!
    youin20yearz.info





    and

    See who viewed your profile @ hxxp://ow.ly/4D5Y5

    Saturday, April 16, 2011

    facebook spam virus - Official App: See Who has Viewed your Profile? Check out this! << do not click

    invited you to the event "Official App: See Who has Viewed your Profile? Check out this!"
    11 minutes ago
    you to the event "Official App: See Who has Viewed your Profile? Check out this!"

    today this has been spreading on facebook . Do not click on it or it will send the link to your friends (not sure how it work)


    So it seems the script tags the person and then invites the user to the event

    xxx tagged you in a post.


    xxx invited you to the event "See Who Has Viewed Your Profile!"
    a few seconds ago

    other spam events
    xxx invited you to the event "See Who Has Viewed Your Profile!"
    a few seconds ago
    xxxx invited you to the event "FRIENDS PLEASE SEE THIS EVENT! URGENT! "
    54 minutes ago

    Wednesday, April 13, 2011

    wordpress hacked again

    I had the latest updates v 3.1.1 and still my site was defaced . I do not know how they did it .

    the index.php had some script kiddes crap and the admin password did not work

    The images were stored on the ip 174.36.155.228

    http://www.networksolutions.com/whois/results.jsp?ip=174.36.155.228


    hxx://174.36.155.228/decorative_writing/img/alphabet/monochrome/c.jpg

    TUNISIEN|DEFACER|WAS HERE

    what is HappeninG
    Admin! You Think You Can Do Whatever You Want?? No Way...pSyCh0-Tn is on the place now!!!
    We Love To Break The Best Securities You Make...That Is Why We Are Called HACKERS
    FFFFFF0F 41414141 41414141 41414141 0FFFFF0 0FFFFF0 FF000FF


    Thankz's to: | .::||BLACK.JaGuAr||::. | .::||Wookr||::. | .::||all crew Aljyyosh Team||::. | .::||TUNISIEN H4Ck3Rs||::. | | .::||My Friends||::. |

    _______________________________________

    MSN > pS.y@hotmail.de


    google search bring ups

    aljyyosh team]Shell root (islambrigades)
    www.aljyyosh.com?
    http://www.xfire.com/profile/islambrigades/

    maybe some leads from the facebook group?
    http://www.facebook.com/group.php?gid=133746433338380&v=wall&viewas=0
    H4ck3R. HACKER TUNISIEN. c0ntAct. MBA_384@HoTmAiL.cOm. IM MOSLIM TUNSI. ?
    The-Tooli.cc ?