Can not login to server: “Server is going down” on ssh login
I was not able to log into an old server. Directly after connecting over ssh, I got a "Server is going down" message. Solution is to reboot into safe mode,…
I was not able to log into an old server. Directly after connecting over ssh, I got a "Server is going down" message. Solution is to reboot into safe mode,…
When I was updating to a new openldap server version, I got: samba olcObjectClasses: AttributeType not found: "displayName" I first tried recompiling the ldif's with a new samba.schema (you can…
Are you getting the following on yum update ? libmcommon.so.0.0.1()(64bit) is needed by (installed) matahari-net-0.4.0-5.el6.x86_64 libmnet.so.0.0.1()(64bit) is needed by (installed) matahari-net-0.4.0-5.el6.x86_64 matahari-lib = 0.4.0-5.el6 is needed by (installed) matahari-net-0.4.0-5.el6.x86_64 libmqmfagent.so.0.0.1()(64bit)…
A RHEL6 installation complained: "DeprecationWarning: Call to deprecated function: hasNow" in /usr/libexec/rhsmd . According to RedHat, this is not a problem, as rhsmd is working fine. Workaround in order to…
yum-utils-1.1.31-7 fixes this issue, but it's not available for RHEL (as far as I see). You can fix /usr/bin/reposync: --- a/reposync.py +++ b/reposync.py @@ -198,6 +198,7 @@ def main(): #…
I couldn't install activerecord-mysql-adapter. After some duckduckgo'ing, I found the solution. Error: Error: Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem…
First, find the dir you can put the font: $ grep dir /etc/fonts/fonts.conf . If it lists ~/.fonts , create the /home/username/.fonts dir Put the ttf file in the ~/.fonts…
I found working instructions here.
1. Install imagemagick 2. $ convert originalimage.png -crop 100%x50% +repace output-page.png
-edit- this only works for gnome with compiz $ ccsm go to window border type the following in 'Decoration windows': !(class=Gnome-terminal)
Do: $ dbus-launch gsettings set org.gnome.desktop.session session-name 'gnome-fallback'
Go to: opera:config#Enable%20Mouse%20Flips Disable. :)
Go to opera:config, search for 'Window Cycle Type', change to 2
I had this: /home/karlo/.dropbox-dist/libz.so.1: version `ZLIB_1.2.3.3' not found (required by /usr/lib64/libxml2.so.2) Failed to load module: /usr/lib64/gio/modules/libgvfsdbus.so And the icon did not show the sync-arrows. Disabling proxies worked for me. Right-click…
Add this to your commandline: nouveau.perflvl_wr=7777 Will allow you to change the fan speed. After a reboot, change fan speed by; # echo 40 > /sys/class/drm/card0/device/pwm0 I put the following…
Found here: http://blog.hacka.net/#post49 # yum install install ImageMagick pdftk $ cd jpgdir; for FILE in *.jpg; do convert $FILE -compress JPEG $FILE.pdf; done; pdftk "*.pdf" cat output allPages.pdf :)
Use dbus-launch before your command.
gconftool-2 --type string --set /apps/metacity/general/focus_mode mouse OR: Install ccsm Run it Go to general options Click 'focus and raise behaviour' Untick 'raise to focus' Now the windows will focus on…
This script by user 'kwall' works well for the ssh-agent. Add ssh-add before the last 'fi' to add the default ssh keys into it as well.
Tuto here Only follow: gconftool-2 --type string --set /apps/metacity/general/focus_mode mouse Also raise: gconftool-2 --type boolean --set /apps/metacity/general/auto_raise true gconftool-2 --type string --set /apps/metacity/general/auto_raise_delay 600
Install encfs do $mkdir ~/Dropbox/Secure ; mkdir ~/DropboxSecure do $ encfs ~/Dropbox/Secure ~/DropboxSecure I chose paranoia mode. This will use the settings below. Enter a secure password and there you…
Easier than my previous post, use this plugin for wordpress.
I generated SSL certs using this guide. Then I set up dovecot and postfix. View my dovecot conf here and my psotfix main.cf here. You can use this to configure…
Getting this? $ sudo service dovecot restart * Restarting IMAP/POP3 mail server dovecot Error: mail_executable: Can't use /usr/lib/dovecot/imap: No such file or directory Fatal: Invalid configuration in /etc/dovecot/dovecot.conf ...fail! install…
Give your wordpress dir the right permissions: sudo chmod -R 775 wp-dir ; sudo chown -R username:www-data Add this in wp-config.php:ย define('FS_METHOD','direct'); You can now update via 'update now'.
I used the following script to test brute-force protection: #!/usr/bin/php <?php for( $i=0; $i<99; $i++ ){ echo "Will try now. \n"; $mbox = imap_open("{mail.mailserver.com:143/imap/novalidate-cert}INBOX","user_test_$i","foobar",0,0); } ?> Edit: You will…
Found this gem on an other blog: Deprecated Linux networking commands and their replacementsย I mostly use $ifconfig. Let's try `$ ip a` from now on :).
Recently I got the error: GConf Error: Configuration server couldn't be contacted: D-BUS error: Method " GetDefaultDatabase" with signature "" on interface "org.gnome.GConf.Server" doesn't exist. I got this while trying…
Getting this: $ java drs.jar Exception in thread "main" java.lang.NoClassDefFoundError: drs/jar Caused by: java.lang.ClassNotFoundException: drs.jar at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) Could not…