Not Equal C && !=C && 不等于西
RSS icon Email icon Home icon
  • Warning “/dev/xxxx should be checked for errors” for Ubunutu

    Posted on June 21st, 2015 Sean Add comments

    Recently there is a warning message

    shown on the screen, every time I login to the ubuntu 14.04 via putty.

    It seems to be a similar bug with this

    but after the command was done, the file was recreated when I logged in again.

    then reboot, but still no fix.

    If you really want to get rid of this message, instead of removing the file “fsck-at-reboot” in the first solution, just remove all content inside the file, then the message will be gone.

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
  • Fix HP LaserJet 1018/1020 not printing issue in Ubuntu 14.04

    Posted on April 16th, 2015 Sean 4 comments

         After I upgraded Ubuntu to 14.04 LTS, the HP LaserJet 1020 printer stopped working mysteriously, whatever print job sent to the print, it returns “job completed”, but has nothing to print out. I noticed the HPLIP driver has been used for the printer by default, but it didn’t work either even I changed the driver to foo2zjs via CUPS web interface.
         After googled quite a while, I finally figured out that the foo2zjs package included in Ubuntu has some issues, as well as the HPLIP package. I decided to remove both of them out, and use the correct foo2zjs driver. See below for how:

    1. Remove HPLIP package (if you had installed it manually, refer here for uninstall)
    2. Get and install foo2zjs package from official site
    3. Get HP LaserJet 1020 firmware files, and copy the files to system firmware folder. (use “1018” instead of “1020” for LaserJet 1018 printer)
    4. Installing “foomatic-filters” may remove some CUPS packages, you can reinstall the CUPS or do it when you have problem in step 6
    5. Reboot PC and printer
    6. Access the CUPS web interface “http://localhost:631” to add HP printer by using foo2zjs drivers
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
  • One line to remove all unneeded old kernel for Ubuntu

    Posted on December 5th, 2011 Sean Add comments

         Along with the kernel keeps updating, many old kernels are kept in the system. For normal users, those old kernels are no longer needed, so the best way just remove them.
         To remove all kernels, just run the single line with below:

    *Original post from here

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
  • Ubuntu Desktop Screen Upside down??

    Posted on September 3rd, 2010 Sean 2 comments

         I used to have an Nvidia video card on Ubuntu and use Nvidia Xserver drive for it, but couple days ago I decided to remove that card and use the onboard video card which is INTEL GMA 950.
         After take the Nvidia out, I have to generate the new xorg.conf file for the X Windows and new video device. So, just use Ctrl + Alt + F1 switch to text mode, and run:

         After reboot, the desktop screen become to upside down. Even can’t type anything in terminal. To fix it, just switch to text mode again, rename “/etc/X11/xorg.conf” to “/etc/X11/”, then reboot. The screen is back to normal but no video driver, then use synaptic to find any package beginning with “nvidia”, and remove them all. Last thing is change “/etc/X11/” back to “/etc/X11/xorg.conf” and reboot, then all set.

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
  • ORACLE databse can not start by missing tablespace file

    Posted on February 13th, 2010 Sean 1 comment

         Today, as usual, trying to login to Oracle database do something, but when typing “sqlplus” and username/password, it showing:

         It seems like Oracle database was not starting somehow. After connect the database as SYSDBA, type some command for trying to restart the datadase:

         Now finally realized what happened and how this happened. There is a tablespace file “XXX.dbf” missing. To solve this issue, connect database as SYSDBA, then:

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)