This is a page of "How to" solve some computer problems that may happen.
P = problem; S = solution
$ sudo service dovecot restart $ sudo service postfix restart
We can check our current memory usage using this command:
$ watch -n 1 free -m
or
$ watch -n 1 cat /proc/meminfo
We can free up unused memory under Ubuntu/Linux Mint using this command:
$ sudo sysctl -w vm.drop_caches=3
or
$ sudo sync && echo 3 | sudo tee /proc/sys/vm/drop_caches
Please check this site, too:
http://www.upubuntu.com/2013/01/how-to-free-up-unused-memory-in.html
When we login to TUBE systems, the following message appears:
/etc/ssh/ssh_config line 53: Unsupported option "gssapiauthentication" /etc/ssh/ssh_config line 54: Unsupported option "gssapidelegatecredentials"
Give comment sign to the following lines (or remove them completely)
# GSSAPIAuthentication yes # GSSAPIDelegateCredentials no
Try again to login to TUBE systems.
Therefore,
<!-- hhmts start --> Last modified: Tue Oct 14 16:58:36 JST 2014 <!-- hhmts end -->
is a CORRECT syntax.
But:
<!-- hhmts start --> Last modified: Tue Oct 14 16:58:36 JST 2014 <!-- hhmts end -->
is a FALSE syntax.
\usepackage[dvipdfmx]{graphicx}
\usepackage{graphicx}
add
mail_max_userip_connections = 10
and then
sudo service dovecot restart
NEED_GSSD=""should be modified to be
NEED_GSSD=yes
# Blacklist rpcsec_gss_krb5 kernel module; needed for quick NFSv4 mounts blacklist rpcsec_gss_krb5
$ sudo service nfs-kernel-server restart
Check also this reference: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1270445
/var/lib/samba/passdb.tdb
/var/lib/samba/private/passdb.tdb
# sudo service smbd restart # sudo service nmbd restart
sudo ln -s /etc/apparmor.d/usr.bin.evince /etc/apparmor.d/disable sudo /etc/init.d/apparmor restart
and add export NO_AT_BRIDGE=1 to /etc/environment
LANG = "ja_JP.UTF-8"
I've done this for new FLEX - for a particular user (corresponding user should do by himself): edit ~/.dmrc and add under [Desktop] section:
Language="ja_JP.UTF-8"
(If we want English, just change above line by
Language="en_US.UTF-8")
[#t91ab972]
1. Download the 7-zip installer for your computer from www.7-zip.org. Run the program and install 7-zip to your computer. 2. Choosing your files. 3. Right-click on items and choosing 7-Zip, then Add to archive. 4. choose your format from Archive format `zip`. 5. Enter password. 6. Finally, OK to create the compressed archive.
$ sudo /root/route4flex.sh
-from <your_working_ip_address>for example (please change the address, the following is Nugraha's example):
-from 172.17.4.181
# sysv-rc-conf ypbind on # reboot
#sudo service lightdm restart
#service dovecot start #service dovecot stop #service dovecot restart #sudo /etc/init.d/postfix restart
Install ubuntu-tweak
#sudo add-apt-repository ppa:tualatrix/ppa #sudo apt-get update #sudo apt-get install ubuntu-tweak
Launch ubuntu-tweak from terminal and customize the login screen
http://d.hatena.ne.jp/tama_sh/20120505/1336197629
Install xdvi-ja
# apt-get install xdvik-ja
Font map file: /etc/texmf/vfontmap.d/
Do the following:
# cd /etc/texmf/vfontmap.d/ # mv 20ptex-jisfonts.map 20ptex-jisfonts.map.org # mv 20xdvik-ja.map 20xdvik-ja.map.org # mv 30morisawa.map. 30morisawa.map.org
Next, check the fc-list the name of the Japanese font to use.
$ fc-list | grep Takao Takao P??,TakaoPMincho:style=Regular Takao????,TakaoGothic:style=Regular Takao P????,TakaoPGothic:style=Regular TakaoEx????,TakaoExGothic:style=Regular TakaoEx??,TakaoExMincho:style=Regular Takao??,TakaoMincho:style=Regular
Add the following lines to a file takao.map (create new if not exist) under the directory /etc/texmf/vfontmap.d/
@TakaoMincho-Regular@ rml JIS-H % ASCII pTeX rmlv JIS-V % ASCII pTeX dm JIS-H % NTT jTeX rml-jis JIS-H % ptex-jisfonts
@TakaoGothic-Recular@ gbm JIS-H % ASCII pTeX gbmv JIS-V % ASCII pTeX dg JIS-H % NTT jTeX gbm-jis JIS-H % ptex-jisfonts
Finally, update the registration information of the font
# update-vfontmap
Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-25-generic x86_64)
* Documentation: https://help.ubuntu.com/
New release '12.04 LTS' available. Run 'do-release-upgrade' to upgrade to it.
*** System restart required ***
Then change the permission
sudo chmod 600 *
warning: Clock skew detected. Your build may be incomplete. Such warning appears in TUBE50
NEED_IDMAPD= yes
NEED_IDMAPD=yesimportant to note: <space> has meaning to separate the variable in sh script.
sudo update-alternatives --config editor
Then press Enter anytime the statement appears
[root@tube40 ~]# emacs /etc/ntp.confThe /etc/ntp.conf file is the main configuration file for Linux NTP in which we place the IP addresses of the servers we want to use. Here we only use one server:
server ntp.tohoku.ac.jp # A stratum 1 server at tohoku.ac.jp #server ntp.redhat.com # A stratum 2 server at redhat.comWe have to restart the NTP process every time we make a change to the configuration file for the changes to take effect on the running process.
[root@tube40 ~]# chkconfig ntpd on
[root@tube40 ~]# /etc/init.d/ntpd start [root@tube40 ~]# /etc/init.d/ntpd stop [root@tube40 ~]# /etc/init.d/ntpd restart
[root@tube40 ~]# /etc/init.d/ntpd stop Shutting down ntpd: [ OK ] [root@tube40 ~]# /usr/sbin/ntpdate -u ntp.tohoku.ac.jp 19 Jan 16:11:08 ntpdate[23079]: adjust time server 130.34.11.117 offset 0.016601 sec [root@tube40 ~]# /usr/sbin/ntpdate -u ntp.tohoku.ac.jp 19 Jan 16:11:09 ntpdate[23080]: adjust time server 130.34.11.117 offset 0.015737 sec [root@tube40 ~]# /usr/sbin/ntpdate -u ntp.tohoku.ac.jp 19 Jan 16:11:13 ntpdate[23081]: adjust time server 130.34.11.117 offset 0.014081 sec [root@tube40 ~]# /etc/init.d/ntpd start Starting ntpd: [ OK ]
Since we do not know what is the process of mount the file. we can not change mtab to snapshot. For a moment, we force mount /home1 and /rsaito on /tmp/home1, /tmp/rsaito
/etc/rc5.d/S28autofs stop mkdir /tmp/home1 mkdir /tmp/rsaito mount -n 192.168.2.100:/home1 /tmp/home1 mount -n 192.168.2.100:/rsaito /tmp/rsaito df
/rsaito/bin/pxe-mount
tube30:/nfsboot/root/etc/mtab
This is a firewall problem of windows.
control panel -> firewall -> add new port ->
Name Esound Port 16001 TCP
This is due to mounting problem again (mount NFS). After checking mount status, it is found that a network harddisk was not unmounted nicely before turning off.
# mount
# umount -f /mnt/backup
# sync # sync # sync
comment out one line in /etc/auto.misc # home1 172.17.4.134:/home1-old
./S28autofs forcerestart
I also delete in /etc/exports
the requests from 172.17.4.184 (nuguraha) 172.17.4.188 (mahabubu) and 172.17.4.127 (furu).
exportfs -a
we also need to restart nfs /etc/rc5.d/S60nfs restart
Then many selection of OS appears. Select one of OS, and press E. Then select kernel and press E again. Then you can edit the command for starting kernel and add "single" in the last of the command. Finally select "b" for booting and single user mode appears. Make /etc/passwd files and exit and runlevel 5 is recovers.
Even if we used NIS, we should not delete /etc/passwd /etc/group and /etc/shadow.