Tag Info

New answers tagged

0

Just figured out that I have to use Type=forking like described in http://www.freedesktop.org/software/systemd/man/systemd.service.html. If set to forking, it is expected that the process configured with ExecStart= will call fork() as part of its start-up. The parent process is expected to exit when start-up is complete and all communication ...


0

The hash of the program should NOT change if you did not update your SSH. Also, it shows you the time when the file was modified (03-Apr-2014), so if you did not update openssh packages, it is not a false positive.


0

Not a direct answer to your question. But If you have to use some new features from mysql 5.6, you can consider using mariadb. It has a official repo for Debian Wheezy and had pretty much everything mysql 5.6 got.


0

All Tested Have fun. .apt-get install libaio1 groupadd mysql useradd -r -g mysql mysql wget -O mysql-5.6.16-debian6.0-x86_64.deb http://downloads.mysql.com/archives/mysql-5.6/mysql-5.6.16-debian6.0-x86_64.deb dpkg -i mysql-5.6.16-debian6.0-x86_64.deb cd /usr/local ln -s /opt/mysql/server-5.6 mysql cd mysql scripts/mysql_install_db --user=mysql chown -R ...


2

The issue seems to be that you can't have both the amd64 and i386 versions of libssl1.0.0 installed together unless they are exactly the same version. Above the amd64 version is 1.0.1e-2+deb7u6 while the i386 version is 1.0.1e-2+deb7u7. For some reason the i386 architecture has a newer version of the package than the others, it is unclear why this is. ...


2

Since @Bob says there's no runtime configuration option for this and I didn't want to rebuild gdm3 from patched source, I took the following approach. First, move the real X server aside: sudo dpkg-divert --local --rename --add /usr/bin/Xorg Then drop a new shell script in place of /usr/bin/Xorg: #!/bin/sh test -x /usr/local/bin/Xorg && exec ...


1

That rootfs entry is the real root filesystem. It has no device; it is a tmpfs that is automatically mounted by the kernel very early during initialization. Later during the boot process, your disk root filesystem is mounted over top of the rootfs, hiding it from view.


4

/etc/environment is a file used by PAM, meaning it is processed by a log in, which sudo bash does not do, and (from man sudoers): Command environment Since environment variables can influence program behavior, sudoers provides a means to restrict which variables from the user's environment are inherited by the command to be run. There are ...


1

There should be a line with launchpad somewhere. This should show where: grep -Ri launchpad /etc/apt/sources.list* Could be also that you have configured a personalized path for sources.lists: grep -R Dir /etc/apt/apt.conf* Find it and remove it.


0

Sometimes the package management system is so broken (often in a circular dependency chain) that the only combination of commands I have found to remove problematic packages are: cd /var/lib/dpkg/info ; rm <packagename.*> dpkg --purge --force-remove-reinstreq <packagename> OR dpkg --remove --force-remove-reinstreq <packagename> Then ...


1

I think you should be looking into /proc/mounts: $ cat /proc/mounts That file has exact device, filesystem and other mount options used to mount different filesystems on your OS. The format is same as of /etc/fstab.


1

You screwed up. You were told you couldn't format the disk because it was in use. It was in use. You were trying to format one of the existing disks, not the new one. Now you formatted the existing drive and lost your data. You will need to restore from backup. You can see from the pvdisplay output that /dev/sdd1 is 100% free, so that seems to be the ...


2

Don't reinvent the wheel. apt-get install apticron Apticron is a simple script which sends daily emails about pending package updates such as security updates, properly handling packages on hold both by dselect and aptitude.


4

Most of the time, a source line will be in the file /etc/apt/sources.list, so you should edit that. However, if you don't find it there, look at files inside the directory /etc/apt/sources.list.d. As far as I know, a source line must be on of those two places. Reference: man sources.list. Putting the comment character # in front of any source line should be ...


0

