xen-linux-system-amd64 will just be a dependency on the latest version in the distribution, which is currently xen-linux-system-3.16.0-4-amd64. Should a newer version be introduced at some point, xen-linux-system-amd64 will have a dependency on that version instead. If you want to stay on the old, specific version, install the 3.16.0-4 package instead....
You do not want to offer your .pub as your credentials. You want to use your private key on your end, so you should probably be doing ssh -v -i ~/.ssh/id_rsa [email protected] which is the deault key to use, so you can just leave off the -i flag altogether Also,...
image,apache,debian,mod-deflate,mod-cache
Sorry, it was a network problem!
I have this error and solved installing package minwg32 and dependencys (linux)
the easiest way would be to save the output to a file and attach that to your email. (personally i hate emails that have inlined long error-logs without good cuase - like annotations). this would also allow you to compress the file before attaching it, reducing the size considerably (as...
I guess you want somthing like this: for a in {{0..3},{00..03},{000..003},{300..303},{254..257},{0254..0257},fail,888} ; do for b in {{0..3},{00..03},{000..003},{300..303},{254..257},{0254..0257},fail,888} ; do for c in {{0..3},{00..03},{000..003},{300..303},{254..257},{0254..0257},fail,888} ; do for d in {{0..3},{00..03},{000..003},{300..303},{254..257},{0254..0257},fail,888} ; do echo "$a"."$b"."$c"."$d" done done done done The script outputs 456976 wannabe IP addresses: 0.0.0.0 0.0.0.1 0.0.0.2 0.0.0.3 0.0.0.00 ......
It's not amongst the official GNU libc or linux error codes (1, 2) I assume you are just playing with some code examples from here. I believe the author just built its own error code (with a value high enough not to interact with the existing ones!) to use it...
console,debian,tty,openvz,proxmox
I just fix this by removing: /etc/systemd/system/getty.target.wants/[email protected] and it now tty1 is gone. Still don't know if it will breaks anything....
ruby-on-rails,ruby-on-rails-4,debian,virtualbox,actionmailer
In development environment you need these options in environments/development.rb config.action_mailer.perform_deliveries = true config.action_mailer.delivery_method = :smtp By default rails in development mode only shows email body in log without real sending....
xargs to the rescue. find /usr/lib/python2.7/ -name '*.so' -exec ldd {} \; | xargs -r cp -t where/is/destination This ends up effectively collecting the output from ldd to the end of the cp command line. This will only work correctly if the file names do not contain newlines. Some legacy...
We fixed it by adding dh_override_md5sums to our debian/rules file: #!/usr/bin/make -f # Empty target: https://goo.gl/m90o0y override_dh_md5sums: ; %: dh [email protected] ...
java,debugging,netbeans,debian
Here you can run mamut in debug mode adding the following options to the java command in run.sh -Xdebug -Xrunjdwp:transport=dt_socket,address=1000,server=y,suspend=n You then have to attach the debugger in netbeans choosing the dt_socket transport option. Note that, if suspend is 'n', the application will start immediately and will not wait for...
networking,debian,godaddy,google-compute-engine,google-cloud-dns
Your domain has DNS servers associated with it. You can check any public whois service and look for Name Server records. You should have credentials to log into that management console and append the A record you want, ie, from your domain name to your GCE's ip address. If the...
First to the amavis problem: According to you pastebin: qmgr requests something from amavis and gets a response it does not understand. I assume that qmgr send a mail to amavis that should be checked. Either amavis is down or the mail causes amavis to produce a corrupt response. But...
wordpress,debian,docker,fedora,dockerfile
The WordPress image Dockerfile does begin with FROM php:5.6-apache. But the php:5.6-apache image Dockerfile starts with FROM debian:jessie. Hence the apt-get. Each image builds up based on another base image. ...
c++,linux,c++11,debian,cross-compiling
I assume the first three lines in your code are: #include ... And not include ... And you just copy/pasted wrong. Otherwise you are not showing all the errors you got. Other than that. The problem is most likely due to something weird going on with your pthread.h file. Compile...
You need to boot your PC in UEFI mode, not BIOS compatibility. You will see a different installer that says "UEFI Installer". To compare with a regular installer: ...
linux,service,debian,monitor,systemd
if you are using systemd service file to start your service then below will be answer for your question add below lines in your service file from where you are staring your service [Service] Type=simple ExecStart=here will be your service executable name Restart=always RestartSec=0 Restart= Configures whether the service shall...
ruby-on-rails,linux,ubuntu,debian,passenger
Fixed that by reinstalling Ubuntu on clean VM. This issue might appeared because I copied my VM's without turning it off.
mysql,debian,raspberry-pi,gnupg,mysql-5.6
This helps: sudo gpg -k Then install any missing packages that it errors on and then go for the final build/compile....
linux,include,debian,libxml2,suse
Try to compile with explicite inclusion where the parser.h file is, i.e. smth like this g++ -I/usr/include/libxml2/ Following environment variables can also be used for lookup of header files CPATH C_INCLUDE_PATH CPLUS_INCLUDE_PATH OBJC_INCLUDE_PATH Find more information here ...
python-2.7,debian,pip,pyopenssl,urllib3
This is actually an issue with urllib3, not with pyopenssl. Debian lately compiles OpenSSL without SSLv3 support, and urllib3 just assumed that support was there. The issue was fixed in commit b9b3b0102 which is part of the 1.10 release of urllib3. As you are using urllib3 as part of requests,...
The problem here is the rule match. When a single USB drive is plugged, a series of udev event are generated corresponding to all device nodes created (USB tree). The leaf is the partition (block device) and the top parent is a PCI bus. So rule matches two nodes which...
remove all versions of psutil and install 2.2.1 again: $ sudo pip uninstall psutil Uninstalling psutil: /usr/local/lib/python2.7/dist-packages/_psutil_linux.so /usr/local/lib/python2.7/dist-packages/_psutil_posix.so /usr/local/lib/python2.7/dist-packages/psutil /usr/local/lib/python2.7/dist-packages/psutil-2.2.1.egg-info Proceed (y/n)? y Successfully uninstalled psutil $ sudo apt-get remove --purge python-psutil Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED:...
linux,segmentation-fault,debian,glibc,vscode
Updating to Debian 8 fixed this problem.
In regular expressions, ^ matches only at the beginning of a line. Thus, to match Port only at the beginning of a line, write ^Port. For example, lets create a file; $ cat >testfile Port 123 # Test <- It would match this one This is a Port <- It...
Just run those commands in your terminal. sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install build-essential gcc-multilib rpm libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386 Or as root remove the "sudo" from them....
It seems like /usr/local/bin is not in your PATH and thus the executable cannot be found. Add it to your PATH as described in How to permanently set $PATH on Linux?. If you just link the one executable, you will have the same problem with any other executable added to...
If you do a apt-get update just your sources.lst gets renewed. In case you mean apt-get update && apt-get upgrade (which actually updates your system) I think it does not depend on how you invoke your update but rather on how secure the server is which holds the repository and...
You are executing the check script via command line, so the php.ini is different between the CLI and apache. For find the correct php.ini for the cli lauch the following command: php -i | grep 'php.ini' And check the Loaded Configuration File line Hope this help...
linux,gtk,debian,beagleboneblack
Running the code from .xsessionrc would appear to work nicely. I run it as /usr/bin/sudo ./myapp - just to be sure!
linux,debian,firewall,exim,directadmin
A good solution would be to use Fail2ban. Fail2ban is a Daemon to ban hosts that cause multiple authentication errors And it uses iptables to do the work. By default it won't block SMTP attacks, but you can edit its config file /etc/fail2ban/jail.local like this: [...] [sendmail] enabled = true...
ruby-on-rails,networking,debian,subdomain,host
You can use the lvh.me domain. That domain has a DNS entry that will redirect to localhost. This also works for subdomains, so you can visit admin.lvh.me:3000 and it will redirect to localhost:3000 while still having the subdomain available in the Rails request. The advantage is that you don't have...
poweroff is ok from my point of view. I usually switch off the computer like that. It will (as mentioned) end correctly the running services and syncs the disks. It is not at all like hardware unplug. If you have something running, instalation, updates... everything gets a kill signal and...
You can drop directly into a running container with: $ docker exec -it myContainer /bin/bash You can get a shell on a container that is not running with: $ docker run -it myContainer /bin/bash This is the preferred method of getting a shell on a container. Running an SSH server...
I installed proftpd and created a user as mentioned here, Please note default port is 21. And make sure you restart proftpd: service proftpd restart The code I used to upload a file is: index.php <?php ini_set('display_errors',1); ini_set('display_startup_errors',1); error_reporting(-1); $file = 'a.txt'; $remote_file = 'b.txt'; $conn_id = ftp_connect('www.xxx.com',21); $login_result =...
linux,debian,qemu,debian-7.6.0
The problem here is your '--enable-tcg-interpreter' argument to configure. This disables the usual JIT-based TCG backend for the host CPU in favour of a slow interpreted backend. You never want the interpreter unless QEMU would otherwise not support your host CPU at all; as you have found, it is markedly...
Because the guest-additions mainly provide xorg drivers. If you are not running an X-server, there is little reason to install them....
Finally I found solution. I forgot to add the phpmyadmin directory to PHP open_basedir. Now everything is working properly. Thanks all users for advice.
debian,google-compute-engine,kubernetes
For the simplest getting started experience on Google's cloud platform, I'd recommend using Google Container Engine to get your cluster up and running. With one click or a single command line (gcloud alpha container clusters create NAME --zone ZONE) you can deploy a cluster and get yourself up and running...
there is no package, so you cannot install it. Debian has switched to libav in favour of ffmpeg, and the gstreamer0.10-ffmpeg package currently cannot be be build using libav. hence it is not jessie. You might have luck (or not) using one of the gstreamer0.10-ffmpeg packages on some ubuntu PPAs...
Here is the correct way to write the query: SELECT c.ID, c.RATING, c.MANDRILL_ID FROM contacts c JOIN mails m ON m.CONTACT_ID = c.ID WHERE m.MANDRILL_ID = 'fea4b3b036b44655a7e24121ac359d0a'; For performance, you want the following indexes: mails(mandrill_id, contact_id) and contacts(id) (you probably have the latter). Notes: The left join was being turned...
Again, use a regular expression for that which you want to replace: replaceappend port.txt "Port.*" "Port 222" Here you are replacing Port (if it starts the line, as per your function definition) plus whatever follows until the end of the line with "Port 222". EDIT: To make this part of...
First, GitLab has replaced Gitolite with GitLab shell long ago: https://github.com/gitlabhq/gitlab-shell , I don't think it is compatible with gitolite anymore. Next, why do you need to play with GitLab shell to hide code from emploees? Why not just: put the code on a safe server which employees cannot access...
php,debian,imap,php-extension,apt-get
I solved the issue with calling external python script, which uses imaplib (http://pymotw.com/2/imaplib/). Example of calling python from php: <? exec("python <ABSOLUTE_PATH_TO_SCRIPT>.py " . escapeshellarg($arg1)); ...
linux,bash,debian,environment-variables,.profile
In your .bashrc file add the following command: PATH="/home/gsamaras/mpich-install/bin:$PATH" Then execute: . .bashrc from you home directory. Now, check you path (or) logout and login....
It sounds like your requirements are going to need either a uPNP solution or tunnelling solution to get through your firewall. The following link discusses reverse SSH tunneling as one part of this solution. http://unix.stackexchange.com/questions/46235/how-does-reverse-ssh-tunneling-work...
If there are incompatibilities, I would suggest you run the 'upgrade manager', and let it check if there are packages which have to be update. How did you install the icons and what did you install from gnome? An extension? Try this: sudo apt-get --reinstall install network-manager I think your...
I managed to fix this by extracting the .deb file manually and copying the template and static directories over the ones in /etc/munin/ for some reasons a aptitude reinstall was not copying these files?
guess_fc() calls rval <- .Call("reg_wrong_fc", surname, name, year, month, day, female, codice_catastale, PACKAGE = "ifctools") so maybe you are simply not calling the C code you thought you were? (I'd have entered c to (c)ontinue execution, rather than signal 0.)...
ruby-on-rails,ruby,linux,debian
A standard user should be able to do all that with a single-user installation of rvm. Just follow the instructions on https://rvm.io In order to check if your user has rights on /var/www : check your user's groups : groups #{username} check permissions on /var/www : ls -al /var |...
linux,shell,ftp,terminal,debian
Not sure why are you using while loop but you can use simple bash script: #!/bin/bash X=`cat /etc/vsftpd | grep ^anonymous_enable | awk -F= '{print $2}'` shopt -s nocasematch if [[ $X = "YES" ]] then echo -e "Accept connection\n" else echo -e "Not Accept\n" fi Output: [[email protected] ~]# sh...
My mistake was taking the contents of .bash_profile and using that to set up keychain from my exec. What I needed to do was: . $HOME/.keychain/$HOSTNAME-sh; git pull I found this out by looking up examples of how to use keychain with bash scripts....
There was an issue with the Mono packages that should now be resolved, please see http://www.mono-project.com/docs/getting-started/install/linux/#libgdiplus-debian-80-and-later-not-ubuntu. The reason is that Debian 8 doesn't have libjpeg8 anymore which libgdiplus (a component of Mono) requires....
tomcat,grails,debian,grails-2.0
There is no need to config about folder in config.groovy. just follow the below code. at least worked for me ::: def gameImage = request.getFile('appImage') String imagePath = "${request.getRealPath('/')}/apps/gameImage/" new File( imagePath ).mkdirs() gameImage.transferTo( new File( imagePath + File.separatorChar + gameImageName) ) ...
There are plenty of ways you can go about this problem. Since you need to change only one specific letter to lowercase, you could use "map" with case insensitive regular expression: map $request $letter { "~*^/archive/[0-9]{4}/(www\.)?a(.*)?$" a; "~*^/archive/[0-9]{4}/(www\.)?b(.*)?$" b; "~*^/archive/[0-9]{4}/(www\.)?c(.*)?$" c; "~*^/archive/[0-9]{4}/(www\.)?d(.*)?$" d; "~*^/archive/[0-9]{4}/(www\.)?e(.*)?$" e; "~*^/archive/[0-9]{4}/(www\.)?f(.*)?$" f; "~*^/archive/[0-9]{4}/(www\.)?g(.*)?$" g; "~*^/archive/[0-9]{4}/(www\.)?h(.*)?$"...
If you want to get the output of a program running in the background, first get its PID with the command pidof program_name. This will return, for example, 2518. Now you can run tail -f /proc/2518/fd/1 to follow the output of that program....
To find which symbols made your elf non-PIC/PIE (Position Independent Code/Executable), use scanelf from pax-utils package (on ubuntu, install it with sudo apt-get install pax-utils): $ scanelf -qT /usr/local/lib/libluajit-5.1.so.2.1.0 | head -n 3 libluajit-5.1.so.2.1.0: buf_grow [0x7694] in (optimized out: previous lj_BC_MODVN) [0x7600] libluajit-5.1.so.2.1.0: buf_grow [0x769C] in (optimized out: previous lj_BC_MODVN)...
Debian already includes kvm/qemu/libvirt - just install the packages, then read the manuals to learn how to set things up (disk images, networking, VM).
Environment variables are inherited by any process invoked by your shell. That includes both sub-shells and any other commands you invoke. (Non-environment) shell variables are not. For example, $TERM needs to be exported, because commands you invoke from your shell (a text editor, a pager, anything that uses a full-screen...
To clarify: the question appears to be asking if gnome-terminal supports escape sequences which allow an application to change key-bindings. To that, the answer is "no". The term "localized" generally refers to something different: the customization of an application to different locales. For example, see What is Localization and How...
depends on your file manager. for example: sudo pcmanfm &>/dev/null &
linux,debian,static-ip-address
is not /etc/networ/interfaces is /etc/network/interfaces not reboot, you can try: /etc/init.d/networking restart or ifdown eth0 ifup eth0 and... warning, maybe 192.168.1.2 is ussed by other computer. And you forgot auto eth0 iface eth0 inet static ...
I think this is what you're trying to do: $ cat tst.sh function replaceappend() { awk -v old="$2" -v new="$3" ' sub(old,new) { replaced=1 } { print } END { if (!replaced) print new } ' "$1" > /usr/tmp/tmp$$ && mv /usr/tmp/tmp$$ "$1" } replaceappend file "Port 22" "Port 123"...
Just cd into /lib/systemd/system/ and change the symlink of ctrl-alt-del.target from reboot.target to poweroff.target. ln -s /lib/systemd/system/poweroff.target /etc/systemd/system/ctrl-alt-del.target then reset systemd daemon: systemctl daemon-reload ...
bash,debian,expect,vnc-server,tightvnc
# Configure VNC password umask 0077 # use safe default permissions mkdir -p "$HOME/.vnc" # create config directory chmod go-rwx "$HOME/.vnc" # enforce safe permissions vncpasswd -f <<<"$password" >"$HOME/.vnc/passwd" # generate and write a password Modify to taste, if your packaging for tightvnc uses a location other than ~/.vnc/ for...
As the message says, you need to assign the variable wait_timeout a value in the mysqld section of your configuration file. For instance wait_timeout=60 But if its passed as a parameter when connecting then simply write --wait_timeout=60 https://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html#sysvar_wait_timeout...
You don't need to install the java package. The functions in the java package have been merged into the Octave core language for the 3.8 release. You don't need to do anything, java should work out of the box for you (provided you didn't mess up while building it). If...
That looks like some portscan or other scanning attemps. They connect, issue some invalid commands and then disconnect. They don't try to send any emails, as in that case you would see in the postfix log info about either accepting those emails or rejecting them. Regarding the second issue, you...
The instruction is Add "contrib" and "non-free" components to /etc/apt/sources.list, for example I.e., you're supposed to add that line to the given file with a text editor. You are not supposed to execute it on a command line....
linux,bash,shell,debian,supervisor
Thanks Etan Reisner, I have already fix the problem, I will put it here so if anyone else have the same problem see why. The problem was so simple (as usual) I was reading the content of text files /sys/class/net/eth0/carrier and /sys/class/net/eth0/operstate to detect when the network cable was plugged...
It seems that those additional disks haven't been touched since they were connected to the server and don't have even partitions yet. In general, adding extra disk space in Linux can be done in the following steps: Attach new disk to the server Create partition table on it Add one...
Ok, a smple CREATE EXTENSION orafce is enough...
I solved this myself and figured I'd post the solution. I used the -u32 module instead of hex string matching. For this particular issue I used the following rule: -A INPUT -i eth1 -p udp -d x -m u32 --u32 "16 & 0xFFFFFFFF = 0x17ebf72a" -m u32 --u32 "22 &...
linux,debian,vmware,web-deployment
Besides version controlling you can achieve it with sshfs. It is basically like mounting a remote directory in your local system. More info: http://en.wikipedia.org/wiki/SSHFS https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-remote-file-systems-over-ssh...
Personally, I'd implement this like so -- with a while loop, not an until loop, and checking for the exit condition separately and explicitly: while true; do echo "Enter file name to print out :" ; read toPrint [ "$toPrint" = fin ] && break sh ./afficher.sh "$toPrint" done If...
Input should be passed through stdin. Do this: ADMIN_PASSWORD=admin echo -n "${ADMIN_PASSWORD}" | openssl dgst -sha1 -hmac And you will get output d033e22ae348aeb5660fc2140aec35850c4da997 on stdout. If you'd rather save it to a variable to be referenced later, do ADMIN_PASSWORD=admin SHA1SUM=$(echo "${ADMIN_PASSWORD}" | openssl dgst -sha1 -hmac) And later refer to...
Problem solved thanks to user @che. I had to copy the whole /var/lib/mysql directory, not just /var/lib/mysql/[dbname]. Apparently some database information is also contained in those files.
installation,debian,package,edit,cd
finally did it. first mistake building .deb : dpkg-deb -b . pathtopackage/new_package_name.deb correct command: dpkg-deb -b -Zgzip . pathtopackage/new_package_name.deb to recreate exact package as original one and then following the rest tutorial on https://wiki.debian.org/DebianInstaller/Modify/CD, except for debootstrap error, it can be done by following tutorial from this page https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1001131 edit...
networking,usb,debian,wireless,umts
After many tries I found a solution (at least for me): It seems, there is a problem with PIN-locked SIM-Cards. After setting up the GSM-Connection via the GUI nothing happended (seemed so). But a file for the connection in /etc/NetworkManager/system-connections/ has been created. By disabling the PIN of the SIM-Card...
linux,debian,software-packaging
If you want to create a Debian directory directly in the source package (ie you're packaging your own work, rather than from an upstream release) you could use the --native option to dh_make
After days of working through this issue, I solved the problem. Some of the answers here were correct, there was a problem with the self-signed certificate (so the Soap client has to be made to not care), but another issue was the url itself. For whatever reason, putting in an...
linux,debugging,gdb,debian,lldb
Both Fedora and Ubuntu follow the convention described in Debugging Information in Separate Files. Gdb first retrieves the filename present in the executable's .gnu_debuglink section. .gnu_debuglink doesn't include any directory names. Gdb then looks for a file named (if I may use shell syntax) $(dirname $executable)/$debuglink, then /usr/lib/debug/$(dirname $executable)/$debuglink, for...
You are using short tags <?. Get used to using <?php to open PHP code blocks. You can change the setting in php.ini under short_open_tag. But I think it is better practice to use <?php....
eclipse,crash,debian,eclipse-luna,kali-linux
I could figure out the problem and solve the same describe below how it was done so to help someone who is having the same problem. To begin i'm using the latest stable version of eclipse-luna downloaded direct with the site or using wget. Open your eclipse.ini file and exactly...
You are not supposed to use Ubuntu repositories in Debian. Package version may conflict and many other things can go wrong. At your own risk, you can still try to do that. The closest Ubuntu version to Wheezy is 13.10. So first, remove the ppa you just installed: sudo ppa-purge...
apache,debian,openid-connect,mod-auth-openidc
After installing libapache2-mod-auth-openidc you will have to configure some settings before the module can be used successfully. Two of the mandatory settings are OIDCRedirectURI and OIDCCryptoPassphrase. Most probably you'll also have to configure client credentials for your OpenID Connect provider. You can take a look at the sample configurations at:...
I given negative index in the view.php to the SQL and it was failed it, but I sloved it.
$ADMPASS is probably not defined, because you also have $ADMIN_PASSWORD Inside double quotes, be sure to wrap your variable names in curly braces like this: ${ADMIN_NAME} Otherwise Bash will not always be able to separate them from succeeding characters. The complete line then would look like this: PGPASSWORD="$DBPASS" psql...
While that's technically possible, it's a bad idea; picocom is a somewhat uncommon tool, and it's primarily designed to be used interactively by a user. Trying to use it from within another application will be pretty weird. It'll be much easier to interact with the serial port directly from your...