awstats: Debian's update.sh script
Hello, I'm setting up the awstats version from Debian Stable. There is Debian custom update.sh script included, which should update all logs, identified by a configuration file in /etc/awstats # ll /etc/awstats -rw-r--r-- 1 root root 63654 May 14 2016 awstats.conf -rw-r--r-- 1 root root 2593 Dec 16 18:12 awstats.conf.local -rw-r--r-- 1 root root 173 Dec 16 17:48 awstats.xgm.de.conf when executing the update.sh script: # /usr/share/awstats/tools/update.sh Error while processing /etc/awstats/awstats.conf Error: SiteDomain parameter not defined in your config/domain file. You must edit it for using this version of AWStats. Setup ('/etc/awstats/awstats.conf' file, web server or permissions) may be wrong. Check config file, permissions and AWStats documentation (in 'docs' directory). The script iterates through all configs: for c in `/bin/ls -1 awstats.*.conf 2>/dev/null | \ /bin/sed 's/^awstats\.\(.*\)\.conf/\1/'` \ `[ -f /etc/awstats/awstats.conf ] && echo awstats` do The frist two lines correctly return my config = xgm.de, but the second line adds a config=awstats, when awstats.conf exists. Why is that? Who is awstats configuration under Debian meant to be used? My understanding is that I do not modify the awstats.conf but create a awstats.conf.local where all changed settings are copied over. This awstats.conf.local is now included from the awstats.domain.conf files? But why is iterated like that? Should the awstats.conf be deleted and completely be moved over to awstats.conf.local? Thanks, Florian
Re: proftpd in testing
Am 11.12.2016 um 15:31 schrieb Floris: > Op Sun, 11 Dec 2016 12:02:02 +0100 schreef Florian Lindner > <mailingli...@xgm.de>: > >> Hello, >> >> I'm currently doing a re-setup of my server on Debian Testing. My old >> server, which is on oldstable used proftpd as FTP server. >> >> https://packages.debian.org/search?searchon=sourcenames=proftpd >> >> proftpd seems to be removed from Stretch. Is that true or a >> misunderstanding on my side? Why was it removed? Lack of maintainer or a >> specific reason? >> >> Can you recommend any alternatives? Nothing fancy, just a ftp server >> that can use mysql as authentication and bear the load of approx on or >> two logins in a week... ;-) >> >> Best, >> Florian >> > > proftpd is removed from testing, because of new bugs. See > https://packages.qa.debian.org/p/proftpd-dfsg.html > for more information. Hey, thanks for that information. Does not sound like it will be there when testing goes stable, does it? Best, Florian
proftpd in testing
Hello, I'm currently doing a re-setup of my server on Debian Testing. My old server, which is on oldstable used proftpd as FTP server. https://packages.debian.org/search?searchon=sourcenames=proftpd proftpd seems to be removed from Stretch. Is that true or a misunderstanding on my side? Why was it removed? Lack of maintainer or a specific reason? Can you recommend any alternatives? Nothing fancy, just a ftp server that can use mysql as authentication and bear the load of approx on or two logins in a week... ;-) Best, Florian
autostart for users
Hello, I want to give users the possbility to autostart programms on boot. My first idea would be to put a line like that in /etc/rc.local [ -x /home/flindner/autostart ] su flindner -c /home/flindner/autostart Probably something like that would be better: [ -x /home/cburchard/autostart ] su cburchard -c /home/cburchard/autostart So that a blocking script does not block the rc.local file. Should I also add a nohup? Or another way? Thanks, Florian -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5debea875e2a23fd7e3b0ec984dc3...@xgm.de
Re: autostart for users
Am 21.11.2013 12:36, schrieb Darac Marjal: On Thu, Nov 21, 2013 at 12:15:57PM +0100, Florian Lindner wrote: Hello, I want to give users the possbility to autostart programms on boot. My first idea would be to put a line like that in /etc/rc.local [cut] So that a blocking script does not block the rc.local file. Should I also add a nohup? Or another way? You could teach your users to add programs to their crontab. $ crontab -e will open an editor (specified by the $EDITOR variable) with the user's crontab. Adding a line such as @reboot /home/flindner/mydaemon.sh will cause mydaemon.sh to be run as the user upon reboot. Cool, didn't know about that! Regards, Florian -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/60894b355828b558e0244a0a96fb2...@xgm.de
GMail like mail workflow
Hello! I'm about to migrate my mails from GMail back to my self hosted solution, using Dovecot imap server on Debian Stable. I really like the gmail workflow: - (Almost) all mail goes to inbox. - Most mail is read and not important anymore, it is archived and moved to all messages. - Inbox stays more or less clean, with only mails that are still of some interest. - Mail (except Spam) is never deleted, just archived. How can I achieve such a workflow using Dovecot and some MUA (Roundcube and probably KMail). - I can simply delete messages that I want to archive, Trash will never be purged. Problems: Some mail clients have settings like Purge Trash at exit, so my mail is always in danger of being deleted accidently. Futhermore it does not really have the semantics of what I am actually doing. - Instead of deleting messages for archiving, move them to some Archiv folder. Since archiving is a very frequent action this involves much more cliks in the MUA than just deleting. Or some configuration change in the client. How would you do that? I'm also open to entirely different suggestions! What I want are basically these things: - Never delete legitimate mail - Use the Inbox as a workspace for mails that are still of some interest. This can also be quite old mail, time based archiving does not work. - Have some kind of mail archive. Thanks! Florian -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/cajtbfr-3bzbw0bgzbgyanqujt-agdt7rdfpcqbx4twdafwq...@mail.gmail.com
Different weird update by apt-get and aptitude
Hello, I have a virtual server with a minimal debian wheezy image provided by the hoster. Right after setup of the image: root@xxx:~# aptitude full-upgrade No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used. but apt-get root@xxx:~# apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be REMOVED: upstart The following NEW packages will be installed: e2fsprogs libss2 sysvinit 0 upgraded, 3 newly installed, 1 to remove and 0 not upgraded. Need to get 1175 kB of archives. After this operation, 1680 kB of additional disk space will be used. Do you want to continue [Y/n]? n Abort. Why do aptitude and apt-get give different answers? If I approve the updates it renders the virtual server inoperable. Sorry for being confused but why is upstart installed in the first place? It also seem to be used: # service cron status: [ ok ] cron is running. Is the image from my hoster broken or is it my debian knowledge? Regards, Florian -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4714895.i6LDYxM1B4@horus
Re: Is my unattended upgrades working?
Am Montag, 28. Oktober 2013, 11:58:00 schrieb Bob Proulx: Florian Lindner wrote: Florian Lindner wrote: root@astarte ~ # ll /etc/cron.daily -rwxr-xr-x 1 root root 14985 Jun 4 11:33 apt.dpkg-dist* The thing what puzzles me most is that if the apt.dpkg-dist script is called manually it logs just fine and everything. But the cron job that is supposed to run logs nothing.. Are you talking about /etc/cron.daily/apt.dpkg-dist file name? That name will never be run by run-parts because the name matches one of the standard dpkg installed files that are NOT enabled. run-parts is called by cron from /etc/crontab. Ah, didn't know that! Try this and see what names are printed. The apt.dpkg-dist name will not be printed. It is not run by run-parts. Along with #* names and *~ names and others that are skipped. run-parts --list /etc/cron.daily I guess that when apt was installed or upgraded somewhere along the way you had modified the /etc/cron.daily/apt file. Therefore dpkg didn't overwrite it and left the new version of the file there as apt.dpkg-dist so that you could examine it and merge it into the standard /etc/cron.daily/apt file if desired. Actually I didn't modified the apt file, there is not even a apt file in cron.daily. Maybe it was because I I tried cron-apt too and they somehow conflicted. [I don't remember the difference between files with .dpkg-dist and .dpkg-new names. Basically the same situation but arrived there differently. Conversely if dpkg replaces a file then the old file is left around as .dpkg-old. dpkg will ask you with a dialog if you want the old file, new file, or view differences, then you select one option and the result is as you see.] Never saw such a dialog, but I think mv apt.dpkg-dist apt should have fixed it. Thanks! Florian -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/2484040.o58fMEN9PD@horus
Re: Is my unattended upgrades working?
Am Montag, 28. Oktober 2013, 07:08:08 schrieb Carlo: Hi, check if your method is similar as this tutorial. http://www.oneopensource.it/10/08/2011/ubuntu-debian-installare-in-automatic o-aggiornamenti-di-sicurezza/ Tell abour your next progress. Well I don't speak Italian... ;-) But as far as I can tell, I'm on the same track... The thing what puzzles me most is that if the apt.dpkg-dist script is called manually it logs just fine and everything. But the cron job that is supposed to run logs nothing.. Thanks! Florian Carlo. 2013/10/27 Florian Lindner mailingli...@xgm.de: Hello, on Debian Wheezy I try to use the included unattended upgrades script for security updates: root@astarte ~ # cat /etc/apt/apt.conf APT::Install-Recommends 0; APT::Install-Suggests 0; APT::Periodic::Update-Package-Lists 1; APT::Periodic::Verbose 2; APT::Periodic::Unattended-Upgrade 1; root@astarte ~ # ll /etc/cron.daily -rwxr-xr-x 1 root root 14985 Jun 4 11:33 apt.dpkg-dist* but the last line in /var/log/unattended-upgrades/unattended-upgrades.log is from 2013-10-25 when I executed apt.dpkg-dist manually. Why is it not working like it should? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/34595950.DK6f1ZdmSf@horus
Is my unattended upgrades working?
Hello, on Debian Wheezy I try to use the included unattended upgrades script for security updates: root@astarte ~ # cat /etc/apt/apt.conf APT::Install-Recommends 0; APT::Install-Suggests 0; APT::Periodic::Update-Package-Lists 1; APT::Periodic::Verbose 2; APT::Periodic::Unattended-Upgrade 1; root@astarte ~ # ll /etc/cron.daily -rwxr-xr-x 1 root root 14985 Jun 4 11:33 apt.dpkg-dist* but the last line in /var/log/unattended-upgrades/unattended-upgrades.log is from 2013-10-25 when I executed apt.dpkg-dist manually. Why is it not working like it should? Thanks! Florian -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1440038.I5CvktzWvA@horus
Jessie Minimum Kernel Requirement
Hello! I plan to use Debian on a virtual server where I can't control the kernel version, that is 2.6.32. What is the minimum kernel version for the upcoming Jessie? Can I rely on that this does no change after the freeze? (IIRC at Nov 5th) Thanks, Florian -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/c8bc612c3d420e2f51e511ac5737a...@centershock.net
Re: dropbox alternative
Am 2013-10-16 12:13, schrieb yudi v: I am looking for an dropbox alternative, so far found Unison and btsynch (not open sourced). Are there any other open sourced alternatives. I am not interested in server/client designs like owncloud, pud.io [1], and various others. It should be able to propagate latest changes to other nodes/clients, be secure, and should be available for different platforms. Take a look at git-annex http://git-annex.branchable.com/ It takes some time to grasp the concept but it's very powerful and can be used to mimic system like dropbox while still having fine grained control about what is actually shared. Kind Regards, Florian -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e67f52cd90ef20dfd00bb1689948b...@centershock.net
Re: Jessie Minimum Kernel Requirement
Am Mittwoch, 16. Oktober 2013, 11:46:40 schrieb Florian Lindner: Hello! I plan to use Debian on a virtual server where I can't control the kernel version, that is 2.6.32. What is the minimum kernel version for the upcoming Jessie? Can I rely on that this does no change after the freeze? (IIRC at Nov 5th) Basic false assumption was that I read Nov 5th 2013 instead of 2014. So I'll stick with wheezy. FL -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4868464.Zam1YYtyjv@horus
apt-get vs. aptitude
Hello, Since I'm about to setup a new server using current stable wheezy, I want to recheck some of debian knowledge. What is the prefered tool for installing on the CLI? apt-get or aptitude? Last time I read about it, it was aptitude, due to better dependency checking. What is the current state? apt-get or aptitude? Does it matter? What about using both? Thanks! Florian -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/8478810.UTKsyQe0Vj@horus
apticron reporting errors, aptitude not
Hello, I use apticron on my debian stable server to get notified about updates. Lately I keep getting messages like: /etc/cron.daily/apticron: W: Fehlschlag beim Holen von http://ftp.de.debian.org/debian/dists/squeeze/Release.gpg Verbindung mit ftp.de.debian.org:80 nicht möglich (141.76.2.4). - connect (110: Die Wartezeit für die Verbindung ist abgelaufen) W: Fehlschlag beim Holen von http://ftp.de.debian.org/debian/dists/squeeze/main/i18n/Translation-de.bz2 Verbindung mit ftp.de.debian.org:http nicht möglich: [...] first message is a timeout, second (which is repeated a couple of times) is a connection not possible. Though aptitude seems to work: h1774498:~# aptitude update Hit http://security.debian.org squeeze/updates Release.gpg Ign http://security.debian.org/ squeeze/updates/main Translation-de Ign http://security.debian.org/ squeeze/updates/main Translation-en Hit http://ftp.de.debian.org squeeze Release.gpg Hit http://ftp.de.debian.org/debian/ squeeze/main Translation-de Ign http://ftp.de.debian.org/debian/ squeeze/main Translation-en Ign http://security.debian.org/ squeeze/updates/non-free Translation-de Ign http://security.debian.org/ squeeze/updates/non-free Translation-en Hit http://security.debian.org squeeze/updates Release Ign http://ftp.de.debian.org/debian/ squeeze/non-free Translation-de Ign http://ftp.de.debian.org/debian/ squeeze/non-free Translation-en Hit http://ftp.de.debian.org squeeze Release Hit http://security.debian.org squeeze/updates/main amd64 Packages Hit http://ftp.de.debian.org squeeze/main amd64 Packages Hit http://security.debian.org squeeze/updates/non-free amd64 Packages Hit http://ftp.de.debian.org squeeze/non-free amd64 Packages Still I am a bit worried since I have a feeling that I haven't gotten any new packages for quite some time: h1774498:~# aptitude full-upgrade No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used. Anyone got an idea what's the problem here? Thanks, Florian -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/cajtbfr8+88kzalyxq7ogt-vxdwjgdbgmtkhfbvkaj0uz53g...@mail.gmail.com
nano: rebinddelete for root
Hello, in /etc/nanorc I've set this option ## Fix Backspace/Delete confusion problem. set rebinddelete to fix the problem described. It works for users but not for root. What to do to have it fixed for root too? Thanks, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
recommends not being installed
Hello, I've set --without-recommends to be the default when installing with aptitude. Now I want to have recommends for one package installed: osiris:~/scripts# aptitude --with-recommends -s install awstats Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Building tag database... Done The following NEW packages will be installed: awstats The following packages are RECOMMENDED but will NOT be installed: libnet-xwhois-perl 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 855kB of archives. After unpacking 4755kB will be used. Would download/install/remove packages. Why would libnet-xwhois-perl still not being installed? Thanks, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
getty error messages
Hello, on my freshly installed server I have tons of messages like that in auth.log: Oct 29 20:59:58 osiris getty[7708]: /dev/tty5: cannot open as standard input: Permission denied Oct 29 20:59:58 osiris getty[7709]: /dev/tty6: cannot open as standard input: Permission denied Oct 29 20:59:58 osiris getty[7710]: /dev/tty4: cannot open as standard input: Permission denied Oct 29 21:00:07 osiris getty[7792]: /dev/tty2: cannot open as standard input: Permission denied Oct 29 21:00:08 osiris getty[7793]: /dev/tty1: cannot open as standard input: Permission denied Oct 29 21:00:08 osiris getty[7794]: /dev/tty3: cannot open as standard input: Permission denied Oct 29 21:00:08 osiris getty[7795]: /dev/tty5: cannot open as standard input: Permission denied Oct 29 21:00:08 osiris getty[7796]: /dev/tty6: cannot open as standard input: Permission denied The server is a virtual server. What causes this and how to get rid of it? Thanks, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Where is sasl config
Hello, I have just installed libsasl2-modules-sql with dependancies to enable postfix to authenticate users for SMTP relay. Now I'm looking for the config files for the SASL lib but I can't find it... Where is it? And how could I have found out myself? (e.g. print all files an package has installed) Thanks, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
sasl: Where are the sql plugins?
Hello, I have just installed libsasl2-modules-sql and the dependencies and wonder why there are no sql plugins listed: saslpluginviewer | grep sql returns nothing. I want to use postfix for SMTP relay authentication, but without sasl daemon. Thanks, Florian complete output of saslpluginviewer osiris:/etc/postfix/sasl# saslpluginviewer Installed SASL (server side) mechanisms are: PLAIN NTLM LOGIN DIGEST-MD5 CRAM-MD5 ANONYMOUS EXTERNAL List of server plugins follows Plugin plain [loaded],API version: 4 SASL mechanism: PLAIN, best SSF: 0, supports setpass: no security flags: NO_ANONYMOUS features: WANT_CLIENT_FIRST|PROXY_AUTHENTICATION Plugin ntlm [loaded], API version: 4 SASL mechanism: NTLM, best SSF: 0, supports setpass: no security flags: NO_ANONYMOUS|NO_PLAINTEXT features: WANT_CLIENT_FIRST Plugin login [loaded],API version: 4 SASL mechanism: LOGIN, best SSF: 0, supports setpass: no security flags: NO_ANONYMOUS features: Plugin digestmd5 [loaded],API version: 4 SASL mechanism: DIGEST-MD5, best SSF: 128, supports setpass: no security flags: NO_ANONYMOUS|NO_PLAINTEXT|MUTUAL_AUTH features: PROXY_AUTHENTICATION Plugin crammd5 [loaded], API version: 4 SASL mechanism: CRAM-MD5, best SSF: 0, supports setpass: no security flags: NO_ANONYMOUS|NO_PLAINTEXT features: SERVER_FIRST Plugin anonymous [loaded],API version: 4 SASL mechanism: ANONYMOUS, best SSF: 0, supports setpass: no security flags: NO_PLAINTEXT features: WANT_CLIENT_FIRST Installed auxprop mechanisms are: sasldb List of auxprop plugins follows Plugin sasldb , API version: 4 supports store: yes Installed SASL (client side) mechanisms are: PLAIN NTLM LOGIN DIGEST-MD5 CRAM-MD5 ANONYMOUS EXTERNAL List of client plugins follows Plugin plain [loaded],API version: 4 SASL mechanism: PLAIN, best SSF: 0 security flags: NO_ANONYMOUS features: WANT_CLIENT_FIRST|PROXY_AUTHENTICATION Plugin ntlm [loaded], API version: 4 SASL mechanism: NTLM, best SSF: 0 security flags: NO_ANONYMOUS|NO_PLAINTEXT features: WANT_CLIENT_FIRST Plugin login [loaded],API version: 4 SASL mechanism: LOGIN, best SSF: 0 security flags: NO_ANONYMOUS features: SERVER_FIRST Plugin digestmd5 [loaded],API version: 4 SASL mechanism: DIGEST-MD5, best SSF: 128 security flags: NO_ANONYMOUS|NO_PLAINTEXT|MUTUAL_AUTH features: PROXY_AUTHENTICATION|NEED_SERVER_FQDN Plugin crammd5 [loaded], API version: 4 SASL mechanism: CRAM-MD5, best SSF: 0 security flags: NO_ANONYMOUS|NO_PLAINTEXT features: SERVER_FIRST Plugin anonymous [loaded],API version: 4 SASL mechanism: ANONYMOUS, best SSF: 0 security flags: NO_PLAINTEXT features: WANT_CLIENT_FIRST Plugin EXTERNAL [loaded], API version: 4 SASL mechanism: EXTERNAL, best SSF: 0 security flags: NO_ANONYMOUS|NO_PLAINTEXT|NO_DICTIONARY features: WANT_CLIENT_FIRST|PROXY_AUTHENTICATION -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: 1GB RAM is missing.
Am Sonntag, 21. Oktober 2007 schrieb pgega: I just builded mo own x86 machine , and I am quite surprised ,because 1GB of RAM is missing (1GB of 4GB) and my Debian's boot time is 10 minutes. Moreover when I take off one RAM stick (which will give me 3GB RAM) my system boots in 40 seconds - I am amazed. All of RAM sticks are fine, I tested all of them together and separately. I just cannot use them together. My problem is I want to use 4GB RAM at full power, and have no idea what might be the problem. I must use 3GB to make my system booting quickly.(not only booting, system works faster with 3GB) Hi! have you compiled your own kernel? Check if HIGHMEM4G is activated (you will find it in Processor type and featueres in the kernel config). Regards, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Let postfix out of the chroot
Hello, by default postfix is chrooted. How can I unchroot it? Thanks, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
adduser not interactive
Hello, is it possible to use adduser non interactive? I've searched the manpage but found no switch. I know about useradd but I've read that adduser tries to be more Debian like. Thanks, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: umask don't change
Am Mittwoch, 10. Oktober 2007 schrieb Douglas A. Tutty: On Wed, Oct 10, 2007 at 09:03:37AM -0400, Roberto D'Oliveira wrote: 2007/10/10, Florian Lindner [EMAIL PROTECTED]: Hello, I have uncommented and modified to umask setting in ~/.bash_profile to: umask 077 although I exit and re-login (with SSH) the umask stays 0022. What's wrong there? Try to write it on ~/.bashrc Or look through all the login config files and see where all the umask is being set. Personally, I set mine with libpam-umask. Yes, I know I can set in various places in /etc but I want to set it only for this user account and I want it to be changeable for the user. Why does it not work when placed in ~./bashrc or ~/.bash_profile? I can set in in shell each time I have logged in and a source .bashrc also works. Regards, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
umask don't change
Hello, I have uncommented and modified to umask setting in ~/.bash_profile to: umask 077 although I exit and re-login (with SSH) the umask stays 0022. What's wrong there? Thanks, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: umask don't change
Am Mittwoch, 10. Oktober 2007 schrieb Roberto D'Oliveira: 2007/10/10, Florian Lindner [EMAIL PROTECTED]: Hello, I have uncommented and modified to umask setting in ~/.bash_profile to: umask 077 although I exit and re-login (with SSH) the umask stays 0022. What's wrong there? Thanks, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] Try to write it on ~/.bashrc Done, but changes nothing. Thanks, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
nano: del/backspace confusion
Hello, I just did a new Debian installation and my nano editor has a confusion of the backspace and delete key (delete works like backspace). I've looked at the config file and commented out an appropiate option but it's still there: osiris:/# grep -v ^# /etc/nanorc | grep -v ^$ set historylog set rebinddelete set suspend Any other option to set? Thanks, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: codecs for ripping CDs to mp3
Am Montag, 8. Oktober 2007 schrieb andy: Hi all In either Grip or RipperX when I want to rip a CD to mp3 it seems that I am only able to do so in an ogg vorbis format. I have nothing against *.ogg, although some of my friends seem to have difficulty when I want to share music samples with them. Is there an encoder or codec (?) that I am needing to rip to mp3 formats? Check if lame is installed. Regards, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Who is altering my hostname?
Am Mittwoch, 26. September 2007 schrieb Gabriel Parrondo: El mié, 26-09-2007 a las 00:04 +0200, Florian Lindner escribió: Hello, I have a virtual server with a Debian etch installed by myself from debootstrap. The machine has two IPs assigned: # ifconfig [snip output] The interface config I have set in /etc/network/interfaces copied from the default installation. May we see it? Here it is: auto venet0 iface venet0 inet static address 127.0.0.1 netmask 255.255.255.255 broadcast 0.0.0.0 up route add -net 191.255.255.1 netmask 255.255.255.255 dev venet0 up route add default gw 191.255.255.1 auto venet0:0 iface venet0:0 inet static address 84.19.178.252 netmask 255.255.255.255 broadcast 0.0.0.0 auto venet0:1 iface venet0:1 inet static address 84.19.179.252 netmask 255.255.255.255 broadcast 0.0.0.0 [...] keymachine is my hoster. What could this make happen? In /etc/init.d/ there is nothing like a dhcp client. I have also removed some packages with dhcp in their names. The dhcp client is not run from /etc/init.d, it is called by the ifup command (which is called by /etc/init.d/networking) if the interface is configured to do so in /etc/network/interfaces. Thanks, Florian
Re: Who is altering my hostname?
Am Mittwoch, 26. September 2007 schrieb Vincent Lefevre: On 2007-09-26 00:04:26 +0200, Florian Lindner wrote: What could this make happen? In /etc/init.d/ there is nothing like a dhcp client. I have also removed some packages with dhcp in their names. Any idea what makes these two files changing and how to avoid it? It seems to be a dhcp client (but I don't know why). Have you checked that pump isn't installed? pump is not installed. Or perhaps resolvconf does this if it is installed (on one of my machines, it got installed automatically and modified some files, which was annoying as I use netenv). Neither is resolvconf installed. Also, you should look at the mtime of the modified files and look at your log files if something special occurred at this time (or a few seconds earlier). The syslog is almost empty and so is dmesg. It's problem because of the virtual server that there is not very much output of the kernel routet to the child OS. Anymore ideas? Thanks, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Who is altering my hostname?
Am Mittwoch, 26. September 2007 schrieb Douglas A. Tutty: On Wed, Sep 26, 2007 at 12:35:44PM +0200, Vincent Lefevre wrote: On 2007-09-26 00:04:26 +0200, Florian Lindner wrote: What could this make happen? In /etc/init.d/ there is nothing like a dhcp client. I have also removed some packages with dhcp in their names. Any idea what makes these two files changing and how to avoid it? It seems to be a dhcp client (but I don't know why). Have you checked that pump isn't installed? Or perhaps resolvconf does this if it is installed (on one of my machines, it got installed automatically and modified some files, which was annoying as I use netenv). Also, you should look at the mtime of the modified files and look at your log files if something special occurred at this time (or a few seconds earlier). Have you checked the scripts in /etc/network/if-up.d and if-pre-up.d? if-up.d contains only mountntf and if-down.d is empty? Is is possible that this change of hostnames is somehow enfored by the virtualization? (Virtuozzo) Regards, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Who is altering my hostname?
Am Mittwoch, 26. September 2007 schrieb Kevin Sulonen: Vincent Lefevre wrote: On 2007-09-26 00:04:26 +0200, Florian Lindner wrote: What could this make happen? In /etc/init.d/ there is nothing like a dhcp client. I have also removed some packages with dhcp in their names. Any idea what makes these two files changing and how to avoid it? It seems to be a dhcp client (but I don't know why). Have you checked that pump isn't installed? Or perhaps resolvconf does this if it is installed (on one of my machines, it got installed automatically and modified some files, which was annoying as I use netenv). Also, you should look at the mtime of the modified files and look at your log files if something special occurred at this time (or a few seconds earlier). Hi: Please forgive me if this has already been suggested, but I encountered a similar problem running Lenny. Try getting rid of networkmanager. What package do you mean? http://packages.debian.org/search?keywords=networkmanagersearchon=namessuite=stablesection=all says that there is no package named networkmanager. Regards, Florian I actually wound up purging this utility. There are probably more elegant ways to make it behave, but I felt foolish enough after I discovered what was causing the problem that I found the exercise distinctly satisfying. Hope that helps, Kevin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Who is altering my hostname?
Am Mittwoch, 26. September 2007 schrieb Kevin Sulonen: Florian Lindner wrote: Am Mittwoch, 26. September 2007 schrieb Kevin Sulonen: Vincent Lefevre wrote: On 2007-09-26 00:04:26 +0200, Florian Lindner wrote: What could this make happen? In /etc/init.d/ there is nothing like a dhcp client. I have also removed some packages with dhcp in their names. Any idea what makes these two files changing and how to avoid it? It seems to be a dhcp client (but I don't know why). Have you checked that pump isn't installed? Or perhaps resolvconf does this if it is installed (on one of my machines, it got installed automatically and modified some files, which was annoying as I use netenv). Also, you should look at the mtime of the modified files and look at your log files if something special occurred at this time (or a few seconds earlier). Hi: Please forgive me if this has already been suggested, but I encountered a similar problem running Lenny. Try getting rid of networkmanager. What package do you mean? http://packages.debian.org/search?keywords=networkmanagersearchon=names; suite=stablesection=all says that there is no package named networkmanager. Regards, Florian I actually wound up purging this utility. There are probably more elegant ways to make it behave, but I felt foolish enough after I discovered what was causing the problem that I found the exercise distinctly satisfying. Hope that helps, Kevin Hi Florian: My apologies. I made a typo. Here's the culprit: network-manager_0.6.5-1_i386.deb . There are affiliated Gnome and KDE packages as well. From the description: This package is not installed. Any more ideas? Thanks, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
MySQL: What is the default table charset
Hello, since the default table charset is set at compile time at MySQL (IIRC) I wonder what it is in Debian etch? (I hope it's utf-8) One more question: How could I have found at myself? Can I view the build specs (the ./configure line) anywhere? Thanks, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Who is altering my hostname?
Hello, I have a virtual server with a Debian etch installed by myself from debootstrap. The machine has two IPs assigned: # ifconfig venet0Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255 UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1 RX packets:136 errors:0 dropped:0 overruns:0 frame:0 TX packets:84 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:12755 (12.4 KiB) TX bytes:12216 (11.9 KiB) venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:84.19.178.252 P-t-P:84.19.178.252 Bcast:0.0.0.0 Mask:255.255.255.255 UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1 venet0:1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:84.19.179.252 P-t-P:84.19.179.252 Bcast:0.0.0.0 Mask:255.255.255.255 UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1 The interface config I have set in /etc/network/interfaces copied from the default installation. I set the /etc/hostname: osiris.centershock.net and /etc/hosts: 84.19.178.252 osiris.centershock.net osiris 84.19.179.252 isis.centershock.net isis 127.0.0.1 localhost localhost.localdomain The names resolv to this IP and the reverse PTR also to the names. But after a reboot the two files have changed somehow: km22204-07.keymachine.de and 84.19.178.252 osiris.centershock.net osiris 84.19.179.252 isis.centershock.net isis 127.0.0.1 km22204-07.keymachine.de km22204-07 localhost localhost.localdomain The /etc/resolv.conf is also altered: search keymachine.de # This line has been added nameserver 84.19.178.252 nameserver 84.19.188.171 keymachine is my hoster. What could this make happen? In /etc/init.d/ there is nothing like a dhcp client. I have also removed some packages with dhcp in their names. Any idea what makes these two files changing and how to avoid it? Thanks a lot, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Who is altering my hostname?
Am Mittwoch, 26. September 2007 schrieb Florian Lindner: Hello, I have a virtual server with a Debian etch installed by myself from debootstrap. The machine has two IPs assigned: [...] Any idea what makes these two files changing and how to avoid it? Additional information, ping does not really work as well: km22204-07:~# ping localhost connect: Invalid argument km22204-07:~# ping km22204-07 connect: Invalid argument km22204-07:~# ping osiris connect: Invalid argument km22204-07:~# ping osiris.centershock.net connect: Invalid argument km22204-07:~# ping km22204-07.keymachine.de connect: Invalid argument external domains are working: km22204-07:~# ping xgm.de PING xgm.de (81.169.149.60) 56(84) bytes of data. 64 bytes from anubis.centershock.net (81.169.149.60): icmp_seq=1 ttl=56 time=10.9 ms Thanks, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
mpm-itk package
Hello, does anyone have experiences with the mpm-itk package: http://packages.debian.org/etch/apache2-mpm-itk is it usable? Thanks, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
logrotate: Logs in all subdirs of wildcard
Hello, can I configure logrotate so that it rotates the logfiles in a subdir of a wildcard, for example: /home/*/http/log/access.log which should work for all users. Does this work? Another question: Is there a logrotate config option to create the old (just rotated) file as the same user as the original log file? (or is this the default behavior) Sorry, I just can't try it out at the moment. Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Problem with debootstrap: Cannot create devices
Hello, I have a virtual server on which I try to install Debian etch. In order to do that I have booted an rescue system, downloaded debootstrap_0.3.3.3.tar.gz from [1] and installed it with make install-allarch. I follow the instructions at [2] (german), same in english at [3] but debootstrap gives only an error rescue-vs137031:~# debootstrap --arch i386 etch /test http://ftp.de.debian.org/debian I: Retrieving Release I: Retrieving Packages I: Validating Packages I: Resolving dependencies of required packages... I: Resolving dependencies of base packages... I: Checking component main on http://ftp.de.debian.org/debian... I: Retrieving adduser I: Validating adduser [...] I: Extracting tar... I: Extracting tzdata... I: Extracting util-linux... I: Extracting zlib1g... E: no /usr/lib/debootstrap/devices.tar.gz. cannot create devices A search concludes that this error is known but hasn't lead to a solution so far. Thanks, Florian [1] http://ftp.debian.org/debian/pool/main/d/debootstrap/ [2] http://www.us.debian.org/releases/stable/i386/apds03.html.de [3] http://www.us.debian.org/releases/stable/i386/apds03.html.en -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]