Answering regarding the error message "cannot find 'service' binary", which was part of the original title: The binary service is in /usr/sbin/, and that directory is not allways in PATH. So, maybe you just need to add it? /usr/sbin/ is normaly in PATH of root, but not for other users - not sure you did run it as root from the output you show. (Turned ...


0

I solved the problem by installing vnc4server.


-1

In my personal point of view, Scientific Linux is a great option (backed up by CERN and fermilab), based on RHEL, years of support,


1

Uncommenting load-module module-alsa-sink load-module module-alsa-source device=hw:1,0 in /etc/pulse/default.pa did the trick. Edit: However, after uncommenting the lines mentioned above, I ran into all sorts of problems, for example vlc started crashing. I now removed the complete folder /etc/pulse/ and now everything seems to work fine, including sound ...


0

Added (not sure step important) xfce4-menu -> Settings -> Settings Manager -> keyboard Application Shortcuts +Add <Command:> amixer set Master toggle <Ok> <Press volume toggle button> <OK> Open Audio Mixer and check that both Master and Speaker are toggling, if so finish. Was only Toggling Master, speaker was just ...


8

The command is: updatedb Check man updatedb for more details.


0

Forget about the programs. Reinstalling all your old programs won't take long. Just try to get your data back from the disk image from Acronis True Image 2011, otherwise it would be like Sisyphus and the rock.


4

You can either add the script to your rc.local file located in /etc/, or create an init script. One of the easiest ways to create an init script is to use 'pleaserun' . You'll want to use sysv as your platform target. https://github.com/jordansissel/pleaserun


2

If you want a script to run upon bootup then just stick the call to this script in the file, /etc/rc.local. This script is run upon your system booting up.


1

The option he provides for running a script when you boot to the console will work on a headless installation without requiring a user to log in. It should work with the setup you described. The other option in a regular Debian install is to edit the /etc/rc.local file, which is run on boot. Creating an init.d script is a cleaner solution, though.


1

The adm group on Debian has a statically-allocated GID, which is 4. There are no system users in that group (and there shouldn't be any human users either). So you don't need to do anything beyond adding the adm group back: addgroup --gid 4 adm You can also restore the group automatically (as well as undo any other changes that you made to the Debian ...


1

#!/usr/bin/sh The normal location of sh, in almost every unix out there, is /bin/sh. Some unix variants have merged /bin and /usr/bin, so /usr/bin/sh also works, but the portable way is /bin/sh, so that's what you should use in shebangs. Most importantly for you, on Debian, unless you've gone out of your way, there is no /usr/bin/sh.


1

Check out SUSE Studio. It basically lets you choose a base and customize it, appearance-wise and package-wise.


-1

I solved the problem by simply reinstalling the dpkg binarys. For the I downloaded the .deb package of dpkg and extracted it by hand. The I copied and pasted the binarys in the right place (/usr/bin).


1

Rather then attempt to roll my own I'd make use of this version I found via google. gistfile1.sh excerpt #! /bin/sh ### BEGIN INIT INFO # Provides: god # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: God initscript ### END INIT INFO # ...


0

I tried installing several Ubuntu packages on Debian Wheezy There's your problem: Ubuntu and Debian use the same package format, but you can't so easily mix Debian and Ubuntu packages on the same system, because the releases have different versions of the packages. You'd get similar issues if you mixed multiple releases of Debian or of Ubuntu. It can be ...


0

These DVDs contain all the binary packages in main. See, for example Where is the CD image with non-free?, which explains why non-free software is not included. For the purposes of this question, we can consider both the non-free and contrib section of the archives to be non-free software. The contrib section corresponds to software that is itself free, but ...


0

Have you tried running? apt-get clean Clears out the local repository of retrieved package files. It removes everything but the lock file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/.


-1

Set the time automatically using "Network Time Protocol". Use the following command to install ntp on debian. $ sudo apt-get install ntp For detailed information please read the documentation https://wiki.debian.org/DateTime


3

It is probably caused by prelink being run every day: # grep init /etc/cron.*/* /etc/cron.daily/prelink: # Restart init if needed /etc/cron.daily/prelink: [ -n "$(find `ldd /sbin/init | awk 'NF == 4 { print $3 }'` /sbin/init -ctime -1 2>/dev/null )" ] && /sbin/telinit u ...


5

Magic keys tend to be disabled in Debian these days, so you can't just hard-reboot your machine or kill all your X processes by pressing a few keys accidentally. The X Ctrl+Alt+Backspace key sequence is controlled by the "DontZap" option in /etc/X11/xorg.conf -- man xorg.conf for more details. I think you want this, though: Section "ServerFlags" Option ...


0

In the end, I moved the directory with the problematic files: sudo mv /usr/share/doc/libqtwebkit4 /usr/share/doc/libqtwebkit4.backup After that apt-get -f install ran successfully.


1

You can set the ip in /etc/network/interfaces. It's not showing because it seems that you are using network-manager. My /etc/network/interfaces cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback It's because I am also using network-manager. You can also check the following link for network ...


1

The problem is that the package is broken. You have unstable repository enables. It is called "Unstable" for a reason.


-1

In this page you can to know how install it http://mozilla.debian.net/


0

Section 10.9. Permissions and owners in the Debian Policy Manual has what you are looking for (from "version 3.9.5.0, 2013-10-28"): If you need to create a new user or group for your package there are two possibilities. Firstly, you may need to make some files in the binary package be owned by this user or group, or you may need to compile the ...


0

Starting a script at boot time and having it wait for the network to come up would be a weird and complicated way of doing what you want, which is to run something when the network comes up. If you want to do something when the network comes up, then add it to the network startup scripts, not to the system startup scripts. Systemd and Upstart unify these, ...


1

You've upgraded the package containing the openssl frontend command, but not the package containing the OpenSSL library. That package is called libssl1.0.0, and you can upgrade it with apt-get install libssl1.0.0. Debian provides libraries in separate packages so that you can install multiple versions with incompatible binary interfaces simultaneously. For ...


0

You can achieve it using the below command. Assuming the new user created is user1, you can give the below command to give access to this user access to the home directories of the other users. setfacl -R -m user:user1:rwx /home/ However, it is strongly not recommended. You can find this answer for my question here. We have implemented a similar ...


3

Debian validated that version of their operating system against all of the features in 1.0.1e. 1.0.1f added more features to openssl that have not been thoroughly tested in the Debian environment. 1.0.1g is the version with all of the 1.0.1f features and the bug fix for heartbleed. Instead of introducing those features and possible incompatibilities by ...


0

On Debian-based distros, you can upgrade the single offending OpenSSL package without a full apt-get upgrade: apt-get install libssl1.0.0


0

One solution I find for this problem is to use udev. Edit /etc/udev/rules.d/99-automount.rules with your favorite editor and add those lines: # --sync to allow removal without corruption # exclude sda since its the rootfs ACTION=="add",KERNEL=="sd[bcd]*", RUN+="/usr/bin/pmount --sync --noatime --umask 000 %k" ACTION=="remove", KERNEL=="sd[bcd]*", ...


3

In /etc/init.d/checkfs.sh is the line if [ -f /forcefsck ] || grep -s -w -i "forcefsck" /proc/cmdline, so providing forcefsck on the kernel command line or generating a /forcefsck file on shutdown should cause an fsck on the next reboot. To prevent manual fsck runs, ask fsck to try to automatically fix errors with the -y option by uncommenting and changing ...


0

Hijacking old topic, but faced with the same problem recently. So, based on the advice given above and the output of host and whois: # host security.debian.org security.debian.org has address 212.211.132.250 security.debian.org has address 195.20.242.89 security.debian.org has address 212.211.132.32 security.debian.org has IPv6 address ...


0

You can try to add the parameter --nicelevel -10 to start-stop-daemon command line in do_start() to raise the priority to -10. Result would be: /sbin/start-stop-daemon --start --pidfile $PIDFILE \ --user $USER --group $USER \ -b --make-pidfile \ --chuid $USER \ --nicelevel -10 \ --exec $DAEMON $ARGS To change other kinds of priority (io,...) read the ...


0

The thread https://bbs.archlinux.org/viewtopic.php?id=179120 indicates some recently introduced problem with the Intel driver (see also https://bugs.freedesktop.org/show_bug.cgi?id=75345). As was to be expected from that discussion, the problem only occurs with DVI cable. After switching to a DisplayPort cable, my full resolution was back.



Top 50 recent answers are included